[00:00.350 --> 00:06.470] Because I really have to... Oh, I'm live? Okay, I should probably not complete that [00:06.470 --> 00:15.970] sentence then. Hi! Now that is the exact kind of response I expected to get when I stood [00:15.970 --> 00:23.230] on stage. Floor, whatever. So, my name is Zero Chaos. I made a small Linux distribution [00:23.230 --> 00:27.230] called Pen2 that we're using for the wireless capture of the flag. And I'm going to talk [00:27.230 --> 00:31.590] about it. I was scheduled to talk about it for an hour, but since none of you will actually [00:31.590 --> 00:35.210] care and we've got a guy who knows what he's talking about for the next talk, we're just [00:35.210 --> 00:38.870] going to go ahead and keep this on time and we're going to get him on the stage so that [00:38.870 --> 00:46.010] he can talk and be awesome. Linux is a wonderful thing. Those of you who don't use Linux, stop [00:46.730 --> 00:50.710] doing whatever you're doing and start using Linux. Especially if you are in a place like [00:50.710 --> 00:55.130] this, seriously. And dude with the Mac who gave me the thumbs up, I'm super sorry for [00:55.130 --> 01:02.270] your life choices. Seriously. Yeah, it's not the same. VM's not the same. Okay. We [01:02.270 --> 01:08.110] chose Pen2 because I was teasing everybody horribly as they were trying to use different [01:08.110 --> 01:12.330] other Linux distributions that will remain nameless and failing as all the tools wouldn't [01:12.330 --> 01:17.270] work properly. I've spent the last ten years or so working on Pen2, making sure that the [01:17.270 --> 01:22.870] wireless tools work, making sure that the new SDR stuff all works, and I really am actually [01:22.870 --> 01:26.990] proud of the release that's on my website right now. So if you all want to try it, that's [01:26.990 --> 01:31.730] great. I'm not going to spend a lot of time on talking about how to use the individual [01:31.730 --> 01:35.090] tools because we have people that know what they're doing for that and they'll tell you [01:35.090 --> 01:39.190] about like Russ talked about SDR and like our good friend Eric's going to talk about [01:39.190 --> 01:43.890] 802.11ac stuff and we've got all kinds of wireless hacking talks for all kinds of protocols [01:43.890 --> 01:48.790] and different hardware. It's just my job to make sure that when you go to hack those things, [01:48.790 --> 01:54.270] you can just plug it into your box and kind of have a good starting point to do that. All [01:54.270 --> 02:01.270] Linux distributions are essentially Linux. I know, it sounds weird, right? But all Linux [02:01.270 --> 02:05.430] distributions are essentially Linux. You see, I've got this little X window-y thing and I've [02:05.430 --> 02:09.690] got some little tabs at the top and there's buttons and then there's my favorite button, it [02:09.690 --> 02:16.970] makes the useful part show up like that, okay? All of these are essentially the same. They [02:16.970 --> 02:23.490] all work essentially the same. This is XFCE for a desktop environment. Some of them are [02:23.490 --> 02:29.190] Gnome or KDE. They look different. They all do the same thing. Debian exists for a reason. [02:29.190 --> 02:34.370] Ubuntu exists for a reason. Kali Linux exists for a reason because people are trying to make [02:34.370 --> 02:39.770] their Linux distribution do what they want it to do. And if you are a competent Linux user and [02:39.770 --> 02:44.510] you are happy with whatever you are using and it meets your needs, then that's great. And I [02:44.510 --> 02:49.130] am not here to make any converts. I really couldn't possibly care less. If you like what I [02:49.130 --> 02:54.050] do, that's great and otherwise that's fine. We're using it for the capture the flag because guess [02:54.050 --> 02:59.810] what? It has the ability to win all the flags. Might help a little bit, I don't know. So what [02:59.810 --> 03:04.010] I'm going to do is I'm going to show you just some of the features of Pentoo that are going to [03:04.010 --> 03:09.170] help you out to do these things and give you a really short survey of the tools and all of my [03:09.170 --> 03:13.230] embarrassing mistakes so that when you hit it, I don't have to answer the same question a [03:13.230 --> 03:28.320] hundred times. So 22 minutes and go. Do I still light up when I talk like this? Is this going to [03:28.320 --> 03:34.740] work? I'll just project. Okay. Yeah, I apologize. I'm short and I'm going to sit at the [03:34.740 --> 03:40.740] keyboard but I'm not that pretty so deal with it. As I said before, this is the only part of [03:40.740 --> 03:46.060] Linux that I personally find useful. I am a keyboard jockey. My co-developers are keyboard [03:46.060 --> 03:50.900] jockeys. So the first and most important thing about Pentoo that I want you all to know is we [03:50.900 --> 03:57.700] have a menu system. Does it work? The menu system does not work at all. Thank you, sir. That's a [03:57.700 --> 04:01.880] great question. A lot of times when you go in here, you'll think, oh, here's all the Bluetooth [04:01.880 --> 04:06.460] tools in Pentoo. No, that's a few of the Bluetooth tools and if you click on some of them, funny [04:06.460 --> 04:13.780] things happen like... did that just try to run a sys? That's... I tried to run a library. That's [04:14.260 --> 04:20.760] probably... that would be embarrassing if I had anything to do with this project. So in general, [04:20.760 --> 04:25.420] this will give you a quick idea of what is installed and what is not installed. But 99 times [04:25.420 --> 04:29.740] out of 100, if you were to go onto the command line and type something useful like I want to run [04:29.740 --> 04:35.900] GQRX and you're really lucky GQRX will actually pop up if you actually have an SDR plugged in. [04:35.900 --> 04:40.780] So all of the tools are installed that are necessary for the CTF but the menu links kind of [04:40.780 --> 04:50.230] are atrocious. That is out of the fact that I have nobody offering to fix it. So, you know, [04:50.230 --> 04:57.070] there's that. So some of the interesting things about Pentoo is it is based on the Gentoo [04:57.070 --> 05:02.450] distribution. Gentoo is a Linux distribution all centered around compiling everything from [05:02.450 --> 05:07.810] source. That means that you will try to install something and it will take several hours and [05:07.810 --> 05:11.350] then you'll come back and you'll have your tool installed. I know, that sounds really helpful [05:11.350 --> 05:16.930] when you're in a penetration test and trying to get stuff done, right? Right. So what we offer is [05:17.050 --> 05:24.070] a whole series of binary packages. Pentoo has a fully customizable system to tell you how you [05:24.070 --> 05:33.030] want to run the system. Okay? Profile is what controls how your system works for you. We have [05:33.030 --> 05:39.270] both default, which is regular Linux, and we have hardened options for Pentoo where you'll [05:39.270 --> 05:44.270] actually have a whole bunch of kernel hardening, compiler hardening to make sure that tools are [05:44.270 --> 05:48.970] far more stable and that they're not so easy to exploit installed. Once you choose whether you [05:48.970 --> 05:53.650] want to use the default, which is better for like exploit development, or if you want to use the [05:53.650 --> 05:57.670] hardened, which is better for actual red team attacking so you don't end up part of the victim [05:57.670 --> 06:02.590] pool, okay? Once you choose which one of those you want to run, you actually get a choice in the [06:02.590 --> 06:06.970] installer whether you want to run the regular profile where you build things for yourself, the [06:06.970 --> 06:12.430] binary profile where you actually download preinstalled binaries directly from our servers so [06:12.430 --> 06:18.050] that you don't have to compile everything for yourself, or if you are really a masochist and you [06:18.050 --> 06:23.890] want the absolute bleeding edge of everything. The bleeding edge one will actually compile almost [06:23.890 --> 06:29.590] everything on the system straight from the version control system of the upstream project. So you [06:29.590 --> 06:33.770] will get GQRX straight from Git. If they made a commit this morning, you will build it and you [06:33.770 --> 06:39.310] will get it. But if they made a broken commit this morning, you will build it and you will break [06:39.310 --> 06:44.750] it, okay? That's why it's called bleeding edge and not leading edge. Bleeding edge, you get cut a [06:44.750 --> 06:49.770] lot more, okay? So all of the options are there. You can run it like a normal Gen 2 system where [06:49.770 --> 06:54.770] you're building things for yourself. You can optimize it. You can, well, just go see, what is [06:55.810 --> 07:00.190] it, funrollloops.info and see all the funny things people make fun of Gen 2 for ridiculous C [07:00.190 --> 07:05.550] flags and I have to agree with all of it. Or you can just download from the binary packages that [07:05.550 --> 07:11.290] we build for you twice a day and you'll have the latest of everything twice a day, okay? That is [07:11.290 --> 07:17.510] probably my favorite part of Gen 2 because it gives you these choices and that's why I have [07:17.510 --> 07:22.390] ported that into Pentoo and really, really abused it for that fact. The other thing that is [07:22.390 --> 07:36.020] available in here is a full flag system to make sure that you only have the tools that you want to [07:36.020 --> 07:43.380] have installed on the system. So what was that? That didn't work. There we go. That text is [07:43.380 --> 07:50.600] probably too small to read, isn't it? Nope, fairly good. You don't like my font. I don't like it [07:50.600 --> 07:56.880] either. That's fine. Pentoo is a series of meta packages. The master meta package is called [07:56.880 --> 08:02.560] Pentoo Pentoo. It's from the Pentoo project and it's the Pentoo meta package. It has what's [08:02.560 --> 08:08.420] called use flags on it. These control what features you want versus what features you don't. [08:08.420 --> 08:12.140] It's an integral part of the way Gen 2 works. If you want to build a system that has no X [08:12.140 --> 08:16.320] windows at all, you can do that and you'll save all kinds of space and you won't be pulling in [08:16.320 --> 08:24.320] Xorg when you try to install Vim, Koff, Koff, Debian, Red Hat, Ubuntu. Yeah, so you get the [08:24.320 --> 08:31.080] idea. The master Pentoo flags control which tool sets you install. So we have things if you [08:31.080 --> 08:35.120] don't do any network scanning, you can drop off the analyzers. If you don't do Bluetooth, you can [08:35.120 --> 08:39.100] drop off Bluetooth. If you only do wireless, you can remove all the flags and just put in the [08:39.100 --> 08:46.020] Wi-Fi stuff. Each one of these actually controls a separate meta package that has all of the [08:46.020 --> 08:51.980] different wireless tools associated with it. So you can see each one of the different tools and [08:51.980 --> 08:56.080] you can pull in just what you need, just what is supported for your system. So for instance, [08:56.080 --> 09:01.160] Pentoo Wireless has a couple of different use flags on it. B43 is the Broadcom drivers. It's [09:01.160 --> 09:06.120] got some extra fixes to make sure those work. CUDA is the graphical acceleration from NVIDIA [09:06.120 --> 09:11.100] to make sure you can do password cracking using that nice, expensive, very hot GPU that chills [09:11.100 --> 09:15.060] your battery much faster than it should have. GPS support, if you're going to be doing [09:15.060 --> 09:19.420] WordDrive and things like that, you can leave the GPS tools off if you don't need them. WPE is [09:19.420 --> 09:25.180] the Wireless Pwnage Edition of FreeRadius. If you want to do man-in-the-middle on FreeRadius, [09:25.180 --> 09:29.360] then you want the Wireless Pwnage Edition stuff. If you don't want to do that and you want the [09:29.360 --> 09:33.560] RADIUS server to actually work, then you can just disable that flag and you'll get a RADIUS [09:33.560 --> 09:40.160] server that works, you know, like a RADIUS server. The point is, is all of these are in here so [09:40.160 --> 09:44.880] that you can customize this to do exactly what you want it to do. You have just the tools you [09:44.880 --> 09:50.360] want configured just the way you want them to work and everything works for you. Every single [09:50.920 --> 09:56.840] default option has binary packages built twice a day. When you change the defaults, you get your [09:56.840 --> 10:01.800] system customized the way you want at the small price of however fast your processor is compiling [10:01.800 --> 10:07.780] those tools. I build every single package in Pentoo twice a day and my server spends the other [10:07.780 --> 10:11.900] time just kind of sitting there chilling. I could do it four times a day, but people just don't [10:11.900 --> 10:17.080] update stuff that much. So on a regular like i7 processor, you can literally just tell it to [10:17.080 --> 10:21.820] build every package in the world. You can fall asleep and it'll be done before you wake up. And [10:21.820 --> 10:26.500] if you're really doing that in the middle of a pen test, I again recommend prepping better next [10:26.500 --> 10:36.520] time. Okay, the menus definitely are there for mostly the eye candy. Some of these things really [10:36.520 --> 10:41.680] do work, but they give you a nice survey of what's installed, a whole bunch of things for mobile [10:41.680 --> 10:46.920] devices, reading information off of iPhones, reading information off of Androids. The full [10:46.920 --> 10:54.020] Android SDK is installed on here. Python, Perl, GCC. Does anybody still use Ruby? Oh, right, [10:54.020 --> 11:00.240] Metasploit. Thanks, guys. Really appreciate that. All of your forensic tools are installed. You can [11:00.240 --> 11:06.080] do all kinds of different forensics things. You can read raw disks. You can read raw binaries. [11:06.080 --> 11:10.500] We've got multiple different debuggers on here for people that prefer one versus the other. The [11:10.500 --> 11:15.740] only thing that I won't do is distribute something that I'm not legally allowed to distribute. I [11:15.740 --> 11:19.600] know, that came as a shock to all of you, didn't it? A hacker with some kind of an ethics code. [11:21.280 --> 11:33.140] It is entirely unheard of. Let's see here. What aren't you allowed to distribute that you could [11:33.140 --> 11:37.020] be distributing? That's actually a really good question. We've had several people already today [11:37.020 --> 11:43.400] talk about Baudline, for instance. It's a program widely used in SDR circles. And it's not open [11:43.400 --> 11:47.560] source. And the license says you can download it and use it for free, but you can't redistribute [11:47.560 --> 11:51.820] it. Which means if I put it on a live CD and give it to you, I'm breaking their licensing terms. [11:52.000 --> 11:56.800] There's also some other things that are, say, patented. And the source code is free speech, [11:56.800 --> 12:01.960] which means if you go in here and you want to install it, you can. So, for instance, you can [12:01.960 --> 12:12.320] just go in and say Emerge Baudline. I'm busy. I don't want to move out. If you want to install [12:12.320 --> 12:16.660] something like Baudline, it's very simple. You can just say Emerge, which is the package manager [12:16.660 --> 12:21.860] for Gentoo, and then Baudline, and you can install Baudline. But if I redistribute it, I get [12:21.860 --> 12:26.020] into trouble. For those of you that do not live on the command line, some of the other tools [12:26.020 --> 12:30.520] actually do work. The ones that aren't in the Pentium menu actually mostly work. So, there are [12:30.520 --> 12:36.580] things like the porthole portage front end, which is a graphical user interface for portage, [12:36.580 --> 12:42.020] so you can update things, you can install things straight from here. So, you've got a full list [12:42.020 --> 12:46.480] of all the different categories of tools, and then you've got a list of packages in each [12:46.480 --> 12:51.100] category that you can grab, and then you can go through and pick and choose whatever you want. [12:51.100 --> 12:55.640] Little check boxes, upgrade buttons, and all that stuff that, you know, new Debian and Ubuntu [12:55.640 --> 13:02.400] users are used to. Most of us don't like the GUI, and that's just my development team, to be [13:02.400 --> 13:06.400] quite honest with you. None of us like GUI stuff. So, there's a few things that I want to cover [13:06.400 --> 13:10.760] right before I turn this over to a man who can actually talk about interesting stuff. The most [13:10.760 --> 13:20.140] important thing to do is emerge sync. If you're on Ubuntu and you do apt-get update, it goes to [13:20.140 --> 13:24.780] the Ubuntu servers and it grabs a list of all the freshest packages that you can install. This [13:24.780 --> 13:30.040] is the equivalent in Pentoo. Emerge sync goes up to the Gentoo servers and the Pentoo servers, [13:30.040 --> 13:34.580] it asks for the list of packages that can be installed, their versions, their dependencies, [13:34.580 --> 13:40.480] those things, all get synced down to your system. Once you're done with that, you can install [13:40.480 --> 13:46.740] whatever new things you want, you can upgrade whatever new things you want. I could spend [13:46.740 --> 13:52.840] hours talking about the esoteric uses of Gentoo on the command line, and I will probably save [13:52.840 --> 13:59.320] that for a different audience, but Gentoo is, as of this moment and as of several years ago, [13:59.320 --> 14:05.860] the best documented Linux distro out there. A bunch of the other Linux distros actually point [14:05.860 --> 14:11.840] to Gentoo wiki to document how to do things because the Gentoo users install the package and [14:11.840 --> 14:16.040] then they have to configure it themselves. I do most of the configuration on my end the way I [14:16.040 --> 14:19.840] want it so that the users have something that works a little bit better, but by default with a [14:19.840 --> 14:24.220] Gentoo package you get the package and then you configure it yourself. So the documentation [14:24.220 --> 14:28.920] has to be really top notch. So just googling for any of these things that you want to [14:28.920 --> 14:34.080] configure, install, how to use Gentoo, how to use Pentoo, how to make all this work, all of [14:34.080 --> 14:38.620] the documentation is there and it's really great. So I spend an awful lot of time on this [14:38.620 --> 14:43.620] because even if none of you ever use it, me and my team are still going to use it because we [14:43.620 --> 14:47.580] think it's the best thing out there. And if you want to play the capture the flag, we [14:47.580 --> 14:53.780] highly recommend going to Pentoo.ch and downloading the RC3 release that I just made [14:54.600 --> 14:59.780] about an hour ago and you can actually have the latest of absolutely everything ready to go [14:59.780 --> 15:04.820] and play the capture the flag. If you would like to play with your Windows based tablet, [15:04.820 --> 15:09.900] that's great and I wish you all the best of luck and I don't think any of us will be able to [15:09.900 --> 15:15.080] help you at all. But if you use Pentoo and it's broken and you want to wring me around the [15:15.080 --> 15:22.500] neck, I'm right here so you can throttle me while I try to fix it. Justin, was that a [15:22.500 --> 15:27.200] comment from the peanut gallery or are we all set here? All right, so as promised, we're [15:27.200 --> 15:31.600] going to have a quick ten minute recess and do any announcements that we need to do and [15:31.600 --> 15:35.120] then we're going to have our next speaker come on up. So thank you for your time.