Sunday February 5th 2012

Installare Tor su BackTrack 4

Vediamo come installare il Tor su BT4, strumento utile per la navigazione anonima sul web.
Perchè tutto funzioni avremo bisogno di:
- Tor, il demone;
- Privoxy, un proxy locale a cui collegarci;
- TorButton, un addons di Firefox per collegare il nostro browser.

Dunque apriamo una shell e digitiamo:

# apt-get install tor

In questo modo installeremo anche Privoxy, poichè risulta essere una dipendenza del pacchetto Tor.
Dunque, non ci resta che installare l’addons di Firefox presente qui.
Bene, ora che abbiamo tutti i pacchetti necessari, facciamo un minimo di configurazione. In particolare modifichiamo il file di conf di Privoxy presente nel percorso “/etc/privoxy/config” proprio come il seguente:

# Generally, this file goes in /etc/privoxy/config
#
# Tor listens as a SOCKS4a proxy here:
forward-socks4a / 127.0.0.1:9050 .
confdir /etc/privoxy
logdir /var/log/privoxy
actionsfile standard  # Internal purpose, recommended
actionsfile default   # Main actions file
actionsfile user      # User customizations
filterfile default.filter
 
# Don't log interesting things, only startup messages, warnings and errors
#logfile logfile
#jarfile jarfile
#debug   0    # show each GET/POST/CONNECT request
debug   4096 # Startup banner and warnings
debug   8192 # Errors - *we highly recommended enabling this*
 
user-manual /usr/share/doc/privoxy/user-manual
listen-address  127.0.0.1:8118
toggle  1
enable-remote-toggle 0
enable-edit-actions 0
enable-remote-http-toggle 0
buffer-limit 4096

Riavviamo i servizi e Firefox:

# /etc/init.d/tor start
Raising maximum number of filedescriptors (ulimit -n) to 32768.
Starting tor daemon: tor...
Mar 27 19:31:23.179 [notice] Tor v0.2.0.31 (r16744). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux i686)
Mar 27 19:31:23.180 [notice] Initialized libevent version 1.3e using method epoll. Good.
Mar 27 19:31:23.181 [notice] Opening Socks listener on 127.0.0.1:9050
done.
# /etc/init.d/privoxy start
Starting filtering proxy server: privoxy.

A questo punto abilitiamo l’addons di Firefox e controlliamo che il tutto funzioni collegandoci a questo link.
Se vi ritorna una scritta verde indicando che il Tor è abilitato allora funziona, altrimenti provate a seguire la guida ufficiale qui.

Buona navigazione!

2 Comments for “Installare Tor su BackTrack 4”

  • elPampero scrive:

    Salve, le faccio i miei complimeti per l’ottima guida che ha proposto, ho eseguito tutti i passaggi, ma non ho ben capito cosa intende quando dice “riavviamo i servizi e firefox”.
    Nonostante ciò tor sembra funzionare, anche se la velocità della connessione ne risente abbastanza, inoltre accanto al Tor button c’è un ulteriore tasto “FoxyProxy:disabled” che non riesco ad attivare.

  • manzotti scrive:

    @elPampero

    Intendo riavviare firefox e al massimo i servizi di rete. La connessione è normale perchè fai parte di una rete di nodi molto ampia http://it.wikipedia.org/wiki/Tor_%28software_di_anonimato%29
    Il proxy locale è normale che te lo disabilità perchè Privoxy non fa altro che aprire una connesione locale sulla porta del tor 127.0.0.1:9050

    A presto


Leave a Comment

More Topics

Fake AP in 2 seconds
Fake AP in 2 seconds

Making an fake access point in Windows 7 it’s now really simple. Thanks to the new Wireless Hosted Networks [Read More]

Tutorial write an exploit part 3 SEH
Tutorial write an exploit part 3 SEH

In the previous tutorial we have seen some technique of buffer overflow, in most cases with the aim to overwrite the [Read More]

Tutorial write an exploit Part 2

After having fully understood the tutorial part 1 let’s go to read the second one. In this tutorial we will see [Read More]

Would you be white hat if it paid more?
Would you be white hat if it paid more?

If this is true or not no one knows but it is interesting to have an idea about cyber market. You can read the full [Read More]

Tutorial write an exploit Part 1 JMP to ESP

This article begins a small series of tutorials that aims to make you understand in an easier and more detailed way how [Read More]