offensive-security / kali-nethunter

The Kali NetHunter Project
https://github.com/offensive-security/kali-nethunter/wiki
3.5k stars 891 forks source link

armitage on nethunter ? #164

Closed peterpt closed 9 years ago

peterpt commented 9 years ago

is there any chance to get armitage running on nethunter ? i get no x11 Display variable "main" java.awt.headlessException No X11 DISPLAY variable was set . and a lot of errors more .

probably armitage is not yet planned to run on nethunter . Is there anyway to get it run ?

binkybear commented 9 years ago

I've been able to run it in VNC.

peterpt commented 9 years ago

good was working with it locally .

binkybear commented 9 years ago

You should be able to run vnc locally. Did you get it working?

peterpt commented 9 years ago

did not test it yet , gonna give a look now

peterpt commented 9 years ago

i could get into kali linux thru vnc , but i had to start postgresql and metasploit services on nethunter shell , after that when i try to run armitage the system just have rebooted . here it is the picture after i access the vnc connection to kali OS in nethunter http://s2.postimg.org/8vks2eo6h/kalixfce.png

peterpt commented 9 years ago

it could be interesting if ofensive security could make a rom for android specifically to work with kali . My pentest tablet is a nexus 7 (2012) , i did not mind at all to get rid of the android rom at boot and in exchange have an Kali OS in its place . I think that this is what everyone here wants :))))

thesle3p commented 9 years ago

I think a better goal is to integrate the armitage client into the nethunter app to make controlling metasploit easier from Nethunter.

0E800 commented 9 years ago

Keep in mind N7 2012 has 1gb memory. Nethunter is a portable pen-testing device. MSF and Armitage take up a lot of resources.

On Sat, May 30, 2015 at 1:02 PM, thesle3p notifications@github.com wrote:

I think a better goal is to integrate the armitage client into the nethunter app to make controlling metasploit easier from Nethunter.

— Reply to this email directly or view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/164#issuecomment-107079886 .

[image: --] 0E 800 [image: http://]about.me/oe800 http://about.me/oe800

thesle3p commented 9 years ago

That's why I would think integrating some of the features of Armitage in to the nethunter app would be better, things like controlling meterpreter shells or setting up handlers and running modules, it wouldn't be hard to do you would just have to write logic to communicate with a MSFRPC server.

On 06/02/2015 01:58 PM, 0E800 wrote:

Keep in mind N7 2012 has 1gb memory. Nethunter is a portable pen-testing device. MSF and Armitage take up a lot of resources.

On Sat, May 30, 2015 at 1:02 PM, thesle3p notifications@github.com wrote:

I think a better goal is to integrate the armitage client into the nethunter app to make controlling metasploit easier from Nethunter.

— Reply to this email directly or view it on GitHub

https://github.com/offensive-security/kali-nethunter/issues/164#issuecomment-107079886 .

[image: --] 0E 800 [image: http://]about.me/oe800 http://about.me/oe800

— Reply to this email directly or view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/164#issuecomment-108032980.

offensive-security commented 9 years ago

Patches would be more than welcome!

peterpt commented 9 years ago

Armitage is in nethunter , but it can only be access thru vnc connection , however armitage depends on msf to work , basically armitage is an alternative gui for metasploit . Running metasploit crash the tablet , then using armitage is out of the question . I can only see 2 options here 1 - an alternative tool that can handle metasploit exploits and shells that dont waste to much Ram . 2 - a tweak in cyanogenmod configuration with the tool "System Tuner Pro" to handle more ram before it crashes .

cyanogenmod do not crash because user used 1G of ram and system could not handle . cyanogenmod had default configurations to not allow the complete use of memory .

some tweaks that could be made to manage memory in cyanogenmod http://s8.postimg.org/cba14m8l1/cyanogen.png http://s16.postimg.org/wf4zs3bw5/cyanogen1.png http://s17.postimg.org/napobsemn/cyanogen2.png

i never try these tweaks because i am not familiarized with these settings , but it could work .

thesle3p commented 9 years ago

Or just have a server that runs MSF run MSF-RPC and bake in a MSF-RPC client into nethunter so Nethunter can create the connect back handlers the HID attacks can create or interact with shells, etc.

On 06/02/2015 03:15 PM, peterpt wrote:

Armitage is in nethunter , but it can only be access thru vnc connection , however armitage depends on msf to work , basically armitage is an alternative gui for metasploit . Running metasploit crash the tablet , then using armitage is out of the question . I can only see 2 options here 1 - an alternative tool that can handle metasploit exploits and shells that dont waste to much Ram . 2 - a tweak in cyanogenmod configuration with the tool "System Tuner Pro" to handle more ram before it crashes .

cyanogenmod do not crash because user used 1G of ram and system could not handle . cyanogenmod had default configurations to not allow the complete use of memory .

some tweaks that could be made to manage memory in cyanogenmod http://s8.postimg.org/cba14m8l1/cyanogen.png http://s16.postimg.org/wf4zs3bw5/cyanogen1.png http://s17.postimg.org/napobsemn/cyanogen2.png

i never try these tweaks because i am not familiarized with these settings , but it could work .

— Reply to this email directly or view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/164#issuecomment-108062797.