mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions.git
synced 2025-07-02 11:56:40 +00:00
Wrote something that introduce the tor network
This commit is contained in:
parent
e1271118fd
commit
89de1af341
8 changed files with 314 additions and 0 deletions
BIN
opsec/darknet_surf/Address_generation.png
Normal file
BIN
opsec/darknet_surf/Address_generation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
opsec/darknet_surf/Descriptor.png
Normal file
BIN
opsec/darknet_surf/Descriptor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
49
opsec/darknet_surf/Get_descriptor.drawio
Normal file
49
opsec/darknet_surf/Get_descriptor.drawio
Normal file
|
@ -0,0 +1,49 @@
|
|||
<mxfile host="Electron" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/25.0.2 Chrome/128.0.6613.186 Electron/32.2.5 Safari/537.36" version="25.0.2">
|
||||
<diagram name="Page-1" id="g8vQf7lOZ8XOqS9MBZ0G">
|
||||
<mxGraphModel dx="1964" dy="848" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-55" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dtsqZrcHcvNpIVlUkKEP-54">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="450" y="440" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-60" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="dtsqZrcHcvNpIVlUkKEP-54" target="dtsqZrcHcvNpIVlUkKEP-59">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-54" value="Browser" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="500" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-58" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="dtsqZrcHcvNpIVlUkKEP-56" target="dtsqZrcHcvNpIVlUkKEP-59">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="300" y="410" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-56" value="Tor DHT" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="390" y="380" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-57" value="1.Send Onion address ....onion" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="450" y="458" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-65" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dtsqZrcHcvNpIVlUkKEP-59">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="70" y="410" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-59" value="Descriptor" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="130" y="380" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-61" value="2.Download descriptor" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="250" y="380" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-62" value="3.Verify descriptor" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="220" y="500" width="120" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="dtsqZrcHcvNpIVlUkKEP-66" value="4.Get the introduction<div>nodes</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="-50" y="380" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
BIN
opsec/darknet_surf/Get_descriptor.png
Normal file
BIN
opsec/darknet_surf/Get_descriptor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
opsec/darknet_surf/Introduction_points.png
Normal file
BIN
opsec/darknet_surf/Introduction_points.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
47
opsec/darknet_surf/clearnet_model.drawio
Normal file
47
opsec/darknet_surf/clearnet_model.drawio
Normal file
|
@ -0,0 +1,47 @@
|
|||
<mxfile host="Electron" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/25.0.2 Chrome/128.0.6613.186 Electron/32.2.5 Safari/537.36" version="25.0.2">
|
||||
<diagram name="Page-1" id="s6loIDSRB5_9RXOfCXPu">
|
||||
<mxGraphModel dx="1114" dy="848" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="FulabzOXLJhT0SXKIutw-1" target="FulabzOXLJhT0SXKIutw-12">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="FulabzOXLJhT0SXKIutw-1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="200" y="520" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-1" value="Browser" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="140" y="370" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="FulabzOXLJhT0SXKIutw-12" target="FulabzOXLJhT0SXKIutw-1">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-12" value="Cloudflare dns<div><br></div><div>1.1.1.1</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="425" y="370" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-14" value="What is ip of google.com" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="270" y="370" width="150" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-17" value="It is x.x.x.x" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="300" y="410" width="80" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="FulabzOXLJhT0SXKIutw-19">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="420" y="550" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-19" value="Google CDN" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="140" y="520" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-21" value="Google backend<div>server</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="425" y="520" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="FulabzOXLJhT0SXKIutw-22" value="Distribute access to servers" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
|
||||
<mxGeometry x="260" y="520" width="170" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
BIN
opsec/darknet_surf/clearnet_model.png
Normal file
BIN
opsec/darknet_surf/clearnet_model.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
218
opsec/darknet_surf/index.html
Normal file
218
opsec/darknet_surf/index.html
Normal file
|
@ -0,0 +1,218 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="shortcut icon" href="../../../../../../assets/img/favicon.png">
|
||||
|
||||
<title>Navigate the darknet</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="../../assets/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="../../assets/css/xt256.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="../../assets/css/main.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Static navbar -->
|
||||
<div class="navbar navbar-inverse-anon navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand-anon" href="\index.html">The Nihilism Blog</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
<li><a href="/about.html">About</a></li>
|
||||
<li><a href="/blog.html">Categories</a></li>
|
||||
<li><a href="https://blog.nowhere.moe/donate.html">Donate</a></li>
|
||||
<li><a href="/contact.html">Contact</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- +++++ Posts Lists +++++ -->
|
||||
<!-- +++++ First Post +++++ -->
|
||||
<div id="anon2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<a href="../index.html">Previous Page</a></br></br><p><img src="../../assets/img/user.png" width="50px" height="50px"> <ba>nihilist - 00 / 00 / 00</ba></p>
|
||||
<h1>How to navigate darknet and join the webring</h1>
|
||||
<p>Clearnet websites are like <b>legit real businesses</b>, which have a big sign on their shops, you can easily find them and visit them.</p>
|
||||
<p>For visiting a clearnet site you simply type in the domain name, and your browser query its ip address and access it. Sometimes there might be a layer of CDN in the middle</p>
|
||||
<img src="clearnet_model.png" class="imgRz">
|
||||
<p>For onion addresses on tor network this is a totally different story. TCP/IP is not designed to protect privacy at all, in order to allow client and server talk to each other while both of them remain anonymous, tor invent a very sophisticated mechanism to achieve</p>
|
||||
<p>Compare to the metaphor of clearnet, onion address access is more like <b>dark market</b>. Vendors cannot be found easily, and you need some sort middle man to arrange a meeting for trading to happen. The most important part of tor network is both parties <b>never</b> directly talk to each other.</p>
|
||||
<p>Setting up and access a hidden service is a quite complicated process technically speaking, here I summarize the most important part of it:</p>
|
||||
<p><b>Service Publish</b></p>
|
||||
<p>1.Like HTTPS which is used to establish a secure connection on clearnet, the first step for setup a hidden service to operate is to generate a <b>public/private key pair</b>. The public key then is encoded and is embedded in the onion address.</p>
|
||||
<img src="Address_generation.png" class="imgRz">
|
||||
<p>That is why the onion address is so human unfriendly, because it contains a complete public key inside</p>
|
||||
<p>2.Next step is let the tor network to know the <b>presence</b> of hidden service, because you do not have a clearnet port opening, if you do not advocate yourself nobody will ever be able to find you.</p>
|
||||
<p>First you connect to a group of <b>introduction points</b>, these are the "middle man" that passes the information for you and clients to meet. Also you connect to these introduction points through tor relays, so you do not need to trust them. Pretty much like a spy agent where each node only knows absolute necessary information</p>
|
||||
<img src="Introduction_points.png" class="imgRz">
|
||||
<p>For stability of the service, you maintain a stable connection to introduction points</p>
|
||||
<p>3.Next you need to furthur advertise yourself, only set up some introduction points is not enough. Like in the spy movies people publish ads on the newspaper for contacting other spies, you also need to publish your presence on the tor network </p>
|
||||
<p>You will create a <b>Hidden service descriptor</b> which contains your onion address and your introduction points, and sign it with your private keys. Then publish it on the tor network DHT</p>
|
||||
<img src="Descriptor.png" class="imgRz">
|
||||
<p></p>
|
||||
<p><b>Client Access</b></p>
|
||||
<p>Next the client will need to find the onion address from other places, like from a forum on clearnet or onion search engine.</p>
|
||||
<p>This is the weak spot of tor network, since its addresses are very human unfriendly, it is impossible to memorize it and people need to <b>trust</b> some place for providing the correct onion address, for example taking notes locally or using some clear net directory website, which makes phishing very rampant on tor network.</p>
|
||||
<p>A popular directory site <a href="dark.fail">dark.fail</a> was taken over by a malicious actor, and all the onion addresses on it were changed to phishing sites setup by him. This highlights the importance of keeping your own local notes or set up your own directory site.</p>
|
||||
<p>Let's assume a user obtained the correct onion address, and what happens next?</p>
|
||||
<p>1.The tor browser will send the onion address to tor DHT, and will try to retrieve the <b>hidden service descriptor</b>, which contains all the information for contacting the hidden service. The public key embedded in the address will also be used to verify the authenticity of the descriptor</p>
|
||||
<img src="Get_descriptor.png" class="imgRz">
|
||||
<p>2.Next the browser(or client) will find a random relay, and make it a rendezvous point, basically it is a relay that both hidden service and client connects to, because tor network do not use IP protocol for transmitting data at all</p>
|
||||
</div>
|
||||
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /grey -->
|
||||
|
||||
<!-- +++++ Second Post +++++ -->
|
||||
<div id="anon3">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Initial Setup </b></h2>
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
<div id="anon2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Setup</b></h2> </br> </br>
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
|
||||
<!-- +++++ Second Post +++++ -->
|
||||
<div id="anon1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Setup</b></h2> </br> </br>
|
||||
<p></p>
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
<!-- +++++ Footer Section +++++ -->
|
||||
|
||||
<div id="anonb">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<h4>Nihilism</h4>
|
||||
<p>
|
||||
Until there is Nothing left.</p></br></br><p>Creative Commons Zero: No Rights Reserved</br><img src="\CC0.png">
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
<div class="col-lg-4">
|
||||
<h4>My Links</h4>
|
||||
<p>
|
||||
|
||||
<a target="_blank" rel="noopener noreferrer" href="http://blog.nowhere.moe/rss/feed.xml">RSS Feed</a><br/><a target="_blank" rel="noopener noreferrer" href="https://simplex.chat/contact#/?v=2-7&smp=smp%3A%2F%2FL5jrGV2L_Bb20Oj0aE4Gn-m5AHet9XdpYDotiqpcpGc%3D%40nowhere.moe%2FH4g7zPbitSLV5tDQ51Yz-R6RgOkMEeCc%23%2F%3Fv%3D1-3%26dh%3DMCowBQYDK2VuAyEAkts5T5AMxHGrZCCg12aeKxWcpXaxbB_XqjrXmcFYlDQ%253D&data=%7B%22type%22%3A%22group%22%2C%22groupLinkId%22%3A%22c3Y-iDaoDCFm6RhptSDOaw%3D%3D%22%7D">SimpleX Chat</a><br/>
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
<div class="col-lg-4">
|
||||
<h4>About nihilist</h4>
|
||||
<p style="word-wrap: break-word;"><u>Donate XMR:</u> 8AUYjhQeG3D5aodJDtqG499N5jXXM71gYKD8LgSsFB9BUV1o7muLv3DXHoydRTK4SZaaUBq4EAUqpZHLrX2VZLH71Jrd9k8</p></br><p><u>Contact:</u> nihilist@contact.nowhere.moe (<a href="https://nowhere.moe/nihilist.pubkey">PGP</a>)</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue