I stand for the next to last talk on the last day, putting up with the fire marshal and the Jesus freaks in there and all that. I'm Inertia, and I'm here to talk about Intermart COS. It's a distribution of Linux that the Nomad Mobile Research Center developed. Nomad started this project a long time ago. It never really got off the ground, but we've been working pretty hard on it after the events that Nomads talked about yesterday at our panel. Overall goals for the project, we want a stable, secure, trusted system. Users, initially we were going to make this kind of like as hard to install as we possibly could. We'd basically provide you with a floppy, and you'd get a shell, and then tell you to untar this file or some shit like that. We changed that when we realized that we wanted to make it more accessible to people that weren't really that knowledgeable about security. So that it comes up locked down. And you don't... So that the... The administrator just has to unlock things in order to get access to the internet and everything so that it's more secure. The intended uses, things like, you know, human rights activists and stuff like that. Although if you heard Philip Zimmerman's talk at Black Hat, I probably shouldn't say that because now I can't use that in court to get out of shit. So... Anyway, like I said, Nomad came up with this idea. His first idea was to use a Slackware install and kind of hack through things and hodgepodge it together. It never really got off the ground. What I think what the problem was is that it was a little... It was like too... There was too much overhead required to get it out the door. So when I came on, I said, well, hey, what... You know, why don't we start with something else, you know, and we talked about several different distributions, you know, Red Hat and Debian and stuff like that. We ended up going with Debian. And the reason why we decided to do that was because I've had several problems with Red Hats, Red Hat before, and the quality of Debian just seemed to be far and above the best of any distribution that I could find. So... So... Their documentation was up to date. They had everything about how to make a derivative CD. It was just a really high quality distribution. And so we decided to go with that. Now, the other thing is, you know, why not just start from scratch and do a completely new distribution? We thought about that as well. But in the end, you know, the only real rationale for that would be... Just, you know, bragging rights. You know, we would have to make our own installer. We'd have to make our own, you know, CD creation, you know, system and everything. And so it just really didn't seem to be that big of a problem to take one that already exists. I mean, that's one of the hacker tenets. Use what's out there, right? So that's what we did. All right. All right. So we got a Debian-based OS. We got a tweaked kernel that's still running kernel 2.2. That's how old this project is. Nomad is, you know, I didn't do everything on the project. Took all of us to do it. Nomad was the guy that did most of the kernel work. So I'll talk about that here. We got 2.2.25 right now. I think we got an update to that. The open wall patch, the haplenix pass, trusted path and forest, and we got random IP IDs. We didn't go with the GR security patch because Nomad thought that it would be a little more. They had some cool stuff in there, but Nomad thought that it was more difficult to set up. So we ought to stay with what we got here and later on move on to that if we could. Now, I should note that this isn't, the idea for this coming out now with a 1.0 release, there's certainly going to be a lot of problems. And I'm sure, I mean, you guys, you're going to find a lot, I'm sure. But the idea is kind of like why we're releasing Encrypt and Incovert, you know, to get you guys to think and to try and come up with new ideas that maybe, you know, avenues we haven't even thought about. Or thought of, of how to lock the box down, how to do things. So when I talk about things like why we, for instance, we, let me see here. But why we, one of the goals of the project is we're trying to enforce, to help not just the security of the administrator, but the security of the users. And the privacy of the users as well. That's why we have Encrypt on there. We're planning on having cryptographic file systems. We don't have it yet. We want to get this out to you guys so that you can use it, see what's wrong, see what you think can be improved, get it back to us, and, you know, away we go. We have some customized applications. Pine, I think, is it still 4.56? It might have been updated, but we tweaked that so that the, the headers come back all screwy so you, you don't know what's sending it. And Sendmail 8.12.9, we went with that. That, if you're familiar with Debian, they have three mini-distributions within itself. It's stable, testing, and unstable. Currently, or at the time of this writing, Sendmail 8.12.9 was an unstable. So you may ask, why did we use unstable in our shipped, shipped version? Well, we found a couple problems with, security problems. We found a couple problems with it, and Nomad felt safer going with Sendmail 8.12.9 as opposed to what's currently in Debian's. Yeah. That, right. The question was, why did we use Sendmail as opposed to something else? Debian, by default, installs EXIM, I think. And so why do we, why do we even bother selling Sendmail by default? Well, the reason for that is because it came down from the mountain on a, on a tablet from, from Nomad. He said, we're going to install Sendmail. So, if you don't like Sendmail, blame him. And we also, he, that, that's what he's most familiar with, and I haven't really, I'm not really a mailer guy, so I said, you know, what the fuck, we'll do that. The other thing we do is we auto-run Bastille by default during the second stage install, assuming that you choose Debian. So, if you choose to install Bastille, it auto-runs. I think, I think we're the only distribution that does that on install by default. The other things that we got going on is it installs and boots up in a locked-down state. We've, we've done the tests where we install the operating system. We have another system hooked up. We run Nmap against it repeatedly to make sure that everything's locked down and it, it comes back, everything's clean, locked down by default. You open it, the administrator opens it up. If they, if they, if they feel like they want to have a particular application running. We have Snort on there that's also installed. If you go through the, the task selection and select that. As I mentioned before, we have Encrypt and Encovert, which Nomad talked about yesterday. I was going to do this, and I'm really sorry I can't do it, but I, I was timing it, and I, I would go way over if I tried to do this. And explain every step to you guys, and I'm, I'm really sorry. There's just no time to, to do a, a live demonstration of it. Now, you may be wondering, like, how do we, how do we maintain that? Well, we have a, a, a, a package repository set up just like Debian. The system is nmrcos.nmrc.org. That is also set up in your app setup whenever you, whenever you, whenever you, whenever you, whenever you, whenever you, whenever you, whenever you install the, the, the system. It should automatically go out there and look for, for package updates. We don't have anything out there yet. When we get back, we're going to throw in Encrypt and Encovert and, and a few other goodies. The thing about apt, it lets us graft on to Debian. We don't have to customize every single application. By providing our own app server, you can run Debian's version of X Windows, even though we don't provide it, and even though we don't, may not, you know, support it. You know, essentially... you have X windows and all the associated garbage that goes along with it developing for a number COS if you want to develop for em or COS creating a non kernel package is really simple and it's actually already taken again by by basing it off of Debian you can already you can just go to the Debian website and check out the Debian developers reference which tells you exactly how to make a package if I had time to do the demonstration and I'm really sorry I would have shown you briefly how to do that creating the kernel package is very similar it's also very easy what you do is you use a Debian supplied tool kernel package that will tell you how to build it and install it and creates a dev for you there's really not not a whole lot you got to do it's it's they made it really easy you when you distribute your package you can either send it to us or FTP it to the to your own website there's there's documents out there that tell you how to how to set up your own app repository if you want so you can have yours ours then Debian's and kind of graft on to ours that way creating your own distro we have actually the Debian included tools to create a CD require that you have an entire mirror of the Debian archive or at least a section of it which makes it kind of makes it extremely actually disc intensive it's you know it's like it I don't know 80 gig for the whole thing I think right now we created some tools that allow you to to create a CD using a very minimal amount of disk space I think currently we're using like maybe a hundred fifty meg total for the creation to see and everything that's on there as an NMRC dash CD package so when you install that you can you can basically learn how to create your own NMRC OS based CDs and kind of do what we did to Debian let's see now there's a lot of future plans for this thing like I said we're going to implement a lot of a lot of things regarding privacy for the user not just privacy and security for the admin there's been a recent talk in the Red Hat community about opening up the the development process for Red Hat Linux and I've been playing around with that and I've got a semi working copy of an rpm Red Hat based version of my NMRC buena so I've also been talking to a lot of people for of this and so we were talking about having you know both or out there so that people that want to use an RPM or Red Hat based distro can do that as well and now I'm going to open this up to questions and follow-up because I'm sure you guys have a quite a few anything yeah I'm sorry I can't hear you let me run back there oh yeah can I get a bit more specific about Trusted Path and other kernel mods as I said Nomad was the primary developer on kernel mods and stuff like that so I'm gonna let him answer that that's alright hey the basically I'm on the Trusted Path when essentially what it does is in the kernel it enforces that when you run an executable it has to be owned by root it has to not be world or group writable it has to be in a directory owned by roots that it's not world or group writable and this applies even to root that way if someone gets on your box and puts some code in there and for some reason you've altered your path to actually execute from your current directory first for example which would be stupid but if you did that the thing has to be owned by root the whole idea is that if someone pops an account on the system then they're gonna have to they're gonna have to get roots to get their executable to run that doesn't kill everything I know someone's gonna say does it handle the like say a pearl dash E and then put your gobbledygook in there no it doesn't take care of that but it does at least kind of you know raise the bar a little bit as far as the other mods go the main thing is the the open ook mod wall patch, as well as, I don't know how many people are familiar with the HAP Linux patch. Those are the two main things. The HAP Linux patch mainly does some stuff for cherooting and a little bit better logging during p-tracing and stuff like that. A little more control over what's going on there. The HAP Linux patch, where is it from? From some guy named Hank. I can't remember the URL off the top of my head. Google is your friend. If you look for HAP Linux, you'll find the patch. It's like aimsgroup.com slash something or other. I can't remember the URL off the top of my head. Yeah, we looked at the TrustedW project. There's a lot of stuff going on there. There's a lot of secure versions of Debian out there. Trusted and some other things like that. Let me go up here. We looked at that. You may wonder, why didn't we just join the Debian project and contribute that way? Why did we have to create our own distribution? Well, the reason for that is a couple reasons. A, a lot of us are extremely paranoid and we don't want to join any other project. Debian, I think, requires... If I remember correctly, it requires that you actually physically meet someone in order to get your key signed and everything. There's a lot of us that just really frightens us. The other thing is, the reason why is because there's been some differences. One of the things I talked about yesterday, I forgot to mention today, is that something as simple as clearing the screen whenever you log out... ...was a difference between what we wanted and what the Debian wanted. The latest Debian Mailing List Archive that I saw, was that they decided that, by default, Bash should not clear the screen upon logout. Now, I agree, that security through obscurity never works. However, if we're targeting this for people that may not know a lot about security, it just helps. It doesn't hurt. If they don't know what they're doing... 南 they leave and they leave all the crap that they've been doing they could leave something there that could later on be used to break into the system so something as simple as that allows you know made us kind of think you know why don't we just go our own way we'll graft on the debian and we'll that way we'll have complete control over what we want to override and how we want to produce this what do we use for a firewall that's currently IP chains to to kernel IP chains so that's what we're using there and in the in the install there's an actual thing where it's where it sets it up and all that for you yeah it's a gs2 gs variant okay well cool thanks man I appreciate we'll take a look at that what's okay well let me let me talk to you after this and we'll we'll get we'll get okay okay cool thanks he was saying that there's a gen 2 kernel that has most of the features that we have in there and it's a lot faster the o1 batch scheduler whole bunch of other shit so so take a look at gen 2 all right yeah cool we'll do that really I am NOT aware of that I'm sorry I didn't know if we have we have some CDs to give out so and I've I think we tested every single one of them to make sure they boot so I'll make sure to get you one okay do we provide source packages Deb source packages do we provide Deb source packages they are not on the CD we're uploading them to nmrcos.nmrc.org so you can app get them just like all the other stuff so that that should be done we tried we had some problems accessing it from here so we're gonna do it when we get back yes steg in the file system like a rubber hose you you