WEBVTT

00:00.960 --> 00:01.380
Okay.

00:01.380 --> 00:08.370
So now that we have a basic understanding on how bitcoins work and how cryptocurrencies work in general,

00:08.610 --> 00:15.630
in the next lectures, I want to walk you through how to use cryptocurrencies and specifically bitcoins

00:15.630 --> 00:19.200
anonymously on the Internet and on the darknet.

00:19.770 --> 00:24.630
Now, first, before we can do anything, we have to create a wallet.

00:24.930 --> 00:31.860
What we mean by wallet is it's software that's going to hold our money or our cryptocurrency.

00:32.040 --> 00:38.030
Then we can use this wallet to send payments, receive payments, and so on.

00:38.040 --> 00:43.110
So you can think of it similar to the bank account that you get when you sign up with a bank or the

00:43.110 --> 00:46.290
dashboard that you get when you sign up with PayPal.

00:46.890 --> 00:54.040
Now there are a lot of web based wallets where you can access your currency online using a web browser.

00:54.060 --> 00:59.130
There are apps that you can get on your phones, and there are programs that you can install on your

00:59.130 --> 01:00.630
desktop computers.

01:00.900 --> 01:07.530
Now, since we're using tails, we're going to be using a wallet called electron that comes preinstalled

01:07.530 --> 01:08.190
entails.

01:08.220 --> 01:13.130
This is very important because as we know, Thales is a live operating system.

01:13.140 --> 01:14.160
It's amnesic.

01:14.160 --> 01:20.190
So if you install external programs, you'll have to install them every time you start Thales and less

01:20.190 --> 01:21.870
persistence is enabled.

01:22.620 --> 01:25.970
Another cool thing about Electron is it's really fast.

01:25.980 --> 01:30.030
It doesn't need to download the whole blockchain, which is pretty big.

01:30.360 --> 01:36.750
It uses an indexed version of it so you can use it as soon as you download or launch the program.

01:37.140 --> 01:42.240
And the wallets that you create with electron can be used from separate computers.

01:42.240 --> 01:48.690
So for example, if you destroy your Thales build, you can just go to another Thales and be able to

01:48.690 --> 01:52.650
restore your account and I'll show you how to do that later on in the course.

01:53.460 --> 01:54.870
Now let's go to Thales.

01:54.870 --> 01:59.700
And all of this will become much easier to understand as we do this practically.

02:00.590 --> 02:07.160
So the like I said, electron comes pre-installed with tails, so you don't need to install it and you

02:07.160 --> 02:12.740
can access it by going to applications, internet and click on electron.

02:13.580 --> 02:20.630
Now recently, a very dangerous vulnerability was discovered in a previous version of Electron, but

02:20.630 --> 02:23.450
this version was shipped with tails.

02:23.630 --> 02:30.770
And even though tails has been updated multiple times since that version, electron did not get updated

02:30.770 --> 02:37.970
because the latest version of Electron still doesn't have a Debian build, which is what tails is built

02:37.970 --> 02:38.540
on.

02:39.050 --> 02:44.900
So in this lecture, I'm going to show you how to manually install the latest version of Electron.

02:44.900 --> 02:49.070
And in the next lecture, we're actually going to use it now for you.

02:49.070 --> 02:54.230
In your case, you can launch it from here and follow what I'm going to show you in the next lecture.

02:54.230 --> 03:00.860
If the program gets stuck, then that means tails still doesn't include the latest version of Electron.

03:00.860 --> 03:06.110
And you'll have to come back to this lecture and install the latest version, as I'm going to show you

03:06.110 --> 03:06.890
right now.

03:07.820 --> 03:13.160
Now, to download the latest version of Electron, you need to go to their website electron dot org.

03:13.160 --> 03:15.170
I'll include that in the resources.

03:15.170 --> 03:16.970
We're going to go to downloads.

03:18.550 --> 03:22.900
And we're going to select the Linux image, the app image right here.

03:23.050 --> 03:31.210
One click and we're going to click on Save File and this will automatically be stored in our Tor browser

03:31.210 --> 03:31.850
directory.

03:31.870 --> 03:32.740
That's fine.

03:32.740 --> 03:37.810
And I'm going to click on Save and this will start downloading it for me.

03:38.770 --> 03:44.770
I'm also going to download the signature right here, so I'm going to right click this and save link

03:44.770 --> 03:48.820
as and again, this is going to my Tor browser directory.

03:48.820 --> 03:52.990
I'm going to click on Save and I'm going to scroll down.

03:54.310 --> 04:01.030
And I'm going to download the developer's public key by right clicking save link as.

04:01.540 --> 04:05.410
And again, it's going to go into my downloads and I'm going to click on Save.

04:06.070 --> 04:13.030
The reason why I downloaded the signature for the installer and the public key of the developer, Thomas,

04:13.030 --> 04:19.120
is because, like I explained earlier, when you download something from the internet, it can be modified

04:19.120 --> 04:21.210
by a number of entities.

04:21.220 --> 04:27.490
Therefore, where we downloaded the signature and we downloaded the public key of the developer and

04:27.490 --> 04:33.490
we're going to use the public key of the developer and the signature to verify that the file has not

04:33.490 --> 04:38.050
been tampered with since we downloaded it, since the developer signed it.

04:38.320 --> 04:42.370
I've actually explained how this works in details in my encryption section.

04:42.370 --> 04:48.280
So go back and revise that if this sounds a little bit vague, but basically right now I'm pretty sure

04:48.280 --> 04:49.750
the downloads are over.

04:49.750 --> 04:57.010
And if we go to my Tor browser directory, you'll see I have the program itself, this is Electrum,

04:57.010 --> 04:58.690
this is the executable.

04:58.690 --> 05:04.450
And we also have the signature for this program that has the exact same name as the program with the

05:04.450 --> 05:06.190
DOT ISC extension.

05:06.190 --> 05:14.470
And I have Thomas V dot a C file, which is the public key of the developer that made this program.

05:15.010 --> 05:21.340
So before I can do anything, I have to import this key right here to my keychain.

05:21.460 --> 05:23.410
And I showed you how to do that before.

05:23.410 --> 05:24.850
So I'm going to do it quickly.

05:24.850 --> 05:26.950
I'm going to go to my applications.

05:26.950 --> 05:29.410
I'm going to go to passwords and keys.

05:31.100 --> 05:32.720
I'm going to go to file.

05:33.640 --> 05:40.410
Import and I'm going to select the file, which is in my Tor browser, and it's this file right here.

05:40.420 --> 05:42.280
Thomas V dot ISC.

05:42.550 --> 05:50.710
Click on open, verify the details, click on import and this will import his key for me and to verify

05:50.710 --> 05:54.460
that I can go here and just look for Thomas.

05:54.460 --> 05:58.870
And as we can see, we have the developer key in here.

05:59.410 --> 06:06.490
So now, now that we have the key added, we can click on the signature right click it and open with

06:06.490 --> 06:07.810
verify signature.

06:07.810 --> 06:15.790
And this will give us a positive result if this executable right here did not get modified, since Thomas,

06:15.790 --> 06:19.540
the guy with the key, has created this executable.

06:19.840 --> 06:21.940
So we're going to click on Verify.

06:22.900 --> 06:25.840
And as you can see, it's telling us that this is valid.

06:25.840 --> 06:31.840
And like I explained before, don't worry about the untrusted part as long as it says it's valid.

06:31.840 --> 06:37.000
This means that the file did not get modified since it got signed by Thomas.

06:37.570 --> 06:43.720
So now we can go ahead and run this file and not worry about it because we know the file did not get

06:43.720 --> 06:45.700
modified since Thomas signed it.

06:45.700 --> 06:49.660
But before we do that, I'm actually going to copy this.

06:50.970 --> 06:54.330
And I'm going to put it in my persistent directory.

06:54.330 --> 06:57.420
So I'm going to right click here and paste.

06:58.080 --> 07:03.690
And the reason why I'm doing this, because, like, we know tails is live, it's amnesic.

07:03.690 --> 07:11.430
So every time we restart, all the files will be lost unless they are stored in the persistent directory.

07:11.970 --> 07:17.280
Now, if you don't have the persistent directory, that means persistence is not enabled for you.

07:17.310 --> 07:22.740
I cover this previously in the course, so please go back to that lecture and see how to enable this.

07:23.400 --> 07:30.030
Now also, before using electron, I'm going to go to applications and tails.

07:30.750 --> 07:33.240
We're going to click on Configure Persistence.

07:33.600 --> 07:41.100
I did cover this before, but I want you to make sure that personal data is enabled and if we scroll

07:41.100 --> 07:44.910
down, bitcoin client is enabled as well.

07:44.910 --> 07:47.100
And the reason why we need the settings.

07:47.100 --> 07:52.800
So when we create a wallet, the wallet information will be stored on this computer.

07:52.800 --> 07:56.790
So when we restart we won't have to restore the wallet every time.

07:56.790 --> 07:58.560
We'll just have to put the password.

07:59.190 --> 08:03.550
So I'm going to close this because everything is configured properly for me.

08:03.570 --> 08:07.290
And one last step, because I can run executables on Thales.

08:07.290 --> 08:09.750
This is a security measure that comes with Thales.

08:09.750 --> 08:17.640
You'll need to right click the file, go to its properties, go to permissions, and you need to check

08:17.640 --> 08:21.630
this box that says allow executing file as program.

08:22.170 --> 08:23.790
We're going to close this.

08:23.790 --> 08:31.470
And now every time you want to run electron, don't go to applications, internet come to persistence

08:31.470 --> 08:33.870
and double click this executable.

08:34.410 --> 08:37.140
Now, as you can see, the program has started.

08:37.140 --> 08:39.060
Now it doesn't have any wallets.

08:39.060 --> 08:42.120
That's why it's not asking us for a password or anything.

08:42.210 --> 08:44.730
But right now it's ready to be used.

08:44.730 --> 08:49.590
And in the next lecture, I'm going to walk you through the basics of this program, and we're going

08:49.590 --> 08:52.410
to create our first Bitcoin wallet.
