WEBVTT

00:00.350 --> 00:04.210
Because I really have to... Oh, I'm live?

00:04.450 --> 00:07.590
Okay, I should probably not complete that sentence then.

00:09.990 --> 00:11.030
Hi!

00:12.370 --> 00:16.910
Now that is the exact kind of response I expected to get when I stood on stage.

00:17.550 --> 00:19.230
Floor, whatever.

00:19.330 --> 00:21.410
So, my name is Zero Chaos.

00:21.410 --> 00:26.370
I made a small Linux distribution called Pen2 that we're using for the wireless capture of the flag.

00:26.370 --> 00:27.990
And I'm going to talk about it.

00:28.030 --> 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.

00:42.090 --> 00:43.850
Linux is a wonderful thing.

00:43.850 --> 00:48.950
Those of you who don't use Linux, stop doing whatever you're doing and start using Linux.

00:49.030 --> 00:52.390
Especially if you are in a place like this, seriously.

00:52.490 --> 00:56.430
And dude with the Mac who gave me the thumbs up, I'm super sorry for your life choices.

00:56.630 --> 00:57.550
Seriously.

00:58.190 --> 00:59.570
Yeah, it's not the same.

00:59.570 --> 01:00.910
VM's not the same.

01:01.150 --> 01:01.870
Okay.

01:01.870 --> 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.

01:13.450 --> 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.

01:25.310 --> 01:27.710
So if you all want to try it, that's great.

01:27.950 --> 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.

01:45.290 --> 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.

01:53.970 --> 01:58.170
All Linux distributions are essentially Linux.

01:58.410 --> 02:00.390
I know, it sounds weird, right?

02:00.390 --> 02:02.750
But all Linux distributions are essentially Linux.

02:02.750 --> 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?

02:13.150 --> 02:16.770
All of these are essentially the same.

02:16.830 --> 02:20.090
They all work essentially the same.

02:20.090 --> 02:22.930
This is XFCE for a desktop environment.

02:22.930 --> 02:25.010
Some of them are Gnome or KDE.

02:25.030 --> 02:25.730
They look different.

02:25.730 --> 02:27.370
They all do the same thing.

02:27.370 --> 02:29.190
Debian exists for a reason.

02:29.190 --> 02:31.030
Ubuntu exists for a reason.

02:31.030 --> 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.

02:37.510 --> 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.

02:44.190 --> 02:46.790
And I am not here to make any converts.

02:46.790 --> 02:48.410
I really couldn't possibly care less.

02:48.410 --> 02:51.430
If you like what I do, that's great and otherwise that's fine.

02:51.430 --> 02:54.750
We're using it for the capture the flag because guess what?

02:54.750 --> 02:56.970
It has the ability to win all the flags.

02:57.350 --> 02:59.390
Might help a little bit, I don't know.

02:59.390 --> 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.

03:14.310 --> 03:17.370
So 22 minutes and go.

03:25.600 --> 03:27.880
Do I still light up when I talk like this?

03:27.880 --> 03:28.900
Is this going to work?

03:28.900 --> 03:29.800
I'll just project.

03:29.800 --> 03:30.440
Okay.

03:31.900 --> 03:33.300
Yeah, I apologize.

03:33.300 --> 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.

03:37.700 --> 03:42.960
As I said before, this is the only part of Linux that I personally find useful.

03:43.000 --> 03:44.640
I am a keyboard jockey.

03:44.640 --> 03:46.920
My co-developers are keyboard jockeys.

03:46.960 --> 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.

03:53.520 --> 03:54.740
Does it work?

03:54.740 --> 03:56.620
The menu system does not work at all.

03:56.620 --> 03:57.200
Thank you, sir.

03:57.200 --> 03:58.560
That's a great question.

03:58.600 --> 04:02.760
A lot of times when you go in here, you'll think, oh, here's all the Bluetooth tools in Pentoo.

04:02.940 --> 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?

04:11.480 --> 04:13.260
That's... I tried to run a library.

04:13.560 --> 04:17.520
That's probably... that would be embarrassing if I had anything to do with this project.

04:19.080 --> 04:24.160
So in general, this will give you a quick idea of what is installed and what is not installed.

04:24.160 --> 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.

04:35.900 --> 04:42.680
So all of the tools are installed that are necessary for the CTF but the menu links kind of are atrocious.

04:45.090 --> 04:48.230
That is out of the fact that I have nobody offering to fix it.

04:48.230 --> 04:51.350
So, you know, there's that.

04:52.030 --> 04:58.270
So some of the interesting things about Pentoo is it is based on the Gentoo distribution.

04:58.270 --> 05:03.430
Gentoo is a Linux distribution all centered around compiling everything from source.

05:03.450 --> 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.

05:09.930 --> 05:14.370
I know, that sounds really helpful when you're in a penetration test and trying to get stuff done, right?

05:14.770 --> 05:15.670
Right.

05:15.670 --> 05:19.470
So what we offer is a whole series of binary packages.

05:19.490 --> 05:25.810
Pentoo has a fully customizable system to tell you how you want to run the system.

05:25.930 --> 05:26.710
Okay?

05:27.050 --> 05:31.970
Profile is what controls how your system works for you.

05:31.970 --> 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.

05:47.710 --> 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?

05:59.110 --> 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,

06:15.090 --> 06:20.710
or if you are really a masochist and you want the absolute bleeding edge of everything.

06:20.710 --> 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.

06:29.230 --> 06:31.530
So you will get GQRX straight from Git.

06:31.530 --> 06:34.630
If they made a commit this morning, you will build it and you will get it.

06:35.450 --> 06:40.590
But if they made a broken commit this morning, you will build it and you will break it, okay?

06:40.750 --> 06:43.510
That's why it's called bleeding edge and not leading edge.

06:43.590 --> 06:46.150
Bleeding edge, you get cut a lot more, okay?

06:46.350 --> 06:47.910
So all of the options are there.

06:47.910 --> 06:51.130
You can run it like a normal Gen 2 system where you're building things for yourself.

06:51.130 --> 06:52.490
You can optimize it.

06:52.490 --> 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.

07:02.370 --> 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?

07:10.670 --> 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.

07:21.450 --> 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.

07:38.380 --> 07:39.120
So what was that?

07:39.120 --> 07:40.680
That didn't work.

07:40.680 --> 07:41.540
There we go.

07:42.800 --> 07:45.140
That text is probably too small to read, isn't it?

07:45.740 --> 07:47.160
Nope, fairly good.

07:48.520 --> 07:49.860
You don't like my font.

07:49.860 --> 07:50.880
I don't like it either.

07:50.880 --> 07:51.660
That's fine.

07:52.180 --> 07:54.760
Pentoo is a series of meta packages.

07:54.980 --> 07:58.160
The master meta package is called Pentoo Pentoo.

07:58.160 --> 08:01.480
It's from the Pentoo project and it's the Pentoo meta package.

08:01.500 --> 08:04.440
It has what's called use flags on it.

08:04.440 --> 08:08.420
These control what features you want versus what features you don't.

08:08.420 --> 08:10.580
It's an integral part of the way Gen 2 works.

08:10.580 --> 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.

08:22.940 --> 08:25.020
Yeah, so you get the idea.

08:25.260 --> 08:29.940
The master Pentoo flags control which tool sets you install.

08:29.940 --> 08:34.080
So we have things if you don't do any network scanning, you can drop off the analyzers.

08:34.080 --> 08:36.160
If you don't do Bluetooth, you can drop off Bluetooth.

08:36.160 --> 08:40.220
If you only do wireless, you can remove all the flags and just put in the Wi-Fi stuff.

08:40.260 --> 08:48.560
Each one of these actually controls a separate meta package that has all of the different wireless tools associated with it.

08:49.260 --> 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.

08:55.460 --> 08:59.180
So for instance, Pentoo Wireless has a couple of different use flags on it.

08:59.180 --> 09:01.120
B43 is the Broadcom drivers.

09:01.120 --> 09:03.520
It's got some extra fixes to make sure those work.

09:03.660 --> 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.

09:13.480 --> 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.

09:18.740 --> 09:22.040
WPE is the Wireless Pwnage Edition of FreeRadius.

09:22.060 --> 09:27.480
If you want to do man-in-the-middle on FreeRadius, then you want the Wireless Pwnage Edition stuff.

09:27.480 --> 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.

09:36.840 --> 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.

09:43.620 --> 09:49.400
You have just the tools you want configured just the way you want them to work and everything works for you.

09:49.460 --> 09:53.980
Every single default option has binary packages built twice a day.

09:53.980 --> 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.

10:02.840 --> 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.

10:09.780 --> 10:13.440
I could do it four times a day, but people just don't update stuff that much.

10:13.540 --> 10:18.840
So on a regular like i7 processor, you can literally just tell it to build every package in the world.

10:18.840 --> 10:21.560
You can fall asleep and it'll be done before you wake up.

10:21.560 --> 10:27.180
And if you're really doing that in the middle of a pen test, I again recommend prepping better next time.

10:29.120 --> 10:35.480
Okay, the menus definitely are there for mostly the eye candy.

10:35.480 --> 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.

10:46.560 --> 10:49.280
The full Android SDK is installed on here.

10:49.280 --> 10:51.640
Python, Perl, GCC.

10:52.220 --> 10:53.520
Does anybody still use Ruby?

10:53.520 --> 10:54.760
Oh, right, Metasploit.

10:54.760 --> 10:55.540
Thanks, guys.

10:55.540 --> 10:57.080
Really appreciate that.

10:57.900 --> 11:00.020
All of your forensic tools are installed.

11:00.020 --> 11:03.220
You can do all kinds of different forensics things.

11:03.220 --> 11:04.560
You can read raw disks.

11:04.560 --> 11:06.080
You can read raw binaries.

11:06.080 --> 11:10.340
We've got multiple different debuggers on here for people that prefer one versus the other.

11:10.340 --> 11:14.540
The only thing that I won't do is distribute something that I'm not legally allowed to distribute.

11:15.320 --> 11:17.380
I know, that came as a shock to all of you, didn't it?

11:17.380 --> 11:19.600
A hacker with some kind of an ethics code.

11:21.280 --> 11:23.560
It is entirely unheard of.

11:26.660 --> 11:27.900
Let's see here.

11:31.100 --> 11:33.640
What aren't you allowed to distribute that you could be distributing?

11:33.640 --> 11:35.140
That's actually a really good question.

11:35.140 --> 11:39.080
We've had several people already today talk about Baudline, for instance.

11:39.080 --> 11:41.720
It's a program widely used in SDR circles.

11:41.940 --> 11:43.960
And it's not open source.

11:43.960 --> 11:48.040
And the license says you can download it and use it for free, but you can't redistribute it.

11:48.060 --> 11:51.820
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:55.060
There's also some other things that are, say, patented.

11:55.200 --> 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.

12:00.320 --> 12:04.520
So, for instance, you can just go in and say Emerge Baudline.

12:07.440 --> 12:08.720
I'm busy.

12:08.720 --> 12:09.760
I don't want to move out.

12:11.160 --> 12:14.380
If you want to install something like Baudline, it's very simple.

12:14.380 --> 12:20.060
You can just say Emerge, which is the package manager for Gentoo, and then Baudline, and you can install Baudline.

12:20.060 --> 12:22.660
But if I redistribute it, I get into trouble.

12:22.720 --> 12:27.140
For those of you that do not live on the command line, some of the other tools actually do work.

12:27.140 --> 12:30.120
The ones that aren't in the Pentium menu actually mostly work.

12:30.120 --> 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.

12:40.940 --> 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.

12:51.100 --> 12:57.060
Little check boxes, upgrade buttons, and all that stuff that, you know, new Debian and Ubuntu users are used to.

12:57.380 --> 13:03.200
Most of us don't like the GUI, and that's just my development team, to be quite honest with you.

13:03.200 --> 13:04.700
None of us like GUI stuff.

13:04.700 --> 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.

13:10.000 --> 13:16.040
The most important thing to do is emerge sync.

13:16.160 --> 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.

13:24.480 --> 13:26.660
This is the equivalent in Pentoo.

13:26.660 --> 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.

13:37.800 --> 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.

13:45.560 --> 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.

14:03.080 --> 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.

14:13.660 --> 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.

14:23.520 --> 14:26.160
So the documentation has to be really top notch.

14:26.180 --> 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.

14:36.840 --> 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.

14:45.260 --> 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.

15:01.220 --> 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.

15:11.040 --> 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.

15:21.520 --> 15:24.500
Justin, was that a comment from the peanut gallery or are we all set here?

15:24.720 --> 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.

15:33.780 --> 15:35.120
So thank you for your time.

