Darkweb Python Hidden Services
Darkweb Python Hidden Services
net/publication/338825515
CITATIONS READS
0 753
1 author:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by José Manuel Ortega on 25 January 2020.
www.sti-innsbruck.at
About me
http://jmortega.github.io/
2
About me
3
Agenda
4
Surface vs Deep vs Dark Web
5
What is Tor?
6
What is Tor?
7
What is Tor?
8
Onion Routing
9
Onion Routing
10
Establish TOR circuit
11
Establish TOR circuit
When we connect to
the TOR network, we
do it through a circuit
formed by 3
repeaters, where the
encrypted packet sent
from the client is
passing. Each time
the packet goes
through a repeater, an
encryption layer is
added.
12
Hidden services
13
Hidden services
https://metrics.torproject.org/hidserv-dir-onions-seen.html
14
Tor NODE List
15
Tor NODE List
https://www.dan.me.uk/tornodes
http://torstatus.blutmagie.de
16
Tor NODE List
https://onionite.now.sh
17
Exonera TOR
https://metrics.torproject.org/exonerator.html
18
Relay search
https://metrics.torproject.org/rs.html#simple
19
Relay search
https://metrics.torproject.org/rs.html#simple
20
Relay search
https://metrics.torproject.org/rs.html#simple
21
Discover hidden services
HiddenWiki:http://wikitjerrta4qgz4.onion/
Dark Links: http://wiki5kauuihowqi5.onion
Tor Links: http://torlinkbgs6aabns.onion
Dark Web Links:
http://jdpskjmgy6kk4urv.onion/links.html
HDWiki: http://hdwikicorldcisiy.onion
OnionDir: http://dirnxxdraygbifgc.onion
DeepLink: http://deeplinkdeatbml7.onion
Ahmia: http://msydqstlz2kzerdg.onion
22
Tor onnion services
23
Tor onnion services
https://en.wikipedia.org/wiki/List_of_Tor_onion_
services
https://en.wikipedia.org/wiki/The_Hidden_Wiki
24
TOR2web
https://www.onion.to
25
TOR browser
https://www.torproject.org/download/
26
Onion Routing
27
Installing TOR
28
TORrc
29
Running TOR
30
Running TOR
31
Tor service
32
Connecting with TOR
Stem
https://stem.torproject.org/
TorRequest
https://github.com/erdiaker/torrequest
Requests + socks5
33
Stem
34
TOR descriptors
36
Stem
37
Periodic Tor IP Rotation
import time
from stem import Signal
from stem.control import Controller
def main():
while True:
time.sleep(20)
print ("Rotating IP")
with Controller.from_port(port = 9051) as controller:
controller.authenticate()
controller.signal(Signal.NEWNYM) #gets new identity
if __name__ == '__main__':
main()
38
Stem.Circuit status
controller = Controller.from_port(port=9051)
controller.authenticate()
print(controller.get_info('circuit-status'))
39
Stem.Network status
controller = Controller.from_port(port=9051)
controller.authenticate(password)
entries = controller.get_network_statuses()
for routerEntry in entries:
print(routerEntry)
40
Stem.circuits
41
Stem.circuits
42
Server descriptors
43
Introduction points
44
Tor nyx
https://nyx.torproject.org/
45
Tor nyx
46
Tor nyx
47
Tor nyx
48
TorRequest
tr.reset_identity()
response = tr.get('http://ipecho.net/plain')
print(response.text) # another IP address
49
Request
import requests
def get_tor_session():
session = requests.session()
# Tor uses the 9050 port as the default socks port
session.proxies = {'http': 'socks5h://127.0.0.1:9050',
'https': 'socks5h://127.0.0.1:9050'}
return session
50
Analyze hidden services
https://ahmia.fi/
52
Torch search engine
http://xmh57jrzrnw6insl.onion
53
UnderDir Search engine
54
Hidden services
55
Search Hidden services
56
Other tools
Tor spider
https://github.com/absingh31/Tor_Spider
Tor router
https://gitlab.com/edu4rdshl/tor-router
57
Onnion scan
https://github.com/s-rah/onionscan
58
Dark Web map
https://www.hyperiongray.com/dark-web-map/
59
GitHub repositories
https://github.com/serfer2/python-deepweb
https://github.com/jmortega/python_dark_web