Dyszx

Instalar Tor en Backtrack 5

Mar 26th, 2012
3,683
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 KB | None | 0 0
  1. **************************************
  2. ***** T34M H4CK3R N3tS3c *******
  3. **************************************
  4.  
  5. ============================================================================================
  6.  
  7. Es posible utilizar nmap con tor, para de esta forma anonimizar toda nuestra actividad con nmap. Vamos ver como hacer todo esto en Backtrack 5 en donde tor no está integrado por defecto.
  8.  
  9. Primero es necesario instalar tor, para ello editamos el fichero sources.list:
  10. NOTA : pueden abrirlo con su editor favorito, en este caso utilizaremos nano.
  11.  
  12. # nano /etc/apt/sources.list
  13.  
  14. añadimos la linea
  15.  
  16. deb http://deb.torproject.org/torproject.org lucid main
  17.  
  18. grabamos y salimos. Guardamos con Ctrl + o Y salimos con Ctrl + x
  19.  
  20. Ahora Abrimos una consola: Añadimos cada una, esperar hasta que haya terminado el proceso de cada una de las dependencias y keys y continuar con cada una .
  21.  
  22. # gpg --keyserver keys.gnupg.net --recv 886DDD89
  23. # gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
  24. # apt-get update
  25. # apt-get install tor tor-geoipdb
  26. # apt-get install privoxy
  27.  
  28. Despues de instalar privoxy es necesario configurarlo: Abrimos con el editor.
  29.  
  30. # nano /etc/privoxy/config
  31.  
  32. Añadimos la siguiente linea, hasta abajo no tiene que estar marcada con el #
  33.  
  34. NOTA : asegurarse de poner el punto al final "."
  35.  
  36. forward-socks4a / 127.0.0.1:9050 .
  37.  
  38. grabamos y salimos. | Ctrl + o graban || Ctrl + x salen del editor |
  39.  
  40. Arrancamos primeramente privoxy y comprobamos que está corriendo:
  41.  
  42. # service privoxy start
  43.  
  44. Aqui podemos ver los servicions que estan escuchando con el comando
  45. # netstat -atnp | grep privoxy
  46. tcp 0 0 127.0.0.1:8118 0.0.0.0:* LISTEN 3706/privoxy
  47.  
  48. Arrancamos seguidamente el servicio tor:
  49.  
  50. # service tor start
  51.  
  52. Raising maximum number of filedescriptors (ulimit -n) to 32768.
  53. Starting tor daemon: tor...
  54. Jul 22 10:54:59.259 [notice] Tor v0.2.1.30. This is experimental software. Do not rely on it for strong anonymity. (Running on Linux i686)
  55. Jul 22 10:54:59.262 [notice] Initialized libevent version 1.4.13-stable using method epoll. Good.
  56. Jul 22 10:54:59.262 [notice] Opening Socks listener on 127.0.0.1:9050
  57.  
  58. comprobamos que efectivamente está corriendo:
  59.  
  60. # netstat -atnp | grep tor
  61. tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 5253/tor
  62.  
  63. Para la instalacion del botton de tor en el navegador de Mozilla firefox ir a la siguiente Url
  64.  
  65. https://www.torproject.org/torbutton/
  66.  
  67. Aparecera lo siguiente :
  68.  
  69. NOTA :
  70.  
  71. Click en donde dice : Expert Install (Stable): Click to install from this website. Verify the signature.
  72.  
  73. Torbutton
  74.  
  75. Torbutton is the component in Tor Browser Bundle that takes care of application-level security and privacy concerns in Firefox. To keep you safe, Torbutton disables many types of active content.
  76.  
  77. Now that the Tor Browser Bundle includes a patched version of Firefox, and because we don't have enough developer resources to keep up with the accelerated Firefox release schedule, the toggle model of Torbutton is no longer recommended. Users should be using Tor Browser Bundle, not installing Torbutton themselves.
  78.  
  79.  
  80. Current stable version:1.4.5.1 (17 Dec 2011)
  81. Current alpha version:None
  82.  
  83. Maintainer: Mike Perry
  84.  
  85. Expert Install (Stable): Click to install from this website. Verify the signature.
  86. Past Releases: Tor Archive
  87. Developer Documentation: Torbutton Design Document and Slides (Not actively updated)
  88. Source: You can browse the repository or simply unzip the xpi.
  89. Bug Reports: Torproject Bug Tracker
  90. Documents: [ FAQ | Torbutton options | changelog | license | credits ]
  91.  
  92.  
  93. Aceptan el plugin le pedira que reinicie mozzilla , ahora que se renicie ir a a donde esta la Button de la Cebolla , click donde dice preferecias / Configuracion de seguridad / Arranque / y marcar En el arranque del navegador, establecer estado de tor . ACEPTAR CIERRAN Y ABREN FIREFOX | si todo lo hicieron bien estara funcionando si no lo es asi , pueden preguntarme.
  94.  
  95. NOTA : EN LA MAYORIA DE PENTEST ES MEJOR UTILIZAR proxychains antes de cada comando para anonymisar.No solo se en usa en Nmap si en muchas otras herramientas.
  96.  
  97. EJEMPLO : proxychains lynx http://www.whatismyip.com | Estaran navegango anonymamente por la terminal de linux.
  98.  
  99. Es recomendable usar proxychains en cada herramienta .
  100.  
  101. Ahora llega el turno de nmap torizado:
  102.  
  103. # proxychains nmap -sT -PN -n -sV -p 80 197.165.1.10
  104. ProxyChains-3.1 (http://proxychains.sf.net)
  105.  
  106. Starting Nmap 5.51 ( http://nmap.org ) at 2011-07-22 11:04 CEST
  107. |S-chain|-<>-127.0.0.1:9050-<><>-192.168.1.10:80-<><>-OK
  108. |S-chain|-<>-127.0.0.1:9050-<><>-191.168.1.10:80-<><>-OK
  109. Nmap scan report for 192.168.1.10
  110. Host is up (0.54s latency).
  111. PORT STATE SERVICE VERSION
  112. 80/tcp open http Apache httpd 2.2.17 ((EL))
  113.  
  114. Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
  115. Nmap done: 1 IP address (1 host up) scanned in 8.49 seconds
  116.  
  117. De su amigo Dyszx/Ph03n7xS3c/ para todo el equipo de
  118. **************************************
  119. ***** T34M H4CK3R N3tS3c *******
  120. **************************************
  121.  
  122. FanPage >>> ::::::: https://www.facebook.com/T34mH4ck3rN3tS3c?fref=ts :::::::::::.
Advertisement
Add Comment
Please, Sign In to add comment