Yes? Come on, give me a clicky-clicky. Clicky-clicky, man. Got to do it. Got to do it. He's trying to figure out how to turn his mic on, I think. He's pushing all kinds of buttons. Everybody point and look. Shit, it worked. Cool. Ah, a picture. Thank you. Ah, yes. In case anyone hasn't seen my tie suggested afterwards, it is, how to put this, pig's fucking. In many cartoon character positions. So if anyone would like to view it after, it is my DEF CON official pig's fucking tie. Okay, let's get started. It's just about time. Tuck in my shirt, tuck in my pants, pull up my ass. Okay. Welcome, everyone. I'm Michael Glasser. Most people call me Lazarus or Laz. I'm here to speak. These are a couple of my buddies. Here, the one on the end is a goon who decided to sit on stage and he has a broken hand, so I let him. Next one is Jeffrey, who's going to be a part of the speech a little bit later. And we're still working on one more Jeffrey who is not quite here yet, but that's okay. No problems. First thing to note here is what OSI Layer 1 security is in my mind. I'm not talking about, like, bit stream level protection. I'm talking about the fact that in 99% of the security rooms and the IT rooms I go into, I can walk into a company, and gain access to privileged data by physically getting there, physically. Either dumpster diving, which is just the last topic, or actually breaking in via huge vulnerabilities. Beer guy! Beer goon! Clap! Thank you. I'd like to go a lot more now, goons. Especially this goon. Everyone buy him beer and give him women. Or men if he likes it, but that's cool. Whatever your lifestyle changes, that's cool. Okay, so let's go on to our first slide here. That's my disclaimer. Read it at your own leisure. Dude, you suck. He just referenced that if my physical security was better, he wouldn't have been able to steal my beer. He's quite right. But if you try it, I will whoop you because you've got a broken hand. Okay. Now as I was saying, this is my disclaimer. It's a standard disclaimer I stole from some guy that's notated at the bottom of this. Philip Nguyen. And, uh, you can read it at your own leisure. Let's go on to the next one. Here's my outline. Access control. Access control. Access control is a card system, as many of you have seen, when you prox card into your room. Keypads, hand reader, fingerprint reader, all of that. I'm going to go over the basic design components. Uh, CCTV is a standard camera system. I'm sure they have something in here, which I'm sure now I look like an asshole if they don't. Which they don't. They don't. Asshole. Anyway. Okay. That's the basic components of that. And the huge security vulnerabilities in both. And considering that is security hardware, it should be secure. Which it's not. Okay. Um, we'll get to all that good shit. We'll get to all that good shit. Proximity detectors. I'm using HID, or HID, as some lamers call it. It is one of the more standard brands out there. Very popular. I'm in no way supporting or being against HID. They just happen to be what I chose. Because they're easy to gain access to. On the right side, right side of your screen, is a Maxiprox reader. That's large to their readers. Proximity technology works which I'll show you next stage, or next presentation, or slide. By taking a card and presenting it in close proximity to a reader. It then transfers data through and identifies the card's ID number. The one on the right would be a Maxiprox reader, which has approximately a three to eight foot read range, depending on what kind of card. Next one, it would be one of the MiniProx readers. Which has usually a three to three inch to one foot read range. And the next one is usually about a one to three inch read range. The way it works is that when you present your card, which I will be passing something around, I beg to all of you, I'm going to pass something around with the trust that I'll get it back. It's not cool to say the physical security guy got his shit stolen because he was stupid. So I'd really appreciate getting it back. What I'm giving away is, or passing around I should say, are some proximity cards and what not. Not giving away. Passing around. Okay. As I was saying here, start on that end. Not that delicate. Okay. Hey dude, find my other one. Jeffrey, find my other one, I can't find it. Okay. The way it works is that on your card you have a small chip that basically is just, we'll get to what that is, find the other proximity pack. It's a grey pack in there. It says HAD on the side, looks like a proximity pack. And there's a huge antenna, which is just that. An antenna, which works off 125 kilohertz. When you come to presenting your card, close to a reader, the reader has a huge antenna and some power flowing through it, RF energy. When you present your card closely, it charges the card with the RF energy. Once the card is charged, the circuitry inside then turns around and spits out a number. So it works like this. The handshake is readers here, constantly outputting. Card is passive. Put the card into the field. Card is then charged and outputs a number. The number is sent via the data lines and then we'll get to where it goes. That's basic proximity. And it's in a nutshell. Now, not all are worked at 125 kilohertz, but considering that HAD is the most popular, that's what I'm going to stick with for this speech. And this is once again done in microseconds, very quick. Proximity pros. The reader can be concealed in walls, since it is reading electrically as long as you're not behind metal of any nature. With a long range reader, I've actually gone through two feet of concrete. Of actual cinder blocks, where we need a secure environment. It was a bad neighborhood. We mounted the reader on the inside. And I have a guy who, he's cool. So he walks up with his card and he touches it to the cinder block. And he walks in. And it works every time. You can keep the card in your pocket. It reads through your pocket. It all depends on what reader you get. Cards can be read through purse or wallet, as we said. Cards are hard to duplicate. The technology behind the card itself, in my experience, is very hard to duplicate. It is possible to buy a card programmer and actually do it, but it's very rare and very expensive. Compared to other technologies out there, they're much harder to duplicate. Unless you're quite knowledgeable, you're not going to build a copier in your basement. Cards rarely fail. They're very, very tough cards. They rarely break. Cards can be stolen without contact. Or code can be. We'll get there. We'll explain that in a few more slides. A card can be used by an unauthorized person. Any time that you have a device that's non-biometric, and certain other things. It's not in there? Oh well, then someone fucked up security guy and stole his badge. Any time you have something that's non-biometric, it's very easy for it to be given to someone else to be used. That works with proximity tags as well. Wiegand, or Wiegand, depending on who you are. Wiegand is another technology that's a very interesting one. It looks a lot like a magnetic stripe. The thing with Wiegand is that the way it works is as such. You have a card. Everyone see the card? It's imaginary. On the left side, you'll have what looks like a barcode, only you can't see it. It's concealed in the card of metal strips. Everyone, Jeff, who's a little bit late here, but welcome him. Come on, clap. There you go. We have some small changes we haven't told you about, but you'll be amused. Yeah, whisper, very quietly. Okay, regardless. So, what you have virtually is a barcode. When you swipe the card through the reader, in the beginning of the reader is a charging circuit, which charges those pieces of metal with a small amount of capacitance, I would use. When it then gets farther into the reader, there's a readhead. So, as you're swiping it through, you get to charged wires at separate distances, and then you get the readhead, which reads the gaps between the wires by simply taking the energy out of that. So, it more or less is an electronic barcode. This was extremely popular many years ago. Well, not many, probably 10 or 15 years ago. Not really used for new installations anymore. It was actually invented when they had the oil industry need a way of counting oil. Every X amount of miles down the pipeline, they would add a certain amount of metallic substance, and when it went through, they would have a charging circuit. Which would charge up that metallic substance, and slightly farther down the line, it would have a reader, which would read up how much of that metallic substance went through at that specific time and gaps and whatnot. Okay. Weigand. By the way, Weigand was created by Dr. Weigand. He's a nice guy. Unfortunately, he's passed away. He's a nice guy. Beer. Beer? Okay, cool. Bros, cards are hard to duplicate. That wasn't me. Cards are hard to duplicate. They're very hard to duplicate. Physically, they're pieces of metal, embedded in the card. You need very good technology to duplicate them. Cards rarely fail. They're very, very tough cards. Cards are, however, expensive. Let's just move that over there. Cards are expensive, comparable to other technologies. One, because of the manufacturing process it takes to make both the reader and the card. And two, because they're becoming less popular compared to proximity. So simple need-demand kind of scenario will make them more expensive. Excuse me. Beer. Dude, take a picture of me with the beer. Come on. I'll show my mom. Oh, no, no, no. Not on stage. This isn't Jeopardy. I'm not Humberdink, dude. I'm not doing pictures. Okay. Cards are expensive. You must keep the reader clean. And it can be used by unauthorized people. Once again, you can hand your card to someone else. Let's bang this through a little bit quicker so we can get some fun going. Magnetic stripe. Every one of you here has an ATM card or a credit card or perhaps a driver's license with a mag stripe on the back. And almost everyone has a VCR. It's basically the same thing. A small piece of magnetable that's a real word. Magnetable. Materiable. And it's encoded with a specific piece of data on the back there. And when you swipe it through, it transmits the data. That's all mag stripe is. I'm not going to get into too much detail there. Most of the problems here or the good things are it's inexpensive because it's so mass produced. People are used to it from banks and hotels and your ATM cards. You're quite used to it. People can use their existing cards in some cases. I stayed at Caesars the first three nights I was here. They have a safe in the hotel. Now if you want, you can go to the safe and open it. Put your stuff in. Swipe your credit card. Now the only card that will open it until it's reset is your credit card. Excuse me. That way you never have to trust hotel security for any of those things. Okay. Have to keep the reader clean. It's a physical reader. You're physically swiping through it. It must be kept clean. High failure rate of cards due to scrapes of the line. Everyone scratched their mag stripe and it stopped working. High failure rate of readers. Shit happens. They get dirty. They get clogged. Reader heads go bad. They take lightning hits. Technology just happens to have a lot of failures. Cards can be easily duplicated. Anyone who has access to the internet and an old VCR can build a card copier. All it is is read write heads with magnetic heads which are once again available in a VCR. You can easily online buy a card reader writer. Cards can be used by an unauthorized person by handing it away. Keypads. The keypad in the photo in the middle is a little bit interesting. It uses piezo. How do you pronounce it? Piezo. He says piezo. I said piezo. Let's call the whole thing off. Damn right. It uses piezo electronic technology for that keypad. That keypad is actually both bullet resistant, small gauge for you. Not small gauge. Small caliber for him because I know him. It is acid resistant. It is bodily fluid resistant. It is very fine. It is on the cut sheet. I have to say that. It actually says resist bodily fluids. No, I haven't yet put bodily fluids on the keypad but one day. You'll see. You'll all see. I have a question for you. Is your mic on? I believe so. Is that mic on? Yes it is. Why is there so much reverb on your mic? I don't know. I was going to smack the AV guy because I can hear myself. I sound like God. Hello. Hello. Is it getting better? I don't know. I'm not the AV guy and I don't see the Mac-D soundboard they're probably using that they got off eBay. Oh well. Okay. Keypads. Keypads are very convenient because you can never leave your card home. You can never forget to take your card with you. You can't forget your code. That's going to be rare. Let's go through my pros. Inexpensive. You don't have to issue a card to every single person there. You can give one code for many people or many codes for free. Almost unlimited codes. Well, I do the math of how many with a nine digit keypad or ten digit keypad. And you can do that many codes without having to issue every single person a card. And people are used to pushing keypads from telephones. It's very common technology. People can make up their own PIN codes. Understanding that the security might not be the best if they're using their birthday or the last four digits of their social or the last four digits of the phone number. But in certain applications where you're using keypads, it does come in handy. People can use the same code. You hire a cleaning crew. You can have ten different people come in and clean your place and every one of them can just say, hey, what's the code? Okay. And they clean it. The code is never left home, as I said. Now the cons can that you can give the code to anyone simply by telling them and you can still have the code yourself. The code can be overseen, shoulder surfing and what not. The keypads are often installed improperly and I'll get to why that is and how that is a little bit later in this presentation. And the codes can be used by an unauthorized person. Biometrics. Is everyone awake in here? Okay, good. Okay, beer, hold on. What if someone forgets what? What if someone forgets what? We beat them up. We beat them up. You know, we asked if anyone forgets their codes and yeah, but like I said, we beat them up. Yes, sir. Ah, yes, yes, yes. There's a keypad out there called, that actually will help with the code can be overseen problem. There's a few of them out there. One of the common ones is called the Hirsch scramble pad. Come on. Okay, he's smiling. A couple others are smiling. The way the Hirsch... Okay, the way the Hirsch scramble pad works is, it looks like a regular keypad except instead of having buttons, which it does have buttons, it only has LED displays. And now, instead of having one, two, three, four, five, six, seven, eight, nine, it'll randomly scatter all the numbers around the keypad so you'll have eight, three, two, one, seven, whatever. Punch your code in, hit enter. The next time you come up to it, it's randomly scattered again. That way, no matter what you do, you're never punching the same combination over again. And they also have a Fresnel lens on each button so that you can't look from the sides to see what the code is. It's quite a good product. I happen to like it. Yes, sir? Does it take longer to punch your code in? Well, if you close your eyes and go one, two, three, four, enter, yes. If you open your eyes and go one, two, three, four, enter, it's, unless you're dealing with large codes, it's not really an issue. It's kind of like if you change your keyboard configuration around, it would take you longer, but if you only have four buttons, what's the big deal? Their scramble pad, as far as I know, does not resist bodily fluids. However, I believe, as you can go out to pool two, there are about 15 or 20 condoms still laying around. If you code the keypad, you'll be good. Yes, it's extremely more expensive than the standard keypad. Okay. Let's get on to biometrics here. On the left side of your screen, you have the LG Iris Access 3000. I like this device. Unfortunately, a lot of people don't because they're afraid of having laser beams shot into their eye. Now, realistically, this isn't what it's doing. It's simply taking a photo of your eye. But most people don't know that. So, if you go into any building where they have this thing, just start screaming, laser beams on my eyeball! And see what happens. See how fast you can get out of that one. Okay, next one in is the Bioscript fingerprint proximity reader. That's a good reader. It's one of the most popular for a fingerprint. And the one on your right side there is the IR hand geometry reader. It's a really low-res, crappy image, but screw IR because I couldn't find a good one. Okay, biometrics. All a biometric is is something that is really you. It's not something that you're carrying like a card. It's not something that you know like a pin. It's you. It's a physical characteristic of your body, such as your voice, your fingerprint, your shape, your hand geometry, your eyes, thighs, your facial geometry. And that's all a biometric is. The reason why it's great is the fact that you're probably not going to cut your hand off and hand it to your friend. And if you do, you're pretty fucked up. Okay. Pros. Higher security than other methods because you can't do all those other things. The verification is a lot harder to fake a fingerprint reader. Don't start. It's a lot harder to fake a fingerprint reader than it is to fake other devices. It's also harder to fake most biometric devices than it is other things. Voice recognition has kind of gone out with the times a little bit more than it used to be kind of popular. And now with digital recorders, it's a lot easier to break them. There still are methods that use the number of the voice and certain things of that nature and frequencies you can't hear that still will work. But I'm not seeing it as much as I used to. And credentials never left home. You can't... Let me change that. You shouldn't leave your fingers home. It hurts. Oops. See? Ah, you gotcha. Okay. Cons. Very expensive. Biometric readers comparable to other readers are very, very expensive. Privacy issues with fingerprints is the fact that a lot of people, particularly unions and government, want to control where fingerprint information is stored. And their fingerprints are used for a whole myriad of things. Now depending on which reader you use, some readers can have the data taken out and used in the ASIF FBI system or ASIF government fingerprint identification system. Some readers can't. Choose carefully. Ask for paperwork. Always ask for paperwork. Let me get there before I go any further. Anything in physical security, most of us... Now I've been doing physical security a long time. Jeff's been doing it a little bit longer than me. I'd be confident in saying half the guys in the industry are scumbags. The other half are really nice, but half the guys out there are. Ask for paperwork to back up everything. Well, if there's two of us here, and half of the people are scumbags, which one is a scumbag? Beer! Beer. Yes, sir. It's not interesting you said that they're much more secure than the other things. I'm sure we've all seen the thing where they hold up a picture on a laptop up to a face or you take a goonie bear and do a fingerprint. Comparable to on the scale of one to ten of security in physical security being the vault in the bottom of the mountain as ten and DEFCON is one. Sorry, guys. I'm going to get hit by a goon later for that one. Okay. The real deal is that biometrics are probably compared to a proximity reader being at, let's say a mag stripe being at like a four. A proximity reader being like a six. Biometrics would be like an eight. It still can be beaten by faking out the fingerprint reader faking out the facial recognition. But it's a hell of a lot harder. And the knowledge to do it is much less common. Unfortunately, the people here let me change that. Fortunately, the people here happen to be very intelligent in breaking most types of security and it doesn't seem like a big deal. Most physical security is targeted against the idiot. Which is most of the rest of the world. Unfortunately. And you have to realize that there's a lot of dumb people out there. In case you haven't noticed. That's who we're really looking to keep out. If you can find some guy off the street and randomly take him, give him half an hour to beat a fingerprint reader and if he can do it I'll buy that guy a beer. Okay, next. Privacy issues with fingerprint readers. We went through that. Most readers must be maintained. They usually have some kind of a lens or some other device or a microphone that needs maintenance. And you're right. This mic has terrible amounts of reverb on it. Or something. You can tweak it. No you can't. Maybe if you sang the presentation it would sound better. I'm not singing my fucking presentation to make it sound better. You haven't heard my voice. Most readers are easily damaged. The majority of the fingerprint readers out there if you take your knife out and scrape across the reader you're in a lot of trouble. That reader needs to be replaced 90% of the time. Optical readers are now using a plastic cover or sometimes a glass cover so that's not as much of an issue. But you still took that reader out of commission until they replaced that lens. Okay. Overview of system design. Door controllers. Now later on in my presentation this is going to be my human door controller when we simulate how a system actually would work. If we have that much time, which I hope we do. By the way, official timer dude. What's our official time? Aren't you the official timer dude? It's 1220. Okay so we're going to bang through the rest of this real quick then. Door controller. What? 30 minutes to bang this through really quick. Okay. Every access control system has a door controller. What this is is basically a control panel where you have all your inputs coming back to. Such as your door position switch which tells you if the door is open or closed. Your reader, which so far we've gone through many different types biometrics, card, keypad. Your request to exit which when the door controller is sitting there it says is the door open or closed? It's closed. Good. Next time it opens it should be told to open such as by a card or someone requesting to exit through that door. Auxiliary inputs for whatever you may need. Outputs. Main door relay. That's where you connect your door to. Auxiliary relays for whatever you may need it for. Such as you card in and turn the lights on. That's a popular use. Or you card in and turn the alarm off. Communications once again. There's two types of communications for this panel commonly. Excluding the newer panels which do use TCPIP for everything. The first type of communications is generally an RS-485 bus between the different controllers to network them internally. The second type is between the computer and the controller itself. Small system design here. Systems under 50 doors are what I consider small. Most access card systems out there actually block the 32 doors as a small system. But 50 is a good number because I like 50. They usually use two or four door controllers. Instead of having a door controller for each door you have a two or four door controller. Here's your basic design. REX detectors request to exit push button or motion detector which we'll get into some of the security vulnerabilities of the motion detectors a little bit later. Door contact tells you if the door is open. Door locking mechanism is the door locking mechanism. It locks the door. The reader reads the data in. The access control panel is the access control panel. And the alarm is for certain things such as if someone had propped the door open. You walk over the door you just leave it open. There's no point in having access control if you just leave the door open. Or if someone comes up the door and forces it physically open with a crowbar. Now you haven't seen a card in and you haven't seen a request to exit so it will set off an alarm. And the computer I think you guys can figure out. Large system design. Let's skip over this. When you get into large system design you get into some serious problems with the amount of data that's got to be processed at any single time. So I have a couple of examples here of what can happen and has happened in real world environments in the past that is a real issue. For example, I'm not going to read word for word here but your access control system is a big system. You're in New York City. You're in Times Square. You're in Los Angeles and Hollywood. You've got a large system with a lot of doors. In the front of your building you have 20 turnstiles for the inflow of the people. You have 15 or more turnstiles across the street for those people. You've got 10 doors in the building down the block. You've got 25 doors somewhere else. You've got another 120 doors in another off-site location. All being controlled by the same centralized computer. You do have door controllers everywhere. But all the data and all the logs and all the files are coming back to the centralized computer. You can see them on Monday morning. You have people coming in everywhere. You have people coming in through the turnstiles. Every door is operating. Everything is going at once. Now all these log files have to go somewhere. So they're coming in this control panel and immediately getting spit out into this access computer. So this computer is chugging along. It's 850. No problems. Getting maybe 100 reads a minute. That's fine. Suddenly it starts getting thousands. Literally thousands of reads a minute. And it just starts to smoke and crashes on you. Whose responsibility is it that they've decided to put an access control panel on a shitty 486 from the basement? It's usually the IT director who said well, you need another computer in the network room. We've got some rack space over there here. And stick something in there that they just happened to find. And nine times out of ten it's the shittiest thing they have laying around. And the power supply half works and half doesn't. I mean, you've got a lot of issues with these things. So okay. This thing crashed at 9 in the morning. All your log files are down. Okay, that's no problem. The controls are storing it. So you reboot it. Comes back up. Didn't really lose too much. As soon as you restart your program, hey, there's still the log files there. Takes all the log files with the controller, dumps them in the computer, computer crashes. Once again, you're out. It's really, you have to be careful of how much of a load you're going to be putting on these computers. We do give you minimum specs. Please use them. Seriously. Okay, you've resolved the issue. It's 1 p.m. You just hired two new employees and gave them their cards. Wonderful. You still have all those logs downloading from before though, it's a little bit slower now. You still have logs coming in. Now they go downstairs, go out to lunch. Grab some lunch, come on back in. You go to swipe through. Card doesn't work. Why doesn't it work? The controllers are still busy downloading all the logs back to the computer. They haven't had a chance to update from the computer to the controllers the new card yet because they're so damn busy because you guys didn't have a good enough computer. So it's still, we're just waiting there. This guy's standing at the door. Swipe. Doesn't let him in. Swipe. Doesn't let him in. What does he do? Security guard. Security guard goes, well, the card doesn't work. I know that. That's the problem. Well, the card doesn't work. I can't let you in. This is my new job. I have to. Okay. Well, who should I call? Well, he's out to lunch. So now you're standing by the front door. You finally get in. It's been half an hour. You go upstairs. The boss is sitting there, looks at you and goes, you guys are half an hour late on your first day. You're fired. Whose ass is it? I think when they come back with the machine guns next week, it's your ass. Stand alone devices. Beer. That's a very important part of all this. Okay. Stand alone devices. On the left you have an IEI keypad slash proximity reader. On the right side you have a stand alone device made by IEI as well with a keypad and a lock built together. Other devices out there, which I've seen in this hotel, is the Trilogy T3, which is another one that looks very similar to that. There's also, I saw at Caesars, which I was at a couple days ago, they had the Ingersoll Rand version. There's many different ones. Bless you. Okay. Sometimes you can't get wires to a door with these stand alone devices. Such as, if right here, we didn't have a drop ceiling. This was all a vaulted ceiling. This was a church. And you have an old, old, old door. That's the side door. You want to get access control on that door. You don't really, really need immediate log return. You don't need alarms to go off. You just kind of want something so that you don't have to carry a key. Pop a stand alone device in that door and you're good to go. Change the batteries once every three years and you're ready. Otherwise you're going to have to run conduit along the walls and everything else. It's not a good thing. Okay. Before we get to problems with security vulnerabilities, any questions? No, no, no, no, no, no, no, no. Price ranges. Price ranges are hard to judge. You can really go in the close to under $100 if you go on eBay all the way up to I've seen standalones in the multiple thousands. It really, really is hard to judge depending on your needs. I'd say a good ballpark is to say in the middle of $500 to $600 list price uninstalled, off the shelf. You can go a lot higher than that depending on what you do. Yes, sir. Are there any stand alone devices that use wireless to mitigate battery power? Yes, there are devices that use wireless. There's a company called used to be called wireless access with a Y. I believe they changed their name to RF access or something like that. Or recognition systems now I believe it is. No, recognition source. And it used to be called wireless access. They use RF to transmit between all the readers and then back to a control panel. I've had minimal experience with this but I've heard it's good stuff. Another question? Hotel locks are a whole other beast entirely. They are considered stand alone devices but on a device such as one of these, you would have a code that would be your code. On hotels, on the card itself, you're programming in times and dates allowed not disallowed. So more or less when you have a card printer it's printing on this room key is for this room. It's for this date to this date at this time to this time. And depending on which system you go with it may or may not be protected in any way. On some of the older systems you could just take a reader and rewrite that when this is allowed to when that's not allowed to and gain access to hotels. But that's not too common anymore having that vulnerability. What was that? One more? Okay, two more. You first then you. What do you think of the Mass Hamilton stand alone electronic locks? Mass Hamilton has to make some very good stuff but they're just like any other company. I'm not going to say one is better than the other but I personally like some of their stuff. Yes sir? If a hotel is a typical stand alone device how come sometimes you go to a hotel and you tell them you love your key in your room and make your new key the old key doesn't work? Because they have a on that new card it says turn off the old cards. It's basically that there's a one time session key I use big fancy computer words that I don't know what they mean so if I'm wrong just pretend. It basically has a one time session key that says when this card is working that's good until there's a new card that is valid once this new card is valid all old cards stop working. See I use a fancy computer word I like that. Session key. I have one for you and then I've got to keep going. For vulnerabilities are you going to maybe touch on this? Wait until I get there. I didn't see it. When a very advanced device is paired with a key override like just a regular cylinder lock I will be getting there. I'll get there right now. What he's saying is that no matter how high the access control system gets with all kinds of fancy things a lot of times people will put a key back up a physical hardware key back up just in case the access system goes down. Only if it's not done properly. The proper way to do it is on that key back up it's got a double pull double throw switch one side throws an alarm the other side releases the door or there's a tamper switch that when it is done you should definitely have some sort of a burglar alarm or a violation alarm go off when a key back up is used. I personally always expect key back ups. I usually use high security cylinders with tamper proof screws and everything else. But I always do because shit breaks. That's where you have to leave it. Shit does break. Key backs up are good but protected properly. The key back up can get access to your door. Hey, a photograph dude, cool. Okay, improperly designed systems. Putting the controller on the insecure side of the door. Okay, everyone's laughing but screw you guys because I see this every day. For example, an IEI keypad, I'm sorry a brand name keypad happens to have a relay on the back of it. You go to the door, you mount it next to the door, you punch in your code and it shows the relay. There's two wires. If you trace those wires, they go to the lock. So what do you do? Take the two flat head screws out, pull the keypad off the wall, touch the wires together, the door unlocks. Put the keypad back on the door, they thank you, and go in. Control on the wrong side of the door. Huge issue. See it all the time. Protecting only one of many entrances. Okay, the front door has this big fancy burglar alarm on it. It's got a card access system on it. The back door's got a big ass bolt. I come up to my crowbar and that big ass bolt ain't doing nothing. Okay, excuse me. Not having a prop to door alarm. If the door is open, access doesn't mean shit. I can walk through an open door no matter what you do. You gotta close the door. Make sure you have a door closer on top that automatically will close it. On these access doors have a prop door alarm that tells you if the door has been left open. This is very important in any real access system. And not instructing the employees of proper security protocols. ... Don't let the dumb fucks leave the door open. It really is bad. It really, it's not good. Make sure they don't let their buddy who forgot his card borrow the card because he probably just got fired yesterday and he's coming back to blow the place up. Just make sure your employees know proper security protocols. Database server vulnerabilities. On these access control systems, all your logs in general are stored on your database server for the access system, which is then put onto the network for ease of use and is then forgotten about by the IT guy. What nobody ever remembers is it's a computer like anything else. The majority of these systems are now running on Windows platforms. Which means that if Microsoft puts out a security patch, there's probably a reason. If this server doesn't have that security patch, there's probably a hole. And if some wily hacker inside the company decides he wants to rip off the 2,000 computers that just came in the shipment into the warehouse, he's gonna go scan the network and map... ... ... ... ... ... ... ... ... ... ... ... ... ... ... cat website and do a search for it easily circumvented credentials okay this is one of the most interesting parts of my presentation I feel once you understand basically how an access system works I'm a card reader all I output is a number let's you it's usually the weekend protocol which is not necessarily we in card it's the weekend protocol he invented two things so you know he invented nice guy anyway so it outputs outputting a bit stream here you're gonna be my door controller sit down he's my door controller all I do and just scream yes or no you'll figure out when I sent through a card number to him he's gonna write he recognizes the card number so I sent through one two three four five yes he said yes cool okay I sent that through I'm sent on a piece of wire so here's what I do now on that wire halfway along I could clip it I parallel those wires out to a second door controller as well as the first door controller now in both of their log files when I swipe that card the next day I'm gonna get yes yes now I have two people who both acknowledge the fact that the card reader was read this one's not going anywhere that one still works fine but now this one has log files I come back at 3 o'clock in the morning take this one home I have the card numbers of everyone in the system now uh-oh come on that's good beer he was the weak spot okay so now this works one second we'll get there now this worked with the proximity card so let's go to biometrics now put that same fingerprint reader on there what's it spitting out it's spitting out one two three four five when that finger is put it. So, no matter what, he's still getting that same 1, 2, 3, 4, 5 if it's a fingerprint reader, if it's a proximity reader, if it's a mag stripe reader. SAM attack will work against any of those. It's a huge vulnerability no matter what type of security prevention device you're using, or access control fingerprint reader, or card reader. They're all just outputting the same string. There are some technologies now that have fixed this problem. I'm not limited to say which, but they're out there very rarely, and very under-marketed. Excuse me. Boy, this beer is making me burp. Cool. Okay. One of the best ways to protect against this is one, tamper switches. On some of the larger access control systems, they actually have terminating resistors that will tell if the lines have been paralleled off of. It's pretty rare, but it is used. Besides tamper switches, you also have a camera system, which you can simply watch to see if someone's cutting the wires. But we'll get there on the camera system section. How many are we doing on time? You have 10 minutes. I have 10 minutes? Okay. We're going to rush. I did an hour and a half of Black Hat, so we're going to bang through this pretty quick now. Okay. Here's an example of a proximity reader attack. Someone has a Prox card in their pocket. Let's say the president of the company, ABC, Wannabe, whatever corp. You walk into the elevator with a MaxiProx reader, as I showed you in the briefcase, with a card reader. As you walk in, it scans all the cards in the elevator. It can read through their pockets and everything else. You walk out, and now you've got their card numbers. Come back the next day with the pre-gamed out keypad, take the reader off the wall, punch in the keypad number, put it back on, walk in. You had a real quick question. Still going or no? Yes. Where can we read up more on this? Where can we read up more? You can read up more on the internet. There's this place called Google. Also, I do have some references at the end of this, which you can all take. But there really is nowhere to read up on this, honestly, as far as security vulnerabilities go. I've yet to find a resource on the internet that goes through any of these. Buy me a beer and ask me a lot, and I'll tell you all kinds of good stuff. Okay, we're going to have to bang through this. I know you can't have my beer. Okay, that's one. Okay, defeating improperly installed locking devices. Crowbar. There we go. Okay, overview of CCTV. We're going to bang through this one real fast. Real, real fast. But I'm sure everyone will get this because I'll go slow for them to understand. Cameras. They look like that. It's a camera. It's a camera. If you don't know what it is, go home. Go home. Low resolution on security cameras are generally those formats. 330 lines is generally considered low res. Medium is 380 to 420. High is 470 to 500. Multiplexers. Multiplexers take multiple cameras, put them onto one wire. That way you don't have... On older VCRs, you only had one input. It would multiplex the signal onto that one input. And then when you would mux and demux, when you would demux it, you would take those one input and make it many again. Usually you either use time-division multiplexing, or it would actually split the screen to 16 separate images at lower res, and then bring it back up when you need it. VTRs. It's a VCR that actually cuts the time up into smaller sections. DVRs. DVRs are an electronic version of a computer, basically, that replaces a VTR doing digital video recording. Now, these are basically the newest thing out there. This is what everyone's using. There's very few capture cards. That's the input boards for the computer being made. There's about six Korean companies. The Koreans pretty much have the hold on this market right now. The Korean government is sponsoring market research into doing security work. I don't know if it's North or South Korea. I am hoping South. I'm assuming South. Okay, let's bang through this. Frame rate. The frame rate is how many frames per second the recorder is actually recording. What that means is, real live viewing, I'll use the number 30 for an example. In reality, it can vary, but real life is considered 30. You can see me fluidly. That's fine. Now, when I go into, I would want to do two frames a second, you'd see me like this. Like the robot from, like, the 80s. Cool. Okay, resolution. How does your picture look? You can figure that out. Compression. How compressed is the video? You can figure that out. Hard drive space. I'm sure you can figure that out. Okay, that's just how much of the video do you actually want to store, and how long can you store it for. And feature set. What kind of feature set do you have? How am I doing on time? Time check. Nine past? Nine past what? Forty-one past. Forty-one past. Nine minutes left. Okay. Well, we're going to run 30 seconds late anyway. Four camera VTR system looks like that. You have your four cameras going to a multiplexer. Multiplexer has one output wire that goes to your VTR. I'm going to talk faster. Everyone's going to stay with me here, too. The VTR. The VTR then stores all the data over that one channel. When you want to play it back, you take the VTR's output channel, which goes to the multiplexer, which demuxes it, goes to the monitor. Next one. Four camera DVR. Everyone have questions? Good. Screw you guys. Okay. Four camera DVR system. Same type of things you're cutting out the multiplexer. Four cameras go in, into the digital video recorder, stores all the data. If you want to view it, you simply output to a monitor. If you want to do playback, you simply output to a monitor. All computer controlled. That's the high ten minute side. What does it mean if you do this? Clap hands! Clap hands! You've known you guys because you couldn't see them. Okay. Four plus camera network system. This is more important. This is what you guys are going to run across. This is where you're going to have your problems. That's why I want to get to this part very quickly. We'll slow down in a moment. Picture it. The internet cloud. I'm bad at drawing clouds. Okay. On the right side, you have two DVRs in two separate locations. Each one is recording four cameras, let's say. What do you want to do? You want to view the material. Do you want to view it locally? Do you want to view it remotely? It doesn't matter. It's streaming through your Cat5 network. Cat5 to the internet, to the TCP IP, to the Homeboy GE, all that. And it flows through there. You can view it on the computer and check all that. Now, this is how most DVR systems are being set up nowadays. Okay. Improperly designed systems. Don't put cameras where it's dark if you're not going to put any light. They don't work. There are some infrared cameras out there, but they're pretty rare. Unless you specifically order one, you're not going to get one. Be careful of lighting situations. In a room like this, if someone put one moving camera in the middle and went like this, they're only going to get a third of the room at a time. And they're going to be losing two thirds all the rest of the time. You're much better off putting a fixed camera at each corner of the room. You'll get the whole room. Most people do that. They'll do that because they think it's going to save price by buying only one PTZ. One PTZ is the equivalent of probably ten standard non-moving cameras in price. The only other difference is the fact that on your recorder now, you're taking up ten channels of data and ten times the amount of storage by having ten cameras instead of one PTZ. Recorder vulnerabilities. This is where I want to get to. Digital recorders are hooked up onto your network. Protect them. If I want to break into your place, I'm going to take out your DVR first so that there's no recording that I did it. Most of these systems are Windows-based. Some of them are Linux-based now. Both of them suck. So, like, fix them, dude. Gone. Vandalized cameras. People can break the shit. It happens. If it's going outside, make sure it's a vandal-proof housing. People do throw rocks and people do smack. Network bandwidth. Here's a big one. Let's say I'm the guard at your company. I'm sitting down in my front lobby, drinking beer. On the job, of course. And I decide I want to check on the location in California. I click on California and bring up 16 streaming videos. Wonderful. Not too bad for my network bandwidth. Just sucking up all of it already. So, then I click on Oklahoma. Bring up 16 more. Now I'm watching 32 cameras. Then I click on New York. Bring up 16 more cameras. Then I click on Texas. Bring up 16 more cameras. I now have 64 streaming video signals. Am I getting a high sign? No? No? Okay. Okay. 16 more cameras. So, now I have 64 streaming video streams coming over my network. Your network is going to be... in a lot of trouble if you have 64 streaming video signals flowing through. So, I'd suggest putting network bandwidth limiters on these things and smacking the hell out of the guard who did that. Okay. Network bandwidth we did. Covert video. Where are you allowed to put hidden cameras? Don't put hidden cameras. Why? Well, do put hidden cameras. Screw it. Jeff covered hidden cameras. Let's speak quickly. I'm going to drink. Well, hidden cameras are a very good idea. Is everybody hearing me okay? Hidden cameras are a very good idea because people just don't know where they are. Somebody once told me they never worry about the cameras that they see and they only worry about the cameras that they don't see. And in a robbery that took place at the World Trade Center about nine years ago, a couple of guys went into one of the banks in there and walked out with about $3 million in cash and suitcases. The guys all had masks on. The cameras were really not particularly helpful identifying these average height guys and average weight guys that had big black masks over their face and they just had the two eye holes. Then they took an elevator or backstairway. Down to another floor, pulled their masks off. And the covert cameras on the other hallways had pictures of all of these guys, full frontal face shots. It was on the news. And by the next day, all these people's neighbors and people that knew them had identified them to the police. And, of course, they've got another probably a good ten more years to serve on their sentences for armed robbery. So covert cameras are a very good thing. Thank you. Okay. Before we get any further, out of tradition and specifically my physical security talks, which I've done a few of, I always get a hug from a girl on stage. So who wants to hug me? Come on. Somebody raise your hands. Come on. Hug me. See? Wow. I always get a hug. It's for good luck. Thank you. Okay. Next slide here. We're going through this quick. Conclusion. Look at that. Okay. Here's some links for you. Real quick. We said we have five minutes left, maybe four. Okay. We've been practicing this all day. I like to show King of the Hill. And it made me think of a security demonstration. He's going to be our human access control panel in showing inventory control systems. Can you help me with this? Did you explain this? Okay. This is my purse. It has to be where I keep my cigars and my pipes and whatnot. He's going to play the access control system. This is going to be a man who is in there without an access card. Don't open that. He's in there without an access card. But the purse itself is tagged with a security tag. Get up and go walk over there. Now, as the man without the access card walks through the door with the purse. Stop right there. The door controller detects the purse. That's my purse. Then the door controller detects the person. I don't know you. At that point, the door controller concludes security measures. Now, that is my inventory control security demonstration which we've been practicing. I'm pretty much out of time. King of the hill. It's a great show. Bobby went to the women's training class and learned defense. Everybody go home and buy me more beers, please. Thank you very much. You can reach me online at lazatctech.org or just look at my damn thing and you can hit me. Thanks very much. Anyone who needs security consulting anywhere in the U.S., give us a call.