<h1>What is Plausible Deniability ? Why is it Important ? </h1>
</div>
</div><!-- /row -->
</div><!-- /container -->
</div><!-- /grey -->
<!-- +++++ Second Post +++++ -->
<divid="anon3">
<divclass="container">
<divclass="row">
<divclass="col-lg-8 col-lg-offset-2">
<h2><b>Encryption Provides Privacy </b></h2>
<p>Let's take our previous analogy to explain what Privacy is:</p>
<pre><codeclass="nim">
Bob wants to talk to Alice, He wants the conversation to remain private, so he closes the door
Jack can't spy on bob and alice's conversation, because the door is closed,
The door is closed, the conversation remains between Alice and Bob, their conversation is Private.
</code></pre>
<imgsrc="1.png"class="imgRz">
<p>For Alice and Bob to protect their conversation from being spied on by Jack, they encrypt their conversation for example by using <ahref="../pgp/index.html">PGP</a>.</p>
<imgsrc="2.png"class="imgRz">
<p>Here the most common usecase for encryption is for people to encrypt their system disk on their computers, because if someone (like jack) were to steal their computer, they don't want to read all of their data.</p>
<imgsrc="3.png"class="imgRz">
<p>All in all, encryption is used to provide privacy. As long as the encrypted volumes are closed when Jack is trying to open them, Jack cannot read the contents of the volumes.</p>
</div>
</div><!-- /row -->
</div><!-- /container -->
</div><!-- /white -->
<divid="anon2">
<divclass="container">
<divclass="row">
<divclass="col-lg-8 col-lg-offset-2">
<h2><b>What happens when Bob is forced to give out his password ?</b></h2></br></br>
<p>Encryption however, cannot protect against everything.</p>
<imgsrc="4.png"class="imgRz">
<p>In this case, Bob is legally, although questionably morally, forced to decrypt his encrypted system disk by the judge. Keep in mind that this is not a far fetched scenario, this has happened previously.</p>
<ol>
<li><p>in January 2012 (<ahref="https://www.wired.com/2012/01/judge-orders-laptop-decryption/">source</a>)</p></li>
<p>Now here there are multiple scenarios. Either you live in a country that doesn't respect human rights, and they torture you until you spit out the password, or the country you live in has to respect human rights, they throw you in jail for let's say 6 months, for contempt of court (arguing that you swore to tell the truth, and you lied about having forgotten your password), <b>which is also an attempt to break your will, to make you spit out the password.</b> the only problem is that they can't legally torture you any other way, so they have no other option than to do it like that.</p>
<p>If you are ever dragged into court, <b>the judge will appreciate much more if you actually hand over your laptop, and show that you are willing to cooperate with the authorities by providing your password to unlock it</b>, rather than starting to pretend you forgot your password (which can end badly like in <ahref="https://lawblog.legalmatch.com/2018/07/23/florida-man-jailed-allegedly-forgetting-password-on-cell-phones/">this court case</a>, where the defendant was found to be in contempt of court, and thrown in jail for 6 months for it), </p>
<p>When that is the case, simply encrypting the disk is not enough, as <b>all that is required is for the adversary to know of the existance of the encrypted drive, to be able to force Bob to open it</b></p>
<imgsrc="6.png"class="imgRz">
<p>As far as key encryption laws, the trend is that most developed countries are forcing their citizens to incriminate themselves and to surrender the encryption keys to authorities, when asked. In short,<b>If the encrypted volume is proven to exist, you can be forced to surrender the decryption key/password to open it.</b></p>
<p>From a legal standpoint, the only way to be protected against that scenario where you're forced to decrypt your harddrive <b>is to be able to deny the existence of said encrypted volume (Plausible Deniability)</b> . If the encrypted volume does not exist, there is no password to be given for it.</p>
<p>In short, Veracrypt allows you to encrypt volumes, just like LUKS encryption does. <b>However it gives you the choice to hide another encrypted volume inside the same volume</b>, that is exactly what you can deny the existence of.</p>
<p>This means, when Jack forces Bob to open the vercrypt volume, Bob types Password A to open the decoy volume, Then, when asked by Jack, <b>Bob declares that there is no Hidden volume, and Jack has no way to prove the existence the Hidden Volume</b>.</p>
<h2><b>Live mode - Protecting your Deniability</b></h2></br></br>
<p>Now when there is an adversary busting down your door, running towards your computer to collect as much incriminating evidence as possible on you, you need to make sure that they are not finding anything incriminating on you. Thing is, if he were to seize your computer, there are many places he can check inside your computer for anything incriminating (system logs, kernel logs, non-standard log-files, the contents of the RAM, etc)</p>
<p>In the context of you using <ahref="../veracrypt/index.html">deniable encryption</a>, <b>the adversary must not able to prove the existance of said encrypted volume</b> that you are trying to keep hidden. This is where using an operating system in live mode comes in the picture:</p>
<imgsrc="7.png"class="imgRz">
<p>To make it short, if you start your operating system in live mode, <b>you are not writing anything on the system disk</b>, but rather <b>you are loading the entire operating system in the RAM</b>. Everthing that you write on the system drive while in live mode gets erased upon rebooting. </p>
<p>The idea behind using live mode is that <b>every forensic trace regarding the hidden encrypted volume</b> that would normally be written into the system logs, kernel logs, and various other system files <b>(that we would normally need to manually clean up after closing the hidden volume)</b> will all be written into RAM instead of being written onto Disk, and then <b>will all be completely erased upon rebooting the computer.</b></p>
<p>As you'll see in <ahref="../tailsqemuvm/index.html">this tutorial</a>, we can make use of a VM's live mode to securely erase every trace of sensitive activity.</p>