First, we're going to talk about SMP Protocol Breakdown. I had some protocol dumps I wanted to show you guys, but oh well. We'll learn a little bit. SMP has been around since the 80s. There was a talk earlier today on replacing SMP version 3 with Tripwire, which is pretty cool. The guy talked a lot about the same stuff I'm going to talk about, so I apologize for the overlap, but what can you do? Proceeded SGMP, the Simple Gateway Management Protocol, was a lot of bullshit. It was defining RFCs, and they said, hey, we need a way to manage agents. We need a way to manage network electronics in our infrastructure. What they did was they implemented simple protocols. Simple protocol, which defined basically four different types of operations, consisting of get, set, walk, blah, blah, blah. What we have now is a sort of management glue that kind of bonds every enterprise infrastructure out there. The only viable solution... The only solution to talking to any network electronics in bulk is SMP. This is what Cisco pushes, this is what IBM pushes. Everyone pushes this protocol as the way to manage your infrastructure. It's kind of a shitty thing because SMP sucks from a security perspective. We... SMP version 1 had... Oh. Hell yeah. Just open that shit up. All right. Yeah, let's talk. Okay, good. Now we can be on the same wavelength, some visualness. I hope everyone here has been drinking, because I have. Woo! Let's get drunk afterwards, too. I fell off a fence last night, and I chipped my tooth and busted my nose. It's been a bad weekend, man. First night we were out here, we got arrested. If anyone here is a lawyer, dude, I seriously need some advice, because I have to be back in Nevada on September 4th to serve a court date for littering. What the fuck are the police thinking out here? Seriously. There's mobsters, there's prostitutes, but fuck, I was littering. Hey, who cares, right? So, anyway, I need advice. Anyway, let's talk about SMP some more. Is this going all right? Holy shit. Shit. So, I mean, how many people here come from an enterprise perspective? Woo! That's what I'm talking about. What is that? What does that say? Oh, shit. Hey, no, no, no, no. All we got to do is hit Alt D. Just cancel that shit. Yeah, yeah. Or not. All right, yeah, yeah, just view, view. Let me see. That says view slides, right? Fuck, man. What is going on? Woo! All right. So, SMP protocol breakdown. Let's talk about SMP. Hell yeah. I'll drink to that. Anyway, we're going to talk some about SMP. I'm sure everyone's heard a little bit about it. A lot of hype in the past year. We're going to talk about enterprise infrastructure. So, okay, like I said, procedure to SGMP, you know, was designed in order to manage network electronics, routers, printers, even UNIX servers, a la, if any of you guys are here. So, SMP and other EHAP guys, www.toplesslowliters.com is a nice free BSD box with fucking SMP agents running on it. I don't understand these system admins' mentality. They pull the devices using SMP and server farms and big, big managed infrastructures. And so, anyway, every SMP conversation requires a communication team. What we have through SMP is something called a manager and an agent. Our SMP is a new communication team. Our agent exists on the device we're attempting to manage, be it a printer, router, anything. Our agents, which communicates to the network electronics, it's kind of our middle man. We talk to the agent in order to find out status of the device, temperature, processor utilization, blah, blah, blah. But we kind of get a little more involved when we start considering. Our agent also has the capability of modifying configuration and adding on to the network electronics via, you could change IP addresses, possibly you could change passwords, security stuff. But what we can really do some damage with is when we know exactly what we're doing. What we're looking at, we have to know the hardware and we have to know what the hardware supports a la SNMP. So SNMP transfer mechanism is default over UDP. How many people here like UDP? UDP sucks, right? Come on. UDP is connectionless oriented transfer protocol that does not require authentication, does not require handshake, does not require shit. It's a blind protocol. We send it, fuck, who cares if it gets there or not. So here's some more boring stuff. SMI is the RC that define the structure of management information. And really what it did was said, hey, this is how this sets the precedent. This is how we're going to talk about the language that manages network electronics. It's boring stuff. And it's called abstraction. It's called abstract syntactical notation, version one. You guys may have encountered this in your directory structure such as LDAP or I heard some mail transfer protocol was using the same thing. MIBs are the definition of, they're what SMI defines basically. When you look at a MIB, you're not looking at anything fancy, you're looking at a text file. That says, hey, this is what our agent does for us. And so, so our MIBs are life. When we're talking about network electronics, we want to attack or we want to do something with, the MIBs are the first thing we go to and we say, hey, this, whatever the support by, we download the MIBs and we say, we have to look through all of them and figure out what exactly these MIBs can do for us. Because the MIBs are, are, are basically. Okay. They define what we can do with SNMP and what we can't do. You know, and, and the protocol itself was defined in RFC 1157, blah, blah, blah. What we have to understand is when we're talking, when we're talking in the context of SNMP, we, we're talking about some dumb ass definitions that get really, I mean IETF and all that stuff, you know, they, they, they're very formal and, and, and, you know, you have to respect them for that because they're the, they're the, they are what gives us the capability to have the internet and stuff like that. So but their, their process is formalize this protocol that's really simple and giving it a lot addendums and stuff like that and it's, it's, it kind of gets complex. Even when we're talking about four operations in version one. So, so we have to get our terminology down and the thing is the terminology changes a little from vendor to vendor. But. We're all used to that, right? So in, in SNMP. Because you need one. Yeah, please. How'd you get into that? In SNMP, the way we have structured our information is, is through the, the object identifiers using abstract, abstract syntactical notation. And it's a tree like structure just like anything else. You guys want to know value, you guys want active directory, same thing, tree. You know? We start at our root, we go down. All these organizations have registered, you know, and, and blah, blah, blah, and goes, gets down. The most important thing we have to deal with is MIB2. Every single SNMP enabled device in the world supports MIB2 as of now. I mean, it's a pretty bold claim, but I swear to God it's true. You know, MIB2 is, is, is what we use to talk to interfaces on, we can talk to interfaces on a server. MIB2 is supported by Windows boxes. It's supported by Linux. It's supported by Unix boxes, whatever. We, we love MIB2. MIB2 is how we get the most information. Especially from a management perspective when we're doing protocol baselines and stuff like that. MIB2 is how we get our, our, our, the utilization of our interface and stuff like that. But it also defines interfaces. Interfaces come, become really important later. So whenever you want to talk to an SNP enabled device, you just work your way down the tree. Most of it's. You know, independent of the, of the vendor that the, the device is made by. But you get into what's called the private, the, the, the private leaf. And the private's where your, your 3Com, your, your proprietary Cisco 3Com, Linksys, all that stuff is. And, and they let you do some pretty funky stuff. So just research that. Um, our security fund. Security issues are not discussed in this memo. RFC 1157. That sets the precedent. That sets the precedent. For, for SNP security, basically. Our passwords are, we don't even have a user password based mechanism for authenticating devices. What we have is community strings. That until SNP version three, all we had was a single word that let us, gave us any kind of access we want to on a network electronic. So, so basically all we have to do is, is, is, is, is, is, is, is, is, is, is, is, is, is are, is, is, get access to VLAN o. On an enterprise and, and, look at one single packet that, that, that, that, that, that their management station is, is purging devices with. And we have access to their infrastructure. It's, it's really easy. I mean, like, there's a lot of, there's a lot of, you know., documentation out there on securing the wandermen at our infrastructure. But in reality. This isn't a viable solution. For a, from a strate-.... like a beer crack perspective because our managers have more pull more pull than our security personnel everyone knows that right our the people who give us money for you know supporting our our our network say hey we like pretty graphs we like things we can see if a security guy does his job right you don't see shit you just see your network working if a management guy does his job right he says here you go man here's here's all these green graphs and you know this is what our network this is where a network looks like at this time of day this is you know they define how our quality service agreements are working with our ISPs and shit like that so managers have a lot more pull and security people especially in like a segregated environment was our bureaucracy going on so our managed policies take precedence over our security policies and this this gets really crazy this this This lets us attack networks that are huge. So, four simple operations. This is the S&P version 1. This is the first protocol, you know, transfer mechanism that we're going to talk about. And basically what we have is a get. We ask our agent for a specific, you know, thing about the device. We say, hey, how are you doing today? Are you sad? Are you happy? How's your temperature? We say, how's your process of utilization? We just send a get packet. We don't care if it gets there or not. We'll send it again. It's UDP. Then we have our set. Sets, what we use to attack. Our sets are the mechanism in which we compromise networks with. And we're going to talk a little bit more about that. And traps. Traps are what our agents do for us. This is how management infrastructure lives, is through traps and something else called inform, which is a more formal trap. Our traps will tell us our network is behaving a certain way based on thresholds and stuff we've defined on the agent. And our get next just says, hey, get this value after this specific OID, which is the OID is the part in the tree, is the numbers in the tree. Here's our protocol dump. As you can see, what I did here, I plugged into. A campus network, sat down with my fun little Toshiba laptop that doesn't work for shit and said, hey, I'm just going to watch. I was on a student VLAN and they were passing SMP traffic back and forth. You know, hey, this is what community stream we're using. And it was a set request. It was so cool. I was just like, thank you. You know, we can, we can, we have, this is probably one of the biggest universities in Southern California. And we have access to anything we want to on their network. And basically this is our, you know, kind of a formalized packet. We have two parts, the message header and the protocol diagram here. Or, you know, and we just, in our packet, we have our version numbers, our community string as a header. And our PDU is really the meat. We're going to talk a little bit about PDUs more because when we're, when we're attacking in the blind, which is basically every time you're going to attack using SMP, you're going, you're not going to, you're not going to know how the agent responds from, from a managed perspective. So we're talking about man-in-the-middle attacks, sending SMP packets, and, and seeing what happens. Our error codes are very important. So, so our error status is, is where we learn to attack. Where we learn how our attack has, has, has, has, you know, been, been implemented in the agent. And there's other stuff, request ID, PDU type. But just, you know, package structure. So, and then we move on to SMP version two. And really the only, the only, there's three versions of SMP version two, defined in RFCs. And, and the thing was, nobody liked the way it was performing. They, they defined management. They, they defined, like, security. But it didn't work out, you know, just because there's proprietary, a lot of proprietary stuff was, was sort of pushing over all these other people. And, and we have... We have what's called SMP version two C, which is the same exact thing as SMP version one. Same security mechanisms, community strengths. That's it. The only thing that's different is, is our, our error codes and sort of the protocol operation. It's, but, you know, we, when we attack an SMP version one enabled agent or an SMP version two enabled agent, same thing, you know, no difference. SMP version three is what we have to, to worry about. Our error codes are here, you know. Probably the most important error for you guys is, to look for is called bad value. When you get a bad value back from an agent, he's going to tell you, he's telling you that, that that specific operation you, you, you, you tried to tell him to do, is not working, and this applies totally in the context of sets. When you try and set something, and, and, and that type of set, set, set value doesn't, is not, he's not capable of doing, he's going to tell you bad value, man. Sorry I'm not accepting this. And, and see sets are a shitty thing because a lot of times, like in our MIBs, we have to, we have to set other things, we have to send sets to other parts of the MIB before we can set certain, certain other things. For instance, our favorite MIB from a management perspective is called Armon, or Remote Monitoring MIB. That lets us do alarms and stuff like that. We aren't allowed to modify our Armon table until we've set the operational status of the Armon MIB, such as Trap. It's, by default, on most devices, user defined. But, in order to edit it, we have to set that to Code 3, which is Mib in progress. It's a lot of BS. But, SNMP version 2, more error codes. And this gives us, error codes that would give us a fingerprinting test. We have to listen to error codes when we're attacking a managed network. Because they tell us, especially when we don't have the ability to know what we're, we don't have the ability to know how our stuff's performing ahead of time. Shit. How's true? Exactly. Take a drink. I'll drink to that. Neither, huh? I didn't pray to Allah today. He's upset. Seriously. But, okay. So, let's move on without the fancy pictures. So, what were we talking about? Error codes? Drinking. Drinking. Oh, yeah. Okay. Let's get to something interesting. Because this is killing me. And I'm talking. Okay. SNP version 3. It's all the talk these days, right? You know, oh shit, an authenticated management protocol. Ooh. You know, by default, 56-bit DS keyspace. Wow. No. You know, SNP version 3, the way it's implemented in enterprise, you know, you have to know what you're doing. Like, very well. You have to come from a security background. Or else, it's just not viable. It's a lot of work. And managers don't do this. Seriously. I swear. I come from a managed consulting background. I do, you know, big stuff for big companies and see how their infrastructure is working. And they just don't like to. It's so much work. And the reason why is, SNP version 3 took a whole new thing. They said, hey, we need security. We need a way to authenticate messages and conversations. We also need to encrypt our data. So what they did was they defined something called the user management model, which is an RFC 2574. And all SNP diagrams consist of two parts. It's called message global data, which is our header. Our message security parameters, which is our life. And message data, which is our, the part of, like, our variable bindings and stuff like that. Our message security parameters are how we define how we're gonna authenticate. By default, SNP version 3, still, even if we, even if we enable it on our device, we still have to define a way we can talk using it. And we have to define users. We have to define the context that users are allowed to talk to our devices. And we have to bind it to a specific SNP engine. That, the engine is what, what, what when computed with the hash and our passphrase gives us our encrypted key. So we need to do a lot of stuff in order to get this infrastructure up and running. And so let's say we're looking at a network with tight security. We got managed devices talking only SMP version 3 with encrypted authentication and encrypted data. You know, the handshake, everything's going on and we're like, we can't sniff it. We can't do anything. How are we going to compromise this network? The main point of our attack needs to be at the user systems table or USM. You know, it resides in on the agent. It gets kind of fuzzy here because it's weird. It's not an SNMP-enabled entity or terminology. It exists outside of SNMP. We can't talk to our USM table with SNMP. It's defined in the RFC. So what we have to do is we have to circumvent this, meaning we have to attack our router using different methodologies i.e., you know, breaking the protocol structure such as attack us plus, you know, faking handshakes, stuff like that. So that's when we start attacking the entire infrastructure. And with SNP version 3, we don't have too many options as of now except from an exploitable perspective. Recently, there was these guys from the OU University published what's called the PROTUS test suite, right? And the test suite was attacking it was doing SNP injection of, you know, specific PDUs on version 1 of the protocol and they were doing agent overflowing and stuff like that, you know, exploiting viable buffer overflows. Isn't that on ASM 1? I thought that was an actual attack on ASM 1. Which? Where does SNP reside? Right, well... I thought ASM 1 was kind of the weak link and that all these other protocols are on top of it. No. See, ASM 1 is the way we define a hierarchy of the way we define our MIBs. It's only a way of... Like, our agents exist in... They don't know about ASM 1. They exist independently. The protocol... The PROTUS test suite was attacking the way agents interpreted data regardless of the way the data was sent. They were sending, you know, with most of our... With most of our... Our definitions, which I kind of want to show you, there was, like... We define in ASM this specific OID has read-write access, has, you know, it's a string type or it's an integer, it's a gauge, blah, blah, blah. So what we can do is say, hey, we could try... We could try and overflow the string. It only takes so many, you know, so many characters before it breaks. And with the agents that existed on that device, certain ones didn't know how to handle the overflow and stuff like that. So that's the way from, like, a strictly codable and, like, you know, you know, you know, perspective of attacking using, like, exploits where we have to use the PROTUS test suite. And the idea is they've given us because they did a lot of work and they did a really good job. As far as... See, the big misconception is that that somehow MIBs and abstract syntactical notation, all that stuff is all tied together. But it's not true. Like, we can talk... As long as we can send a packet to these people, they don't care what it is. The way they interpret it is going to be the thing that makes us break or, you know, not the system. But... And let me talk a little bit more about MIBs. MIBs are just a database of managed objects that the agent monitors and manipulates. It's a way of us thinking about a database of managed objects. The SMI provides a way to define using ASN. And what we need to do when we're looking at the MIBs, we want to explain... When you get a MIB compiler, because they do the work for us. So, you know, probably your best bet as far as tools goes is NetSNMP. Awesome, awesome. It's just a programming library. There's all kinds of extensions. And everyone's writing for it. Like, they're doing a great job keeping it up to date and patching it and anything like that. And it supports SNP version 3. So we could do a lot with it. It's a little less... It's a little less... Less, you know, user-friendly than your standard management-like interfaces. But we don't care about that. We're trying to break into systems. We're not trying to look pretty. So, here's kind of what I want to show you about MIBs examples. But, oh well. So, what we want to do when we're trying to attack something is we want to... Chuck! Exactly. Come on. Chuck it! We want to talk about Ocean's Eleven a little bit. Have you guys ever seen the movie Ocean's Eleven? The original or the shitty remake? The shitty remake with Brad Pitt and George Clooney. What did they do in Ocean's Eleven? They robbed three casinos and the way they did it was they built the same vault as the casino did, right? They, from the ground up, they did everything ahead of time. When we're breaking into a network, and we want to use managed protocols as our attack vector, we want to know exactly how these attacks are correlated in the environment and responded to. So, the more you can get... If you could write your own agent that responds just like that, the more stuff you can get that is an analog to the network, the better off you are. Just like in Ocean's Eleven. Because if not, we're going to be attacking in the blind. It's just going to be like hijacking a TCP session. We're not going to know what the fuck's going on. We're just going to have to say, hey, let's try it, you know, sequence numbers and everything. But, like, so... And the thing is, there's so much information out there because vendors want their devices to be easy to manage. So, we use that, we use our MIBs, we use our compilers, we use our tools. We set up an environment that emulates, this type of network, and we say, hey, let's go out. When we're inside a network, we want to look for two things, traps and informs. Traps are one-way, you know, dumps of what's going on on the network. And those are what tells us the most about the information. Those tells us two key things. The trust relationship on the management network and where we need to look to break through. So, we take the management sector. Traps will always be sent to a management station that basically manages the entire network, or, you know, a segment of it. So, when we look at a trap, we're going to try and identify where it's going and what it contains. Traps usually, by default, contain same community strings that other networks, the managed devices communicate. It's not a two-way thing, but people implement it like a symmetric conversation. It's not. You don't need the same community strings to talk back to your network management station that you do to ask it questions. So, that's what we're looking for. The informs are a little more formal. It's a way of being, making sure your trap has gotten there. It's just a handshake, saying, hey, I got this message. The only time informs are not going to work is when your network goes off. It goes down. And when you can't get your datagram to the device. So, yeah, Cisco. Or, system disk error. Our favorite SNMP tools. Scripts. Two different scripts. Scripting stuff is SNMP, which I already talked about, which is the best. Good stuff. Go get it if you like SNMP. Also, we have the Tcl, T-L-K, and Scotty, which is the interpretive language. It's super simple. It's really cool language, dude. And we want it, we, we, it has a lot of potential as, as just being simple, robust. We can do what we want with it. With, you know, complex polling and search methods. The next best thing, the thing that's our life, if we're going after a network with, with SNMP as our tag vector, is Sniffers. We have to use Sniffers. Even if the data is encrypted, the Sniffers are going to tell us everything we need to know of, of the hierarchy and the topology, stuff like that. So, and, and that's the thing. That's, that's kind of what's appealing about using this to attack networks is, is it's un-intrusive. We don't have to do anything. We don't have to install back doors. We don't have to, you know, compromise, like, file servers, anything like that. We use what, what the networks have implemented already. They don't know we're there if we do this right. They can't. Intrusion detection, if, if we, if we're using the trust relationship on a managed VLAN, intrusion detection doesn't mean shit. You know, we exploit the way these, these, these, these devices exist in the hierarchy. The next best thing is if we're attacking blindly, we have to brute force our community strings. The problem with that is if they're, they're doing trap handling right, they're going to, they're going to set traps back to network management station saying the authentication failed. This person's trying to brute force. So, we have to think of creative ways to, to attempt using, you know, really long, um, um, um, changes in, in, in, in timing and stuff like that. So, it's, brute forces are sloppy. Um, and like, like, like I was talking about earlier, the provost test suite is, it's kind of, it's, it's, it's, it's in Java in compiled files and, and we have to do like, we, we have to, what's going on? But, provost test suite, whatever. Rmon, let's talk a little bit more about Rmon as an unobtrusive packet sniffer. We're going to have network electronics that support the Rmon MIB let us sniff packets on their network without them knowing about it if we do it right. So, what we have to do is, is, we have to, we have to send, on Cisco devices that require exact access to the command line to enable Rmon, like, sniffing. So, that's one, one of the key things in, in getting an Rmon, you know, MIB to, to tell you stuff is compromising a Cisco router and by then you're like, hey. But, other network electronics are, are more, more susceptible to Rmon attacks and, and, we have to look for two, two key things in the, in the, in the tree. Our, our filter and our capture tables. We implement our filter and capture table using our, our PDUs and we'll set up an interface that's, that resides in promiscuous mode and will iterate all the data. The PDUs that pass the filter test are then forwarded to the capture buffer table. To set up the data channel, a vacant index must be, be determined, which is our, which is our interfaces. The channel status, it should be to create requests. Oh shit. Yeah, but anyway, basically we have to do, look for two things in RmonMib. The filter and capture groups and, and from there, read it and it's, it's straight forward. We, and this way, we install a sniffer on major hardware that, that will, like, like, it's 65 or nine. They're, they're, they're, they're, they're, they're laying the switch enables us to look at all traffic passing across its interfaces just using SNP. If they're competent managers, they'll be able to find out what's going on and what's not. They'll, they'll, they'll see, I need a, do we have another? My battery's dying. Oh, oh, oh, oh. Sky Diving. This is fear and loathing in Las Vegas, huh? So anyway, arm, we like Rmon. Rmon's very good. We can, we can break a lot of stuff with it and Rmon is also the way we make a lot of money if we're interested in managing because managers love Rmon. It tells us every, it tells us our top talkers, host top end, stuff like that. It's what, does our traps and, and Rmon, like the, The thing about Armand, it's still a MIB. It's still like S&MP. The only thing is, when they defined the RFC, they defined matrix-y style, like architecture, which was like a big thing back then because they were doing straightforward tables. So it was kind of a step forward in the management world. So we want to talk about reconnaissance. When we're looking at a network and we want to break it, what are we going to do from an S&MP perspective? We want to identify the network first. The big thing is the access lists. Access list detection from an S&MP perspective sucks because when we're using version 1, version 2, and we're sending our packets, we're going to get the same response from an access list device as we would if we were using the wrong community string. So this is where sniffing comes in. And this is where our... Oh, hi there. So... So... Can anybody see? Good boy. That's five, I think. That's five, baby. Come on. I'm scared. Hey, so the best way we're going to get into a network... So, when are we going to get into a network? The best bet is through the DMZ, because our DMZ is typically not managed correctly, either they're letting in... They're not... They don't have the proper ingress filtering and stuff like that, so the way we want to do is go after a host in the DMZ, be it a web server or anything like that, and that will give us the trusted capabilities inside the network using SNMP, because... I wish I had that fucking picture, but I forgot to write it, I was drunk, so basically, let's say our firewall has segmented the DMZ from the... The private network, and they're doing that, they're doing all kinds of great stuff. Managers will enable SNMP protocol passes from the DMZ to the private segment. No implementation of a firewall is going to let SNP traffic pass from the outside inside, it's just not a real situation you're going to find in the wild. But from the DMZ, it's different, I've seen it. So look there first. If you can't get there, you're not going to get there. Then the only other thing is, you've got to get internal access, and our internal access comes from another way, another way, social engineering, I don't need to describe that to you, everyone here is pretty much educating that. Once inside, we have to attack the management VLAN. Normally our management VLAN, VLANs suck, right? I mean, they're not secure by any means, even in the most standard of implementations. We're looking at a... We're looking at a... VLAN that will... If they do it right, they're not going to let you route, they're not going to let you route between a management VLAN and a student one, or whatever else they've got. So that doesn't mean crap though, it's easy to get around, and what the hell is this? What's going on here? SNMP is also a great way to transport traffic. It's a great way to transport viruses. Just kidding. And I don't know how to use... Does this... Who's PC is this? What the fuck? Let it in. I hit? Yeah. Extreme prejudice, baby. Get rid of it. Oh, my God. Oh, shit. Oh, shit. Uh-oh-oh, we needed the pandemic. Why is SNMP a viable attack mechanism? Not when we want to replace web pages people, or de-face. Replace, whatever. We're not going to replace index.htm with SNMP. It's out there. Toplesslawyers.com. We have people, but we want to look at ways of compromising networks. Not ways of compromising web servers. All right. We're not gonna... If you can run a nice, happy overflow, great. It's a lot easier. SMP takes a lot of work. This is the key thing. When we have ways of communicating properly to network electronics. And keep in mind, did anybody see the talk on printers and stuff like that? Overflows using CDP. That was great. That will give you a great perspective on how we can compromise a major network. We can look at printers. We can look at UPSs with smart management cards. We can look at any type of network electronic that has SMP agents enabled on it. It's everywhere. So what we have to do is we have to get creative and we have to look at JetDirect cards. And we say, hey, we can compromise JetDirect cards and exploit the trust relationship between JetDirect managers and the JetDirect printers. We can compromise UPSs the same way. And it's super easy. That talk was really awesome. And I have to give that guy a lot of respect, but I don't know where he is. SMP has a tool for attack and reconnaissance. SMP lets us take over an entire network, given the conditions I'm at, just like everything else. SMP can give us complete access to their infrastructure and will belong to us. But we have to know a few key things. Community storage. What type of strings, what type of agents are running, and more importantly, the management hierarchy, which I think is coming up. So network management. So these are the key protocols we see in a network. Network management is basically the way of managing large amounts of network electronics. We have a network with 10,000 nodes and 300-plus routers, you're not going to be able to go out to every single one and say, hey, we're going to do this. We're going to say, hey, what's your MAC address? So we have to centralize our way of querying these things, and this is where network management servers come in. And also our network management protocols, SMP being number one, and then we have stuff like syslog and syscode discovery protocol and the network time protocol and all that stuff. NTP. NTP is a management protocol. We can use it. We can look at to maybe get a little more slide in under the normal ways of what they're looking at from a security perspective. So NTP all does a synchronized time between electronics, and it normally goes outside to do that, one of those big university atomic clocks. And so there's ways of authenticating it, but it's normally not authenticated. Because it's so simple. So it's a way of communicating to our major routers who synchronize time on their LAN slash LAN, and we have to, if we have no other mechanism, NTP is the way to go. So CDP, Jesus Christ, CDP is like, oh my God, one of the craziest protocols I've ever seen in my life. . Dude, those guys who gave a talk, talked about exploiting Cisco ISs, they're writing to the kernel, you know, using CDP as their attack vector. It was insane. CDP is so fucking informative that we can know everything about a network just by sticking our laptop on one of the ports and saying, hey, look, they're just, they're just, watch. Here's our CDP protocol dump. Okay, you guys can't see that, but okay. This is basically a device telling a 6509, hey, this is what kind of, this is what software version I'm running, this is where I am, this is how I work. Talk back to me, I miss you. So the CDP, CDP is, it's the glue that binds Cisco devices, and have you guys ever seen Jeremy Rod's talk, he did a lot of this stuff, so I don't want to get into like, you know, like, you know, this type of stuff. Like security mechanisms, because we can authenticate CDP, and we can do stuff with it, but by default, same as all the other protocols, it's, it's, it's like, it's almost broadcast over their LAN saying, hey, this is what we do. The typical thing managers do, or security people do, is segment this by VLAN, but, you know, we can get around that. Syslog too. Syslog is, you know, it's our favorite thing. Centralizes logging. And, and, and, it's, it's, what a lot of people don't understand is Syslog is not a way to get, to receive traps. Syslog is, is, is sort of the log server. It's what happens to our network electronics when we need to log something, a single event. Trap clearing is a completely different thing. But these, both these two things are, are, are kind of in the same analog because we can, we can. We can exploit the trust between Syslog and traps and stuff like that, just like anything else. And typically, when a server is, is, is like a Syslog server, like, any of these servers are running multiple server versus, and this is what we need to identify, is that, is that we, these management servers are so susceptible to attacks and, and they're, they're, they're wide open as long as we can compromise the VLAN. They, they are easily the most vulnerable. They built their, their best end for us. They, they got really low costs of intellectual infrastructure. It's really low of a price. And not, but we will be at a loss for them if we make future judgments, you know, depending on who we are. Uh, hold on a second. Um, so this is什么. So. If you want to do it right, do intrusion detection in your VLAN, do firewalling in your VLAN as well as the rest of your network. This is the part of your network that owns the rest of your network, so we have to pay a lot of attention to this. And the thing is, it's not giving too much perspective, or whatever the word is. I'm drunk. So, TACOS Plus. TACOS Plus. We like TACOS Plus. This is the way we authenticate and manage devices. TACOS Plus is pretty cool. It's better than RADIUS, but it's susceptible to... Replay. Shit. But, you know, yeah, TACOS Plus, just like any other implementations, is not that well authenticated. Replay attacks are a way to get into TACOS Plus-enabled networks. TACOS Plus is over TCP. RADIUS is over UDP, so you guys know the difference. It's, like, if we're looking outside, you know, like from the outside, TACOS Plus is not going to be a viable way to get in. RADIUS is not going to be a viable way to get in. You're going to have to be creative and look at the DMZ. But when we do get in, we want to pay attention to, you know, the triple authentication stuff. We want to pay attention to what's going on, because this is the management hierarchy we are attacking. So, and here's more, you know, and like everything else, this is usually centralized over the... specific areas of the network using something like cisco secure you know access control server but access control server is just like everything else we can break it through it just using um watching the way in which the the network is managed and this is kind of what i'm trying to get across to everybody is the way in which people manage networks also tells us the way in which we can break into it so um and like our network management security is kind of a joke we have we have our we have our you know fifty thousand dollar solutions that let us pull you know hundreds of devices open views you know number one cisco works all that stuff tivoli unicenter and these things these things are running a shitload of services and a shitload of just unneeded stuff like like you look at you look at like a hpu xbox with open view on it you run an end map against it you'll see like like like 15 ports open it's it's a joke like and and the way we can get into this server is is there's there's too many ways like it's it's too possible like we have the protist test suite as as an snmp attack vector we also have we we also have you know our replay attacks and stuff like that so what we could do is is is we we want to we want to break into these servers we can all we need to know is where they are and how to talk to them and that's the sniffing part and i think i'm done so anybody have any questions questions comments it should keep going kira in the crowd i kind of want to talk to her what did you litter i'm very curious porn we were throwing porn at cars yeah it was crazy but we're we you know because there's too much porn in las vegas i just kind of want i want to spread the word you know because i didn't think the cars were getting enough porn so you were talking earlier about uh i'm just curious what has those by people okay this is a good question um we'll see because anti-plea and ntp assumes a it's trust relationship right we're asking a a specific device outside of our network to centralize our time so so if if we set up a bogus ntp server there's there's issues it's more of like a like a dos thing like if we set up improper timing when we train people for the timing v display issues that come come come on our router architecture and sort of removes the device in the network uh... that's the only thing i've seen heard with otherwise what's moved that's more of the trust relationship again there's a way to communicate to network electronics and sort of fingerprint what we're talking to yeah yeah exactly well that's why oh yeah and that's why NTP authentication is like the most important like managed protocol because it's it's something that's coming from outside our network so we have to look at which it should be key anything that's talking to our devices and telling us synchronization information is is it's the most important thing because it tells us how our devices are supposed to perform perform right but you have to go pick one your device won't just go out there and say hey alright there's an there's an automated to be sort of rather you yeah yeah right really right , well yeah and it's it's it's time it's obviously it's not like that that big of an issue on your network the thing is it gives us potentials for you know denial of service and stuff like that that's the reason I mentioned it's not it's not like it's not a it's not a practical attack you see in the wild it's not it's it's it's it's kind of worthless but but it's a it's a management protocol just like all the others and so I really yeah see there you go yeah it's it's not it the synchronization is keen in inside because when you when you're your master router doing you know hopefully doing we landed NTP like polling and stuff like that is pushing out times to the rest of you the rest gear edge like the rest of your switches and stuff like that it's it screws everything on okay we're definitely of your servers aren't synchronized the same thing as your managed electronics. Things don't work correctly. So, I don't know. It's fun stuff. Any other questions? Too much. But I want some more. So, if anyone wants to go party. Shakira especially. Especially. Well. Porn. Right. Casa. Or. We're in Las Vegas. Let's just go walk down the street. I'll find some porn. And, you know, I just want to give a shout out to the Muppet Babies. They're like an extinct species almost. They're endangered. So, we need to look out for the Muppet Babies. No. No. They're all good. Trust me. We love them. But anyway, it's the last talk of the day. So, I hope everyone had a good time. And let's party. And let's do math. And a lick number theory.