PDA

View Full Version : Using the Galaxy Note 2 with Kali Linux as a Viable Wireless Pen Testing Platform--



clearday
2013-05-20, 00:10
Wouldn't it be great it USB WiFi adapters worked out of the box with Android? Smartphones I believe are as close as we are going to get to cybersecurity inspired tricorders. Long battery life and portability are two good reasons to investigate this further. Just imagine Kali running nmap, tcpdump, wireshark on your phone.

Here is a developer who was able to get some USB WiFi adapters working with Galaxy Note 2.

http://www.maxters.net/2013/02/aircrack-suite-for-galaxy-note-2/

http://www.maxters.net/2013/05/aircrack-suite-stock-n7100/

He also developed native android airodump and airmon apps that doesn't require chrooted Kali or Backtrack to run.

http://www.maxters.net/2013/05/droiddump/

http://www.maxters.net/2013/05/airmon-android-gui-for-airmon-ng/

We need to support these developers to create cybersecurity apps that works on android.

ouam3r
2013-05-21, 11:20
Sounds interesting, any ideas if there's workaround for Galaxy Note 10.1 ?

clearday
2013-05-21, 17:53
The Kali image for the Note 10.1 boots natively, and should detect the external USB WiFi.


Sounds interesting, any ideas if there's workaround for Galaxy Note 10.1 ?

m4xx3d0ut
2013-05-22, 03:47
current issue with databases in metasploit. some kind of shared memory issue when trying to build a database, it happens with a nexus 7, pretty sure it would happen with a note 2, not so sure about the note 10.1 native boot. anyone wanna try to build a database and confirm fail or success? might be fixable at kernel level? not sure gotta look into it further, input appreciatted.

clearday
2013-05-22, 08:37
current issue with databases in metasploit. some kind of shared memory issue when trying to build a database, it happens with a nexus 7, pretty sure it would happen with a note 2, not so sure about the note 10.1 native boot. anyone wanna try to build a database and confirm fail or success? might be fixable at kernel level? not sure gotta look into it further, input appreciatted.

Are you talking about this error?

http://forums.kali.org/showthread.php?1950-postgresql-9-1-errors-after-installing-a-package

"Setting up postgresql-9.1 (9.1.9-1) ...
[....] Starting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2013-04-13 03:02:51 UTC LOG: could not create IPv6 socket: Permission denied 2013-04-13 03:02:51 UTC LOG: could not create IPv4 socket: Permission denied 2013-04-13 03:02:51 UTC WARNING: could not create listen socket for "localhost" 2013-04-13 03:02:51 UTC FATAL: could no[FAILate any TCP/IP sockets ... failed!
failed!
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing postgresql-9.1 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up less (444-4) ...
Setting up bundler (1.1.4-6) ...
Setting up liberror-perl (0.17-1) ...
Setting up git-man (1:1.7.10.4-1+wheezy1) ...
Setting up git (1:1.7.10.4-1+wheezy1) ...
Setting up rubygems-integration (1.1) ...
Setting up metasploit-framework (4.6.0-1-1kali1) ...
Errors were encountered while processing:
postgresql-9.1
E: Sub-process /usr/bin/dpkg returned an error code (1)


---
Setting up apache2 (2.2.22-13) ...
Setting up libdpkg-perl (1.16.10) ...
Setting up dpkg-dev (1.16.10) ...
Setting up kali-menu (1.333) ...
Processing triggers for menu ...
Processing triggers for python-support ...
Errors were encountered while processing:
postgresql-9.1
E: Sub-process /usr/bin/dpkg returned an error code (1) "


----

Response in Bugtraq:

"----------------------------------------------------------------------
(0000372) muts (administrator) - 2013-04-15 03:57
http://bugs.kali.org/view.php?id=264#c372
----------------------------------------------------------------------
This is not bug. Postgresql wont install in a Linux Deploy chroot without first
whitelisting it in update-rc.d.

Issue History
Date Modified Username Field Change
================================================== ====================
2013-04-14 11:51 clearday New Issue
2013-04-14 11:51 clearday File Added: attachments.zip
2013-04-15 03:57 muts Note Added: 0000372
2013-04-15 03:57 muts Status new => closed
================================================== ===================="

I never did figure out how to whitelist postgresql. Charonsecurity tried to help with updating update-rc.d. Muts never bothered to explain how to actually do to it. There's very little documentation on the internet on whitelisting in postgresql and none related to Kali in an ARM environment of course.

Metasploit seems to be borked for ARM. I have it installed in Rasp Pi, SS808 and Galaxy Note 2 (via linux deploy). The only way this is going to be fixed is enough people bring it up and most likely in a future version of Kali for ARM.