# Pentesting 101: Hacking Legally with Warren Houghton

> In my conversation with Warren Houghton, he shows exactly how a penetration test unfolds: starting with scoping and permission paperwork, then moving into reconnaissance and tooling. He demonstrates how a tester uses Kali Linux alongside Nmap for port scanning, Metasploit for exploiting vulnerabilities, and Burp Suite for intercepting and manipulating web traffic. He also highlights the risks of overlooked exposures—like a public .git directory or outdated WordPress plugins—and stresses how secure configurations and network segmentation can prevent lateral movement. Throughout, he emphasizes the constant need for learning and vigilance against ever-evolving threats.

- **Show:** Nerding Out with Viktor, hosted by Viktor Petersson
- **Episode:** Season 2, episode 2
- **Guests:** Warren Houghton
- **Published:** 2025-01-31
- **Duration:** 1 hr 1 min
- **Watch or listen:** [YouTube](https://www.youtube.com/watch?v=NP4XoZxyj1g), [Spotify](https://open.spotify.com/episode/18EPpbzYlpRzkBDltRw6yu?si=0d30588df6fb4650), [Apple Podcasts](https://podcasts.apple.com/gb/podcast/pentesting-101-hacking-legally-with-warren-houghton/id1722663295?i=1000687339298), [Amazon Music](https://music.amazon.co.uk/podcasts/c8e79c21-2dde-4597-b9fb-257ecbc2bf29/episodes/a003cb9c-a9f7-4af5-99cc-c1c356ad2cbf/nerding-out-with-viktor-pentesting-101-hacking-legally-with-warren-houghton)

In my conversation with Warren Houghton, I gained a thorough understanding of penetration testing from both a strategic and technical standpoint. We started with the scoping process, which sets the stage for any successful test. I learned that having a clear agreement about what systems, applications, and IP addresses can be targeted is not just a legal safeguard; it also helps avoid accidentally bringing down critical services. Warren highlighted how testers confirm authorization by collecting signed documents, which eliminates any risk of unauthorized hacking activities.

Once the paperwork is settled, Warren described how he begins reconnaissance by using [Nmap](https://nmap.org) to scan for open ports and fingerprint the services running behind them. This step reveals the "attack surface," giving a tester an overview of what might be vulnerable. He then uses the [Metasploit Framework](https://www.metasploit.com) to match those discovered services with known exploits, adjusting configurations and payloads to see if a target can be compromised. Warren stressed that even a single exposed service or overlooked legacy system can provide a foothold for further attacks. Proper network segmentation becomes critical at this point because once an attacker gains any level of access, it is surprisingly easy to move laterally if different internal networks are not correctly isolated.

We also explored how web application assessments often involve [Burp Suite](https://portswigger.net/burp), which intercepts traffic between the browser and the web server. Warren demonstrated how simple it is to bypass client-side JavaScript restrictions by modifying HTTP requests directly. This technique can reveal missing server-side checks, insecure file uploads, or subpar password handling. Warren also talked about finding an exposed `.git` directory that leaked source code and hardcoded credentials, opening the door to extensive compromise. He shared a few anecdotes about real-world breaches that began with these seemingly minor oversights, including one where a misconfigured IoT device acted as a springboard into a corporate network.

Our discussion then shifted to containerized environments, especially those running [Docker](https://docs.docker.com). Warren pointed out that containers, when configured with strict isolation, can limit an attacker's reach. However, he also noted that developers sometimes map the Docker socket into a container for convenience, effectively granting root-level access to the host if exploited. This tension between convenience and security reappeared throughout the conversation, reminding me that human error is often the weakest link in the chain.

As we wrapped up, I asked Warren about his favorite success stories and the times he encountered unexpected barriers. He recalled instances where small configuration tweaks stopped his attacks cold, underscoring how even basic security best practices can go a long way. On the flip side, he mentioned multiple tests where organizations missed routine patching or left default credentials in place, giving him unfettered access in minutes. Ultimately, our talk reinforced the idea that continuous learning, robust patch management, and persistent monitoring are essential. Even advanced tools like [Kali Linux](https://www.kali.org/docs) rely on the user's knowledge, creativity, and ongoing vigilance to keep pace with evolving threats. I left the conversation with a renewed appreciation for how methodical, yet inventive, penetration testing can be in strengthening security at every level.

## Transcript

**Viktor Petersson** [00:00]: Welcome back to another episode of Nerding out with Victor. Today I am going to do an episode about pen testing, which is something I wanted to do for quite some time. So when I had Ken Munro on the show a few weeks ago, he introduced me to Warren Newton who will be with me today and do some pen testing exercises or speak about pen testing exercises at least. So welcome to the show, Warren.

**Warren Houghton** [00:25]: Hey, how you doing mate?

**Viktor Petersson** [00:27]: Good. So it's probably gonna make its way into a two part episode, I think because we in the pre recording conversations, I think we have enough me to do two episodes.

**Warren Houghton** [00:38]: Yeah, I do some other stuff that might make it into another episode.

**Viktor Petersson** [00:44]: Exactly. And we had some backlinks to Iceman, who was on the previous episode as well, which relates to that regards to.

**Warren Houghton** [00:50]: All the listeners and you.

**Viktor Petersson** [00:52]: Amazing. So what we're going to do today is basically walk through a theoretical exercise about how a pen test is structured. We actually. Well, this past week the company you work with work for, Pen Test Partners, did a pen test for screening. So we literally did exercise ourselves a few weeks ago with you guys. And so let's start there. Okay, so the scenario that I want to use today in this episode is you are asked to do a pen test and in most engagements you are given kind of a hit list of what you are allowed to with some parameters. Like you're allowed to do this, but you're not allowed touch that and so on. Right. So let's start there. Like usually given either a domain name or IP address to hit or. And then you basically start from there. Right?

**Warren Houghton** [01:50]: Yeah. So in terms of pen testing, it's like you're hacking something legally or you're allowed to hack it. So the first thing I want to do, the pen tester is make sure I'm hacking the right thing.

**Viktor Petersson** [02:01]: Right.

**Warren Houghton** [02:02]: Like make. Confirm that. Yeah. Like you say the domain name is now Scope. Make sure. Right. If there's some big bad pace that they really don't need touch, make sure you don't go to that. It's all within the confines of the.

**Viktor Petersson** [02:17]: Right, so. So the very first thing you do is actually get your paperwork in order.

**Warren Houghton** [02:21]: Yeah. Make sure you don't end up in jail is the first one. Really. Yes. So yeah, that'd be the first thing. And then yeah, once day one hits, you just start firing your laser. Just see what sticks and see what there is. So it depends on what you're testing really. So what am I testing?

**Viktor Petersson** [02:45]: So let's assume you're like it's some kind of SaaS company. I would imagine it's your bread and butter normally for pen testing, right. So you would have some kind of web app. I would imagine that you're testing. So let's assume you're given a range of IP addresses and you have some course body domain names. And let's fire lasers. What's the first thing you do when you have these IP addresses?

**Warren Houghton** [03:09]: If it's a web app, I want to load the web app. And one of the main tools I like to use is Burp Suite. And what Burp Suite does is proxy. So whenever you go to a website in the back end and the Burp Suite acts as sort of a middleman. So between your browser and the website in. And Burp Suite will sit in the middle. And what Burp Suite will let you do is screw around with the traffic as it's going through and start firing lasers, bypassing any controls that the browser. So for example, certain things like if you're setting a password and you go, right, I want to set my password. I want to use the word password, stupid person. Then your web app might stop you be like, no, no, that's not allowed. That's a. That's a bad password. I'm going to stop.

**Viktor Petersson** [04:04]: Right?

**Warren Houghton** [04:04]: But the server might allow it. And what's like clients rather than server side. So right through Burp Suite instead of your browser, you'll bypass.

**Viktor Petersson** [04:15]: So you bypass all the JavaScript kind of validation.

**Warren Houghton** [04:18]: You can bypass a little. An awful lot of checks that are, well, all checks that are clients.

**Viktor Petersson** [04:23]: Right.

**Warren Houghton** [04:23]: If you do it through Burp Suite, it's just a little bit more.

**Viktor Petersson** [04:31]: Right. So you start with Burp Suite and then you, you basically poke. You basically log in, you record the sessions and then you see what's going on behind the scenes. Really?

**Warren Houghton** [04:41]: That's it. Yeah. I think the first thing I'd like to do is understand before I start breaking it, understand what it's doing.

**Viktor Petersson** [04:48]: Right.

**Warren Houghton** [04:49]: It's working, right. Understand that website as well as I could like understand what technology is being used, understand what parameters being used, understand what cookies are being set for certain sessions, right? How they're being and all that. And then I'll start going, testing very certain things that maybe feel.

**Viktor Petersson** [05:10]: So it's your Spidey senses when you look through those sessions, you're like, my Spidey sense says it's something in this area that feels funky.

**Warren Houghton** [05:17]: Yeah, that's it. Some tools like start highlighting stuff and go, right, you need to look here. And Burstuite does do that and sometimes years in the industry go. I should probably look here. This looks a bit snippy. You know.

**Viktor Petersson** [05:30]: And you mentioned password recovery in password setting is one of the first usual suspects.

**Warren Houghton** [05:35]: Exactly. You want to make sure like when the client gives you a website, you want to make sure that if there's a client session, the people can make accounts grocery. Then those cl. Those sort of accounts can be secured effectively. It's one of the things we do. Make sure you're allowed to pass words that significant level. You're not limited to like 8 characters long. I've seen that on websites. Like anything over eight characters.

**Viktor Petersson** [06:06]: Yeah. That's your password.

**Warren Houghton** [06:08]: What's. What's this?

**Viktor Petersson** [06:09]: Oh man. That's one of my pet peeves. Like when. When they do that or they prevent people pasting in a password.

**Warren Houghton** [06:14]: Oh, it's so infuriating because. Yeah, pasting and password. I want to use a key manager. I'm not typing that stuff. I don't want to know it.

**Viktor Petersson** [06:21]: Right, exactly.

**Warren Houghton** [06:23]: Yeah. It's defeats the point. So that. That would be stuff we would raise for like account management. And then there.

**Viktor Petersson** [06:28]: Please tell us all the UK banks.

**Warren Houghton** [06:30]: Oh God. Banks. Banks. Banks are getting better. It's taken the pen testing community a long time. Generally. Yeah, they. They are getting some. So I'm just gonna leave. So I'm just gonna leave it at that. But yeah, then we want to test like. Like session management, for example. Like if I for example upload a file and I. I have like a little cache of files and blood out on my YouTube for whatever reason. I don't even theoretically can I upload a file or make a change or do something that affect your account. Right. Like when you do like a post request and it goes blah, blah, blah. User value 2. Can I go user value 3.

**Viktor Petersson** [07:18]: And it work, you know, so breaking. Breaking the confinement and secure barrier for that count.

**Warren Houghton** [07:23]: It's like horizontal. Yeah, horizontal.

**Viktor Petersson** [07:28]: That's great.

**Warren Houghton** [07:30]: It's a like session.

**Viktor Petersson** [07:32]: Yeah.

**Warren Houghton** [07:36]: That'S. Well, that's websites and you generally look at. Websites are a bit of a. There's lots. There's lots. It's generally quite. Not dark in a bad way, but like dark because you don't see a lot. Yeah.

**Viktor Petersson** [07:53]: And like imagine this was like. I know a large portion of the Internet runs on WordPress, right. So yes, running. Finding out what version of WordPress that's running is probably a key finding. Right?

**Warren Houghton** [08:08]: Absolutely. If you're running an old version of WordPress or some plugins that haven't been updated. Running a dodgy site then. Yeah, absolutely. I mean WordPress can't remember it to the WordPress logon on a website by doing WP logon I'm like, cool, right? You probably shouldn't have that exposed. Like why does any Tom, Dick and Harry need access to that log? And that would be something that we would also find and usually at the bottom of that page it will also like you say what version it is. Well now I'm going to Google the how out and see if.

**Viktor Petersson** [08:56]: Right.

**Warren Houghton** [08:58]: Hopefully it's not a live web app. We always try to clients not have us testing live because if it goes down that's a live website which can impact. But then hopefully they've got a ua.

**Viktor Petersson** [09:18]: Right. And I mean with the rise of. I mean I'm thinking Cloudflare in particular because I think they probably did more to the web application firewall space than anybody prior to that. Right. So their WAF is actually pretty good, particularly for WordPress. Right?

**Warren Houghton** [09:35]: Yeah, it's not bad. Not everything like WAF won't stop everything. There was always going to be something like anything like antivirus. You can always bypass antivirus. It just takes longer and longer. But having a. Having a web application firewall is looted and like it will if you start bombarding stuff with endless amount of traffic because you're trying to test password 1, 2 password. Yeah like usually find that or like if you send the malicious payload to go like script alert one script it would go probably a bad guy. You shouldn't come out and it'll stop that the barrier before it gets.

**Viktor Petersson** [10:20]: Okay, so pro tip then make sure you have Cloudflow or the likes of Improv your WordPress site.

**Warren Houghton** [10:27]: That's it. Vendor agnostic here. Yeah, just have something protecting like. Yeah, it's like you wouldn't just not have a door at your house. Right. Like it's like well if you can have it and it. You might. You won't see it. But yeah, that's good.

**Viktor Petersson** [10:48]: Yeah.

**Warren Houghton** [10:48]: Don't see it.

**Viktor Petersson** [10:50]: Right. Yeah. All right, so you poked it now you ran through Burp Suite. You. You saw some interesting stuff, started poking at the password reset your spider senses as you browse through the website. That's kind of like your main thing there.

**Warren Houghton** [11:06]: Like what else?

**Viktor Petersson** [11:07]: Like the password reset is an obvious one. What else is like an upload said.

**Warren Houghton** [11:12]: That's it. If you depends on what you can do on the website. It all depends on what the website. Like if you go To a website. It's just one page. Well, there's nothing to.

**Viktor Petersson** [11:23]: Right.

**Warren Houghton** [11:23]: But if there's like some crazy file upload or some like rendering software in the background that like renders everything you upload, then, oh, happy days, let's go. Because you can start uploading stuff and see what happens. Like if there's any AV checks on anything you upload should be like.

**Viktor Petersson** [11:44]: Well, it depends on this. Depends on the scenario to some extent.

**Warren Houghton** [11:47]: Right, it does. So like if it was a bank and you actually upload an invoice, whatever you wanted to upload, be checked by some person working the bank, go, yeah, this is legitimate. Or like a picture of your passport or something.

**Viktor Petersson** [12:01]: Yeah.

**Warren Houghton** [12:04]: Who's to say I can't just embed a virus into that? And sure, it would be loaded within the bank's domain by somebody.

**Viktor Petersson** [12:13]: Right.

**Warren Houghton** [12:13]: We can all imagine how that can go badly.

**Viktor Petersson** [12:16]: Yeah.

**Warren Houghton** [12:17]: In the right you. There are a lot of dots and maybes there. Like that attack quite hard. But you get the picture, right? Yes. So it's. Yeah, it's all about what the functionality is. If you can upload a file. Can I upload a bad. The thing I always say with everything, if it could go wrong, how bad could.

**Viktor Petersson** [12:40]: Right.

**Warren Houghton** [12:40]: If I can upload, what's the worst file I could upload? So how about we stop that?

**Viktor Petersson** [12:47]: Yeah. And I mean, that opens a Pandora's box of attacks vectors in general. Right. Because then you have both rootkits, you have like various types of. Well, it kind of hits. Wow. I guess we should also cover how you could get executables onto the actual server that's running this.

**Warren Houghton** [13:09]: That's it. So, yeah, if you can upload a file, for example, and then you can browse to that file.

**Viktor Petersson** [13:14]: Right, Right.

**Warren Houghton** [13:15]: Okay. You've uploaded test1. And then you can go website domain slash, test1. You'll load. What happens if I upload test1 HTML and bad HTML in it? Will it render that? Will it render that on the server? Can I just upload a shell and start typing in commands on the server that it will render on the server? Then you've got a terminal on the server and that's. It's not. That's not ideal, is it?

**Viktor Petersson** [13:42]: Let's, let's go. Let's go down that path further. Right. Because that's an interesting attack vector. Like once you can actually start executing commands on the server.

**Warren Houghton** [13:50]: That's scary. I mean, that's. That's when the fun really starts. Right. You're like you know what? I can start. Screw your web app. I don't want to test that. Now I've got access. Yeah. I want to pop a shell, start, get cloned. I don't know, do everything. Metasploiting the hell out of it. And then. Yeah, like, that's when it really goes bad. Imagine if somebody just connected to your. Like, we'll retract that. When you, when you make a website, you've given it permissions, blah, blah. Maybe you've connected it to your domain internally. I don't know. You maybe. Who knows? We don't know, but people do. And if I can get a shell on that, I've got a domain box on your network. Yeah. I've got a domain machine and I can start running commands in your network when I shouldn't be allowed. Yeah, yeah, go very bad. Very, very quickly.

**Viktor Petersson** [14:44]: And this is. I mean, I'm gonna go on a tangent here a bit, but this is why I've had a passion for IoT security for a long time, in particular with my DJ bot. Screenly, like, IoT devices are deemed kind of unsecure, like, because they don't really need to be secure. But what a lot of people fail to understand is if I can pop that Iot device, I can use that to move lateral on the network. Just like if you pop a shell on that server. Right.

**Warren Houghton** [15:11]: Yeah, I mean, we hear about, like, Iot stuff and that's why it says, like, put it in a DMZ vlan, like segregate it all. Yeah. Like, if it could get popped. Let's not. Let's not make it the worst. I mean, we heard about years ago, the casino in.

**Viktor Petersson** [15:29]: Yeah, the aquarium one.

**Warren Houghton** [15:31]: Yeah, that was awesome.

**Viktor Petersson** [15:34]: Yeah, that's a recap. That story. Somebody. That was a Bluetooth Explorer, I think.

**Warren Houghton** [15:39]: Yeah, it was. Somebody basically hacked. It was like a smart fish tank.

**Viktor Petersson** [15:42]: Yeah.

**Warren Houghton** [15:43]: And somebody hacked the fish tank. But then it was like. If I remember correctly, it's been a year. It was connected to the corp of. For some reason, because people like to monitor their fish tanks. Don't know why. Why would you. So by hacking the. The IoT device or the fish tank, you had Core pack and then. Well, that was it. The casino was hacked. It was done. Yeah, I mean, yeah, it was just. That was a. That was many years. Yeah, but it was. There's, There's. It all depends on what you see on a web app. I mean, I've seen. I've seen a web app once where you could send an email, basically. When you like almost like a confirmation email a few years ago and it was all like, I make an account or I've uploaded and it was like a confirmation email. Like, good. We see that all the time. The issue is the confirmation email was generated on client that I had control on.

**Viktor Petersson** [16:41]: Oh.

**Warren Houghton** [16:42]: And it was like just almost sent to the server that was MP.

**Viktor Petersson** [16:46]: Shelling after like mail, right?

**Warren Houghton** [16:47]: Yeah. So I was like, well, what happens if I change that? And I'll just send an email and just whatever and I'll just type. I was like, oh, it worked. And I just got my own email from them. I was like, well, that's a great phishing.

**Viktor Petersson** [17:01]: Right.

**Warren Houghton** [17:02]: I can just send emails as them and go, oh, your account has been locked. You need to click this link to unlock it. And it's coming from them. So it's all legit, it's all trusted, it's all good. And then they. People could just click those links. But like, yeah, people probably just click those links because it's trusted. And then I'll just start hoovering up all their clients and information and password everywhere else.

**Viktor Petersson** [17:32]: Right.

**Warren Houghton** [17:32]: But it all depends on what the web apps.

**Viktor Petersson** [17:35]: Right.

**Warren Houghton** [17:35]: That's where I like. That's why I like to completely map out first and go, let me see all the functionality. And then I'm going to sniff something that's bad. Like an email being like a file up that isn't.

**Viktor Petersson** [17:53]: Yeah. And I guess that brings us into the other category of like the most common vulnerabilities, which is like injection attacks or SQL injection attacks, depending on the target. Right?

**Warren Houghton** [18:05]: Yes. So SQL injection attack, I mean, they've been.

**Viktor Petersson** [18:09]: Yes.

**Warren Houghton** [18:09]: Donkeys before I was even a pen. Right. And it's the oldest form of attack is like all one equals one. The classic. So when you go, okay, I'm going to send. Imagine a login username and it sends it to the backend. Cool. And it. The idea is I'm trying to. Trying to make people visualize that. It's quite weird because imagine that's been put into a sequel and it was like, select username from users list where password. And what happens if I could just screw with that and inject my own thing instead of saying it will say all one equals one, which will return a true. One does equal. So if you can make it return a true, because that's what you're looking for in order to log in and be like, yeah, login password equals correct true. Yeah, login good to go. If I can just go, well, one equals one. If like, yeah, it does. True. Yeah. We're like, wow, cool. I'm going to log in because I got my.

**Viktor Petersson** [19:11]: Right. Right. Or you could do more nasty things.

**Warren Houghton** [19:15]: Yeah. You could dump the entire database at that point instead of just logging in. But the. Yeah. Be like, okay. Or Bobby drop tables. Or just like delete the whole. Delete the entire database. Because some people are just. They just want to see the world burned. And.

**Viktor Petersson** [19:32]: Yeah. What's. I mean, what's the craziest one you've seen with regards to these? Like, what's the crazy. Like, you mentioned the mail story already with that. What's the craziest finding you've had where you're like, really?

**Warren Houghton** [19:43]: Yeah, I. I had one of my first web apps, right. And this was way back. Way back when, before I. I didn't really know what I was doing. I was still learning. I was. I was. I was on a job with a good man. I won't say his name. I don't know whether he wants me. He. He will know if he is. There was a web app and there was a page which we found, which you could generate your own report. Right. And it was all like. It was to do with, like.

**Viktor Petersson** [20:11]: Right.

**Warren Houghton** [20:12]: Deal with. But before you generate the. It gave you the option to. To put your own generation code into it to say, like, I want to use this code as well as generating my. And it was in C Sharp. And I don't quite understand the logic of them letting you put any C Sharp you wanted into a web app and it would just render it. I didn't. I don't quite understand. But effectively we just got Metasploit, a meterpreter shell, who were like, well, we're just gonna put bad C Sharp on and then just got a beacon back. And we're like, well, now we've. Now we've popped your web. Why did you have that page? Why was that there? Right. And it was just more confusing than anything. We've also had. Also had a website where they didn't hide the git directory. So which I don't know why that would ever be a thing.

**Viktor Petersson** [21:08]: Why would it even be the first place is the biggest question. But yes.

**Warren Houghton** [21:11]: Would you still the. Basically they hosted their website and it's still within the. Within the directory of the website. It wasn't like linked anywhere, but find it. If you go to the website, slash, dot, git. And then it just listed all the git files and it was all the source code for the website. I'm like, well, that's not good because there was like hard coded credentials. There was like information in like internal, direct, like networking information. They were like.

**Viktor Petersson** [21:39]: So you can literally clone their website by just putting it.

**Warren Houghton** [21:42]: Yeah, I just get cloned the entire website. I was like, I'm just gonna host your website now. Like this is not a good thing, guys. So it was like instantly on the phone client, go in.

**Viktor Petersson** [21:54]: Right.

**Warren Houghton** [21:55]: Take this offline now because you're like, yeah, this shouldn't be there. And if anyone finds this, you're going to be in a bad way.

**Viktor Petersson** [22:04]: Right. I mean, yeah, if they also had hardcore credentials, like you have multiple levels of no's there.

**Warren Houghton** [22:11]: Yeah, there was so many bad things. It was like the perfect storm. I had a great day and.

**Viktor Petersson** [22:18]: Right.

**Warren Houghton** [22:19]: Yeah, I had a really fun day. But the climb. But that was, that's the, that's the point of being a pen tester. If I'm happy, the client usually isn't. Right. You're always the bad guy. But yeah, it's good fun.

**Viktor Petersson** [22:36]: Yeah, I can imagine. All right, so we talk a bit about Burp Suite and obviously that's kind of like the go tool for a lot of like early stage recon, I guess for any pentas engagement. You alluded to metasploit, which is another very common tool for using in these engagements. You want to talk a bit about that?

**Warren Houghton** [22:57]: Yeah, happily so Metasploit is, I think, imagine you found something that's old talk about. We talked about WordPress being like updated. I mean everything could be outdated. So a metasploit is effectively a framework for going. I have an exploit. I'm going to say, oh, I want to. It's this IP address, this fundable. I want this and it will fire it. It's a, it's a framework for going for firing exploits app or different tools at things like you can proxy. If you get a shell on a box, you can hop through that box.

**Viktor Petersson** [23:38]: So lateral movement on the network.

**Warren Houghton** [23:40]: Yeah, lateral movement. So sometimes like if you've got a web. Web app. Talk about web app. I know. So if I popped a website and I've got a shell on the website and I'm like, cool, happy days. What's further on from. I want to use this website as like a stepping stone to start attacking more things. Sometimes you can't, you haven't got the tools on. You know, you can't just install exploits and stuff on that.

**Viktor Petersson** [24:02]: Right.

**Warren Houghton** [24:03]: It might be tiny. It Might be like AV on it, but maybe you can use that box as like a stepping proxy and that's where like metasploit can come in handy. There are other tools that can do it quite handy. You can go, okay, I'm going to pop it and now I'm going to funnel all my traffic through that. All my traffic from my box is going to proxy through the website and then I'm going to start going, oh, well, what's on the other side of the website? Oh, it's your domain controller. Happy days to start attacking that. You know, it's because people don't have the domain controller online. People do. You shouldn't. So maybe it's hidden behind something and maybe I can just hack some more against.

**Viktor Petersson** [24:45]: So let's unpack that a bit. So let's imagine that this example web app that we're talking about, you managed to pop a shell one way or another and now you have abilities to execute. But it might be like a pre lockdown Docker container or if it's a modern thing, so like you have nothing in there. Right. You might have write access to say like that slash TMP folder.

**Warren Houghton** [25:08]: But.

**Viktor Petersson** [25:08]: But that's. That's all you got, right? Because that's kind of hard to run a system without anything that's writable.

**Warren Houghton** [25:13]: Yes. Yeah. You have to be able to write to it somewhere or at least be able to load something into memory or.

**Viktor Petersson** [25:19]: Right.

**Warren Houghton** [25:20]: Docker can be a different beast. Breaking out of Docker, it can be done, but like it's getting harder if you've mounted like Docker Sock or something like that.

**Viktor Petersson** [25:32]: Let's assume people are not crazy.

**Warren Houghton** [25:34]: Let's assume I've seen crazy people. Yeah, they exist. But yeah, it's like, it's usually you've made a mistake if you've done everything to guidelines and everything like that now, don't you Wrong people. People are wrong. Right. Guidelines aren't always correct, but generally they're the best thing you can do.

**Viktor Petersson** [25:58]: Right.

**Warren Houghton** [25:58]: So if you follow the guidelines with Docker, you shouldn't mount Docker Sock, because that's.

**Viktor Petersson** [26:06]: Convenience is usually the reason why people do things like that.

**Warren Houghton** [26:09]: Right? Yeah, it's usually a dev going, oh, I can't be bothered to drop out of this and mount this. I'm just going to mount it in here. And then he forgets to unmount because people do. They like, oh, I'm working till 8 at night and I'm going, oh God, my wife calls me in for dinner and suddenly You've got a massive vulnerability in your system. Yeah, it happens all the time and that's where wrecks you in.

**Viktor Petersson** [26:31]: Yeah. So, yeah, but you, one way or another, you are now in access of some kind of shell in a VM or DOC container where you can write and execute commands. Like, what do you do now? Like, what do you start with your network discovery to like lateral movements?

**Warren Houghton** [26:49]: Well, first question, am I trying not to get caught? Right. Yeah. So there are a few things. Like if you're trying, if you're on a red team, for example, and that's the basically a pen tester that doesn't want and they're doing everything very sneakily, then there are ways of doing it and they're very light and live off them. If you're just a pen tester and you're on an assessment, then you can fire all the lasers and don't have to worry about the sock.

**Viktor Petersson** [27:21]: So, so let's assume there's no IDS in place. Right.

**Warren Houghton** [27:24]: So you, so if there's no one going to catch me, if I don't have to worry about being caught, I'd fire off like Nap, Right. Or Nessus, if you really want. Oh, right.

**Viktor Petersson** [27:33]: That's a blast from the past.

**Warren Houghton** [27:34]: Yeah, it's still pretty good. Like, well, I say good, it's useful but like, yeah, you start firing off discovery scans across the net and what NMAP does is like network nmap. You can just go, okay, I'm going to give you a range of IP addresses and give it/8 if you want, take a while, but you can give it the biggest range and it will start poking all of those IP addresses and seeing what's like. Or it will start pinging all those IP addresses, see if they're there or go, oh, is there a web server on this ip? No. And then when it finds something, it will start going or identifying what that is. It finds a web server. Be like, oh, this is an NGINX version blah web server. Or this, oh, 445 is open. This is, you know, Windows 10 or whatever. And we start identifying what you can get a layout of.

**Viktor Petersson** [28:34]: And then based on that finding, you redirect your lasers obviously towards the interesting targets.

**Warren Houghton** [28:41]: Yeah, hackers are lazy, I hate to say it, we're pretty like if there's an XP box on your machine on your network, we're going to hack that first. Because, you know, I mean, well, first.

**Viktor Petersson** [28:52]: Of all, you shouldn't have that in the first place.

**Warren Houghton** [28:54]: But yes, you Absolutely shouldn't have that. But there are councils still out there running it, I guarantee you.

**Viktor Petersson** [28:59]: Do you not doubt that?

**Warren Houghton** [29:01]: Yeah. So like, yeah, there are networks out there that still have very old stuff. Like I have seen NT in use and I've been pen testing for 7 years way after NT4 was end of life and I've seen it.

**Viktor Petersson** [29:17]: Well, Windows 10 is out of life, end of life, which is. Yeah, yeah.

**Warren Houghton** [29:21]: So it's like you see all these things everywhere. So never assume that something like XP isn't going to be there and as soon as it is on the network I. Oh, happy days. Because it just, it's so much another.

**Viktor Petersson** [29:33]: Game is to get a persistent shell of sorts, I would imagine is your next step.

**Warren Houghton** [29:38]: Yeah. So there's one thing like getting on a network and there's another thing staying. Yeah. So if you can pop a website and you get your shell on that server, who knows when that's going to be found? Who knows when that's going to be turned off? Who knows when they go, oh, maybe the socks watching go, like we've been done, let's turn off the website and you've lost all your access. So as soon as you get on there, you want, and you want your beacon going out to your like C2, like Commander Control center, like, okay, I'm gonna get another way in another time then. Then if all hell breaks loose and I lose access, I've not lost.

**Viktor Petersson** [30:19]: Yeah, because that's. We've seen quite a few stories in the press. They're obviously spun from a marketing angle, but if you read between the lines you can say that they were definitely in some big company. This is not like, this is like the origin story for Zero Trust at Google. Right. They, they find state sponsored attackers inside their network sniffing traffic. And like this is like what, 2005 probably. Right. But they had persistent access to Google data inside the network. Right. And this is where Zero Trust started. But the point is, yeah, like if you're now on the network, many if not most systems would not do encryption of the traffic going through that network internally.

**Warren Houghton** [31:10]: No, an awful lot of them don't. There are things that do like HTTPs and. Yeah.

**Viktor Petersson** [31:16]: But your database connections, even like the session connections to your database, like you might sniff the root password for.

**Warren Houghton** [31:21]: Database there you can just sit on the network and start sniffing because something is going to be clear text or you can use tools like responder, like so responder. When you say, like Mountish say everyone's got like mountain shares on it. When you boot up like obviously it reconnects, there's a connection.

**Viktor Petersson** [31:42]: Right.

**Warren Houghton** [31:43]: And what responder would do is almost like hear that and go whoa. You don't want to connect to that. You want to. You know, what about this? And basically long short of it, you end up with a hash. And a hash is basically your encrypted password. And you can just sit on the network. You don't need to connect to it. Just start sniffing these hashes and then you can just try and crack the password. Now if you've set a good password then this. That's not really an issue unless you've got. I know it is because you can have older versions of like relay and yeah, you sometimes don't even. That does have a snip. There are so many things you can do if you're just on a network like.

**Viktor Petersson** [32:28]: Right, right.

**Warren Houghton** [32:29]: It's trying to say like there it's. It's. It's a rabbit hole of just carnage. It gets on your network because I guarantee there will be someone that's shared a drive somewhere they should. Or there'll be a text document on a desktop saying passwords for Da. There'll be a box that nobody knows about because you know, Brenda wanted to use her laptop because that's one that she's got all her Google tabs on or something. You know. And you know there are so many things that in an organization go wrong.

**Viktor Petersson** [33:05]: Yeah. I mean that's at screenly one of the rule of thumbs. We've had it. We have had two rule of thumbs really is a. No Windows machines for anybody. That's the quickest one. Yeah, that's the quickest rule.

**Warren Houghton** [33:17]: Is it all Mac or something?

**Viktor Petersson** [33:18]: Mac or Linux or Chrome OS like that's. Those are the only things I trust. I do not trust any Windows boxes at all. You can secure them. You can secure them. But it's a lot more effortless, right?

**Warren Houghton** [33:29]: Yes, yes. It's because everyone uses them. Right. There's a lot more effort putting in to breaking.

**Viktor Petersson** [33:35]: Well, that's part of it. But also the security boundaries were a lot. We could start with.

**Warren Houghton** [33:39]: I think there's a lot more you can do. I've never hacked them because not to.

**Viktor Petersson** [33:47]: Say it's not possible, but it's. It's a lot more challenging.

**Warren Houghton** [33:50]: Yeah, that's it. They're not. Nothing's impossible like penta. Nothing is just how much effort you want to put in and how much time you have.

**Viktor Petersson** [34:00]: Right. And also like who's your attack vector? Attack. I Mean it's. If you are up against a state sponsored attacker, it's game over. Right. Like.

**Warren Houghton** [34:11]: Yeah.

**Viktor Petersson** [34:12]: When they've got, they're gonna pop a zero day that you have no idea even exist.

**Warren Houghton** [34:16]: Yeah. They find O days for that like every day. Like I know people that just drop O days every week, which is terrifying. And some of them are like terrifying. They get reported eventually and then get fixed. Yeah. Like if the private sector could do it, then absolutely state. And they won't disclose because why would.

**Viktor Petersson** [34:40]: Yeah. And I mean this happens on both sides of the pond. To be fair. It's not only China and North Korea and the state sits in a lot of zero days too.

**Warren Houghton** [34:48]: Oh God. Yeah. As do we. Like the U.S. like, like all the four letter agencies around the world have got a little bank of zero days, I guarantee you. Yeah. Because why would they disclose them? They're. They're free ticket. If they want to hack something.

**Viktor Petersson** [35:03]: Yeah.

**Warren Houghton** [35:04]: Gonna get in because it's not gonna get found. Yeah. Because obviously there's no signatures for it and stuff like that.

**Viktor Petersson** [35:10]: Yeah.

**Warren Houghton** [35:11]: They'd be careful when they use them. Yeah.

**Viktor Petersson** [35:13]: You don't want to burn them.

**Warren Houghton** [35:14]: You don't want to burn them there. There's a lot of effort that goes into finding those. Yeah. So. But, but yeah, if a state sponsored actor is on your network, then imagine they've got infinite time and infinite budget and infinite capability because they have the budget to stand them. So the idea is.

**Viktor Petersson** [35:39]: Yeah. And like, and you mentioned like you might get hashes from traffic you sniffed. Right. And then if they sit on a $5 million GPU cluster and just point hashcat or whatever the tool is today.

**Warren Houghton** [35:54]: Yeah. Maybe their, maybe their target isn't just wrecking you because you've got some really good stuff like we say like a huge password cracking rig or something and they're just going to mine bitcoin through you. Right. And just earn a ridiculous amount of money. Maybe they're hosted in Czech Republic apparently like capital gains tax anymore. So you know, so kudos.

**Viktor Petersson** [36:16]: Yeah. All right. It's interesting. So right, so we covered that. We covered nmap and then I guess one tool that we kind of need to cover as well is kind of the go to platform for everybody who's doing any kind of security work is Kali. Right. That's what most people run. Right. But maybe say a few words about Kali, what it is and.

**Warren Houghton** [36:34]: Yeah, yeah. So Kali is effectively an operator. Right. It's Linux based and it's preloaded with an awful lot of like many of them you will probably never use, but many of them like we spoke about MBAPP and Metasploite and Burp Suite, they're all preloaded. The Burp Suite, the free version, quite as good, but it is there. And you can just download that vm, it's free, there's no licensing needed. You don't need to be trained to use it. Which is terrifying because like a little 10 year old kid can download it. I can. Without any of the know how about the damage that operating system.

**Viktor Petersson** [37:16]: Yeah. And it's so that's why you're running on your laptop normally when you do engagements.

**Warren Houghton** [37:23]: That's it. So I, I, I like to run it on the virtual machine. So generally I can't say it's for every pen, but every pen tester I know has a Windows base and then everything runs in virtual machines like VMware. The main priorities were that you can start isolating stuff and Snapshot and everything like that. So like because stuff breaks right. And maybe you've got client data, you start rolling back to Snapshot. But yeah, I have it on my laptop up staring at right now. There it is. And it's a very useful tool. It's a very useful thing to have because you can run anything on it generally and there are some that you know, it's around Windows. But a lot of things to run better on KALI or are built around because everyone uses it.

**Viktor Petersson** [38:17]: Yeah, yeah. It has the audience.

**Warren Houghton** [38:18]: Right, cool.

**Viktor Petersson** [38:19]: So would you mind if we go through a bit of like show and tell off like how your environment looks like we talk about Burp Suite and like see how these like tools actually look like when you're working with them.

**Warren Houghton** [38:31]: Okay. Right. Let's make sure. I'm not going to share anything. Clyde. Data.

**Viktor Petersson** [38:37]: That is a good, that's a good call.

**Warren Houghton** [38:41]: So right, so this is kali. Now you can use like gui's and stuff like that to run stuff. I don't like it. And a lot of tools are made without a gui.

**Viktor Petersson** [38:52]: Yeah.

**Warren Houghton** [38:53]: For example, like nmap, you can start running NMAP against other things. So let's do what can we nmap, right this what to m map without. Let's have a look. So I'm going to search for port 22. So it's SSA, right?

**Viktor Petersson** [39:15]: Yep.

**Warren Houghton** [39:16]: On my route. That's my router. I know it's there if anyone gets access to my, where I live. That's my vlan. Doesn't matter because I'LL definitely not hard.

**Viktor Petersson** [39:33]: To find once you actually have access.

**Warren Houghton** [39:34]: I'll probably be home and I'll shortly kick you out, so. Stop it.

**Viktor Petersson** [39:39]: Oh, that's actually a good question. Sorry to. Sorry to derail you. What's your network of choice? How have you designed your home network to make sure that everything is.

**Warren Houghton** [39:46]: Yes, so. Because. Because I have a wife and she doesn't like the network going down or crazy amount of traffic I put over it and impacting Netflix and stuff like that. I have. I run two VLANs. The my home VLAN and my work VLAN and.

**Viktor Petersson** [40:04]: Right.

**Warren Houghton** [40:04]: Never the twange because. Yeah, just mainly. Mainly for usability. Less about security. It's more the fact I want to keep it all separate. I've got a lot of things in this office that need network connectivity and it's nice to keep it to know everything in this subnet is my work. And what, what to get into my office. Plug in. There's no WI fi.

**Viktor Petersson** [40:31]: And what gear do you trust?

**Warren Houghton** [40:33]: I have an open WRT router that flash. I flash myself. And then I screwed around with all the firewall. But yes, things like linksys. Links is hardware.

**Viktor Petersson** [40:46]: Yeah.

**Warren Houghton** [40:47]: Upgrade. It's showing. But it says custom firmware. Just because I like to tinker. I could have left it stock. But you know, as a pen tester, you never generally leave anything.

**Viktor Petersson** [41:00]: No.

**Warren Houghton** [41:01]: If you, if you can think. Yeah. So like this, I'm not going to do a full sweep of my network because I can't remember what's on it and don't want to just give everything away.

**Viktor Petersson** [41:17]: Fair enough.

**Warren Houghton** [41:18]: But, but generally if you've got a map, you go, okay. Right, I'm going to start searching the network. And you would. Instead of putting that. For example, if I'm on that subnet, you could do the network. Now I'm not going to click enter because I, I don't want to. But like, but you can just start searching the network. You don't have to give it a port either. So I give it port 22, which is SSH. But you can just search for all the port. And you.

**Viktor Petersson** [41:44]: But it's also. You should. I guess it should be said that there are these port scanning tools now that you can scan like the entire IPv4 Internet space in like hours. Right. Which is crazy.

**Warren Houghton** [41:56]: Like I could scan this entire subnet on every port in like five minutes.

**Viktor Petersson** [42:02]: Well, you could probably do it even faster. Like, I mean they're like.

**Warren Houghton** [42:05]: Yeah, yeah, it was. I was being conservative. Yeah, it's like, it's. There are like per IP address, there's a total like 65,000 and a port. So like a website will run on 80 or 4. Yeah, they're just. They just want the. And then like 22 BS is like different things run on different. Yeah, you can have 65,000 of them per IP. And what this tool will do, go. I'm going to test each IP address and then also test each 65,000 ports for each IP address. So there's a lot of scanning goes on. And if your main monitoring the network, you can imagine the sheer amount of traffic. Yeah. Which is why my first. My first question, like, if I'm on the network, am I trying not to.

**Viktor Petersson** [42:52]: Right.

**Warren Houghton** [42:52]: Because if I'm not, if I'm trying not to get caught, I certainly. This.

**Viktor Petersson** [42:57]: Right. Okay. Yeah.

**Warren Houghton** [42:59]: Get found.

**Viktor Petersson** [43:00]: Yeah, Completely interesting. Different tangent, but I saw a really interesting tweet the other day about how you sniff traffic between two switches by just connecting a hub between the two switches and then you break all the. I mean, you break all the switch functionality, essentially, right?

**Warren Houghton** [43:17]: Oh, yeah. That's why hubs aren't on sale anymore.

**Viktor Petersson** [43:19]: Right.

**Warren Houghton** [43:20]: Like, hubs used to be like the go to. Right. Like with a. With a hub, like, if one thing gets sent in from one point, it gets sent out. All right. Everything's broadcasted, everything is sent out for everyone. So you just tap into that and just hear everything. Yeah. Whereas like a switch, obviously it'll go in like port A and like, I'm destined to go out of port F and it'll only go out for F. Yeah. Unless you've got, you know, you've got trunk port. Yeah, yeah, people do. It's fine.

**Viktor Petersson** [43:53]: Yeah. I just. Maybe it bleeds into the next episode, but I used those. An interesting way of like, if you just attach hub between two switches, you can just like sniff all the traffic.

**Warren Houghton** [44:01]: Oh, I. I definitely. Yeah, we'll go over that next episode. I definitely, like, just sniffed it. Or like, pop their access control system to dump everyone's cars. Yeah. Right. I digress.

**Viktor Petersson** [44:13]: Right? Yeah, that's cool. All right, so. So end up here. You got the go to here. And then. Yeah, metaphor is next.

**Warren Houghton** [44:21]: See if this is. Oh, right. Console. Absolute moron. That was a new move. The command isn't metasploit. It's because were saying it. That's really what. So Metasploit framework. Console. So this will. This. Yeah, you know, a nice little bit of ascii. Sometimes it's not a G. But see, you see on this thing, I need to update it. But there's currently in this one instance there's 2408 exploits, 1240 auxiliary. So an auxiliary would be like, I'm going to get all the information of all your Windows, for example, poke each of the SMB port and pull back what version that would be. Instead. Instead of an exploit that would be just using Windows functionality, right. A scanner, right. Like, okay, I want to know, oh, you're Windows 10 or you're Windows 11, but that would be what that.

**Viktor Petersson** [45:34]: Right.

**Warren Houghton** [45:36]: Then there's obviously payloads. If like, okay, I want to drop interpreter payload. For example. It's like a shell that runs on the box and will let you do a lotbox mini framework. That box run lots then. But then you can just search for say like ssh. So imagine Amazon, you can get the port back for that, the version back for that by giving this a few extra tags like dash V. Or then you would know the version of ssh. But say, right, just search SSH and for example, say it's. Say it's vulnerable no matter what. But say I know because I found the version of SSH you're using. I'm on your network and yeah, version 1.8, sure. I could just search this and I Google the hell out of it. I know this is vulnerable or I've loaded my own export. This is a very easy way of doing it. There are better ways of doing it, but generally this is what it's for. Yeah.

**Viktor Petersson** [46:48]: Can you search by version as well?

**Warren Houghton** [46:50]: Yes. Yeah, you can. You can put loads more things in it. So yeah, whatever. So like this five, you can. There are lots of things you can search. Google is your friend with this. Because a lot of exploits aren't on this. You can load it in. A lot of them are just wrote in Ruby. So you can start loading your own stuff or you can just use something out of metasploit like. Right, but then. So let's. Let's load up a known one. So full search this one. Remember saying like there's a reason that people don't use on. On network because you see this exp. Yeah, this goes what, back in 2008.

**Viktor Petersson** [47:51]: Right.

**Warren Houghton** [47:52]: Long time ago, guys. All these things that is run that available to it. So Windows 2000, 2003. So all these XP boxes, all these.

**Viktor Petersson** [48:01]: 2000 and SP2 was the last version of XP from not recalling.

**Warren Houghton** [48:06]: Yeah, SP3 actually.

**Viktor Petersson** [48:08]: Yeah.

**Warren Houghton** [48:09]: So all of them are vulnerable. Yeah, that's. Yeah, you can't really do anything about it. So you can use that because you know you can either type in and use or you just go and all you do then is go. So show options, for example. These are the options for this exploit and it will just give you stuff like what's the target? The target the port is running on. And then you can just go, right, what payload? This is where you do like Windows Reverse tcp. So what that means is you will fire something off, exploit it, run it, reverse tcp, fire something back to you to capture the shell. This is where you type in your ip, right. You just fire that boom and you've got a shell on the bottom. It's quite simple, right?

**Viktor Petersson** [49:12]: Yeah, it's a powerful tool and particularly if you marry that with things like public data sets like Shout at Shodan and these. Now you have.

**Warren Houghton** [49:23]: You only need to go and showdown and just search like XP box people that have exposed like 4, 5 or 1, 3, the Internet and stuff like that. You're like these boxes like, yeah, there's nothing stopping if it's an XP box and it happens to, for whatever reason, like there are people stupid out there. Put SMB on you. Yeah. Get a sham on that box. There's actually nothing other than my box.

**Viktor Petersson** [49:55]: Yeah, I mean there was. I'm sure you remember VNC roulette when that came out way back when. Do you remember that story? Like it's like they had like industrial control systems just like publicly available without any Internet connection, without any authentication.

**Warren Houghton** [50:12]: Stupid. Yeah. And then going back to what you said, it's usability. It's usually a dev that wants an easier day and it's like, oh, I can access this from home. I'll put it, I'll put the Internet on it because then I can just configure it from home in my pajamas and.

**Viktor Petersson** [50:27]: Yeah.

**Warren Houghton** [50:28]: And it never gets taken off.

**Viktor Petersson** [50:29]: I've. I've been, I've heard stories from people who've done security work in like air gapped environments or like industrial control systems where when they did audit they found like a 4G modem connected to one of the devices because somebody wanted remote access. It's like, yep, you kind of defeat the whole purpose of air gaping this day.

**Warren Houghton** [50:50]: Oh absolutely. I remember I was on, I've done a few air gap networks and you're always there and be like, huh, why can't I resolve 8.8.8.8 on DNS? I'm like, why does it resolve like. And then you're down a rabbit hole of something's got Internet access.

**Viktor Petersson** [51:08]: Right.

**Warren Houghton** [51:09]: And Then, yeah, all alarms start. You're like, why is it, why is this. Yeah, it's pen testing can be really fun. Obviously I've been in it a while now, so. Well, like, you know, it's. It's a lot of rabbit holes, a lot of. A lot of googling. Like. Yeah, yeah, it's good fun.

**Viktor Petersson** [51:38]: The last thing I want to cover is something that I'm sure has been on your radar lately. Like, you already mentioned the idea of being detected. Right. That's a big part. And if you have a payload you drop, if you have any level of sophistication on your network, you will have some kind of IDS or some kind of detection system. Right, yeah, which, yeah, which usually works on signature of the payload. That's how they detect it. Now, with the state of AI tools today, it must be insanely easy to obfuscate those payloads. And you basically have a unique payload for every single attack with very low effort.

**Warren Houghton** [52:25]: I think in theory, yeah, this is an area of expertise I do not specialize in, so I don't want to sound like I would, I would go to some of my friends like, mate, does this work? So. But in theory, yeah, I don't understand why you can just observe it, obfuscate it, or change the signature. But that is an area expertise. I do not.

**Viktor Petersson** [52:50]: Fair enough.

**Warren Houghton** [52:51]: Yeah, I can't really. I can't really say whether it's possible or not.

**Viktor Petersson** [52:55]: Yeah, it just seemed like an obvious thing to me at least. But maybe I am wrong about that.

**Warren Houghton** [53:00]: Yeah, it's. It's, it's a lot of things. It sounds like it's going to be like obvious. Yeah, of course. Why can't you use AI to just rewrite it in a different way or do like, maybe it would work. Probably it does. But yeah, I can't say for sure because I know the red teams that I know are still worried about burning payloads and they're like, oh, let's not use this, let's protect this. And if it was easy just to remake it, then it wouldn't be a problem or we would just use loads of exploits. And just like anything that currently gets found, you just whack it through AI.

**Viktor Petersson** [53:38]: I suppose it has to do with. I mean, they must have fingerprinting in them somehow, with which I presume might be based on the syscalls they make, which I guess are less obfuscated.

**Warren Houghton** [53:49]: There's always. Yeah, there's always going to be operations or things that exploit will do that it shouldn't do. Like calling out to a random IP address.

**Viktor Petersson** [53:58]: Right.

**Warren Houghton** [53:58]: Like if you want a beacon out or like a you know, foothold in a network, it's going to have to call out at some point or open up something at some point. Right. Otherwise you know, just made a worm and thing you're never gonna have. But that's like in a normal cor. Some random box maybe like somebody's work calling out to some IP address in Russia. I mean that looks dodgy. Regardless of.

**Viktor Petersson** [54:28]: Yeah, yeah. If you reaching out to a CNC server in Russia then Yeah.

**Warren Houghton** [54:33]: It's like regardless of what signature that payload's got or regardless of calling out to that IP address is probably something that you should.

**Viktor Petersson** [54:41]: Yeah.

**Warren Houghton** [54:41]: And that. That will get found by like ids.

**Viktor Petersson** [54:46]: Yeah. All right. So I think we covered a lot of grounds. We covered the basic tools. Have we missed any tools that one should be aware of?

**Warren Houghton** [54:55]: There's so many. It all depends on what you're right. So like there's. There's old school tools. Like I haven't. I had a client question me why I didn't so only to go and I was like because it's bad. But like there are tools like that which people see or like they were. They were big back in the day but not Nikto's like just fire a web app. But the information it gives you. No, I don't think. I think the run of the mill things I feel with anything else.

**Viktor Petersson** [55:34]: And I'm also curious about your thoughts on the automated pen testing tools we've seen there's been rise of these in the last five, 10 years. How good are they today from your vantage point?

**Warren Houghton** [55:47]: My opinion because I want to keep my job. They're rubbish. Don't use them. I don't think you'll ever be a person. I don't think you'll ever be the mindset of an attacker. Like assistance of a person that really wants to get in your network. A machine would never be.

**Viktor Petersson** [56:06]: So nobody probably can cover like common like cross site scripting attacks.

**Warren Houghton** [56:10]: Oh absolutely. But then there's always. There might be a payload that a person will get through. A cross site scripting attack is quite easy to protect against. Just have input filtering and output like running the milk. You're basically fine then. And a machine can find that quite easily. But it doesn't mean your website. If you've got like low budget for example, like you're a small firm and you know what Pen testing is bloody expensive. Like if you're looking at two grand a day person, like it's not cheap. An automated AI tool is probably good for you. Like it'll probably give you a lot of value and. But I hope it doesn't replace my job. I mean what I usually do in my like all the stuff behind me, computers can't. A computer can't do that.

**Viktor Petersson** [56:58]: That's fair enough. That's fair enough. You're safe, I think.

**Warren Houghton** [57:01]: All right.

**Viktor Petersson** [57:02]: So if somebody wants to get started. Well, two questions really. The first one is what advice would you give to yourself? Like if you. We're just getting into this world of pen testing, like where would you start?

**Warren Houghton** [57:15]: Read. Read a lot. Lots of things on YouTube. How I got started, I can't give like how everyone gets started because there are pen testing worlds full of everything and there are people that go through the uni route. There are people that go through like I just hack things in my spare time route.

**Viktor Petersson** [57:31]: Right.

**Warren Houghton** [57:32]: That break the law. How I got into it was I downloaded a lot of virtual machines off Vulnerabilities Hub, which is a website and you can download the virtual machines and they're all vulnerable and they all teach you different. Like oh, I downloaded one that was a website that was really bad. It's a website. Never give up learning. The reason that a lot of us are in this industry is because there's too much to learn and there's always new stuff. I think my word of advice is enjoy learning, enjoy discovering new things. Like just.

**Viktor Petersson** [58:12]: Do you have any recommendations for. I'm not a fan of certificates, but in terms of. Some people prefer structured learning offsec offensive security is one of the big ones.

**Warren Houghton** [58:21]: Yeah, like OSCP is offensive security is one. If you want to go like red teaming route like Raster Mouse's CRTO is really good. If you want to like be check. For example, you want to work with like government stuff like team member or TRT and stuff like that. There are so many certs assert doesn't necessarily make you a good pen tester. It just means they can sell you on things, you know. Yeah, you're more attractive to an employee.

**Viktor Petersson** [58:55]: I'm not a fan of certificates in general, but I do understand that if you're new to a field having some guardrails can be helpful to understand where you should at least focus on.

**Warren Houghton** [59:05]: Oh absolutely. If you're coming into this field. If you're new. Absolutely. Certs are 100%. It will encourage employers to look at you more favorably and you'll warrant. Which is always good. So. But for example, my certs have lapsed. Like I let my search lapse few years ago and I haven't bothered because I'm already in the industry. Once you get to the point of having years of experience, certs mean less and less.

**Viktor Petersson** [59:37]: Yeah.

**Warren Houghton** [59:37]: Depending on what you want to do. Yeah. If you want to go down a very certain route, cert will help you. If you want to. Yeah. Get like CSAs because you want to do regulatory red team work. You need a cert because.

**Viktor Petersson** [59:49]: Yeah.

**Warren Houghton** [59:50]: Need that. But fair enough.

**Viktor Petersson** [59:55]: Last question. Favorite CV or exploit of all times.

**Warren Houghton** [59:59]: Favorite CV or exploit? I mean, my favorite would have to be something to do with access, but my. My personal favorite. Do you want. Personal favorite. Yes. Is there's an exploit for a Paxton control system where you could. You could poke the SQL data or like it was obviously you poke that pull and it gives you like a timestamp back. Right. And it says like this. You could then at a time. I'm not going to say what the latest. You could concatenate that with the word elephant and then send it back. And it would then send you back a SQL connection string and then you connect to the SQL database and dump all the activity. That's my personal favorite because I just find that hilarious that they won't use the word elephants. But that's.

**Viktor Petersson** [01:00:56]: That's a good exploit. I think that's a really good note to end on. So thanks so much, Warren. Really appreciate this. We will be scheduling another episode where we got to do fiscal pen testing, which. Which is kind of like your red team hat.

**Warren Houghton** [01:01:10]: That's what I do. That's what I specialize.

**Viktor Petersson** [01:01:15]: That's going to be a lot of fun. Again, thanks so much for coming on the show. I really appreciate it. Talk soon. Cheers.

**Warren Houghton** [01:01:20]: Yeah.

---

Source: https://vpetersson.com/podcast/s02e02/
