View Issue Details

IDProjectCategoryView StatusLast Update
0003698Kali LinuxKali Package Bugpublic2018-01-29 12:54
Reportermoench Assigned Tog0tmi1k  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionsuspended 
Product Version2016.2 
Summary0003698: Armitage - Opening certain menu points of armitage leads to crash of user session and results in new login screen
Description

I tried to use Kali2016.2 on an Opensuse Leap 42.1 host as a KVM guest.
Installation runs smoothly; updates, too. Postgres works. Metasploit works. Also other packages like Beef.

However, there is a very strange problem with armitage, which does not appear in a Kali installation as a VMware guest on the very same Opensuse host.

Behavior as a guest of KVM:
Armitage starts (with Java errors, however), msf console opens, status of DB OK. But trying to open the menu points "Hosts" or "Attack" in the menu bar leads to something strange: The screen flickers, then the whole login session is stopped and a standard login window opens.

This does not happen with the very same iso-image used for a VMware installation - neither dirctly after the installation nor after package upgrades. So somehow the whole problem is very specific for an installation of Kali2016.2 as a KVM guest.

The crash like behaviour appears in the KVM Kali guest With both the packages of the original installation iso-image, but also with updated packages from the Kali rolling repository.

Steps To Reproduce

Steps to reproduce:

  • Download the installation image kali-linux-2016.2-amd64.iso
  • Create a KVM virtual machine on an Opensuse Leap 42.1 host. (quemu-kvm vers. 2.3.1)
  • use a spice display in the KVM guest and a QXL video
  • setup and enable postgresql
  • start postgresql and initialize metaspolit database
  • test a working msfconsole with db conncetion
  • start armitage - check DB connection in msf console window of armitage
  • try to open menu point "Hosts" or "Attack" - if it opens at all: try to move mouse or navigate with arrow keys

Result: Crash of present graphical session - a login screen opens - the armitage process is afterwards gone
Expected result: Menus for Hosts or Attacks should open - sub-menu-points should be accessible

Additional Information

During the start of armitage from a console the following errors appear :
java:3279): GLib-GObject-WARNING **: invalid cast from 'JawImpl_4098' to 'AtkText'

(java:3279): CRITICAL : atk_text_get_character_count: assertion 'ATK_IS_TEXT (text)' failed

(java:3279): GLib-GObject-WARNING **: /build/glib2.0-94amRy/glib2.0-2.50.1/./gobject/gsignal.c:3492: signal name 'text_changed::delete' is invalid for instance '0x7f17fc0dbe20' of type 'JawImpl_4098'

(java:3279): GLib-GObject-WARNING **: invalid cast from 'JawImpl_4098' to 'AtkText'

(java:3279): CRITICAL : atk_text_get_character_count: assertion 'ATK_IS_TEXT (text)' failed

(java:3279): GLib-GObject-WARNING **: invalid cast from 'JawImpl_4098' to 'AtkText'

(java:3279): CRITICAL : atk_text_get_character_count: assertion 'ATK_IS_TEXT (text)' failed

(java:3279): GLib-GObject-WARNING **: invalid cast from 'JawImpl_4098' to 'AtkText'

(java:3279): CRITICAL : atk_text_get_character_count: assertion 'ATK_IS_TEXT (text)' failed

(java:3279): GLib-GObject-WARNING **: invalid cast from 'JawImpl_4098' to 'AtkText'

(java:3279): CRITICAL : atk_text_get_character_count: assertion 'ATK_IS_TEXT (text)' failed

(java:3279): GLib-GObject-WARNING **: invalid cast from 'JawImpl_4098' to 'AtkText'

(java:3279): CRITICAL : atk_text_get_character_count: assertion 'ATK_IS_TEXT (text)' failed

(java:3279): GLib-GObject-WARNING **: invalid cast from 'JawImpl_4098' to 'AtkText'

(java:3279): CRITICAL : atk_text_get_character_count: assertion 'ATK_IS_TEXT (text)' failed

(java:3279): GLib-GObject-WARNING **: invalid cast from 'JawImpl_4098' to 'AtkText'

(java:3279): CRITICAL : atk_text_get_character_count: assertion 'ATK_IS_TEXT (text)' failed

(java:3279): GLib-GObject-WARNING **: invalid cast from 'JawImpl_4098' to 'AtkText'

(java:3279): CRITICAL : atk_text_get_character_count: assertion 'ATK_IS_TEXT (text)' failed
[] Used the tab method: 192.168.50.12
[
] Remote Exploits Synced
[] Starting Cortana on 192.168.50.12
[
] Creating a default reverse handler... 0.0.0.0:29444

Activities

moench

moench

2016-10-27 21:44

reporter   ~0006082

After some more testing I should add that the described bug occurs for video card modell QXL, only.

With a video modell vga or vmvga the graphical display of hosts AND the menues "Hosts" and "Attack" of armitage work as expected.

With QXL the graphical view of the hosts is displayed - but the menu interacrion leads to the described crash and closure of the user's X11/Gnome session.

moench

moench

2016-10-28 12:54

reporter   ~0006083

It is definitely the KVM QXL interface. I installed a new Kali2016.2 KVM guest machine and logged in via ssh -X from the KVM host (here: Opensuse Leap 42.1 fully updated).
I then can start armitage without any problems.

So this is a kind of workaround for people who want to use armitage via a KVM guest installation of Kali2016.2

g0tmi1k

g0tmi1k

2018-01-29 12:54

administrator   ~0008260

Due to the age of the OS (Kali Moto [v1], Kali Safi [v2], Kali Rolling 2016.x), these legacy versions are no longer supported.
We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux - https://www.kali.org/downloads/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing,and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2016-10-27 17:03 moench New Issue
2016-10-27 21:44 moench Note Added: 0006082
2016-10-28 12:54 moench Note Added: 0006083
2018-01-29 12:54 g0tmi1k Assigned To => g0tmi1k
2018-01-29 12:54 g0tmi1k Status new => closed
2018-01-29 12:54 g0tmi1k Resolution open => suspended
2018-01-29 12:54 g0tmi1k Note Added: 0008260