![]() |
|
[TUTORIAL] Anonymizing your nmap scans through TOR - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Hacking (https://sinister.li/Forum-Hacking) +--- Forum: Tutorials (https://sinister.li/Forum-Tutorials) +--- Thread: [TUTORIAL] Anonymizing your nmap scans through TOR (/Thread-TUTORIAL-Anonymizing-your-nmap-scans-through-TOR) Pages:
1
2
|
[TUTORIAL] Anonymizing your nmap scans through TOR - superMAUS - 04-23-2014 How to make semi-anonymous Nmap scans with TOR on Linux by theLurkingMass I use this method when attacking systems with more astute sysadmins and less traffic. An unprotected nmap scan can stick out like a sore thumb so its best to use this method.
0x01.Dependencies: TOR (of course) Proxychains (sudo apt-get install proxychains) Nmap (sudo apt-get install nmap) Open up a text editor and copyandpasta this tiny program I wrote for automation: Code: #!/bin/bash
if [ -z "$2" ]; then
echo "Syntax:"
echo "./nmaptunnl.sh [host] [ports]"
exit
fi
proxychains nmap -sT -PN -n -sV -p $2 $1Then Save it as nmaptunnl.sh. 0x02. Open up terminal and navigate to the file. Run it using bash ./nmaptunnl.sh. Then use the syntax below: Spoiler:![]() 0x03. Scan the host and profit (like so): Code: thelurkingmass@thelurkingmass:~/Documents/nmaptunnl$ bash nmaptunnl.sh www.google.com 21,80,23
ProxyChains-3.1 (http://proxychains.sf.net)
Starting Nmap 5.21 ( http://nmap.org ) at 2014-03-30 19:17 EST
|DNS-request| www.google.com
|S-chain|-<>-127.0.0.1:9050-<><>-4.2.2.2:53-<><>-OK
|DNS-response| www.google.com is 173.194.116.145
|S-chain|-<>-127.0.0.1:9050-<><>-173.194.116.145:21-<--timeout
|S-chain|-<>-127.0.0.1:9050-<><>-173.194.116.145:23-<--timeout
|S-chain|-<>-127.0.0.1:9050-<><>-173.194.116.145:80-<><>-OK
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
|S-chain|-<>-127.0.0.1:9050-<><>-173.194.116.145:80-<><>-OK
Nmap scan report for www.google.com (173.194.116.145)
Host is up (13s latency).
PORT STATE SERVICE VERSION
21/tcp closed ftp
23/tcp closed telnet
80/tcp open http Google httpd 2.0 (GFE)
Service Info: OS: Linux
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 39.04 secondsEnjoy and if you have any queries feel free to ask. RE: [TUTORIAL] Anonymizing your nmap scans through TOR - Reiko - 04-23-2014 dear god... you're not retarded. You actually made sure to use the -sT flag for this. What kind of world am I living in when I can't make fun of you online for being retarded?! RE: [TUTORIAL] Anonymizing your nmap scans through TOR - w00t - 04-23-2014 echo -e "alias nmap='nmap --proxy \"socks4://127.0.0.1:9050\"'\n" >> ~/.bash_aliases RE: [TUTORIAL] Anonymizing your nmap scans through TOR - Mom - 04-23-2014 (04-23-2014, 02:28 PM)Reiko Wrote: dear god... you're not retarded. You actually made sure to use the -sT flag for this. Well you still totally can. There's always a way to call someone retarded. RE: [TUTORIAL] Anonymizing your nmap scans through TOR - e523e - 04-23-2014 Or you could just use torify, you probably already have it and don't know it. Code: torify curl ifconfig.me
5.79.81.200Code: man torifyRE: [TUTORIAL] Anonymizing your nmap scans through TOR - Alan Turing - 04-24-2014 That background looks really nice. Good tutorial as well
RE: [TUTORIAL] Anonymizing your nmap scans through TOR - superMAUS - 04-24-2014 (04-23-2014, 02:59 PM)w00t Wrote: echo -e "alias nmap='nmap --proxy \"socks4://127.0.0.1:9050\"'\n" >> ~/.bash_aliases Thats definetly a better method instead of installing so many dependencies. You win :3 (04-24-2014, 12:58 AM)Kosaki Wrote: That background looks really nice. Good tutorial as well Thanks very much :3 (04-23-2014, 06:18 PM)e523e Wrote: Or you could just use torify, you probably already have it and don't know it. Thanks for this share, this is certainly useful not just for nmap. RE: [TUTORIAL] Anonymizing your nmap scans through TOR - Equinox - 04-24-2014 (04-23-2014, 05:33 PM)Tiny Tina Wrote: Well you still totally can. There's always a way to call someone retarded. You're retarded. RE: [TUTORIAL] Anonymizing your nmap scans through TOR - Mom - 04-24-2014 (04-24-2014, 01:34 AM)Duubz Wrote: You're retarded. Spoiler:![]() On a serious note, Duubz: <3 RE: [TUTORIAL] Anonymizing your nmap scans through TOR - superMAUS - 04-24-2014 (04-24-2014, 06:28 AM)Tiny Tina Wrote: Stop using the fucking heart okay? I challenge you. |