![]() |
|
[TUT] Simple Anonymity (Linux Version) A must read - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47) +----- Thread: [TUT] Simple Anonymity (Linux Version) A must read (/showthread.php?tid=699221) |
[TUT] Simple Anonymity (Linux Version) A must read - serial# - Sep 25, 2010 Before you start launching all your scans and tests, It would make alot more sense to be "nameless". If your like me then you wouldn't want some IDS picking up your internet protocol right? I haven't seen a tutorial about running our favorite scanners and information grabbing program through something like a proxy that really made alot of sense so I decided to write something down. There are a few packages you will have to download and install unless your already running backtrack. Tor & Privoxy Firefox's Torbutton addon proxychains socat A quick google search will provide you with plenty of download links and even instructions on how to install them. Now lets skip a few beats and say we have already downloaded and installed tor. Now lets shut it down and restart it to make sure everything is running smoothly. Code serial@home:~# /etc/init.d/tor stopNow with out any error messages or warnings lets start tor back up. We should get the following: Code serial@home:~# /etc/init.d/tor startNo error ro warnings messages...GOOD, There are other ways to check this but It's always better to second check things then to second chance them. Now with tor up and running lets take a look at our privoxy.conf file. Code serial@home:~# nano /etc/privoxy/configNow at the very top add this line: Code forward-socks4a / 127.0.0.1:9050 .Now with nano still up lets search for the words "logfile logfile" You can do this my holding down the ctrl button and pressing the w key It will find "logfile logfile" and will look like this: Code #Now we dont want tor logging anything to a logfile so let's add a # to the beginning of that like this: Code #Next search for the words "jarfile jarfile" and do the exact same as you did with "logfile logfile" Now save and exit the file by holding the ctrl and pressing o and then ctrl+x. We are going to restart privoxy now sent we made some changes: Code serial@home:~# /etc/init.d/privoxy restartTor and privoxy are now complete, next step is adding the tor button to firefox: Goto Tools>Add-ons>Get Add-ons and search for Torbutton and install it. Now when you restart firefox your just click the Tor Disabled button and if it changes to Tor Enabled then go to www.whatismyip.com and see if its changed, if it has then your browser is now finished. Now I'm going to show you how proxychains work, its really simple and for an example I'm going to use the network program nmap. Open up your terminal and type: Code serial@home:~# proxychains nmap -sT -PN -n -p 80 google.comI just did a pretty basic nmap on google.com:80 as just an example but what we did here was we using proxychains to tunnel our nmap scan through tor. You can use this same feature through all your terminal scanners. Lets look at another good scan using proxychains Code serial@home:~# proxychains fping -a -g 192.168.1.0/24Just a simple ping sweep. Now on to socat, this package is a big one so I would higly recommend reading or learning all you can about this one before using it fully. But as an example situation let's say I did a nmap scan on someone and found out they was running a webserver. One super good way to find out what type of server they are running is simply connecting to it and requesting "HEAD / HTTP/1.0" I open my terminal and type: +TECH NOTE: A quick way to find out a website's Ip address is to use the tor-resolve function Code tor-resolve google.comCode serial@home:~# socat TCP4-LISTEN:8080, forkNow in a new terminal I type: Code ]nc 127.0.0.1 8080And send the command "HEAD / HTTP/1.0" voila! If you liked this or enjoyed please let me know I'll be glad to help you with your own projects on my own time. Thanks for reading. * - Middle - Sep 27, 2010 Could you go into more detail on how to use proxychains? I have been trying to set it up for ages now with no luck. Thanks a lot * - serial# - Oct 1, 2010 (Sep 27, 2010 12:39 PM)Middle Wrote: Could you go into more detail on how to use proxychains? I have been trying to set it up for ages now with no luck. What distro are you using? * - Middle - Oct 1, 2010 Backtrack 4 So everything is pre-installed I have added a proxy list, but i probably need a new one now, where is best for a proxy list? and any ideas on how to get it working? * - RogueR3x - Oct 1, 2010 now THIS is the kinda hacking we all love..if I could call it hacking of course...but this...nice stuff..love it..if I could rep ya for it I would..I don't even know how to rep..but seriously...really good..love this. It's not harmful to anyone if you just leave it at anonymity, nobody knows who you are, which is great defense, and you can use it for attacking without being caught so easily, great weapon. Once again: love it, haven't seen anything this good on HF. And I'm not lying. * - Scar3croW - Oct 1, 2010 Just what I needed for my Ubuntu 10.04 setup. :) * - serial# - Oct 2, 2010 (Oct 1, 2010 02:53 PM)Middle Wrote: Backtrack 4 So everything is pre-installed I have added a proxy list, but i probably need a new one now, where is best for a proxy list? and any ideas on how to get it working? Run your proxychains through your tor network then there is no need for a proxylist EDIT: You shouldnt have any problems with this on bt4 (Oct 1, 2010 03:53 PM)RogueR3x Wrote: now THIS is the kinda hacking we all love..if I could call it hacking of course...but this...nice stuff..love it..if I could rep ya for it I would..I don't even know how to rep..but seriously...really good..love this. It's not harmful to anyone if you just leave it at anonymity, nobody knows who you are, which is great defense, and you can use it for attacking without being caught so easily, great weapon. Cool man I have a few others in my threads, I took a long break from writing and other computer related fun but now I'm back * - Middle - Oct 2, 2010 OK im going to ask a very special question now so i apologise for lowering the tone of the thread. How do i run it through my "tor network"? * - serial# - Oct 2, 2010 (Oct 2, 2010 04:46 AM)Middle Wrote: OK im going to ask a very special question now so i apologise for lowering the tone of the thread. open terminal and type Code nano /etc/proxychains.confScroll all the way to the bottom and make sure you have this: Code # defaults set to "tor"If not then add that and press ctrl+o then ctrl+x or just press ctrl+x to save and close the file * - hottentot - Oct 2, 2010 great🤗 niccee verry good! * - Middle - Oct 3, 2010 (Oct 2, 2010 11:44 PM)serial# Wrote: open terminal and type Thanks for the help, but i don't see how that chains proxies? And when i went to check my IP address it was the same as before * - serial# - Oct 4, 2010 (Oct 2, 2010 11:54 PM)hottentot Wrote: great🤗 niccee verry good! Im assuming your using backtrack....if you are setup snort and scan yourself with nmap and see if snort is logging your information view it through base http://localhost/base If your not on backtrack and some other distro then show me how your trying to view your ip address another way * - Middle - Oct 4, 2010 I am running Backtrack 4 So i have ran the following: Code apt-get install snort And i got this Code Starting Nmap 5.00 ( http://nmap.org ) at 2010-10-04 17:51 BSTSo i am running tor... And to check my ip i am typing Code proxychains firefox whatismyip.com |