start	end	text
0	2000	All right, DEF CON, how's everyone feeling today?
2000	3820	Who's ready to hack the planet?
4460	5940	All right.
6020	7400	I'm glad everyone came out today.
7400	10540	This is a talk from Hackertown.
10540	20200	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.
21000	23300	So, who am I?
23380	25460	Everyone knows I'm a townie.
25680	28700	I'm lambdacalculus at hackers.town.
29340	31880	I am a Linux system administrator.
31880	32780	I'm a network guy.
32780	34500	I've got some security knowledge.
34500	37680	I'm also an advocate for a lot of human rights things.
37680	47380	I'm a teacher, and I'm also a filthy seafaring pirate who believes strongly in archiving, preservation, and circulating the tapes.
47580	50720	I'm from New Jersey, unfortunately.
51020	53780	This is my third time being at DEF CON.
53800	62980	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.
63640	66980	But, anyway, let's get started.
67880	69740	So, are you ready, kids?
70920	73340	I can't hear you!
75180	76780	Alright, let's go.
76780	83940	So, I want to talk about the Pirate Box project, and I'm pretty sure that a few of you know about this project.
83940	85540	It ran until 2019.
85540	97300	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.
97340	106540	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.
106780	111080	You can even use a pocket travel router to have a better access point.
111260	126880	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,
126880	127880	for example.
128480	142180	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.
142580	145100	But, let's continue onward.
146040	147900	It's easy to build one.
147900	149680	These are super easy to build.
149680	166360	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.
167360	170680	So , making a pirate box is easy.
170680	171620	It's a fun way to learn.
171620	173260	You pick the hardware that you want.
173340	176160	You pick the case that you want to put it into.
176320	177740	You can stick it into a lunchbox.
177740	181420	You can stick it into a little plastic shell that you printed off.
181420	183040	You can stick it into whatever you want.
183040	188480	You can just, you know, crudely smack, like, crudely throw together something from, like, Pringles cans for all I care.
188480	190660	Use a Cantana for one for your Wi-Fi.
190900	195700	You pick your Linux distro that you want, and then you pick, do you want to do onboard wireless?
195700	196840	Do you want to do a mesh?
196840	198280	Do you want to do a router?
198280	199960	The choices are yours.
200340	202260	The software stack that you want to use.
202260	204480	Do you want to use something standard?
204480	206860	Do you want to use something that already exists?
207440	209240	How do you want to carry this around?
209920	213120	There's another little thing, too, that you could probably use.
213360	224120	Unfortunately, I don't have any of these, but SanDisk made a wireless USB flash drive back in around 2012, 2013.
224120	227940	I'm going to have some at Hackerstown tomorrow if you want to come and pick some up.
228560	230140	There's onboard Wi-Fi.
230280	231840	It's BGN.
231840	232820	Pretty good.
232820	234080	Works well enough.
234300	236440	It uses microSD cards for storage.
236440	240900	It does not have onboard storage, so you pick the storage that you want for it.
241380	242800	It has a built-in battery.
242800	247120	It has a very tiny web server stack based on light PPD.
247720	249640	Easy peasy, lemon squeezy.
249900	253040	You could put whatever you want on the card.
253040	255080	You can set up the Wi-Fi in this.
255080	262540	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.
262840	269600	But the real fun begins with these is when you put a website onto the card.
269600	274220	And then you tell people, here's the IP address slash default HTML , whatever you want.
274220	278080	This is an impromptu web server you can literally carry around in your pocket.
278180	281840	And your only limit is the size of the SD card you put in there.
282440	287020	So, like I said, come to Hackerstown tomorrow, I'll have some with me.
287600	288760	Yep.
288940	296160	For the software stack that I'm talking about, there's a project called Why You Know Host.
296160	303680	This is a fully made customizable server stack that you just download.
303680	307460	It's installable with Debian or whatever your Linux distro is of choice.
307460	309190	They even have a pre-built image.
309190	312610	Just install, fire it up, and go.
312610	316570	And then from there, you can install whatever you want.
316570	322790	You can install a Nextcloud server, you can install Jellyfin, you can install Calibre, you can install a Torrent server.
323270	330250	You can use Calibre and Jellyfin as a pirate box stack because you can have Calibre feed you books and documents.
330250	336110	You can have Jellyfin feed you media, videos, audio, whatever you want.
337070	340230	The idea, too, is that you can fully administrate this thing.
340230	348190	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.
348190	349650	You've got a pirate box.
349650	351950	All you have to do is add your media.
353030	355250	And the system usage is very light.
355290	362590	So, if you think about it, the pirate box and the Why You Know Host is a match made in heaven.
366230	378710	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.
378930	380730	And I'm sure that we've all seen that.
381170	383810	Modern web routers, no, they're locked down.
383810	384990	You can't modify them.
384990	386430	You can't change them.
386430	388070	You have to use what we tell you.
388070	389890	You want to install DDWRT?
389890	391350	Nah, you're not doing that.
391350	392690	There's no unlock.
393250	396010	So, that might have died.
396210	398370	But the spirit lives on.
398370	401650	The spirit of the pirate box still lives on to this day.
401650	405770	And I'm going to continue to go further and you're going to see how all of this comes together.
406310	411470	We have, in today's climate, we have a critical need for things like this.
411470	413550	And this is why this project has got to be revived.
413550	418450	Even if it's not 100% the same as before, there's still good causes behind it.
419010	428190	But, in the spirit of the pirate box, I want to talk about a little project that a fellow Hackerstown member, TheSlugNoodle, created.
428450	432670	He can't be here with us today, but he is here, in spirit, with us.
433230	435750	So, this is called The Roaming Library.
435750	438050	This is also known as Project Bookmark.
438310	444250	This is a tiny little ESP32 8266-based board.
444250	448170	WiFi on board, microSD card reader attached for storage.
448170	450610	It can read up to 32GB on a card.
451290	456390	For less than $20, you can buy the hardware to design one of these and you can put it together.
456850	464550	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.
464810	470130	Flash the ESP32 board with the software, it generates an SSID.
470310	472510	Bookmark with a random generated number.
472870	477770	When you hop onto that, it will take you to a captive portal where you can see the Roaming Library.
477850	483550	And what the Roaming Library is, is you can take a book and you can leave a book.
483550	494450	It is a small, discreet way of sharing documents, PDFs, text files, document files, CBZ, CBR, we could probably do those too.
494510	502970	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.
503050	512850	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.
513790	523930	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.
524330	526530	Trust the slime, trust Slugnoodle.
526530	530630	Shout out to Slugnoodle too, so everybody shout out to Slugnoodle and Hackerstown.
533850	535130	There you go.
535130	536390	That one's for you, Slugnoodle.
536390	541010	So now, like I said, why am I talking about all of this?
541230	546010	And I'm pretty sure everybody knows about the political climate today in the US.
546070	551890	And even going further back, Project 2025 is causing danger.
552070	554250	Libraries are in danger of being banned.
554250	561890	Websites are being banned, taken down, all because they post something that nobody likes, or somebody didn't like.
561930	566690	YouTube, anybody can easily just strike, you know, copyright strike a video?
566690	567050	Pfft.
567050	567690	Gone.
567690	570610	Gone and lost it all the time unless you downloaded it.
571050	574830	We live in dangerous times for information online.
575110	579830	But like I said, media bannings, book bannings, websites being taken down.
579930	581110	This is awful.
581110	582310	This is horrible.
582310	591570	Fascism is on the rise in the US and we are just witnessing it, speedrunning, any percent challenge through everything that we hold dear.
592390	599870	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.
599870	605470	And even there, it took them a while to even bring everything back up to full accessibility.
605650	607990	I'm sure all of you remember this.
608750	611170	We can't have this sort of thing.
611250	613970	This is where the next part of the talk comes in.
613970	617870	And where the pirate box and the second part work hand-in-hand.
620990	627550	Censorship becoming a very real danger is something that we really have to think about.
628610	639090	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.
639350	642210	We have to be able to bring information to them.
642550	650850	Pirate boxes allow us to be the data runners that have those materials, learning materials, any kind of materials, community materials.
651050	653870	Pack a pirate box full of stuff, bring it over.
653870	655470	You don't even have to bring a pirate box.
655470	657450	I'm going to get into this lore a little bit.
657630	660230	But censorship is awful.
660230	663150	I'm just going to keep on repeating that until I'm blue in the mouth.
663150	673870	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.
675050	677890	So this is where I'm going to get into the next part.
679350	681510	The next part is Sneakernet.
681510	683290	I'm sure everybody here knows Sneakernet.
683290	685090	Raise your hand if you know Sneakernet.
686130	687630	So, really quick.
687630	688850	I'm going to ask somebody to raise their hand.
688850	690150	What's Sneakernet?
692030	693350	There you go!
693370	694250	Sneakers!
695730	698430	Who remembers doing this in the 2000s?
698570	699910	You all know this, right?
700370	701590	The iPod.
701830	703990	Who remembers setting this to a hard drive?
703990	706430	Set it to, you know, configure it as a hard drive.
706470	708470	Throw a few bunch of files on there.
708470	710050	This is like, what, 40 gigabytes?
710050	711130	That's big, right?
711130	712350	Fits in your pocket.
712350	713690	Take it over to your friends.
713690	714290	Hook it up.
714290	715850	Yo, I got some files on my iPod.
715850	717050	You want to take them?
717810	718690	Sneakernet.
719910	722330	Easy way of doing throughput.
722330	723970	Fast, heavy throughput.
725630	727850	Copy that floppy and pass it on.
730210	734290	So, I'm just going to read a famous proverb.
734290	735750	Everybody knows this one.
735750	741770	Never underestimate the bandwidth of a station wagon full of tapes hurtling down a highway.
742990	743870	Andrew S.
743870	744950	Tannenbaum.
745430	747110	And he's right.
747670	752450	Sneakernet is in ways way faster than internet transport.
752790	755770	You can load up a shoebox, for example.
755770	756970	I'm going to take this as an example.
756970	759630	I'm pretty sure that everybody's going to recognize this one.
759670	765710	You can take a shoebox and fill it with 8 terabyte NVMe SSDs.
765710	766970	Small little portable things.
767230	768430	2280s.
768510	771830	80 millimeters this way, 22 this way.
771890	778230	That shoebox can probably be multi-petabyte by the time you fill it with those NVMes.
778230	779770	That throughput.
779770	783890	Carry that box full of SSDs over to a data center.
783890	785310	Multi-petabyte throughput?
785310	787450	We still can't do that.
787510	797810	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.
797810	800570	We still got 14 years that we can do this.
802970	807350	I want to talk about some examples of Sneakernet.
807510	816850	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.
817030	822350	In Cuba, there is a package they call El Paquete Semanal.
822350	823950	The Weekly Package.
824050	829050	It is an approximately one terabyte package of media.
829050	835170	Books, movies, TV shows, music, information, zines, all that kind of good stuff.
836050	845030	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.
845030	846370	Hey, I got the latest paquete.
846370	847410	Do you want anything off of it?
847410	849450	And people can just grab what they want off of it.
849450	852390	They probably have piss-poor internet where they're standing.
852390	854050	And these guys are doing them a service.
854050	855410	We got the bandwidth.
855410	856550	We'll do it for you.
856550	858030	We'll bring it to you.
858650	862990	So people do that in Cuba because the infrastructure there is still not the best.
864130	869970	And it's a great way of just bringing what people need right to the doorstop.
870170	871130	They got a laptop.
871130	872250	They got a USB stick.
872250	873810	Here's the guy with the paquete.
873810	874970	Hook the hard drive up.
874970	876190	I'm going to grab what I need.
876190	878090	Alright, on to the next guy.
879930	883790	North Korea also has their own form of sneaker net.
883790	886950	And I talked about this in one of my Red Star talks.
887350	899890	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.
900190	906510	They have people smuggling data in over the border, either from the South or from China.
906770	908830	And that's how they get their Western movies.
908830	916210	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.
916790	920590	And they copy it onto thumb drives and they pass them around.
920950	930290	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.
930290	937390	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.
940140	943720	And I'm pretty sure now that everyone knows this one.
943760	945980	What is RFC 1149?
946000	947260	Who knows it?
947500	948820	Han, okay.
950260	951460	Hell yeah!
951460	953700	And that's also a form of sneakernet.
953840	965160	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.
965660	974580	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.
975300	979260	They started the transmission at the exact same time the pigeon left the roost.
979720	981460	The pigeon won.
981660	983800	2 hours and 6 minutes.
984160	990080	The connection over ADSL was only at 4% and it already dropped twice by that point.
991160	992980	This is over 37 miles.
992980	994480	The pigeon beat them.
997430	999650	So let's see how much more time I have.
1000410	1005430	But, in the long run, I want everybody to be the data runners that they can be in the world.
1005430	1014450	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.
1014790	1020470	You can always do this for fun and learning because you learn a little bit about networking, you learn a little bit about accessibility.
1021270	1026270	You learn a lot about how it all works just by building one of these.
1026270	1030110	But if you really can't, just grab a hard drive and just bring things along.
1030110	1033010	Keep circulating the tapes is one of the mantras.
1034650	1042210	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.
1042210	1045670	So if you're going to be out there, I'll see you there.
1046010	1052350	But I hope that everybody started enjoying this talk and I want to start giving out some special shout outs and special thanks.
1052350	1054430	So I want to shout out to everybody at Hackerstown.
1054630	1062990	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.
1063010	1065110	I want to shout out to the crews that came out.
1065510	1069330	I want to shout out to everybody that gave me mutual aid to help me get here.
1069330	1078090	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.
1078690	1081870	I also want to give a quick shout out to the Midwest Gadgets.
1081870	1083310	They have a booth over there.
1083310	1084250	Check them out.
1084250	1085590	They sponsored me today.
1085590	1086690	I owe them a lot.
1086690	1088310	So thank you, Midwest Gadgets.
1088310	1089130	Hack the planet.
1089130	1090670	You're doing awesome stuff.
1091910	1095870	If you want to find me online, I'm on Mastodon.
1095870	1099730	I'm at masto.hackerstown at Lambda Calculus.
1099870	1101110	I have a CoFi .
1101110	1103790	You can find me on CoFi if you want to throw me some bucks.
1104570	1105810	I have a LinkedIn.
1105810	1108510	I'll give that to you in person if you want to ask.
1108510	1110850	I have a GitHub, Lambda Calculus 37.
1111290	1113630	And I hope everybody enjoyed this talk.
1113630	1115490	I hope everybody enjoys DEF CON.
1115490	1118150	And everybody who's coming to Hope, I'll see you there.
1118150	1120610	In the meantime, everyone, hack the planet!
1121590	1123010	Hack the planet!
1123010	1123490	Hack the planet !
1125150	1125810	Hack the planet!
1126030	1127470	Safety third!
1132050	1134070	Alright, thank you for coming, everyone!
