start	end	text
350	6470	Because I really have to... Oh, I'm live? Okay, I should probably not complete that
6470	15970	sentence then. Hi! Now that is the exact kind of response I expected to get when I stood
15970	23230	on stage. Floor, whatever. So, my name is Zero Chaos. I made a small Linux distribution
23230	27230	called Pen2 that we're using for the wireless capture of the flag. And I'm going to talk
27230	31590	about it. I was scheduled to talk about it for an hour, but since none of you will actually
31590	35210	care and we've got a guy who knows what he's talking about for the next talk, we're just
35210	38870	going to go ahead and keep this on time and we're going to get him on the stage so that
38870	46010	he can talk and be awesome. Linux is a wonderful thing. Those of you who don't use Linux, stop
46730	50710	doing whatever you're doing and start using Linux. Especially if you are in a place like
50710	55130	this, seriously. And dude with the Mac who gave me the thumbs up, I'm super sorry for
55130	62270	your life choices. Seriously. Yeah, it's not the same. VM's not the same. Okay. We
62270	68110	chose Pen2 because I was teasing everybody horribly as they were trying to use different
68110	72330	other Linux distributions that will remain nameless and failing as all the tools wouldn't
72330	77270	work properly. I've spent the last ten years or so working on Pen2, making sure that the
77270	82870	wireless tools work, making sure that the new SDR stuff all works, and I really am actually
82870	86990	proud of the release that's on my website right now. So if you all want to try it, that's
86990	91730	great. I'm not going to spend a lot of time on talking about how to use the individual
91730	95090	tools because we have people that know what they're doing for that and they'll tell you
95090	99190	about like Russ talked about SDR and like our good friend Eric's going to talk about
99190	103890	802.11ac stuff and we've got all kinds of wireless hacking talks for all kinds of protocols
103890	108790	and different hardware. It's just my job to make sure that when you go to hack those things,
108790	114270	you can just plug it into your box and kind of have a good starting point to do that. All
114270	121270	Linux distributions are essentially Linux. I know, it sounds weird, right? But all Linux
121270	125430	distributions are essentially Linux. You see, I've got this little X window-y thing and I've
125430	129690	got some little tabs at the top and there's buttons and then there's my favorite button, it
129690	136970	makes the useful part show up like that, okay? All of these are essentially the same. They
136970	143490	all work essentially the same. This is XFCE for a desktop environment. Some of them are
143490	149190	Gnome or KDE. They look different. They all do the same thing. Debian exists for a reason.
149190	154370	Ubuntu exists for a reason. Kali Linux exists for a reason because people are trying to make
154370	159770	their Linux distribution do what they want it to do. And if you are a competent Linux user and
159770	164510	you are happy with whatever you are using and it meets your needs, then that's great. And I
164510	169130	am not here to make any converts. I really couldn't possibly care less. If you like what I
169130	174050	do, that's great and otherwise that's fine. We're using it for the capture the flag because guess
174050	179810	what? It has the ability to win all the flags. Might help a little bit, I don't know. So what
179810	184010	I'm going to do is I'm going to show you just some of the features of Pentoo that are going to
184010	189170	help you out to do these things and give you a really short survey of the tools and all of my
189170	193230	embarrassing mistakes so that when you hit it, I don't have to answer the same question a
193230	208320	hundred times. So 22 minutes and go. Do I still light up when I talk like this? Is this going to
208320	214740	work? I'll just project. Okay. Yeah, I apologize. I'm short and I'm going to sit at the
214740	220740	keyboard but I'm not that pretty so deal with it. As I said before, this is the only part of
220740	226060	Linux that I personally find useful. I am a keyboard jockey. My co-developers are keyboard
226060	230900	jockeys. So the first and most important thing about Pentoo that I want you all to know is we
230900	237700	have a menu system. Does it work? The menu system does not work at all. Thank you, sir. That's a
237700	241880	great question. A lot of times when you go in here, you'll think, oh, here's all the Bluetooth
241880	246460	tools in Pentoo. No, that's a few of the Bluetooth tools and if you click on some of them, funny
246460	253780	things happen like... did that just try to run a sys? That's... I tried to run a library. That's
254260	260760	probably... that would be embarrassing if I had anything to do with this project. So in general,
260760	265420	this will give you a quick idea of what is installed and what is not installed. But 99 times
265420	269740	out of 100, if you were to go onto the command line and type something useful like I want to run
269740	275900	GQRX and you're really lucky GQRX will actually pop up if you actually have an SDR plugged in.
275900	280780	So all of the tools are installed that are necessary for the CTF but the menu links kind of
280780	290230	are atrocious. That is out of the fact that I have nobody offering to fix it. So, you know,
290230	297070	there's that. So some of the interesting things about Pentoo is it is based on the Gentoo
297070	302450	distribution. Gentoo is a Linux distribution all centered around compiling everything from
302450	307810	source. That means that you will try to install something and it will take several hours and
307810	311350	then you'll come back and you'll have your tool installed. I know, that sounds really helpful
311350	316930	when you're in a penetration test and trying to get stuff done, right? Right. So what we offer is
317050	324070	a whole series of binary packages. Pentoo has a fully customizable system to tell you how you
324070	333030	want to run the system. Okay? Profile is what controls how your system works for you. We have
333030	339270	both default, which is regular Linux, and we have hardened options for Pentoo where you'll
339270	344270	actually have a whole bunch of kernel hardening, compiler hardening to make sure that tools are
344270	348970	far more stable and that they're not so easy to exploit installed. Once you choose whether you
348970	353650	want to use the default, which is better for like exploit development, or if you want to use the
353650	357670	hardened, which is better for actual red team attacking so you don't end up part of the victim
357670	362590	pool, okay? Once you choose which one of those you want to run, you actually get a choice in the
362590	366970	installer whether you want to run the regular profile where you build things for yourself, the
366970	372430	binary profile where you actually download preinstalled binaries directly from our servers so
372430	378050	that you don't have to compile everything for yourself, or if you are really a masochist and you
378050	383890	want the absolute bleeding edge of everything. The bleeding edge one will actually compile almost
383890	389590	everything on the system straight from the version control system of the upstream project. So you
389590	393770	will get GQRX straight from Git. If they made a commit this morning, you will build it and you
393770	399310	will get it. But if they made a broken commit this morning, you will build it and you will break
399310	404750	it, okay? That's why it's called bleeding edge and not leading edge. Bleeding edge, you get cut a
404750	409770	lot more, okay? So all of the options are there. You can run it like a normal Gen 2 system where
409770	414770	you're building things for yourself. You can optimize it. You can, well, just go see, what is
415810	420190	it, funrollloops.info and see all the funny things people make fun of Gen 2 for ridiculous C
420190	425550	flags and I have to agree with all of it. Or you can just download from the binary packages that
425550	431290	we build for you twice a day and you'll have the latest of everything twice a day, okay? That is
431290	437510	probably my favorite part of Gen 2 because it gives you these choices and that's why I have
437510	442390	ported that into Pentoo and really, really abused it for that fact. The other thing that is
442390	456020	available in here is a full flag system to make sure that you only have the tools that you want to
456020	463380	have installed on the system. So what was that? That didn't work. There we go. That text is
463380	470600	probably too small to read, isn't it? Nope, fairly good. You don't like my font. I don't like it
470600	476880	either. That's fine. Pentoo is a series of meta packages. The master meta package is called
476880	482560	Pentoo Pentoo. It's from the Pentoo project and it's the Pentoo meta package. It has what's
482560	488420	called use flags on it. These control what features you want versus what features you don't.
488420	492140	It's an integral part of the way Gen 2 works. If you want to build a system that has no X
492140	496320	windows at all, you can do that and you'll save all kinds of space and you won't be pulling in
496320	504320	Xorg when you try to install Vim, Koff, Koff, Debian, Red Hat, Ubuntu. Yeah, so you get the
504320	511080	idea. The master Pentoo flags control which tool sets you install. So we have things if you
511080	515120	don't do any network scanning, you can drop off the analyzers. If you don't do Bluetooth, you can
515120	519100	drop off Bluetooth. If you only do wireless, you can remove all the flags and just put in the
519100	526020	Wi-Fi stuff. Each one of these actually controls a separate meta package that has all of the
526020	531980	different wireless tools associated with it. So you can see each one of the different tools and
531980	536080	you can pull in just what you need, just what is supported for your system. So for instance,
536080	541160	Pentoo Wireless has a couple of different use flags on it. B43 is the Broadcom drivers. It's
541160	546120	got some extra fixes to make sure those work. CUDA is the graphical acceleration from NVIDIA
546120	551100	to make sure you can do password cracking using that nice, expensive, very hot GPU that chills
551100	555060	your battery much faster than it should have. GPS support, if you're going to be doing
555060	559420	WordDrive and things like that, you can leave the GPS tools off if you don't need them. WPE is
559420	565180	the Wireless Pwnage Edition of FreeRadius. If you want to do man-in-the-middle on FreeRadius,
565180	569360	then you want the Wireless Pwnage Edition stuff. If you don't want to do that and you want the
569360	573560	RADIUS server to actually work, then you can just disable that flag and you'll get a RADIUS
573560	580160	server that works, you know, like a RADIUS server. The point is, is all of these are in here so
580160	584880	that you can customize this to do exactly what you want it to do. You have just the tools you
584880	590360	want configured just the way you want them to work and everything works for you. Every single
590920	596840	default option has binary packages built twice a day. When you change the defaults, you get your
596840	601800	system customized the way you want at the small price of however fast your processor is compiling
601800	607780	those tools. I build every single package in Pentoo twice a day and my server spends the other
607780	611900	time just kind of sitting there chilling. I could do it four times a day, but people just don't
611900	617080	update stuff that much. So on a regular like i7 processor, you can literally just tell it to
617080	621820	build every package in the world. You can fall asleep and it'll be done before you wake up. And
621820	626500	if you're really doing that in the middle of a pen test, I again recommend prepping better next
626500	636520	time. Okay, the menus definitely are there for mostly the eye candy. Some of these things really
636520	641680	do work, but they give you a nice survey of what's installed, a whole bunch of things for mobile
641680	646920	devices, reading information off of iPhones, reading information off of Androids. The full
646920	654020	Android SDK is installed on here. Python, Perl, GCC. Does anybody still use Ruby? Oh, right,
654020	660240	Metasploit. Thanks, guys. Really appreciate that. All of your forensic tools are installed. You can
660240	666080	do all kinds of different forensics things. You can read raw disks. You can read raw binaries.
666080	670500	We've got multiple different debuggers on here for people that prefer one versus the other. The
670500	675740	only thing that I won't do is distribute something that I'm not legally allowed to distribute. I
675740	679600	know, that came as a shock to all of you, didn't it? A hacker with some kind of an ethics code.
681280	693140	It is entirely unheard of. Let's see here. What aren't you allowed to distribute that you could
693140	697020	be distributing? That's actually a really good question. We've had several people already today
697020	703400	talk about Baudline, for instance. It's a program widely used in SDR circles. And it's not open
703400	707560	source. And the license says you can download it and use it for free, but you can't redistribute
707560	711820	it. Which means if I put it on a live CD and give it to you, I'm breaking their licensing terms.
712000	716800	There's also some other things that are, say, patented. And the source code is free speech,
716800	721960	which means if you go in here and you want to install it, you can. So, for instance, you can
721960	732320	just go in and say Emerge Baudline. I'm busy. I don't want to move out. If you want to install
732320	736660	something like Baudline, it's very simple. You can just say Emerge, which is the package manager
736660	741860	for Gentoo, and then Baudline, and you can install Baudline. But if I redistribute it, I get
741860	746020	into trouble. For those of you that do not live on the command line, some of the other tools
746020	750520	actually do work. The ones that aren't in the Pentium menu actually mostly work. So, there are
750520	756580	things like the porthole portage front end, which is a graphical user interface for portage,
756580	762020	so you can update things, you can install things straight from here. So, you've got a full list
762020	766480	of all the different categories of tools, and then you've got a list of packages in each
766480	771100	category that you can grab, and then you can go through and pick and choose whatever you want.
771100	775640	Little check boxes, upgrade buttons, and all that stuff that, you know, new Debian and Ubuntu
775640	782400	users are used to. Most of us don't like the GUI, and that's just my development team, to be
782400	786400	quite honest with you. None of us like GUI stuff. So, there's a few things that I want to cover
786400	790760	right before I turn this over to a man who can actually talk about interesting stuff. The most
790760	800140	important thing to do is emerge sync. If you're on Ubuntu and you do apt-get update, it goes to
800140	804780	the Ubuntu servers and it grabs a list of all the freshest packages that you can install. This
804780	810040	is the equivalent in Pentoo. Emerge sync goes up to the Gentoo servers and the Pentoo servers,
810040	814580	it asks for the list of packages that can be installed, their versions, their dependencies,
814580	820480	those things, all get synced down to your system. Once you're done with that, you can install
820480	826740	whatever new things you want, you can upgrade whatever new things you want. I could spend
826740	832840	hours talking about the esoteric uses of Gentoo on the command line, and I will probably save
832840	839320	that for a different audience, but Gentoo is, as of this moment and as of several years ago,
839320	845860	the best documented Linux distro out there. A bunch of the other Linux distros actually point
845860	851840	to Gentoo wiki to document how to do things because the Gentoo users install the package and
851840	856040	then they have to configure it themselves. I do most of the configuration on my end the way I
856040	859840	want it so that the users have something that works a little bit better, but by default with a
859840	864220	Gentoo package you get the package and then you configure it yourself. So the documentation
864220	868920	has to be really top notch. So just googling for any of these things that you want to
868920	874080	configure, install, how to use Gentoo, how to use Pentoo, how to make all this work, all of
874080	878620	the documentation is there and it's really great. So I spend an awful lot of time on this
878620	883620	because even if none of you ever use it, me and my team are still going to use it because we
883620	887580	think it's the best thing out there. And if you want to play the capture the flag, we
887580	893780	highly recommend going to Pentoo.ch and downloading the RC3 release that I just made
894600	899780	about an hour ago and you can actually have the latest of absolutely everything ready to go
899780	904820	and play the capture the flag. If you would like to play with your Windows based tablet,
904820	909900	that's great and I wish you all the best of luck and I don't think any of us will be able to
909900	915080	help you at all. But if you use Pentoo and it's broken and you want to wring me around the
915080	922500	neck, I'm right here so you can throttle me while I try to fix it. Justin, was that a
922500	927200	comment from the peanut gallery or are we all set here? All right, so as promised, we're
927200	931600	going to have a quick ten minute recess and do any announcements that we need to do and
931600	935120	then we're going to have our next speaker come on up. So thank you for your time.
