I'm Estradios Gavis. I am a professor at the U.S. Merchant Marine Academy. I am also a Ph.D. student at Brooklyn Polytechnic where I'm working on hardware security and various other random things, forensics, anonymity, kind of annoying my professor in general. So my talk is on asymmetric defense. It's kind of my experience and the experience of running a small, unfunded IT shop, which I'm sure a lot of people can relate to. Kind of the gist of this talk is that if you're running a small shop, you don't have the necessary resources and time and people and all that to do what is supposed to be done properly. At the Merchant Marine Academy, we compete in this cyber defense exercise. And in that, there's other DOD academies. And again, and stuff like that. They got lots of funding. They do a great job. They can follow proper procedures and all that. At the Merchant Marine Academy, we're kind of left to our own. We don't get any funding. We're kind of, we're out there by ourselves. So this is kind of my experience in teaching the students try to like get the best bang for their buck and all that sort of stuff. We do, in general, break a lot of what is considered to be best practices. That's because best practices are generally designed for programs and places that have resources and time and money and where there's a buy-in from the, from whatever, administration for security and doesn't just look at it as a kind of an unnecessary space. So if you're in that group, which I'm guessing some people are. So. What I hope that you take away from this is that simplicity is the only way you're going to get by. If you try to make it complicated, if you try and make it, you know, buy in some solutions that you don't really understand, you're not going to be more secure. You're going to spend more money. You're going to be more confused. But you're not going to be more secure. You need to understand what you have and do it well. If you can't provide a service you understand, then don't provide that service. I guess. Or really try to figure out a simple solution for that. It's key. It's very key that you get it to the basic possible configurations. So. And don't be afraid of your systems, right? You know, a lot of people, it's often easy to kind of be intimidated by the equipment or a vendor's telling you not to mess with it. But if a vendor's telling you not to mess with his equipment, then dump the vendor and get it, you know, put in something. Get something else. So. A little more about the Academy. It was established to train merchant mariners. Most people don't know what the hell a merchant marine is. They are, you know, they're the guys that run those big giant ships. You know, the ones that ferry in all of that crap that you buy and, you know. So. They're under the Department of Transportation, which is different than the other academies. They're either, the other academies are under DOD. And. DHS. And. It's the smallest of the five service academies. In that, you know, you've heard of West Point, you've heard of Annapolis, you haven't heard of Merchant Marine Academy. Unless, of course, you're in the shipping industry, then, then you know what the hell they are. They, they'll graduate and they'll go on to do various things, the standard kind of life of, of a merchant marine is to come through the academy and end up as a Navy Reserve. But. But they'll, they'll end up in Coast Guard or whatever, active duty. This year we had an additional, we had some foreign participation in this cyber defense exercise, which was nice. The, the Royal Military College of Canada, we got to, got to participate. They're, they're a really good group of people. And in general, all of the, the people that participated are really great. There's a lot of sharing and a lot of kind of support for amongst all of the academies. Even though we razz each other, you know, even though we think that, you know, maybe Coast Guard Academy isn't so great. But we, we do actually support one another and, and it is a, it's a good environment. I'm glad that the academy is participating. It's, it's a good learning experience. So we have postgraduate schools, we have undergraduate schools. The postgraduate schools don't participate in the, the prize per se, but they're just there to kind of lead the bar and whatnot. So this, in the CDX, the, the midshipmen were responsible for setting up all sorts of mock enterprise systems. They're given a budget and that budget was to reflect not only the cost of, say, hardware, but also the cost of labor to administer that particular service. For instance, you, we, we couldn't just say, hey, it's a free, a free virus scan or a free, a free firewall. On every single workstation because these workstations are supposed to represent hundreds or thousands of, of computers. So it wouldn't, it would be unreasonable to kind of walk around and administer them individually. So they were trying to reflect the costs of, of a, a large group and, and various other things along those lines. So even though the products, all of the products are, are open source generally and therefore, or, or free. They're not free to implement, not free to. Use. They do have a cost in terms of operational costs. And then they have to try and administer this network that they've, they were given after they tried, after they cleaned it up and during a live exercise where the NSA is attacking them. They're also, in that same time, they're, they're given these injects where they have to do various things. Change DNS configurations. Respond to a general's orders or something along those lines. And, and the standard reporting mechanisms. You know, to say we're under attack at this point. We want to block these IPs. So the, they're trying to model the, the CDX as closely as possible to, to what you might find in, in kind of a real world experience. We want to get as, as good of a, a practice as possible for the, for the Michipin and cadets. So this is kind of the, this is our network. This is by far the simplest of the networks that were out there. And again, this kind of goes to the, to the, the, the idea that I'm trying to push here is that you want simplicity if you don't have the manpower. You can't probably see any of this, which is, which is okay. This is just a general network. We have over here, we pile on, we have our, our routing and our external DNS over here. And then internal, we have an AD over here with an internal DNS. So we're separate. We're separating those two out. And then over here, we pile on all of our services into one, one machine. And we're, we kind of lock that down as, as best as we can. We have our web server IM and our database all over there. And we separate it out over from the rest of the network. So we have a VLAN switch over here and some monitoring, a little monitoring station over there. Okay. So some of the cost tradeoffs that, that we went through. Or the midshipmen went through were in saying we could have had multiple machines and multiple servers. But from an administrative point of view, at any given point, we might only have one, one midshipman, one student in, in the shop watching the network. So again, you can't really have, well you could, but it, it, we found it, it would probably easier to just concentrate everything onto one box. Yeah, it puts all of our eggs in one basket. And yeah, it's kind of risky. But if you're running a shop with just one person, you're, you're kind of living in a risky world anyway. So it's, again, not necessarily the best of plans for everyone. But it is, it's a solution for, for keeping these costs down. It keeps monitoring down, keeps administration down. You don't have to worry about trying to patch a number of different machines. You can just focus on the one machine and make sure that's running very well. So we made some mistakes. Obviously. We had some last minute course corrections. And we'll talk about those a little later. But primarily, we started off using a lot of these GUI interfaces to do the administration and all that. And then we ultimately transitioned to using FreeBSD for most of the, most of the infrastructure. So just to kind of get you a, an overview of some of the other things that we covered here is. It's good to learn multiple operating systems. And again, I'm not, I'm not really saying anything that's earth shattering here. I'm just trying to get a basic understanding of, of IT and, and security out to everyone here. And to say that learning multiple operating systems is important. You, you want to know more than just Windows. You want to be able to say, have more than one tool in your bag. You want to, you know, there, there's multiple tools out there. And you should, you should understand that. You should understand them. FreeBSD, Ubuntu, Gen 2. There's, there's a whole bunch of them. So kind of play around with them. Don't put them in production until you're comfortable with them. But get, get out there and just play with it. You know, I'm sure everyone has an old machine out there that they can play with. And they can start messing around with. And you certainly should do so. When you feel comfortable, you can roll it into production. That, that's kind of, you know, again, not, not rocket science. Just keep it simple. You want to keep it simple. NSA puts out a bunch of pretty good guides on how to secure a number of different things. What they don't do is they don't keep the URL very consistent. So I'm, I'm not certain if this is still the one. They, they refer to it as the snack and various other things. And so they should probably solidify on one URL or at least redirect from the old ones. So you can usually find them if you dig around on the, on the website anyway. So even though I, I'm a big proponent of Linux and I use it for as, you know, as much as I can. You can't as an administrator ignore Windows. It's just the, the, the world we live in. And, and that's okay. You know, it's, it's a, it's a good operating system for what it does. And that is it keeps people comfortable in, in an environment where they've been for some time. We use group policies. Make sure you use that. Obviously if you're running a network. Using an AD and, and joined it into, you know, a group. So the group policies will allow you to administer a number of the workstations at the same time. And you're not walking around to each one. And you can push them down all at the same, all at the same time. It's, it's good stuff. But don't get too carried away with it. Because there's a tendency to at least when you, when you leave midshipmen to shut, lock down a network. Or you, or you get kind of all excited about. Security. You start locking everything down. And then pretty soon none of your users can do anything. So, and you know, you want to make sure that you're, you're locking it down. But not so that it's completely unusable. In terms of other Windows. Primarily, the primary OS that, Windows OS that they used in this exercise was XP. And, but we did have a little, some Vista in there. And it was okay. From a security point of view. It actually is okay. From everything else. Kind of not so good. I don't think. So, Windows 7 seems to be doing better in a lot of the, in a lot of other ways. So, hopefully it will continue to get better. So, you want to, again, keep the, the tools simple. What, you know, we found troubles. We wanted to track them down. System, Sysinternals are free tools. You can, you can download them. You can use them. They're great. They're process explorers. Let you see what's going on. And even, you know, what's important when you're administering a network or you're, you have to understand what your baseline is. What is good versus what is not good. So, get a good machine. A machine that you trust. One that you just built and you know isn't owned. And just look at, look at what it looks like normally with process explorer. What's the normal network traffic that it generates. And, and kind of get a feel for that. Once you're comfortable in there. Then you can start noticing. Well, this is kind of not behaving well. It seems slower than normal. It, it's, it has too many processes running. I didn't, you know, I don't know what these are. So, it kind of gives you a, it, it's helpful in, in getting you a baseline. Firewalls you want to use, kind of. The internal one is good. Core force, if you're familiar with it, is really good. It can really lock everything down. It can really lock everything down. And it's a, it's a very, it's a very solid product. But it can also make everything completely unusable too. So, again, you don't want to get, you don't want to get too carried away with it. The antivirus stuff is obviously a no-brainer as well. You want to run that. But don't get too carried away with these scans. I've, I've seen these administration set up so that it's scanning like all files all the time. It just thrashes the hard drive the entire day. And you're really not any more secure. You know? If it's scanning the whole day, you're still not going to be protected from your zero days. You're still not going to be catching like every single, every single vulnerability. So, you got to keep it all in perspective. You, you don't want to get too carried away with tools that are, that aren't really designed to catch everything instantaneously. So, keep it under, you know, keep it reasonable. If you're, if the hard drive is thrashing, it's going to be the number one reason why your, your users are going to complain. Because their system is slow. Because it, their hard drive is like spinning all the time. I wanted to say a few things about passwords. Passphrases is what I, what I advocate. Passphrases are, are like long phrases. They can be gibberish phrases. They can be sensible phrases even, although that's not ideal. If you choose like say four or five different words that are somewhat related in your mind, you build a passphrase. That's a lot better than a password that's just a random letter, random letters. You can make passwords very long in that way. You can easily get a 20 or 30 character password. And, and in terms of password security, you know, size does matter. So, we wanted to do that. So, passphrases, you know, and it also keeps it easier to remember. And don't get too crazy with swapping out the passwords. I know there's some requirements out there that you have to change your passwords every 90 days. And all that. I don't necessarily believe that's actually making us more secure. But if you have to follow that, at least try and make it as painless as possible. You can remember a sentence a lot better than you can remember jumbled words. So, you don't, you don't even need to necessarily advocate the funny characters and all that sort of stuff. Although that's a good idea. In terms of a small network, if you're, if you're building a network, you have this option. Only in small networks. If you, you want to build. Real, real networks or VLANs. I like VLANs. I think having a switch that you, that's centrally managed that you can, that you can control a bunch of different ports on is a good idea. It doesn't have to be crazy expensive. You can get, you know, a very reasonable gigabit managed switch nowadays, you know, with a decent number of ports without breaking the bank. So, you should definitely look into that. But if you have a bunch of little switches lying around and you want to use them. That's cool too. Yeah. You, you can certainly model a VLAN and a, and a real network in a, a VLAN network holding the same thing. But not if your network is too big. Right? If it's a large network, forget it. But in a small network, you can definitely get away with it. So. From the application security point of view. Our applications, firewalls, gateways. There's a, there's a couple different products out there. There's a number of them. We use, we played around with MonoWall, IPCOP, Untangle, PFSense, a couple others. They're pretty good. They're really good actually. MonoWall is really great. And we were actually using that all the way up until the very end when we dropped it for FreeBSD. Untangle is actually really impressive and has a lot of different, a lot of different things. Seems to be easy to administer. The, the danger in these, in these interfaces and these tools is that they, you don't really, you know, you don't really have a full understanding of what's going on in the background. But from a, from a learning point of view, they're very good. They, they do the basic configurations and you can kind of get a sense of what is there and how a system should be set up. And so then when you, in our case, when the students migrated off onto the FreeBSD system ultimately, they had a better understanding. They felt more comfortable with the, with the, the system in general. So that when they moved to the FreeBSD there wasn't any problems. They understood what was going on. So check these out. They're all very good. They're all, all free. You can all download them and check them out and play with them. On the application side, we used Ebox again all the way up until the end and when we dropped it in favor of FreeBSD. Webmin is also another possibility that's, it's been around for a lot longer than Ebox. It's not as pretty. But Ebox certainly is good. Again, it sets up a lot of different things for you and you can, you know, you can kind of get the, the basic setup without a lot of pain. You know, not a lot of pain. And again, Untangle is also available in this, in this space too. Untangle is probably one of the better tools to, to kind of wrap everything up. I like to kind of diversify a little bit. So if you're going to do it for your, your routing and all that sort of stuff, then I'd probably try to pick something else. Just to kind of get a little diversity. If there's an, if there is a vulnerability in, in the UI and the environment, then you might have your, you might have yourself in a lot of trouble. Unless, of course, you're concentrating it all onto one box and then, you know, again, you know, you, you have a single, you know, a single point of failure anyway. You might as well at least make your administration, your administrative abilities easy. So. So. The. At the academy we did in, in good spirits of what the government can do was we hired a Russian to help us out. So. Boris is one of the guys at the, at the, at Poly and he's a kind of a free BSD freak. And so he really understands what's going on and, and is comfortable and happy to teach and kind of help others out. So we brought him in and in short order, a day or two. He had the midshipmen kind of convinced that, hey, free BSD is the way for them. They felt comfortable based off of what they had done with the other tools, the free B, with the, with MonoWall and PFSense and all that, that they, they didn't feel too burdened by, by the, by free BSD. So. Don't be afraid of it. So in comparison of the two, when we got to it, we couldn't do a few things. The NATA. Everything was a little more difficult or it was simpler under free BSD. All of these things we could do with the other environment except the split DNS environment. We wanted to segment the DNS environment and it wasn't as easy to do in free, in, in Ebox and MonoWall. We couldn't quite get that working right. Under free BSD, obviously those sort of things are, are somewhat easy to do. So. There's lots of good guides out there. And, you know, you can do this. Free BSD is, you can do, you can route to VLANs. You can do all sorts of stuff like that. It's, it's very good. We, we also use an environment of PF and IPFW so that we have a better blend of, for NATing and for firewalling. And that's just a, a comfort. You know, one, one syntax is easier to understand than the other. So. Free BSD we also did for the application server. We replaced Ebox. Ebox is really great again up until the point where we're like, well, we're not quite certain how we want to set it up. So. During the actual game play we moved the, we moved the Ebox down to the backup machine and we moved free BSD into our primary machine. So. Obviously setting up web server and email and database and Jabber which is the IAM client for those of you who don't know. Pretty straight forward. Again, you know, you shouldn't be too, don't be afraid of free BSD. So. In general, like I said, what I wanted to get across here is, you know, we have a quick talk. I had a quick talk. So. We want to keep it as simple as possible. We don't want it to be complicated. If you don't understand it, it's not secure at all. Security is not about one thing. You need to jump in, get your feet wet. And really start understanding what's going on. If you don't understand it, it's not good. Don't panic. Just do it. Right? So. That's more or less what I was trying to get across. If you're out there, you hack boats or you hack students or something, let me know. I'd be happy to talk to you. And I'm always willing to listen to suggestions. If you think you have a better idea in terms of small network administration, it's always welcome. Thank you. Hope everyone enjoyed the talk. Thanks. . . . . . . . . . .