1 00:00:00,350 --> 00:00:04,210 Because I really have to... Oh, I'm live? 2 00:00:04,450 --> 00:00:07,590 Okay, I should probably not complete that sentence then. 3 00:00:09,990 --> 00:00:11,030 Hi! 4 00:00:12,370 --> 00:00:16,910 Now that is the exact kind of response I expected to get when I stood on stage. 5 00:00:17,550 --> 00:00:19,230 Floor, whatever. 6 00:00:19,330 --> 00:00:21,410 So, my name is Zero Chaos. 7 00:00:21,410 --> 00:00:26,370 I made a small Linux distribution called Pen2 that we're using for the wireless capture of the flag. 8 00:00:26,370 --> 00:00:27,990 And I'm going to talk about it. 9 00:00:28,030 --> 00:00:40,630 I was scheduled to talk about it for an hour, but since none of you will actually care and we've got a guy who knows what he's talking about for the next talk, we're just going to go ahead and keep this on time and we're going to get him on the stage so that he can talk and be awesome. 10 00:00:42,090 --> 00:00:43,850 Linux is a wonderful thing. 11 00:00:43,850 --> 00:00:48,950 Those of you who don't use Linux, stop doing whatever you're doing and start using Linux. 12 00:00:49,030 --> 00:00:52,390 Especially if you are in a place like this, seriously. 13 00:00:52,490 --> 00:00:56,430 And dude with the Mac who gave me the thumbs up, I'm super sorry for your life choices. 14 00:00:56,630 --> 00:00:57,550 Seriously. 15 00:00:58,190 --> 00:00:59,570 Yeah, it's not the same. 16 00:00:59,570 --> 00:01:00,910 VM's not the same. 17 00:01:01,150 --> 00:01:01,870 Okay. 18 00:01:01,870 --> 00:01:13,450 We chose Pen2 because I was teasing everybody horribly as they were trying to use different other Linux distributions that will remain nameless and failing as all the tools wouldn't work properly. 19 00:01:13,450 --> 00:01:25,310 I've spent the last ten years or so working on Pen2, making sure that the wireless tools work, making sure that the new SDR stuff all works, and I really am actually proud of the release that's on my website right now. 20 00:01:25,310 --> 00:01:27,710 So if you all want to try it, that's great. 21 00:01:27,950 --> 00:01:45,190 I'm not going to spend a lot of time on talking about how to use the individual tools because we have people that know what they're doing for that and they'll tell you about like Russ talked about SDR and like our good friend Eric's going to talk about 802.11ac stuff and we've got all kinds of wireless hacking talks for all kinds of protocols and different hardware. 22 00:01:45,290 --> 00:01:53,630 It's just my job to make sure that when you go to hack those things, you can just plug it into your box and kind of have a good starting point to do that. 23 00:01:53,970 --> 00:01:58,170 All Linux distributions are essentially Linux. 24 00:01:58,410 --> 00:02:00,390 I know, it sounds weird, right? 25 00:02:00,390 --> 00:02:02,750 But all Linux distributions are essentially Linux. 26 00:02:02,750 --> 00:02:12,790 You see, I've got this little X window-y thing and I've got some little tabs at the top and there's buttons and then there's my favorite button, it makes the useful part show up like that, okay? 27 00:02:13,150 --> 00:02:16,770 All of these are essentially the same. 28 00:02:16,830 --> 00:02:20,090 They all work essentially the same. 29 00:02:20,090 --> 00:02:22,930 This is XFCE for a desktop environment. 30 00:02:22,930 --> 00:02:25,010 Some of them are Gnome or KDE. 31 00:02:25,030 --> 00:02:25,730 They look different. 32 00:02:25,730 --> 00:02:27,370 They all do the same thing. 33 00:02:27,370 --> 00:02:29,190 Debian exists for a reason. 34 00:02:29,190 --> 00:02:31,030 Ubuntu exists for a reason. 35 00:02:31,030 --> 00:02:37,510 Kali Linux exists for a reason because people are trying to make their Linux distribution do what they want it to do. 36 00:02:37,510 --> 00:02:43,690 And if you are a competent Linux user and you are happy with whatever you are using and it meets your needs, then that's great. 37 00:02:44,190 --> 00:02:46,790 And I am not here to make any converts. 38 00:02:46,790 --> 00:02:48,410 I really couldn't possibly care less. 39 00:02:48,410 --> 00:02:51,430 If you like what I do, that's great and otherwise that's fine. 40 00:02:51,430 --> 00:02:54,750 We're using it for the capture the flag because guess what? 41 00:02:54,750 --> 00:02:56,970 It has the ability to win all the flags. 42 00:02:57,350 --> 00:02:59,390 Might help a little bit, I don't know. 43 00:02:59,390 --> 00:03:14,310 So what I'm going to do is I'm going to show you just some of the features of Pentoo that are going to help you out to do these things and give you a really short survey of the tools and all of my embarrassing mistakes so that when you hit it, I don't have to answer the same question a hundred times. 44 00:03:14,310 --> 00:03:17,370 So 22 minutes and go. 45 00:03:25,600 --> 00:03:27,880 Do I still light up when I talk like this? 46 00:03:27,880 --> 00:03:28,900 Is this going to work? 47 00:03:28,900 --> 00:03:29,800 I'll just project. 48 00:03:29,800 --> 00:03:30,440 Okay. 49 00:03:31,900 --> 00:03:33,300 Yeah, I apologize. 50 00:03:33,300 --> 00:03:37,140 I'm short and I'm going to sit at the keyboard but I'm not that pretty so deal with it. 51 00:03:37,700 --> 00:03:42,960 As I said before, this is the only part of Linux that I personally find useful. 52 00:03:43,000 --> 00:03:44,640 I am a keyboard jockey. 53 00:03:44,640 --> 00:03:46,920 My co-developers are keyboard jockeys. 54 00:03:46,960 --> 00:03:52,340 So the first and most important thing about Pentoo that I want you all to know is we have a menu system. 55 00:03:53,520 --> 00:03:54,740 Does it work? 56 00:03:54,740 --> 00:03:56,620 The menu system does not work at all. 57 00:03:56,620 --> 00:03:57,200 Thank you, sir. 58 00:03:57,200 --> 00:03:58,560 That's a great question. 59 00:03:58,600 --> 00:04:02,760 A lot of times when you go in here, you'll think, oh, here's all the Bluetooth tools in Pentoo. 60 00:04:02,940 --> 00:04:10,940 No, that's a few of the Bluetooth tools and if you click on some of them, funny things happen like... did that just try to run a sys? 61 00:04:11,480 --> 00:04:13,260 That's... I tried to run a library. 62 00:04:13,560 --> 00:04:17,520 That's probably... that would be embarrassing if I had anything to do with this project. 63 00:04:19,080 --> 00:04:24,160 So in general, this will give you a quick idea of what is installed and what is not installed. 64 00:04:24,160 --> 00:04:35,900 But 99 times out of 100, if you were to go onto the command line and type something useful like I want to run GQRX and you're really lucky GQRX will actually pop up if you actually have an SDR plugged in. 65 00:04:35,900 --> 00:04:42,680 So all of the tools are installed that are necessary for the CTF but the menu links kind of are atrocious. 66 00:04:45,090 --> 00:04:48,230 That is out of the fact that I have nobody offering to fix it. 67 00:04:48,230 --> 00:04:51,350 So, you know, there's that. 68 00:04:52,030 --> 00:04:58,270 So some of the interesting things about Pentoo is it is based on the Gentoo distribution. 69 00:04:58,270 --> 00:05:03,430 Gentoo is a Linux distribution all centered around compiling everything from source. 70 00:05:03,450 --> 00:05:09,930 That means that you will try to install something and it will take several hours and then you'll come back and you'll have your tool installed. 71 00:05:09,930 --> 00:05:14,370 I know, that sounds really helpful when you're in a penetration test and trying to get stuff done, right? 72 00:05:14,770 --> 00:05:15,670 Right. 73 00:05:15,670 --> 00:05:19,470 So what we offer is a whole series of binary packages. 74 00:05:19,490 --> 00:05:25,810 Pentoo has a fully customizable system to tell you how you want to run the system. 75 00:05:25,930 --> 00:05:26,710 Okay? 76 00:05:27,050 --> 00:05:31,970 Profile is what controls how your system works for you. 77 00:05:31,970 --> 00:05:47,490 We have both default, which is regular Linux, and we have hardened options for Pentoo where you'll actually have a whole bunch of kernel hardening, compiler hardening to make sure that tools are far more stable and that they're not so easy to exploit installed. 78 00:05:47,710 --> 00:05:59,110 Once you choose whether you want to use the default, which is better for like exploit development, or if you want to use the hardened, which is better for actual red team attacking so you don't end up part of the victim pool, okay? 79 00:05:59,110 --> 00:06:15,090 Once you choose which one of those you want to run, you actually get a choice in the installer whether you want to run the regular profile where you build things for yourself, the binary profile where you actually download preinstalled binaries directly from our servers so that you don't have to compile everything for yourself, 80 00:06:15,090 --> 00:06:20,710 or if you are really a masochist and you want the absolute bleeding edge of everything. 81 00:06:20,710 --> 00:06:29,230 The bleeding edge one will actually compile almost everything on the system straight from the version control system of the upstream project. 82 00:06:29,230 --> 00:06:31,530 So you will get GQRX straight from Git. 83 00:06:31,530 --> 00:06:34,630 If they made a commit this morning, you will build it and you will get it. 84 00:06:35,450 --> 00:06:40,590 But if they made a broken commit this morning, you will build it and you will break it, okay? 85 00:06:40,750 --> 00:06:43,510 That's why it's called bleeding edge and not leading edge. 86 00:06:43,590 --> 00:06:46,150 Bleeding edge, you get cut a lot more, okay? 87 00:06:46,350 --> 00:06:47,910 So all of the options are there. 88 00:06:47,910 --> 00:06:51,130 You can run it like a normal Gen 2 system where you're building things for yourself. 89 00:06:51,130 --> 00:06:52,490 You can optimize it. 90 00:06:52,490 --> 00:07:02,370 You can, well, just go see, what is it, funrollloops.info and see all the funny things people make fun of Gen 2 for ridiculous C flags and I have to agree with all of it. 91 00:07:02,370 --> 00:07:10,510 Or you can just download from the binary packages that we build for you twice a day and you'll have the latest of everything twice a day, okay? 92 00:07:10,670 --> 00:07:21,450 That is probably my favorite part of Gen 2 because it gives you these choices and that's why I have ported that into Pentoo and really, really abused it for that fact. 93 00:07:21,450 --> 00:07:37,960 The other thing that is available in here is a full flag system to make sure that you only have the tools that you want to have installed on the system. 94 00:07:38,380 --> 00:07:39,120 So what was that? 95 00:07:39,120 --> 00:07:40,680 That didn't work. 96 00:07:40,680 --> 00:07:41,540 There we go. 97 00:07:42,800 --> 00:07:45,140 That text is probably too small to read, isn't it? 98 00:07:45,740 --> 00:07:47,160 Nope, fairly good. 99 00:07:48,520 --> 00:07:49,860 You don't like my font. 100 00:07:49,860 --> 00:07:50,880 I don't like it either. 101 00:07:50,880 --> 00:07:51,660 That's fine. 102 00:07:52,180 --> 00:07:54,760 Pentoo is a series of meta packages. 103 00:07:54,980 --> 00:07:58,160 The master meta package is called Pentoo Pentoo. 104 00:07:58,160 --> 00:08:01,480 It's from the Pentoo project and it's the Pentoo meta package. 105 00:08:01,500 --> 00:08:04,440 It has what's called use flags on it. 106 00:08:04,440 --> 00:08:08,420 These control what features you want versus what features you don't. 107 00:08:08,420 --> 00:08:10,580 It's an integral part of the way Gen 2 works. 108 00:08:10,580 --> 00:08:22,320 If you want to build a system that has no X windows at all, you can do that and you'll save all kinds of space and you won't be pulling in Xorg when you try to install Vim, Koff, Koff, Debian, Red Hat, Ubuntu. 109 00:08:22,940 --> 00:08:25,020 Yeah, so you get the idea. 110 00:08:25,260 --> 00:08:29,940 The master Pentoo flags control which tool sets you install. 111 00:08:29,940 --> 00:08:34,080 So we have things if you don't do any network scanning, you can drop off the analyzers. 112 00:08:34,080 --> 00:08:36,160 If you don't do Bluetooth, you can drop off Bluetooth. 113 00:08:36,160 --> 00:08:40,220 If you only do wireless, you can remove all the flags and just put in the Wi-Fi stuff. 114 00:08:40,260 --> 00:08:48,560 Each one of these actually controls a separate meta package that has all of the different wireless tools associated with it. 115 00:08:49,260 --> 00:08:55,460 So you can see each one of the different tools and you can pull in just what you need, just what is supported for your system. 116 00:08:55,460 --> 00:08:59,180 So for instance, Pentoo Wireless has a couple of different use flags on it. 117 00:08:59,180 --> 00:09:01,120 B43 is the Broadcom drivers. 118 00:09:01,120 --> 00:09:03,520 It's got some extra fixes to make sure those work. 119 00:09:03,660 --> 00:09:13,380 CUDA is the graphical acceleration from NVIDIA to make sure you can do password cracking using that nice, expensive, very hot GPU that chills your battery much faster than it should have. 120 00:09:13,480 --> 00:09:18,560 GPS support, if you're going to be doing WordDrive and things like that, you can leave the GPS tools off if you don't need them. 121 00:09:18,740 --> 00:09:22,040 WPE is the Wireless Pwnage Edition of FreeRadius. 122 00:09:22,060 --> 00:09:27,480 If you want to do man-in-the-middle on FreeRadius, then you want the Wireless Pwnage Edition stuff. 123 00:09:27,480 --> 00:09:36,460 If you don't want to do that and you want the RADIUS server to actually work, then you can just disable that flag and you'll get a RADIUS server that works, you know, like a RADIUS server. 124 00:09:36,840 --> 00:09:43,620 The point is, is all of these are in here so that you can customize this to do exactly what you want it to do. 125 00:09:43,620 --> 00:09:49,400 You have just the tools you want configured just the way you want them to work and everything works for you. 126 00:09:49,460 --> 00:09:53,980 Every single default option has binary packages built twice a day. 127 00:09:53,980 --> 00:10:02,840 When you change the defaults, you get your system customized the way you want at the small price of however fast your processor is compiling those tools. 128 00:10:02,840 --> 00:10:09,780 I build every single package in Pentoo twice a day and my server spends the other time just kind of sitting there chilling. 129 00:10:09,780 --> 00:10:13,440 I could do it four times a day, but people just don't update stuff that much. 130 00:10:13,540 --> 00:10:18,840 So on a regular like i7 processor, you can literally just tell it to build every package in the world. 131 00:10:18,840 --> 00:10:21,560 You can fall asleep and it'll be done before you wake up. 132 00:10:21,560 --> 00:10:27,180 And if you're really doing that in the middle of a pen test, I again recommend prepping better next time. 133 00:10:29,120 --> 00:10:35,480 Okay, the menus definitely are there for mostly the eye candy. 134 00:10:35,480 --> 00:10:46,560 Some of these things really do work, but they give you a nice survey of what's installed, a whole bunch of things for mobile devices, reading information off of iPhones, reading information off of Androids. 135 00:10:46,560 --> 00:10:49,280 The full Android SDK is installed on here. 136 00:10:49,280 --> 00:10:51,640 Python, Perl, GCC. 137 00:10:52,220 --> 00:10:53,520 Does anybody still use Ruby? 138 00:10:53,520 --> 00:10:54,760 Oh, right, Metasploit. 139 00:10:54,760 --> 00:10:55,540 Thanks, guys. 140 00:10:55,540 --> 00:10:57,080 Really appreciate that. 141 00:10:57,900 --> 00:11:00,020 All of your forensic tools are installed. 142 00:11:00,020 --> 00:11:03,220 You can do all kinds of different forensics things. 143 00:11:03,220 --> 00:11:04,560 You can read raw disks. 144 00:11:04,560 --> 00:11:06,080 You can read raw binaries. 145 00:11:06,080 --> 00:11:10,340 We've got multiple different debuggers on here for people that prefer one versus the other. 146 00:11:10,340 --> 00:11:14,540 The only thing that I won't do is distribute something that I'm not legally allowed to distribute. 147 00:11:15,320 --> 00:11:17,380 I know, that came as a shock to all of you, didn't it? 148 00:11:17,380 --> 00:11:19,600 A hacker with some kind of an ethics code. 149 00:11:21,280 --> 00:11:23,560 It is entirely unheard of. 150 00:11:26,660 --> 00:11:27,900 Let's see here. 151 00:11:31,100 --> 00:11:33,640 What aren't you allowed to distribute that you could be distributing? 152 00:11:33,640 --> 00:11:35,140 That's actually a really good question. 153 00:11:35,140 --> 00:11:39,080 We've had several people already today talk about Baudline, for instance. 154 00:11:39,080 --> 00:11:41,720 It's a program widely used in SDR circles. 155 00:11:41,940 --> 00:11:43,960 And it's not open source. 156 00:11:43,960 --> 00:11:48,040 And the license says you can download it and use it for free, but you can't redistribute it. 157 00:11:48,060 --> 00:11:51,820 Which means if I put it on a live CD and give it to you, I'm breaking their licensing terms. 158 00:11:52,000 --> 00:11:55,060 There's also some other things that are, say, patented. 159 00:11:55,200 --> 00:12:00,280 And the source code is free speech, which means if you go in here and you want to install it, you can. 160 00:12:00,320 --> 00:12:04,520 So, for instance, you can just go in and say Emerge Baudline. 161 00:12:07,440 --> 00:12:08,720 I'm busy. 162 00:12:08,720 --> 00:12:09,760 I don't want to move out. 163 00:12:11,160 --> 00:12:14,380 If you want to install something like Baudline, it's very simple. 164 00:12:14,380 --> 00:12:20,060 You can just say Emerge, which is the package manager for Gentoo, and then Baudline, and you can install Baudline. 165 00:12:20,060 --> 00:12:22,660 But if I redistribute it, I get into trouble. 166 00:12:22,720 --> 00:12:27,140 For those of you that do not live on the command line, some of the other tools actually do work. 167 00:12:27,140 --> 00:12:30,120 The ones that aren't in the Pentium menu actually mostly work. 168 00:12:30,120 --> 00:12:40,760 So, there are things like the porthole portage front end, which is a graphical user interface for portage, so you can update things, you can install things straight from here. 169 00:12:40,940 --> 00:12:51,100 So, you've got a full list of all the different categories of tools, and then you've got a list of packages in each category that you can grab, and then you can go through and pick and choose whatever you want. 170 00:12:51,100 --> 00:12:57,060 Little check boxes, upgrade buttons, and all that stuff that, you know, new Debian and Ubuntu users are used to. 171 00:12:57,380 --> 00:13:03,200 Most of us don't like the GUI, and that's just my development team, to be quite honest with you. 172 00:13:03,200 --> 00:13:04,700 None of us like GUI stuff. 173 00:13:04,700 --> 00:13:10,000 So, there's a few things that I want to cover right before I turn this over to a man who can actually talk about interesting stuff. 174 00:13:10,000 --> 00:13:16,040 The most important thing to do is emerge sync. 175 00:13:16,160 --> 00:13:24,420 If you're on Ubuntu and you do apt-get update, it goes to the Ubuntu servers and it grabs a list of all the freshest packages that you can install. 176 00:13:24,480 --> 00:13:26,660 This is the equivalent in Pentoo. 177 00:13:26,660 --> 00:13:37,800 Emerge sync goes up to the Gentoo servers and the Pentoo servers, it asks for the list of packages that can be installed, their versions, their dependencies, those things, all get synced down to your system. 178 00:13:37,800 --> 00:13:43,820 Once you're done with that, you can install whatever new things you want, you can upgrade whatever new things you want. 179 00:13:45,560 --> 00:14:02,900 I could spend hours talking about the esoteric uses of Gentoo on the command line, and I will probably save that for a different audience, but Gentoo is, as of this moment and as of several years ago, the best documented Linux distro out there. 180 00:14:03,080 --> 00:14:13,640 A bunch of the other Linux distros actually point to Gentoo wiki to document how to do things because the Gentoo users install the package and then they have to configure it themselves. 181 00:14:13,660 --> 00:14:23,520 I do most of the configuration on my end the way I want it so that the users have something that works a little bit better, but by default with a Gentoo package you get the package and then you configure it yourself. 182 00:14:23,520 --> 00:14:26,160 So the documentation has to be really top notch. 183 00:14:26,180 --> 00:14:36,440 So just googling for any of these things that you want to configure, install, how to use Gentoo, how to use Pentoo, how to make all this work, all of the documentation is there and it's really great. 184 00:14:36,840 --> 00:14:45,080 So I spend an awful lot of time on this because even if none of you ever use it, me and my team are still going to use it because we think it's the best thing out there. 185 00:14:45,260 --> 00:15:01,220 And if you want to play the capture the flag, we highly recommend going to Pentoo.ch and downloading the RC3 release that I just made about an hour ago and you can actually have the latest of absolutely everything ready to go and play the capture the flag. 186 00:15:01,220 --> 00:15:11,040 If you would like to play with your Windows based tablet, that's great and I wish you all the best of luck and I don't think any of us will be able to help you at all. 187 00:15:11,040 --> 00:15:19,200 But if you use Pentoo and it's broken and you want to wring me around the neck, I'm right here so you can throttle me while I try to fix it. 188 00:15:21,520 --> 00:15:24,500 Justin, was that a comment from the peanut gallery or are we all set here? 189 00:15:24,720 --> 00:15:33,780 All right, so as promised, we're going to have a quick ten minute recess and do any announcements that we need to do and then we're going to have our next speaker come on up. 190 00:15:33,780 --> 00:15:35,120 So thank you for your time.