Skip to content
Words on a ceiling: Red Team stories with Salted Hash episode artwork

Jun 4, 2018 23 min

Words on a ceiling: Red Team stories with Salted Hash

from Salted Hash Hosted by Foundry

Host Steve Ragan talks shop with Phil Grimes, a security consultant with an interesting collection of Red Team engagement stories.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Words on a ceiling: Red Team stories with Salted Hash

0:00 23:37
of matches

Transcript Auto-generated, may contain errors

Hello, everybody. Welcome back to Salted Hash. I'm your host, Steve Reagan, and today we're going to be talking Red Team Stories with Phil Grimes, also known as Great Vape. We're here at Circle City Con. So, I don't know, think back to your years in the field and what are some of your favorite stories?

There's so many. It's a world full of fail out there, unfortunately. Golly, I think one of my favorites has to go with, of course, physical and social is a big part of what we do in the field. And that physical aspect can kind of take on many different forms. We do the physical penetration testing where you're actually trying to get in. But in those customers, clients that have a lesser mature security model or posture, it tends to be they're not ready for that. So how do we really provide some value? And we do that through some walkthrough type.

physical testing. And what that means is usually we'll go in and sit and watch for a day. And at the end of the day, we'll walk through the facility and we'll point out the issues that we would exploit. And one of my favorite stories goes back to where I was in a restricted facility, sitting, watching for the whole day. And for the most part, it was business as usual. It was just an office, nothing out of the ordinary. And as many cube farms are set up, it's the cube farm in the middle. And then through the perimeter of the office, they had the executives. And nothing really of note. There really wasn't much to complain about. But I saw this one guy in the corner, kept to himself, didn't talk much, didn't really do anything. But every

45 minutes, hour and a half, he'd get up out of his office, he'd walk across the office over to this big vault, and he would, like, stare at the vault like he's trying to use a Jedi mind trick to open it. Like, I'm seeing, like, really concentrating. He'd stand here for a minute, and then he'd look, kind of do this, like he's thinking, and then he'd open the vault. And I watched him do this, literally, every 45 minutes, hour and a half throughout the day, and I was like, okay, there's something, this is weird. So at the end of the day, you know, I go through with the walkthrough, and we're pointing out, now the camera's here, could go here to be better, eliminate a blind spot, you're tailgating, I could see several opportunities for tailgating, whatever, and then we get to this vault.

And so I do what I do. I emulated what I saw. And I tried and I tried to open that thing with my mind. Of course it didn't work. And then I kind of did this thing. And just like we have above us here, drop ceiling, right? Written in pencil.

In the slab of the drop ceiling was the combination. Oh, are you kidding me? I swear, I swear. So that is one of my favorite stories to tell. Not only in that engagement did we get access to the vault, we uncovered in an unlocked desk of the reception area keys to the front door. And in a post-it note in the production, or in the cube farm area, we found a post-it note that had a phrase on it. I thought, great, password. We showed it to the point of contact and it turned out to be their de-escalation phrase for the alarm to get tripped. So we had front door keys, we could call off the dogs, and I had access to the vault. Wow.

That's, that's, wow. Okay. There was a story you told, you did a talk in Ohio like a year or two ago. And you and your team like set up an office. Like you actually took over somebody's office in this building and you were sitting there for like, what, a week or something? Tell me that story. What was that story? Yeah, so this was, we had a week of, there were several tasks in the assessment and the physical was the first. And so I got on site eight o'clock Monday morning, sat and observed for a little while. And part of the task too was wireless. And I was bored. So I sat out and did some of their wireless stuff from the parking lot. And then I was like, screw it. It's about nine o'clock. I'd only been there for an hour.

let's just go inside, and I wanted to see what happens. So this is a shared space. When I get into the building, I was able to... They didn't have anybody to prevent you from getting into the space where the target was. So I just walked on in to their floors where they had their own reception. So you have a reception area, and then they have the RFID badges to block you out. Well, I started tailgating. Tailgating all three of the target floors without any kind of an issue. And this was when... I mean, I actually ended up sitting down and having lunch. They had a potluck, and I sat down with these people, and they welcomed me and fed me.

So toward the end of business, I was up on the top of their three floors, which turned out to be where all the executives play. And as I was wandering, I noticed a vacant office in the corner. So why the heck not? We set up shop in the office, and we were able to persist and maintain access through the entire week. It wasn't until Wednesday of that week, just after lunch, that I got the first time I got confronted. So I'd had complete access the entire time. Wednesday, the rest of my team was actually on site doing the internal pen test on their IT floor. So I went down and, you know, as I was wandering and collecting my data, I just stopped to have a casual conversation with my team. So that's the first time I get approached. This guy comes up and he says, excuse me, who are you? I'm Phil, who are you?

I can't remember his name. I call him Rick. So I'm Rick. I'm the facilities manager. And I don't recognize you. Who do you work for? So I'm brand new here. So nice to meet you. And I work with Steve. It was, again, names changed to me. Right, right, right. And he said, well, where's your badge? So they told me I'd have it by Friday. I just haven't gotten it yet. And he said, well, let's go get you a visitor's badge. I said, well, you should go talk to Steve. He told me I didn't need one for this week. So go get Steve. And then if we got to go, I'll go get a badge, whatever. But I got to work.

So he walked to go find Steve. Well, I changed Steve's name. So he was looking for someone who didn't really exist anyway that I knew of. And as soon as I lost sight of him, I dipped. I left. This guy on Friday, we came back for the debriefing. And I asked my team, do we want to check in and go in legit? Or do you want me to show you how I've been maintaining access? So all four of us tailgated up through the back stairwell. And as we were coming down, it was just about lunchtime. They were coming out. And the facilities manager comes out the door, holds the door open from me and my entire team. Hey, great to see you again. Welcome back. So, I mean, you know, we had we had maintained access long enough to be able to make people comfortable. And even even the guy.

that wanted me to get a badge, and knowing that I dipped on him, give him a little bit of time, he forgot about it. But he recognized your face. When you did the debrief at the end of that particular job, what was the reaction when you explained, like, you know, I've had an office in your building now for an entire week, and you didn't know I was here. Well, so... We kind of blew the whistle beforehand. We have a pause and contact clause to just keep everybody informed. So actually, at lunchtime on Tuesday, I blew the whistle. And normally, we do that by just making contact and letting them know we're in the facility. But I called from the internal phone and did the calls coming from inside the house kind of thing. You know, it was a fun reveal. But they were displeased.

Only to an extent. Unfortunately, it's one of those things where this was a cultural problem. And in fact, the management flat out said, you know, well, we're not going to have, we're not going to make our people question unknowns. We want this to be a welcoming environment. We want people to feel like this is a fun place to work. I mean, they touted being like one of the hundred best places in the state to be able to work for or whatever. And that just doesn't help. I mean, it doesn't help at all. Anything that's questioning an unknown, I don't think that's being unwelcoming at all.

Absolutely not. In fact, questioning the unknown allows you a chance to actually make them more welcome. Oh, Phil, you're the new guy. Listen, I'm Steve, facilities manager. I noticed you don't have your badge yet, so let's walk over and get you a visitor's badge. Oh, you're going to get it Friday. I understand. Friday will have your face and everything on it, but for now, I need you to come with me. We're going to go and get this. Well, I need you to go and talk to Rick. Rick's going to, you know, tell me. I'll tell you what, we'll stop by Rick on the way there, but for now, let's just go get your visitor's badge. I mean, it's a good way to build rapport with people because, again, now later in the week, you've got your visitor's badge. I mean, there's so many, I don't know, I mean...

It's accountability and confrontation. First of all, I'm 6'5", 280 pounds of ugly. Most people don't want to confront me in the field. But the fact of the matter is that it's still our responsibility. We are the IDS when we're in the office. So that's important. Another story that kind of goes along with this was fairly recent, actually. We were robbing a bank. And no, not stealing money. This was a mortgage and securities bank. And it was another case of several floors of this building that I was...

trying to get into. And part of this engagement, they actually let us drop malicious USBs and I was allowed to plug into locked workstations or whatever. And I found, again, this is a cube farm type environment. And I found this area that looked to be empty. I go in and I stick my bash money into one of the locked workstations. And no sooner than I watch the lights light up and I hear, excuse me, can I help you?

Now, I don't scare. I can't say scared is the right word, but I was definitely startled because I cleared that place. If this was a gunfight, I'd have been dead. She snuck up out of nowhere. And this was, I mean, I'm talking four foot nothing, you know, real little lady. Ninja precision. So she was ducked down behind. She was doing her work and came out. So again, I did the whole, you know, I'm new here. I'm just, I'm with IT.

collecting the asset tags on all the workstations on this floor. She noticed, no batch. I said, I'm new. I'm supposed to have it on Friday. She's like, oh, okay. And she sat back down and did her work. So later on that afternoon, I made contact with my point of contact to say, you know, I had a couple of confrontations. And he said, yeah, somebody said something, but it wasn't an official report. So there was enough buzz that I made an impression with that woman that she felt it necessary or appropriate to talk to someone, but not to report it to someone who could do something about it.

And there again is that whole cultural thing, right, about how they just, she didn't want to press the issue and hold me accountable and take me to somebody to do something. She didn't report it to her boss. And that can, I mean, 20 years ago, that could be scary and lead to loss. But today, that can be dead. Yeah, that's a risk. That's a serious physical risk to not just you, but to our organization, but to you, more importantly to you. And as you've recounted these stories, you've mentioned a couple of times where you found things in, you know, post-it pads inside of a desk drawer. You found keys. You were able to tailgate. Let's start with tailgating.

Is that still very prevalent? Early on when you talk about physical security or social awareness training, you would always say, don't let people follow you in the door, don't tailgate. So you've mentioned that twice. Is that really that common? All the time. Really? All the time. And it's another one of those things where, you know, you're using body language, nonverbal clues to build your pretext. So one of my favorite things to do is to carry donuts on Monday morning. My hands are full.

And if I'm following the sheep into the slaughterhouse, so to speak, most of the time, they're going to hold the door for donuts. Because it's only polite. They'll hold the door for the person whose hands are full. We were all taught manners. Right. I mean, that's the thing. So another thing, finding the stuff inside of a locked dress, a locked desk. I mean, that's...

It's not really anything that should surprise anyone because this is simply taking advantage of a normal business routine. So you're talking about, you know, somebody who would write that passphrase to disable, to call off the dogs for the alarm company. Of course she's written that inside of the desk or he's written that inside of the desk because that's something that maybe they don't need to remember all the time, but it doesn't need to be handy. It's a business process. So what can be done to improve stuff like that? Well, the first thing is it was an unlocked desk. So...

If there's a lock, lock it. If you open it, close it when you're done. And those kind of things go back to how people are raised. In my house, leaving the lights on when you left the room was a cardinal sin. Yeah, we're not the electric company. My wife...

You know, I love her to death, but she is notorious for leaving every light on and trying to turn some of the lights at the neighbor's house on. So, I mean, that's just the way we were raised completely differently. So, because of that, we have a different outlook. I lock doors everywhere I go. I get out of the car, I lock the door. I could leave my house, I lock the door. You know, most of her family leaves their doors unlocked, not only at night while they're sleeping, but when they leave the house. And that just baffles, you know, my brain can't do it. You know how I think. I can't, yeah. Even I can't focus on that one. I lock the door right when I walk through. I'm in the house, the door's still locked. It's a thing. And so, what can we do? Come back to the fundamentals. The basics of security apply to...

almost every facet of life. I mean, the fundamentals work. So locking the doors, closing the doors, and then going beyond that. So I understand you want to keep your passphrase handy in case you set the alarm off. Maybe don't put it out in a reception area. Maybe put it in a restricted area behind a couple of layers of security instead of, I have my building with a lock on the front door. I have a desk in the front of the building, and that's where it sits. You know, put more layers to your security onion, and that will help to protect. Have you ever come across a company that seemed to have spent a lot of money on physical defenses, like bulletproof glass locks, really heavy doors, key cards and retina scans and everything like that, and yet you just simply defeat all of that? If that's so, what was your common, like, really easy trick that just you walked right in that wasn't tailgating?

That wasn't tailgating. That wasn't tailgating. Because obviously tailgating is a thing, so I could see you getting past all those defenses like that. The last time you and I talked, we talked about my experience with critical infrastructure. That's where I used to spend a lot of my time and attention. And we did a lot of physical assessments for that space. Was that the time you crawled under the fence? No. This is the time I walked in the front door.

We do regular ongoing assessments with most of these customers, and it's an annual thing. We tested them a year before, and this was a level one Marsec facility. This was dogs, mirrors under the car. This was a big deal. I tested. I didn't believe them. It was on a peninsula, so it was three sides of water and then one side of land. Well, we were going to be stupid. We took a boat out, and we were going to come and hit them from one of the sides on the water. I got met by a Coast Guard cutter with a viddy cow. They were saying hello. Yeah.

Yeah, so this was no joke security. They were the real deal. We walked in the front door. I set up a job interview. I pretended like I was there to get a job. I met with my people. They took me into their boardroom. This boardroom just so happened to also be their emergency response center. So they had this desk. It's about the size of the table we've got here, but it was a security desk with the locking. It's supposed to be all locked up or whatever. The only equipment you could really get to was they had a radio transceiver, and there was a keyboard, but I couldn't see the screen, couldn't touch the mouse.

But playing and looking at the thing, actually, this scar right here is actually from this retest we're talking about. Because looking under the desk as I was examining this target, they left me alone for a few minutes. So I had some time to check this desk out and I get under it. And this thing is built really well, except right under here, it's total access. So you can reach in and I can touch the boxes. Uh-oh. Okay. So they shored that vulnerability up by putting some chicken wire covering this. And it was bolted on three, and I was able to push through, stick my hand, and I pulled out because he came in. He came back. I was able to drop my bash bunny. We were able to get a shell.

And I took home a little bit of a battle scar from that. But we walked right in the front door. And it was all just in the regular pretext of, I mean, people put trust. You don't know who I am. You think that I'm there for a job interview, and you leave me unattended for one minute, and I will rain down terror on your world.

I mean, but yeah, and that goes to something Jason Street had mentioned years ago in one of his talks. Nobody goes to work expecting bad things to happen. So naturally, a person coming in for a job interview, they're not going to be like, this guy's here to wreck the facility. He's here to get a job. He wants a paycheck. So let's just, yeah, he'll be fine in that room. The cabinet's locked. That desk is locked. He can't play with anything in that cabinet. What's he got? A radio and a telephone. What's he going to do? A call for pizza? I mean, he's not, he's like, yeah, I can see why they would.

instantly assume they were protected for those little metrics. But you've got to file a point. You drop the bash button and Tom, there you go. Bob's your uncle. This has been awesome. I actually love listening to your stories. So tell me one more. What's another Red Team story that you think of? And then I've got one follow-up question for you.

There's just so many. Has there ever been a time when you've done something to where it wasn't necessarily hard or easy, but you were flabbergasted, actually floored that you were able to even do this, like get away with it or it even happened? Yeah. So I had the opportunity to do a physical assessment and test the loss prevention team for a retail organization. And they wanted, I call it the Michael Weston experience, for those of you who are familiar with the Burn Notice. Great TV show. And they said, you know, we've got a crack team. We really want you to give us your best. We want you to come in and steal from us. How much can you steal? So they set us 48 hours and they give us permission to steal.

$25,000 in 48 hours from a retail establishment. I'm talking a general type store, think a Walmart type thing. The most expensive was a $2,000 diamond ring. And the biggest was a canoe. I walked out of the store and stole a canoe.

How were you able to pull this off? Like the ring? How did you get the ring out of the case? So this was a free party. We had three people on the team. Two approached the desk and were shopping for jewelry. And then the third was a distraction. So we had, I call this the human buffer overflow. We've got the target with their resources spread thin.

bifurcated with these two people who are shopping, right? And then our distraction comes in, causes the diversion, and then we're able to steal. So the way that it worked is one of our shoppers was able to get the jewelry attendant to open the sliding door. We timed that for the diversion, looked away, grabbed the ring. Nice. I'm assuming the canoe, you just put it on your shoulder. A clipboard and a work order. A clipboard and a fake work order. We printed a work order off. I walked in, grabbed the canoe, walked out, and the guy was like, hey, you want me to help you load that? I was like, no, I got it.

We're good. Just walked right on out. That was it. They would have helped me load it. So when you turned in the report on that one and showed them all the merchandise, what was the reaction? Were they blindsided? They fired about 80% of their loss prevention team. Do you think that's fair when that happens in situations like that? A red team finishes their assessment and suddenly people are losing their jobs? Here's the problem. I call this poison in the well. Because especially if you realize that your leadership in that position is a problem and is training poorly or improperly, it's almost impossible to correct that training. So you almost have to burn the house down and rebuild.

so do i think it's fair no but i do think that it's necessary especially if there's the potential for large-scale loss like that and retailers this is a retailer who is often targeted and has a lot of fraud and a lot of like people will go and buy some merchandise and then try to return it i actually had they bought i saw a case where they bought a box a boxed item took it home took the item out put old phone books in boxed it back up took it back and got store credit so like those types of things are a big deal so i mean If they're not able to stop the blatant attacks, what makes them think they're going to be effective? So it's not fair, but it's necessary sometimes. It had to happen. So the final question for you is one I ask a lot of people when we talk about these kind of topics is, how do you define social engineering? What is social engineering to you?

Social engineering, to me, is hacking the human connection. And as we both know, we're old school, hacker, it doesn't mean today what it used to mean. When I say hacking the human system or the human relationship there, that's like, I don't necessarily mean that I'm trying to break something, but I'm trying to manipulate it to meet my needs. And that, to me, is social engineering. Manipulating that human connection to whatever the...

needs or means of the attacker. Excellent. Phil, thanks a lot for taking the time to talk to me. This was a lot of fun. It's my privilege. If you want to learn more about threat teaming or physical assessments or anything like that, don't forget to check us out at CSOonline.com. Again, my name is Steve Reagan and this has been Salted Ash. We'll talk to you soon. Bye.

Frequently asked questions

How long is this episode of Salted Hash?

This episode is 23 minutes long.

When was this Salted Hash episode published?

This episode was published on June 4, 2018.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Salted Hash episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.