1 00:00:00,000 --> 00:00:01,000 Okay. 2 00:00:01,000 --> 00:00:08,000 So now that we have a basic understanding on how bitcoins work and how cryptocurrencies work in general, 3 00:00:08,000 --> 00:00:15,000 in the next lectures, I want to walk you through how to use cryptocurrencies and specifically bitcoins 4 00:00:15,000 --> 00:00:19,000 anonymously on the Internet and on the darknet. 5 00:00:19,000 --> 00:00:24,000 Now, first, before we can do anything, we have to create a wallet. 6 00:00:24,000 --> 00:00:31,000 What we mean by wallet is it's software that's going to hold our money or our cryptocurrency. 7 00:00:32,000 --> 00:00:38,000 Then we can use this wallet to send payments, receive payments, and so on. 8 00:00:38,000 --> 00:00:43,000 So you can think of it similar to the bank account that you get when you sign up with a bank or the 9 00:00:43,000 --> 00:00:46,000 dashboard that you get when you sign up with PayPal. 10 00:00:46,000 --> 00:00:54,000 Now there are a lot of web based wallets where you can access your currency online using a web browser. 11 00:00:54,000 --> 00:00:59,000 There are apps that you can get on your phones, and there are programs that you can install on your 12 00:00:59,000 --> 00:01:00,000 desktop computers. 13 00:01:00,000 --> 00:01:07,000 Now, since we're using tails, we're going to be using a wallet called electron that comes preinstalled 14 00:01:07,000 --> 00:01:08,000 entails. 15 00:01:08,000 --> 00:01:13,000 This is very important because as we know, Thales is a live operating system. 16 00:01:13,000 --> 00:01:14,000 It's amnesic. 17 00:01:14,000 --> 00:01:20,000 So if you install external programs, you'll have to install them every time you start Thales and less 18 00:01:20,000 --> 00:01:21,000 persistence is enabled. 19 00:01:22,000 --> 00:01:25,000 Another cool thing about Electron is it's really fast. 20 00:01:25,000 --> 00:01:30,000 It doesn't need to download the whole blockchain, which is pretty big. 21 00:01:30,000 --> 00:01:36,000 It uses an indexed version of it so you can use it as soon as you download or launch the program. 22 00:01:37,000 --> 00:01:42,000 And the wallets that you create with electron can be used from separate computers. 23 00:01:42,000 --> 00:01:48,000 So for example, if you destroy your Thales build, you can just go to another Thales and be able to 24 00:01:48,000 --> 00:01:52,000 restore your account and I'll show you how to do that later on in the course. 25 00:01:53,000 --> 00:01:54,000 Now let's go to Thales. 26 00:01:54,000 --> 00:01:59,000 And all of this will become much easier to understand as we do this practically. 27 00:02:00,000 --> 00:02:07,000 So the like I said, electron comes pre-installed with tails, so you don't need to install it and you 28 00:02:07,000 --> 00:02:12,000 can access it by going to applications, internet and click on electron. 29 00:02:13,000 --> 00:02:20,000 Now recently, a very dangerous vulnerability was discovered in a previous version of Electron, but 30 00:02:20,000 --> 00:02:23,000 this version was shipped with tails. 31 00:02:23,000 --> 00:02:30,000 And even though tails has been updated multiple times since that version, electron did not get updated 32 00:02:30,000 --> 00:02:37,000 because the latest version of Electron still doesn't have a Debian build, which is what tails is built 33 00:02:37,000 --> 00:02:38,000 on. 34 00:02:39,000 --> 00:02:44,000 So in this lecture, I'm going to show you how to manually install the latest version of Electron. 35 00:02:44,000 --> 00:02:49,000 And in the next lecture, we're actually going to use it now for you. 36 00:02:49,000 --> 00:02:54,000 In your case, you can launch it from here and follow what I'm going to show you in the next lecture. 37 00:02:54,000 --> 00:03:00,000 If the program gets stuck, then that means tails still doesn't include the latest version of Electron. 38 00:03:00,000 --> 00:03:06,000 And you'll have to come back to this lecture and install the latest version, as I'm going to show you 39 00:03:06,000 --> 00:03:06,000 right now. 40 00:03:07,000 --> 00:03:13,000 Now, to download the latest version of Electron, you need to go to their website electron dot org. 41 00:03:13,000 --> 00:03:15,000 I'll include that in the resources. 42 00:03:15,000 --> 00:03:16,000 We're going to go to downloads. 43 00:03:18,000 --> 00:03:22,000 And we're going to select the Linux image, the app image right here. 44 00:03:23,000 --> 00:03:31,000 One click and we're going to click on Save File and this will automatically be stored in our Tor browser 45 00:03:31,000 --> 00:03:31,000 directory. 46 00:03:31,000 --> 00:03:32,000 That's fine. 47 00:03:32,000 --> 00:03:37,000 And I'm going to click on Save and this will start downloading it for me. 48 00:03:38,000 --> 00:03:44,000 I'm also going to download the signature right here, so I'm going to right click this and save link 49 00:03:44,000 --> 00:03:48,000 as and again, this is going to my Tor browser directory. 50 00:03:48,000 --> 00:03:52,000 I'm going to click on Save and I'm going to scroll down. 51 00:03:54,000 --> 00:04:01,000 And I'm going to download the developer's public key by right clicking save link as. 52 00:04:01,000 --> 00:04:05,000 And again, it's going to go into my downloads and I'm going to click on Save. 53 00:04:06,000 --> 00:04:13,000 The reason why I downloaded the signature for the installer and the public key of the developer, Thomas, 54 00:04:13,000 --> 00:04:19,000 is because, like I explained earlier, when you download something from the internet, it can be modified 55 00:04:19,000 --> 00:04:21,000 by a number of entities. 56 00:04:21,000 --> 00:04:27,000 Therefore, where we downloaded the signature and we downloaded the public key of the developer and 57 00:04:27,000 --> 00:04:33,000 we're going to use the public key of the developer and the signature to verify that the file has not 58 00:04:33,000 --> 00:04:38,000 been tampered with since we downloaded it, since the developer signed it. 59 00:04:38,000 --> 00:04:42,000 I've actually explained how this works in details in my encryption section. 60 00:04:42,000 --> 00:04:48,000 So go back and revise that if this sounds a little bit vague, but basically right now I'm pretty sure 61 00:04:48,000 --> 00:04:49,000 the downloads are over. 62 00:04:49,000 --> 00:04:57,000 And if we go to my Tor browser directory, you'll see I have the program itself, this is Electrum, 63 00:04:57,000 --> 00:04:58,000 this is the executable. 64 00:04:58,000 --> 00:05:04,000 And we also have the signature for this program that has the exact same name as the program with the 65 00:05:04,000 --> 00:05:06,000 DOT ISC extension. 66 00:05:06,000 --> 00:05:14,000 And I have Thomas V dot a C file, which is the public key of the developer that made this program. 67 00:05:15,000 --> 00:05:21,000 So before I can do anything, I have to import this key right here to my keychain. 68 00:05:21,000 --> 00:05:23,000 And I showed you how to do that before. 69 00:05:23,000 --> 00:05:24,000 So I'm going to do it quickly. 70 00:05:24,000 --> 00:05:26,000 I'm going to go to my applications. 71 00:05:26,000 --> 00:05:29,000 I'm going to go to passwords and keys. 72 00:05:31,000 --> 00:05:32,000 I'm going to go to file. 73 00:05:33,000 --> 00:05:40,000 Import and I'm going to select the file, which is in my Tor browser, and it's this file right here. 74 00:05:40,000 --> 00:05:42,000 Thomas V dot ISC. 75 00:05:42,000 --> 00:05:50,000 Click on open, verify the details, click on import and this will import his key for me and to verify 76 00:05:50,000 --> 00:05:54,000 that I can go here and just look for Thomas. 77 00:05:54,000 --> 00:05:58,000 And as we can see, we have the developer key in here. 78 00:05:59,000 --> 00:06:06,000 So now, now that we have the key added, we can click on the signature right click it and open with 79 00:06:06,000 --> 00:06:07,000 verify signature. 80 00:06:07,000 --> 00:06:15,000 And this will give us a positive result if this executable right here did not get modified, since Thomas, 81 00:06:15,000 --> 00:06:19,000 the guy with the key, has created this executable. 82 00:06:19,000 --> 00:06:21,000 So we're going to click on Verify. 83 00:06:22,000 --> 00:06:25,000 And as you can see, it's telling us that this is valid. 84 00:06:25,000 --> 00:06:31,000 And like I explained before, don't worry about the untrusted part as long as it says it's valid. 85 00:06:31,000 --> 00:06:37,000 This means that the file did not get modified since it got signed by Thomas. 86 00:06:37,000 --> 00:06:43,000 So now we can go ahead and run this file and not worry about it because we know the file did not get 87 00:06:43,000 --> 00:06:45,000 modified since Thomas signed it. 88 00:06:45,000 --> 00:06:49,000 But before we do that, I'm actually going to copy this. 89 00:06:50,000 --> 00:06:54,000 And I'm going to put it in my persistent directory. 90 00:06:54,000 --> 00:06:57,000 So I'm going to right click here and paste. 91 00:06:58,000 --> 00:07:03,000 And the reason why I'm doing this, because, like, we know tails is live, it's amnesic. 92 00:07:03,000 --> 00:07:11,000 So every time we restart, all the files will be lost unless they are stored in the persistent directory. 93 00:07:11,000 --> 00:07:17,000 Now, if you don't have the persistent directory, that means persistence is not enabled for you. 94 00:07:17,000 --> 00:07:22,000 I cover this previously in the course, so please go back to that lecture and see how to enable this. 95 00:07:23,000 --> 00:07:30,000 Now also, before using electron, I'm going to go to applications and tails. 96 00:07:30,000 --> 00:07:33,000 We're going to click on Configure Persistence. 97 00:07:33,000 --> 00:07:41,000 I did cover this before, but I want you to make sure that personal data is enabled and if we scroll 98 00:07:41,000 --> 00:07:44,000 down, bitcoin client is enabled as well. 99 00:07:44,000 --> 00:07:47,000 And the reason why we need the settings. 100 00:07:47,000 --> 00:07:52,000 So when we create a wallet, the wallet information will be stored on this computer. 101 00:07:52,000 --> 00:07:56,000 So when we restart we won't have to restore the wallet every time. 102 00:07:56,000 --> 00:07:58,000 We'll just have to put the password. 103 00:07:59,000 --> 00:08:03,000 So I'm going to close this because everything is configured properly for me. 104 00:08:03,000 --> 00:08:07,000 And one last step, because I can run executables on Thales. 105 00:08:07,000 --> 00:08:09,000 This is a security measure that comes with Thales. 106 00:08:09,000 --> 00:08:17,000 You'll need to right click the file, go to its properties, go to permissions, and you need to check 107 00:08:17,000 --> 00:08:21,000 this box that says allow executing file as program. 108 00:08:22,000 --> 00:08:23,000 We're going to close this. 109 00:08:23,000 --> 00:08:31,000 And now every time you want to run electron, don't go to applications, internet come to persistence 110 00:08:31,000 --> 00:08:33,000 and double click this executable. 111 00:08:34,000 --> 00:08:37,000 Now, as you can see, the program has started. 112 00:08:37,000 --> 00:08:39,000 Now it doesn't have any wallets. 113 00:08:39,000 --> 00:08:42,000 That's why it's not asking us for a password or anything. 114 00:08:42,000 --> 00:08:44,000 But right now it's ready to be used. 115 00:08:44,000 --> 00:08:49,000 And in the next lecture, I'm going to walk you through the basics of this program, and we're going 116 00:08:49,000 --> 00:08:52,000 to create our first Bitcoin wallet.