blog-contributions/opsec/anonsimplex/index.html

342 lines
16 KiB
HTML
Raw Normal View History

2024-10-13 18:44:07 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Anonymity - Easy Anonymous Chats Using SimpleX</title>
<link href="../../assets/css/bootstrap.css" rel="stylesheet">
<link href="../../assets/css/xt256.css" rel="stylesheet">
<link href="../../assets/css/main.css" rel="stylesheet">
</head>
<body>
<!-- Navbar -->
<div class="navbar navbar-inverse-anon navbar-static-top">
<div class="container">
<div class="navbar-header">
<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="/donate.html">Donate</a></li>
<li><a href="/contact.html">Contact</a></li>
</ul>
</div>
</div>
</div>
<!-- Introduction -->
<div id="anon1">
<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"
alt="User Icon">
<span class="author-date">Hoover - 2024-10-12</span>
</p>
<h1>Anonymity - Easy Anonymous Chats Using SimpleX</h1>
2024-10-19 21:14:53 +02:00
<img src="../closedsource/2.png" class="imgRz">
2024-10-13 18:44:07 +02:00
<p>In this tutorial we're going to see how to setup a chat application for Anonymous use. This is especially important in a world where mass-surveillance is nearly-omnipresent. It has become the end users' responsibility to uphold their privacy and anonymity while communicating online.</p>
</div>
</div>
</div>
</div>
<!-- Why Anonymous Chats? -->
<div id="anon2">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b>Choosing the most appropriate chat application</b></h2>
<p>In order to choose the most appropriate messaging app for our intended use (Anonymity), we have the following requirements:</p>
<p><u>Privacy:</u></p>
<ol>
<li><p>The application must be free and open source (FOSS)</p></li>
<li><p>The application must have End to End Encryption by default (E2EE)</p></li>
<li><p>The application must allow us to run and use our own servers (Decentralisation)</p></li>
</ol>
<p><u>Anonymity:</u></p>
<ol>
<li><p>The application must support Tor .onion servers out of the box</p></li>
<li><p>The application must allow you to chat without requiring any information (no emails, no usernames, no phone numbers)</p></li>
<li><p>The application must have the ability for us to join chatrooms without revealing our identity (Incognito Mode)</p></li>
</ol>
<p><u>Deniability:</u></p>
<ol>
<li><p>The application must have disappearing messages (Deniability)</p></li>
</ol>
<p>You'd be suprised to see that as of right now (November 2024) there is only SimpleX that actually fits all of these criterias. therefore that's what we'll use for Anonymous chats.</p>
</div>
</div>
</div>
</div>
<!-- What Tools Will Be Used? -->
<div id="anon3">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<p><h2><u>Mobile OPSEC Recommendations:</u></h2></p>
<ol>
<li><p>Hardware : Google Pixel Phone</p></li>
<li><p>Host OS: <a href="../graphene/index.html">GrapheneOS</a></p></li>
<li><p>Graphene Profile: Anonymous Use </p></li>
<li><p>Applications: Orbot and SimpleX </p></li>
</ol>
<p><h2><u>Desktop OPSEC Recommendations:</u></h2></p>
<ol>
<li><p>Hardware : (Personal Computer / Laptop)</p></li>
<li><p>Host OS: <a href="../linux/index.html">Linux</a></p></li>
<li><p>Hypervisor: <a href="../hypervisorsetup/index.html">libvirtd QEMU/KVM</a></p></li>
<li><p>Virtual Machine: <a href="../hypervisorsetup/index.html">Linux</a> or <a href="../whonixqemuvms/index.html">Whonix</a> or <a href="../tailsqemuvm/index.html">Tails</a> </p></li>
<li><p>Application: Tor (if not on Whonix or Tails), and SimpleX </p></li>
</ol>
<p>We will be going through how to set up your own SimpleX server through Tor, and how to configure your Android client to route your traffic through it.</p>
</div>
</div>
</div>
</div>
<!-- How to Set Up Anonymous Chats -->
<div id="anon2">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b>How to Set Up Anonymous Chats</b></h2>
<h3><b>Step 1. Option A: GNU/Linux</b></h3>
<p>First, update your package list and install Tor by running the following commands in your terminal:</p>
<pre><code class=nim">sudo apt update
sudo apt install tor</pre></code>
<p>Once installed, start the Tor service:</p>
<pre><code class=nim">sudo systemctl start tor@default</pre></code>
<p>Next you'll need to download SimpleX AppImage which can be <a href="https://simplex.chat/downloads/">found here on SimpleX website</a>.</p>
<p>Open a terminal in the directory of your downloaded AppImage. Make the AppImage executable, then launch it:</p>
<pre><code class=nim">
[ mainpc ] [ /dev/pts/26 ] [~]
→ chmod +x simplex-desktop-x86_64.AppImage
[ mainpc ] [ /dev/pts/26 ] [~]
→ ./simplex-desktop-x86_64.AppImage
</pre></code>
<h3><b>Step 1. Option B: Android</b></h3>
<p>Download and install the Orbot .apk from <a
href="https://github.com/guardianproject/orbot/releases"
target="_blank">the GitHub repository</a>.</p>
<img src="Orbot1.png" class="imgRz"
alt="Orbot installation screenshot">
<p>Open Orbot, and in the bottom-right corner, tap on <strong>More</strong>, then <strong>Settings</strong> to enter the settings.</p>
<p>In the settings menu, scroll down and enable the <strong>Power User Mode</strong>.</p>
<p>After enabling Power User Mode, go back to the More section and press <strong>Choose apps</strong> and select SimpleX in the list. Go back to <strong>Connect</strong> in the bottom navigation menu and press <strong>Connect</strong>.</p>
<!--<img src="Orbot2.png" class="imgRz" alt="Orbot PUM screenshot">-->
<img src="orbot.png" class="imgRz">
<p>Download and install <a
href="https://f-droid.org/packages/chat.simplex.app/">SimpleX
using F-Droid</a></p>
<img src="Simplex1.png" class="imgRz"
alt="SimpleX installation screenshot">
<h3><b>Step 2.</b></h3>
<p>Navigate through the setup process, select your username, and
press Create. The screenshots showcase the process for Android, but the steps are identical for Linux/GNU as well.</p>
<img src="Simplex2.png" class="imgRz" alt="SimpleX setup screen">
<p>Once you've created your profile, open the kebab menu on the
bottom left and open <strong>Settings &gt; Network and servers</strong>
and activate SOCKS Proxy. Press <strong>SOCKS proxy settings</strong> and set your
port to 9050, then save.</p>
<img src="Simplex4.png" class="imgRz" alt="SimpleX proxy switch">
<img src="Simplex6.png" class="imgRz" alt="SimpleX proxy settings">
<h3><b>You have now successfully configured SimpleX to use Tor!</b></h3>
</div>
</div>
</div>
</div>
<!-- SimpleX Server Setup -->
<div id="anon3">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b>Step 3. SimpleX Server Setup</b></h2>
<p>It's important to note that in theory, it doesn't matter which SimpleX server you connect to, as all communication is end-to-end encrypted. When you connect via Tor, it further ensures that the server itself won't be able to trace your connection back to you. Your anonymity is maintained through the use of Tor, and your conversations are protected by SimpleX's encryption.</p>
<p>HackLiberty has a great guide on how to install and configure a
SimpleX server using Docker.</p>
<ul>
<li><strong>1. </strong> Navigate to the <a
href="https://forum.hackliberty.org/t/simplex-server-docker-installation-guide-smp-xftp/140">Simplex
Server Docker Installation Guide from HackLiberty</a> and
follow the instructions.</li>
<li><strong>2. </strong> Note your SMP and XFTP server addresses.</li>
</ul>
<p>Once you have configured and started your server, carry on with
this guide.</p>
</div>
</div>
</div>
</div>
<!-- Configure SimpleX -->
<div id="anon2">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b>Step 4: Configure SimpleX To Use Your Server</b></h2>
<p>After setting up your SimpleX server, you need to configure your
client to route its traffic through it.</p>
<p>Open the kebab menu at the bottom left again, and navigate to
<strong>Settings &gt; Network and servers</strong>, then press
<strong>Message servers</strong>.</p>
<img src="13.png" class="imgRz" alt="SimpleX message server settings">
<p>If you desire, you can remove all the default SimpleX instances
individually before proceeding; this ensures that SimpleX will
only ever use your server.</p>
<p>Press <strong>Add server</strong>, then <strong>Enter server
manually</strong>. Specify your SMP server address and save.
Make sure to check the <strong>Use for new connections</strong>
option.</p>
<img src="Simplex8.png" class="imgRz" alt="Adding a SimpleX server">
<p>Repeat the same steps for your XFTP address by navigating to
<strong>Settings &gt; Network and servers</strong>, then press
<strong>Media & file servers</strong>.</p>
<p>Similarly, you can remove all default instances here if you
desire. Then add your XFTP server address by pressing <strong>Add
server &gt; Enter server manually</strong>. Specify your XFTP
address and save. Don't forget to tick the <strong>Use for new
connections</strong> option.</p>
<img src="12.png" class="imgRz" alt="SimpleX message server settings">
<img src="11.png" class="imgRz" alt="Adding a SimpleX server">
<h3><b>Congratulations!</b></h3>
<p>You have now successfully configured your SimpleX server and
client.</p>
</div>
</div>
</div>
</div>
<!-- How to Create Chatrooms in Incognito -->
<div id="anon3">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b>How to Create Chatrooms in Incognito mode</b></h2>
<p>After configuring your SimpleX client through Orbot and your own
server, you are ready to create and join chatrooms. Here is how to
create a chatroom in Incognito mode:</p>
<h3><b>Step 1: Create the Chatroom</b></h3>
<p>Press the pen icon in the bottom right of the screen. This will
bring up a menu. Select <strong>Create group</strong>.</p>
<img src="Simplex9.png" class="imgRz"
alt="Creating a group in SimpleX">
<p>Enter a name for your group. You can also add a photo for the
group.</p>
<p>Tick the <strong>Incognito</strong> option. Doing this ensures
your profile name and image is hidden from your group members and
allows for anonymous connections with other people without shared
data. Once you have filled out the necessary information, press
<strong>Create group</strong>.</p>
<img src="Simplex10.png" class="imgRz"
alt="SimpleX incognito mode settings">
<h3><b>Step 2: Invite Members</b></h3>
<p>After creating your chatroom, you will be met with an invite
link. You will use this link to invite other people to your
chatroom.</p>
<img src="Simplex11.png" class="imgRz" alt="SimpleX invite link">
</div>
</div>
</div>
</div>
<!-- How to Join Chatrooms in Incognito -->
<div id="anon2">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b>How to Join Chatrooms in Incognito mode</b></h2>
<p>If you have received an invite to a SimpleX chatroom, you can
join it by pressing the input field at the bottom of the screen
labeled <strong>Search or paste SimpleX link</strong>.</p>
<p>Paste your invite link into the input field and press <strong>Enter</strong>.</p>
<img src="Simplex12.png" class="imgRz"
alt="Joining a SimpleX chatroom">
<p>You will be met with a window asking whether you'd like to
connect using your current profile or using an Incognito profile.</p>
<p>Select <strong>Use new incognito profile</strong>. </p>
<img src="Simplex13.png" class="imgRz"
alt="Selecting an incognito profile in SimpleX">
<p>This is because we don't want to reveal what our simplex username is, we just want to join the chatroom using a random username that is not tied to our identity.</p>
<img src="Simplex14.png" class="imgRz"
alt="Simplex group">
<p>And there as you can see, everyone that joins in in incognito gets a random pseudonym with the format "Random Adjective Random Word" effectively helping the users maintain their anonymity while in the chat.</p>
</div>
</div>
</div>
</div>
<!-- Conclusion -->
<div id="anon3">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2><b>Conclusion</b></h2>
<p>By following this tutorial, you've set up a secure, anonymous
chat system using SimpleX and Tor. You've learned how to install
Orbot, configure SimpleX servers with `.onion` addresses, create
incognito chatrooms, and join them anonymously. This setup ensures
that your private conversations remain secure and untraceable.</p>
<h3><b>What You've Accomplished</b></h3>
<p>- Installed Orbot and routed traffic through the Tor network.<br>
- Configured SimpleX servers to use `.onion` addresses.<br>
- Created and joined anonymous chatrooms in incognito mode.</p>
</div>
</div>
</div>
</div>
<!-- Footer -->
<div id="anonb">
<div class="container">
<div class="row">
<div class="col-lg-4">
<h4>Nihilism</h4>
<p>
Until there is Nothing left.<br>
2024-11-16 15:54:12 +01:00
Creative Commons Zero: <a href="../../../../opsec/runtheblog/index.html">No Rights Reserved</a><br>
2024-10-13 18:44:07 +02:00
<img src="\CC0.png" alt="Creative Commons Zero">
</p>
</div>
<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>
</p>
</div>
<div class="col-lg-4">
<h4>About Hoover</h4>
<p style="word-wrap: break-word;">
<u>Donate XMR:</u>
42yco9t6qK98N191EZzKJUCH7cit5JT8mBJQvVULEPAPeBHurbFqGj2hK7kaFhqasv8AYLpbuP15Wg5suzyjUd5SMLqabRw<br>
<u>Contact:</u> fuzzy.hat4381@fastmail.com
</p>
</div>
</div>
</div>
</div>
</body>
</html>