未加星标

Browse anonymously in Kali Linux with Anonsurf

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二04 | 时间 2016 | 作者 红领巾 ] 0人收藏点击收藏
IP spoofing, also known as IP address forgery or a host file hijack, is a hijacking technique in which a cracker masquerades as a trusted host to conceal his identity, spoof a Web site, hijack browsers, or gain access to a network. We use various methods to spoof our IP addresses, most common being using Proxy, VPN and TOR.
Browse anonymously in Kali Linux with Anonsurf
I found this interesting tool named Anonsurf and it will anonymize the entire system under TOR using IPTables. It will also allow you to start and stop i2p as well. That means you canbrowse anonymously in Kali linux with Anonsurf running in the background. Anonsurf will run and keep changing IP address every so often or you can simply restart the process to make it grab a new IP address and thus spoofing your own IP address. Sounds good?

Und3rf10w forked ParrotSec’s git and made a version for Kali Linux which is very easy and straight forward to install. His repo contains the sources of both the anonsurf and pandora packages from ParrotSec combined into one. Und3rf10w also made some small modifications to the DNS servers to use of Private Internet Access (instead of using FrozenDNS) and added some fixes for users who don’t use the resolvconf application. He also removed some functionality such as the GUI and IceWeasel/Firefox in RAM. There’s a installer script which makes it really easy to install it. You can review the installer script to find out more. This forked version should now work with any Debian or Ubuntu system, but this has only been tested to work on a kali-rolling amd64 system. I am also using the same system but users are advised to test and verify it in their own distro. If it works, then you will be able to hide your IP and gain anonymity as long you’re not signed into any website such as Google, Yahoo etc. I wrote a nice long article comparing different methods i.e.TOR vs VPN vs Proxyon top of each other.

anonsurf

Anonsurf will anonymize the entire system under TOR using IPTables. It will also allow you to start and stop i2p as well.

NOTE: DO NOT run this as service anonsurf $COMMAND. Run this as anonsurf $COMMAND

Usage:
[email protected]:~# anonsurf --help
Parrot AnonSurf Module
Usage:
┌──[[email protected]]─[/root]
└── $ anonsurf {start|stop|restart|change|status}
start - Start system-wide anonymous
tunneling under TOR proxy through iptables
stop - Reset original iptables settings
and return to clear navigation
restart - Combines "stop" and "start" options
change - Changes identity restarting TOR
status - Check if AnonSurf is working properly
myip - Show your current IP address
----[ I2P related features ]----
starti2p - Start i2p services
stopi2p - Stop i2p services Pandora

Pandora automatically overwrites the RAM when the system is shutting down. Pandora can also be ran manually:

pandora bomb

NOTE: This will clear the entire system cache, including active SSH tunnels or sessions so perhaps not a good idea to run it while working. It makes the system freeze for sometime (I tried it in a VM).

So here’s how to configure Anonsurf in Kali Linux:

Download Anonsurf

Clone anonsurf from GIT

[email protected]:~# git clone https://github.com/Und3rf10w/kali-anonsurf.git
Cloning into 'kali-anonsurf'...
remote: Counting objects: 275, done.
remote: Total 275 (delta 0), reused 0 (delta 0), pack-reused 275
Receiving objects: 100% (275/275), 163.44 KiB | 75.00 KiB/s, done.
Resolving deltas: 100% (79/79), done.
Checking connectivity... done.
[email protected]:~#
Browse anonymously in Kali Linux with Anonsurf

Once it’s downloaded, change directory to kali-anonsurf

[email protected]:~#
[email protected]:~# cd kali-anonsurf/
[email protected]:~/kali-anonsurf#
[email protected]:~/kali-anonsurf# ls
installer.sh kali-anonsurf-deb-src LICENSE README.md
[email protected]:~/kali-anonsurf# Install anonsurf

With the installer script, it’s very straight forward to install anonsurf in Kali Linux.

[email protected]:~/kali-anonsurf# ./installer.sh
--2016-10-13 12:36:53-- https://geti2p.net/_static/i2p-debian-repo.key.asc
Resolving geti2p.net (geti2p.net)... 2a02:180:a:65:2456:6542:1101:1010, 91.143.92.136
Connecting to geti2p.net (geti2p.net)|2a02:180:a:65:2456:6542:1101:1010|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14455 (14K) [text/plain]
Saving to: ‘/tmp/i2p-debian-repo.key.asc’
/tmp/i2p-debian-rep 100%[===================>] 14.12K 21.6KB/s in 0.7s
<--------output-----truncated------->
Browse anonymously in Kali Linux with Anonsurf

In Kali Linux, it will automagically update /etc/tor/torrc file and add the following lines:

VirtualAddrNetwork 10.192.0.0/10
AutomapHostsOnResolve 1
TransPort 9040
SocksPort 9050
DNSPort 53
RunAsDaemon 1

It also changes your resolver configuration to the following:

[email protected]:~# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 209.222.18.222
nameserver 209.222.18.218

If you don’t like using Private Internet Access DNS, simply the following lines in /etc/init.d/anonsurf script

echo -e 'nameserver 127.0.0.1\nnameserver 209.222.18.222\nnameserver 209.222.18.218' > /etc/resolv.conf
echo -e " $GREEN*$BLUE Modified resolv.conf to use Tor and Private Internet Access DNS" Start anonsurf

To start anonsurf, and pass all under TOR, simply start anonsurf. It will also start TOR if that already been started:

[email protected]:~# anonsurf start
* killing dangerous applications
* cleaning some dangerous cache elements
[ i ] Stopping IPv6 services:
[ i ] Starting anonymous mode:
* Tor is not running! starting it for you
* Saved iptables rules
* Modified resolv.conf to use Tor and Private Internet Access DNS
* All traffic was redirected throught Tor
[ i ] You are under AnonSurf tunnel
[email protected]:~# Find your new Public IP

You can issue the following command to find out your IP adderss

[email protected]:~# anonsurf myip
My ip is:
1xx.1xx.2xx.1xx Restart anonsurf

If you want a new IP address, simply restart anonsurf:

[email protected]:~# anonsurf restart
* killing dangerous applications
* cleaning some dangerous cache elements
[ i ] Stopping anonymous mode:
* Deleted all iptables rules
* Iptables rules restored
[ i ] Reenabling IPv6 services:
* Anonymous mode stopped
* killing dangerous applications
* cleaning some dangerous cache elements
[ i ] Stopping IPv6 services:
[ i ] Starting anonymous mode:
* Tor is not running! starting it for you
* Saved iptables rules
* Modified resolv.conf to use Tor and Private Internet Access DNS
* All traffic was redirected throught Tor
[ i ] You are under AnonSurf tunnel

Then simply check your new IP address using the same myip command:

[email protected]:~# anonsurf myip
My ip is:
1xx.1xx.6x.6x Stop anonsurf

To stop anonsurf,

[email protected]:~# anonsurf stop
* killing dangerous applications
* cleaning some dangerous cache elements
[ i ] Stopping anonymous mode:
* Deleted all iptables rules
* Iptables rules restored
[ i ] Reenabling IPv6 services:
* Anonymous mode stopped Testing anonymity

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: LinuxUbuntuDebianGREIPv6VPNADMFirefox
分页:12
转载请注明
本文标题:Browse anonymously in Kali Linux with Anonsurf
本站链接:http://www.codesec.net/view/483908.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(44)