[00:00.000 --> 00:02.000] All right, DEF CON, how's everyone feeling today? [00:02.000 --> 00:03.820] Who's ready to hack the planet? [00:04.460 --> 00:05.940] All right. [00:06.020 --> 00:07.400] I'm glad everyone came out today. [00:07.400 --> 00:10.540] This is a talk from Hackertown. [00:10.540 --> 00:20.200] This is a talk about off-grid data running in oppressive regimes, and I'm going to talk about the Pirate Box and Sneakernet and how they work hand-in-hand. [00:21.000 --> 00:23.300] So, who am I? [00:23.380 --> 00:25.460] Everyone knows I'm a townie. [00:25.680 --> 00:28.700] I'm lambdacalculus at hackers.town. [00:29.340 --> 00:31.880] I am a Linux system administrator. [00:31.880 --> 00:32.780] I'm a network guy. [00:32.780 --> 00:34.500] I've got some security knowledge. [00:34.500 --> 00:37.680] I'm also an advocate for a lot of human rights things. [00:37.680 --> 00:47.380] I'm a teacher, and I'm also a filthy seafaring pirate who believes strongly in archiving, preservation, and circulating the tapes. [00:47.580 --> 00:50.720] I'm from New Jersey, unfortunately. [00:51.020 --> 00:53.780] This is my third time being at DEF CON. [00:53.800 --> 01:02.980] I've done talks in the past about Red Star OS, and if you want to ask me about that, you can come over to hackers.town at C102 and ask me a few things. [01:03.640 --> 01:06.980] But, anyway, let's get started. [01:07.880 --> 01:09.740] So, are you ready, kids? [01:10.920 --> 01:13.340] I can't hear you! [01:15.180 --> 01:16.780] Alright, let's go. [01:16.780 --> 01:23.940] So, I want to talk about the Pirate Box project, and I'm pretty sure that a few of you know about this project. [01:23.940 --> 01:25.540] It ran until 2019. [01:25.540 --> 01:37.300] It was a way to do an off-grid mesh network computer using a single board computer, an old laptop, whatever you got in your hands, like Raspberry Pi right here can be a Pirate Box. [01:37.340 --> 01:46.540] It had a small software stack that, once you set it up, created a wireless access point using the hardware on board here, on the Wi-Fi hardware. [01:46.780 --> 01:51.080] You can even use a pocket travel router to have a better access point. [01:51.260 --> 02:06.880] But the idea was you had a small stack that gave you a landing page where you can download files that were sent on storage, you can have a media server, you can have a file server of any sort, you can have a small private form that could scrub itself on the hour if you wish to, [02:06.880 --> 02:07.880] for example. [02:08.480 --> 02:22.180] But the original project died out in 2019, and there has not been any activity since then, but I still feel that the concept of them is one of the most important things that we can have nowadays, and I'm going to tell you why in a little bit more. [02:22.580 --> 02:25.100] But, let's continue onward. [02:26.040 --> 02:27.900] It's easy to build one. [02:27.900 --> 02:29.680] These are super easy to build. [02:29.680 --> 02:46.360] As I said, originally it was a software stack, but nowadays we can create a better software stack using modern tools, modern hardware, modern software, because let's face it, we're not going to run a six-year-old stack on a modern Raspberry Pi and expect any kind of good results. [02:47.360 --> 02:50.680] So , making a pirate box is easy. [02:50.680 --> 02:51.620] It's a fun way to learn. [02:51.620 --> 02:53.260] You pick the hardware that you want. [02:53.340 --> 02:56.160] You pick the case that you want to put it into. [02:56.320 --> 02:57.740] You can stick it into a lunchbox. [02:57.740 --> 03:01.420] You can stick it into a little plastic shell that you printed off. [03:01.420 --> 03:03.040] You can stick it into whatever you want. [03:03.040 --> 03:08.480] You can just, you know, crudely smack, like, crudely throw together something from, like, Pringles cans for all I care. [03:08.480 --> 03:10.660] Use a Cantana for one for your Wi-Fi. [03:10.900 --> 03:15.700] You pick your Linux distro that you want, and then you pick, do you want to do onboard wireless? [03:15.700 --> 03:16.840] Do you want to do a mesh? [03:16.840 --> 03:18.280] Do you want to do a router? [03:18.280 --> 03:19.960] The choices are yours. [03:20.340 --> 03:22.260] The software stack that you want to use. [03:22.260 --> 03:24.480] Do you want to use something standard? [03:24.480 --> 03:26.860] Do you want to use something that already exists? [03:27.440 --> 03:29.240] How do you want to carry this around? [03:29.920 --> 03:33.120] There's another little thing, too, that you could probably use. [03:33.360 --> 03:44.120] Unfortunately, I don't have any of these, but SanDisk made a wireless USB flash drive back in around 2012, 2013. [03:44.120 --> 03:47.940] I'm going to have some at Hackerstown tomorrow if you want to come and pick some up. [03:48.560 --> 03:50.140] There's onboard Wi-Fi. [03:50.280 --> 03:51.840] It's BGN. [03:51.840 --> 03:52.820] Pretty good. [03:52.820 --> 03:54.080] Works well enough. [03:54.300 --> 03:56.440] It uses microSD cards for storage. [03:56.440 --> 04:00.900] It does not have onboard storage, so you pick the storage that you want for it. [04:01.380 --> 04:02.800] It has a built-in battery. [04:02.800 --> 04:07.120] It has a very tiny web server stack based on light PPD. [04:07.720 --> 04:09.640] Easy peasy, lemon squeezy. [04:09.900 --> 04:13.040] You could put whatever you want on the card. [04:13.040 --> 04:15.080] You can set up the Wi-Fi in this. [04:15.080 --> 04:22.540] It gives you a SSID and then a static IP that you put into your browser of your device, and then you can see the contents of the card. [04:22.840 --> 04:29.600] But the real fun begins with these is when you put a website onto the card. [04:29.600 --> 04:34.220] And then you tell people, here's the IP address slash default HTML , whatever you want. [04:34.220 --> 04:38.080] This is an impromptu web server you can literally carry around in your pocket. [04:38.180 --> 04:41.840] And your only limit is the size of the SD card you put in there. [04:42.440 --> 04:47.020] So, like I said, come to Hackerstown tomorrow, I'll have some with me. [04:47.600 --> 04:48.760] Yep. [04:48.940 --> 04:56.160] For the software stack that I'm talking about, there's a project called Why You Know Host. [04:56.160 --> 05:03.680] This is a fully made customizable server stack that you just download. [05:03.680 --> 05:07.460] It's installable with Debian or whatever your Linux distro is of choice. [05:07.460 --> 05:09.190] They even have a pre-built image. [05:09.190 --> 05:12.610] Just install, fire it up, and go. [05:12.610 --> 05:16.570] And then from there, you can install whatever you want. [05:16.570 --> 05:22.790] You can install a Nextcloud server, you can install Jellyfin, you can install Calibre, you can install a Torrent server. [05:23.270 --> 05:30.250] You can use Calibre and Jellyfin as a pirate box stack because you can have Calibre feed you books and documents. [05:30.250 --> 05:36.110] You can have Jellyfin feed you media, videos, audio, whatever you want. [05:37.070 --> 05:40.230] The idea, too, is that you can fully administrate this thing. [05:40.230 --> 05:48.190] You can just download an image of Why You Know Host onto a card, put it in your Raspberry Pi, fire it up, configure it, you're set. [05:48.190 --> 05:49.650] You've got a pirate box. [05:49.650 --> 05:51.950] All you have to do is add your media. [05:53.030 --> 05:55.250] And the system usage is very light. [05:55.290 --> 06:02.590] So, if you think about it, the pirate box and the Why You Know Host is a match made in heaven. [06:06.230 --> 06:18.710] So, like I said earlier, the pirate box project closed down in 2019 and a lot of the reasons that they cited, one was that routers had become far more difficult to hack and to reverse engineer. [06:18.930 --> 06:20.730] And I'm sure that we've all seen that. [06:21.170 --> 06:23.810] Modern web routers, no, they're locked down. [06:23.810 --> 06:24.990] You can't modify them. [06:24.990 --> 06:26.430] You can't change them. [06:26.430 --> 06:28.070] You have to use what we tell you. [06:28.070 --> 06:29.890] You want to install DDWRT? [06:29.890 --> 06:31.350] Nah, you're not doing that. [06:31.350 --> 06:32.690] There's no unlock. [06:33.250 --> 06:36.010] So, that might have died. [06:36.210 --> 06:38.370] But the spirit lives on. [06:38.370 --> 06:41.650] The spirit of the pirate box still lives on to this day. [06:41.650 --> 06:45.770] And I'm going to continue to go further and you're going to see how all of this comes together. [06:46.310 --> 06:51.470] We have, in today's climate, we have a critical need for things like this. [06:51.470 --> 06:53.550] And this is why this project has got to be revived. [06:53.550 --> 06:58.450] Even if it's not 100% the same as before, there's still good causes behind it. [06:59.010 --> 07:08.190] But, in the spirit of the pirate box, I want to talk about a little project that a fellow Hackerstown member, TheSlugNoodle, created. [07:08.450 --> 07:12.670] He can't be here with us today, but he is here, in spirit, with us. [07:13.230 --> 07:15.750] So, this is called The Roaming Library. [07:15.750 --> 07:18.050] This is also known as Project Bookmark. [07:18.310 --> 07:24.250] This is a tiny little ESP32 8266-based board. [07:24.250 --> 07:28.170] WiFi on board, microSD card reader attached for storage. [07:28.170 --> 07:30.610] It can read up to 32GB on a card. [07:31.290 --> 07:36.390] For less than $20, you can buy the hardware to design one of these and you can put it together. [07:36.850 --> 07:44.550] And the idea of this is that there is a software stack that he wrote that can do a very small web server and a captive portal. [07:44.810 --> 07:50.130] Flash the ESP32 board with the software, it generates an SSID. [07:50.310 --> 07:52.510] Bookmark with a random generated number. [07:52.870 --> 07:57.770] When you hop onto that, it will take you to a captive portal where you can see the Roaming Library. [07:57.850 --> 08:03.550] And what the Roaming Library is, is you can take a book and you can leave a book. [08:03.550 --> 08:14.450] It is a small, discreet way of sharing documents, PDFs, text files, document files, CBZ, CBR, we could probably do those too. [08:14.510 --> 08:22.970] But the idea is that this little thing that you just have to power by battery from the USB-C port is a portable library. [08:23.050 --> 08:32.850] And considering a lot of things that are going on in today's political climate in the US, and I'm going to get into that a little bit further, but there is going to be another reason why these things are so important. [08:33.790 --> 08:43.930] So, in the age of fragility, in the age of banned books, information deserves to be free, and that's what Hackerstown wants to do. [08:44.330 --> 08:46.530] Trust the slime, trust Slugnoodle. [08:46.530 --> 08:50.630] Shout out to Slugnoodle too, so everybody shout out to Slugnoodle and Hackerstown. [08:53.850 --> 08:55.130] There you go. [08:55.130 --> 08:56.390] That one's for you, Slugnoodle. [08:56.390 --> 09:01.010] So now, like I said, why am I talking about all of this? [09:01.230 --> 09:06.010] And I'm pretty sure everybody knows about the political climate today in the US. [09:06.070 --> 09:11.890] And even going further back, Project 2025 is causing danger. [09:12.070 --> 09:14.250] Libraries are in danger of being banned. [09:14.250 --> 09:21.890] Websites are being banned, taken down, all because they post something that nobody likes, or somebody didn't like. [09:21.930 --> 09:26.690] YouTube, anybody can easily just strike, you know, copyright strike a video? [09:26.690 --> 09:27.050] Pfft. [09:27.050 --> 09:27.690] Gone. [09:27.690 --> 09:30.610] Gone and lost it all the time unless you downloaded it. [09:31.050 --> 09:34.830] We live in dangerous times for information online. [09:35.110 --> 09:39.830] But like I said, media bannings, book bannings, websites being taken down. [09:39.930 --> 09:41.110] This is awful. [09:41.110 --> 09:42.310] This is horrible. [09:42.310 --> 09:51.570] Fascism is on the rise in the US and we are just witnessing it, speedrunning, any percent challenge through everything that we hold dear. [09:52.390 --> 09:59.870] The Internet Archive, I'm pretty sure that you know about this, in 2024 when they suffered that massive DDoS attack that took them down for a few days. [09:59.870 --> 10:05.470] And even there, it took them a while to even bring everything back up to full accessibility. [10:05.650 --> 10:07.990] I'm sure all of you remember this. [10:08.750 --> 10:11.170] We can't have this sort of thing. [10:11.250 --> 10:13.970] This is where the next part of the talk comes in. [10:13.970 --> 10:17.870] And where the pirate box and the second part work hand-in-hand. [10:20.990 --> 10:27.550] Censorship becoming a very real danger is something that we really have to think about. [10:28.610 --> 10:39.090] Information deserves to be free because we have to think about marginalized communities that probably don't have very good web access or even if they have web access. [10:39.350 --> 10:42.210] We have to be able to bring information to them. [10:42.550 --> 10:50.850] Pirate boxes allow us to be the data runners that have those materials, learning materials, any kind of materials, community materials. [10:51.050 --> 10:53.870] Pack a pirate box full of stuff, bring it over. [10:53.870 --> 10:55.470] You don't even have to bring a pirate box. [10:55.470 --> 10:57.450] I'm going to get into this lore a little bit. [10:57.630 --> 11:00.230] But censorship is awful. [11:00.230 --> 11:03.150] I'm just going to keep on repeating that until I'm blue in the mouth. [11:03.150 --> 11:13.870] If we can do this off-grid and bring information around, we will be able to help communities in ways that you cannot even begin to fathom in a way. [11:15.050 --> 11:17.890] So this is where I'm going to get into the next part. [11:19.350 --> 11:21.510] The next part is Sneakernet. [11:21.510 --> 11:23.290] I'm sure everybody here knows Sneakernet. [11:23.290 --> 11:25.090] Raise your hand if you know Sneakernet. [11:26.130 --> 11:27.630] So, really quick. [11:27.630 --> 11:28.850] I'm going to ask somebody to raise their hand. [11:28.850 --> 11:30.150] What's Sneakernet? [11:32.030 --> 11:33.350] There you go! [11:33.370 --> 11:34.250] Sneakers! [11:35.730 --> 11:38.430] Who remembers doing this in the 2000s? [11:38.570 --> 11:39.910] You all know this, right? [11:40.370 --> 11:41.590] The iPod. [11:41.830 --> 11:43.990] Who remembers setting this to a hard drive? [11:43.990 --> 11:46.430] Set it to, you know, configure it as a hard drive. [11:46.470 --> 11:48.470] Throw a few bunch of files on there. [11:48.470 --> 11:50.050] This is like, what, 40 gigabytes? [11:50.050 --> 11:51.130] That's big, right? [11:51.130 --> 11:52.350] Fits in your pocket. [11:52.350 --> 11:53.690] Take it over to your friends. [11:53.690 --> 11:54.290] Hook it up. [11:54.290 --> 11:55.850] Yo, I got some files on my iPod. [11:55.850 --> 11:57.050] You want to take them? [11:57.810 --> 11:58.690] Sneakernet. [11:59.910 --> 12:02.330] Easy way of doing throughput. [12:02.330 --> 12:03.970] Fast, heavy throughput. [12:05.630 --> 12:07.850] Copy that floppy and pass it on. [12:10.210 --> 12:14.290] So, I'm just going to read a famous proverb. [12:14.290 --> 12:15.750] Everybody knows this one. [12:15.750 --> 12:21.770] Never underestimate the bandwidth of a station wagon full of tapes hurtling down a highway. [12:22.990 --> 12:23.870] Andrew S. [12:23.870 --> 12:24.950] Tannenbaum. [12:25.430 --> 12:27.110] And he's right. [12:27.670 --> 12:32.450] Sneakernet is in ways way faster than internet transport. [12:32.790 --> 12:35.770] You can load up a shoebox, for example. [12:35.770 --> 12:36.970] I'm going to take this as an example. [12:36.970 --> 12:39.630] I'm pretty sure that everybody's going to recognize this one. [12:39.670 --> 12:45.710] You can take a shoebox and fill it with 8 terabyte NVMe SSDs. [12:45.710 --> 12:46.970] Small little portable things. [12:47.230 --> 12:48.430] 2280s. [12:48.510 --> 12:51.830] 80 millimeters this way, 22 this way. [12:51.890 --> 12:58.230] That shoebox can probably be multi-petabyte by the time you fill it with those NVMes. [12:58.230 --> 12:59.770] That throughput. [12:59.770 --> 13:03.890] Carry that box full of SSDs over to a data center. [13:03.890 --> 13:05.310] Multi-petabyte throughput? [13:05.310 --> 13:07.450] We still can't do that. [13:07.510 --> 13:17.810] If you really want to think about it, the internet as we know it will probably not reach what they call FedEx bandwidth or Sneakernet bandwidth until maybe 2040 at the best. [13:17.810 --> 13:20.570] We still got 14 years that we can do this. [13:22.970 --> 13:27.350] I want to talk about some examples of Sneakernet. [13:27.510 --> 13:36.850] These are stories from different countries about how they work with bad internet infrastructure and how they get data to the hands of people that need it. [13:37.030 --> 13:42.350] In Cuba, there is a package they call El Paquete Semanal. [13:42.350 --> 13:43.950] The Weekly Package. [13:44.050 --> 13:49.050] It is an approximately one terabyte package of media. [13:49.050 --> 13:55.170] Books, movies, TV shows, music, information, zines, all that kind of good stuff. [13:56.050 --> 14:05.030] Usually, you'll have somebody just download the whole package onto a hard drive, pop it into an enclosure, walk around Havana, bring it to people. [14:05.030 --> 14:06.370] Hey, I got the latest paquete. [14:06.370 --> 14:07.410] Do you want anything off of it? [14:07.410 --> 14:09.450] And people can just grab what they want off of it. [14:09.450 --> 14:12.390] They probably have piss-poor internet where they're standing. [14:12.390 --> 14:14.050] And these guys are doing them a service. [14:14.050 --> 14:15.410] We got the bandwidth. [14:15.410 --> 14:16.550] We'll do it for you. [14:16.550 --> 14:18.030] We'll bring it to you. [14:18.650 --> 14:22.990] So people do that in Cuba because the infrastructure there is still not the best. [14:24.130 --> 14:29.970] And it's a great way of just bringing what people need right to the doorstop. [14:30.170 --> 14:31.130] They got a laptop. [14:31.130 --> 14:32.250] They got a USB stick. [14:32.250 --> 14:33.810] Here's the guy with the paquete. [14:33.810 --> 14:34.970] Hook the hard drive up. [14:34.970 --> 14:36.190] I'm going to grab what I need. [14:36.190 --> 14:38.090] Alright, on to the next guy. [14:39.930 --> 14:43.790] North Korea also has their own form of sneaker net. [14:43.790 --> 14:46.950] And I talked about this in one of my Red Star talks. [14:47.350 --> 14:59.890] Because of the fact that their intranet does not allow outside access, likewise inside access, you're only allowed to access the sites that are there, that the North Korean government tells you to access. [15:00.190 --> 15:06.510] They have people smuggling data in over the border, either from the South or from China. [15:06.770 --> 15:08.830] And that's how they get their Western movies. [15:08.830 --> 15:16.210] People will get a hard drive full of Western movies or Western music or Western media that the government doesn't want them to see. [15:16.790 --> 15:20.590] And they copy it onto thumb drives and they pass them around. [15:20.950 --> 15:30.290] Now there is the danger of course that because Red Star OS, their homegrown Linux, marks everything that passes through them, they got to be very careful about passing it further. [15:30.290 --> 15:37.390] So sometimes they might be able to copy it, maybe through another computer that doesn't run Red Star, and just keep the chain under the nose. [15:40.140 --> 15:43.720] And I'm pretty sure now that everyone knows this one. [15:43.760 --> 15:45.980] What is RFC 1149? [15:46.000 --> 15:47.260] Who knows it? [15:47.500 --> 15:48.820] Han, okay. [15:50.260 --> 15:51.460] Hell yeah! [15:51.460 --> 15:53.700] And that's also a form of sneakernet. [15:53.840 --> 16:05.160] So, I'm going to tell you a little story about, in South Africa, how a telecom wanted to see how fast their service could outrun a pigeon. [16:05.660 --> 16:14.580] So they took a 4GB microSD card, loaded it up with some data, tied it to the leg of a homing pigeon, sent it 37 miles away. [16:15.300 --> 16:19.260] They started the transmission at the exact same time the pigeon left the roost. [16:19.720 --> 16:21.460] The pigeon won. [16:21.660 --> 16:23.800] 2 hours and 6 minutes. [16:24.160 --> 16:30.080] The connection over ADSL was only at 4% and it already dropped twice by that point. [16:31.160 --> 16:32.980] This is over 37 miles. [16:32.980 --> 16:34.480] The pigeon beat them. [16:37.430 --> 16:39.650] So let's see how much more time I have. [16:40.410 --> 16:45.430] But, in the long run, I want everybody to be the data runners that they can be in the world. [16:45.430 --> 16:54.450] If you've got information that you want to share or information that you know you have to share, you can either do it, like I said, build a pirate box, sneakernet it over. [16:54.790 --> 17:00.470] You can always do this for fun and learning because you learn a little bit about networking, you learn a little bit about accessibility. [17:01.270 --> 17:06.270] You learn a lot about how it all works just by building one of these. [17:06.270 --> 17:10.110] But if you really can't, just grab a hard drive and just bring things along. [17:10.110 --> 17:13.010] Keep circulating the tapes is one of the mantras. [17:14.650 --> 17:22.210] So I'd like to also let everybody know too that this is a condensed version of a talk I'm going to be giving at Hope 16 next week. [17:22.210 --> 17:25.670] So if you're going to be out there, I'll see you there. [17:26.010 --> 17:32.350] But I hope that everybody started enjoying this talk and I want to start giving out some special shout outs and special thanks. [17:32.350 --> 17:34.430] So I want to shout out to everybody at Hackerstown. [17:34.630 --> 17:42.990] I want to shout out to everybody at Cortex Implant, which is one of our best friends, InfoSec Exchange, a whole bunch of people out on Mastodon that look out for us. [17:43.010 --> 17:45.110] I want to shout out to the crews that came out. [17:45.510 --> 17:49.330] I want to shout out to everybody that gave me mutual aid to help me get here. [17:49.330 --> 17:58.090] I want to shout out to everybody that came today and I want to shout out to all those netrunners out there that are making the world a better place by just fighting the good fight. [17:58.690 --> 18:01.870] I also want to give a quick shout out to the Midwest Gadgets. [18:01.870 --> 18:03.310] They have a booth over there. [18:03.310 --> 18:04.250] Check them out. [18:04.250 --> 18:05.590] They sponsored me today. [18:05.590 --> 18:06.690] I owe them a lot. [18:06.690 --> 18:08.310] So thank you, Midwest Gadgets. [18:08.310 --> 18:09.130] Hack the planet. [18:09.130 --> 18:10.670] You're doing awesome stuff. [18:11.910 --> 18:15.870] If you want to find me online, I'm on Mastodon. [18:15.870 --> 18:19.730] I'm at masto.hackerstown at Lambda Calculus. [18:19.870 --> 18:21.110] I have a CoFi . [18:21.110 --> 18:23.790] You can find me on CoFi if you want to throw me some bucks. [18:24.570 --> 18:25.810] I have a LinkedIn. [18:25.810 --> 18:28.510] I'll give that to you in person if you want to ask. [18:28.510 --> 18:30.850] I have a GitHub, Lambda Calculus 37. [18:31.290 --> 18:33.630] And I hope everybody enjoyed this talk. [18:33.630 --> 18:35.490] I hope everybody enjoys DEF CON. [18:35.490 --> 18:38.150] And everybody who's coming to Hope, I'll see you there. [18:38.150 --> 18:40.610] In the meantime, everyone, hack the planet! [18:41.590 --> 18:43.010] Hack the planet! [18:43.010 --> 18:43.490] Hack the planet ! [18:45.150 --> 18:45.810] Hack the planet! [18:46.030 --> 18:47.470] Safety third! [18:52.050 --> 18:54.070] Alright, thank you for coming, everyone!