Latest / CyberCode Academy / Course 35 - Footprinting and Reconnaissance | Episode 6: Information Gathering with theHarvester in Kali Linux
Transcript
- 0:00Speaker 1: Imagine for a moment all the little digital breadcrumbs that
- 0:05Speaker 1: your company leaves scattered across the Internet every single day.
- 0:08Speaker 2: Oh yeah, there's so much of it, right.
- 0:11Speaker 1: And we aren't talking about intentional marketing campaigns here. I'm
- 0:14Speaker 1: talking about like employee email addresses that got dumped in
- 0:17Speaker 1: some public forum five years ago, or you.
- 0:20Speaker 2: Know, those obscure subdomains lingering deep in search engine.
- 0:23Speaker 1: Results exactly, or even misconfigured staging servers sitting completely exposed
- 0:29Speaker 1: on public databases. It is a massive, chaotic, globally distributed
- 0:34Speaker 1: trail of data. Now, what if there was a single,
- 0:37Speaker 1: highly efficient digital vacuum cleaner, they could quietly sweep all
- 0:41Speaker 1: of that.
- 0:42Speaker 2: Up, just suck it all up at once, yeah.
- 0:43Speaker 1: And correlate the data and then neatly organize it into
- 0:46Speaker 1: a target profile for you.
- 0:48Speaker 2: I mean, it's the kind of capability that honestly keeps
- 0:50Speaker 2: network defenders awake at night. But if you're the one
- 0:53Speaker 2: conducting a security assessment, or you know, if you're an
- 0:56Speaker 2: attacker mapping out a campaign, it is the absolute holy.
- 0:58Speaker 1: Grail because it's not just knowing, right, no.
- 1:01Speaker 2: Not at all. That chaotic trail of data is the
- 1:04Speaker 2: blueprint of your digital infrastructure. It is exactly what an
- 1:08Speaker 2: adversary is analyzing before they ever send a single packet
- 1:11Speaker 2: to your actual network.
- 1:13Speaker 1: Okay, let's unpack this, because that brings us to the
- 1:16Speaker 1: mission of today's deep dive. We are exploring a seriously
- 1:20Speaker 1: powerful reconnaissance tool called the Harvester.
- 1:24Speaker 2: And just for anyone taking notes, that's all one word
- 1:26Speaker 2: with a capital H right in the middle.
- 1:28Speaker 1: Right. We're going to look at how to gather this
- 1:31Speaker 1: generalized publicly available information step by step, basically the exact
- 1:36Speaker 1: way a professional penetration tester maps out a target. I
- 1:40Speaker 1: like to think of the Harvester as this tireless digital
- 1:43Speaker 1: private investigator.
- 1:44Speaker 2: That's a great way to put it.
- 1:45Speaker 1: Because instead of you sitting there for seventy two hours
- 1:48Speaker 1: manually scraping Google bing linked in public registries just to
- 1:51Speaker 1: find a forgotten log in portal or elite DIP address,
- 1:55Speaker 1: you just hand a target profile.
- 1:56Speaker 2: To this tool and it does all the heavy lifting
- 1:58Speaker 2: for you, pulling from multiple data so versus simultaneously, which
- 2:01Speaker 2: is really the core of modern open source intelligence or osent.
- 2:07Speaker 2: In this field, the gathering phase is critical. You just
- 2:11Speaker 2: cannot defend an attack surface and you certainly can't exploit
- 2:14Speaker 2: one until you understand its actual boundaries.
- 2:16Speaker 1: Right, You need to know what you're looking at.
- 2:18Speaker 2: Yeah, and what's fascinating about a tool like this is
- 2:21Speaker 2: the automation of passive reconnaissance, and passive is the operative word. Here.
- 2:25Speaker 2: We aren't breaking down doors, we aren't touching the target
- 2:29Speaker 2: servers at all.
- 2:31Speaker 1: We're just looking at what's already out there exactly.
- 2:33Speaker 2: We are just reading the public directories, the cased search results,
- 2:37Speaker 2: the third party databases. It's all out in the open.
- 2:40Speaker 2: But the intelligence you gain when you stitch those disparate
- 2:43Speaker 2: public records together, I mean, it can be devastatingly detailed.
- 2:48Speaker 1: But before we just unleash this digital investigator, let's talk
- 2:51Speaker 1: about the workspace. Because obviously you're not going to run
- 2:53Speaker 1: a sweeping OSENT tool on your daily driver laptop right
- 2:57Speaker 1: next to your banking bookmarks.
- 2:59Speaker 2: No, not a good idea.
- 3:01Speaker 1: Yeah, standard operational security applies here. So we're dropping into
- 3:04Speaker 1: an isolated environment built specifically for this kind of work,
- 3:08Speaker 1: which for most of us means firing up a Kalie
- 3:11Speaker 1: Linux virtual machine.
- 3:12Speaker 2: Precisely. Collie is the industry standard environment for a reason.
- 3:16Speaker 2: It perfectly isolates your recon activities from your host operating system.
- 3:21Speaker 2: You really want a sterile environment when you are pulling
- 3:24Speaker 2: down unknown data from the web.
- 3:26Speaker 1: Right, And if you happen to be on a fresh
- 3:28Speaker 1: Collie install and you haven't locked down your own credentials yet,
- 3:31Speaker 1: it's just the standard user named root root and the
- 3:34Speaker 1: password is tour tor to get through the door.
- 3:37Speaker 2: Yep, just the default back to front route password.
- 3:40Speaker 1: Yeah. And once you're in, we bypass the graphical interface
- 3:43Speaker 1: entirely and go straight to the command line. You open
- 3:45Speaker 1: your terminal, it's just a black box waiting for instructions. Now.
- 3:49Speaker 1: I think the first instinct for a lot of people
- 3:51Speaker 1: when they get a powerful new tool is just appointed
- 3:53Speaker 1: at a target and pull the trigger.
- 3:55Speaker 2: Oh absolutely, it's tempting.
- 3:56Speaker 1: But our intel says, the very first thing you should
- 3:59Speaker 1: type is the harvester space dash H. So no space
- 4:05Speaker 1: is in the tool's name, a space before the dash
- 4:08Speaker 1: and a lower case H.
- 4:09Speaker 2: Yes, the dash H flag stands for the help menu.
- 4:12Speaker 1: Okay, but I have to push back on this a
- 4:14Speaker 1: little bit. If we already know what the tool does
- 4:17Speaker 1: and we know our target, why bother stopping to read
- 4:19Speaker 1: the manual? It feels like hitting the brakes when you
- 4:22Speaker 1: just want to see the engine run. You know, can't
- 4:23Speaker 1: we just feed it a domain and see what happens.
- 4:25Speaker 2: Well, this raises an important question. Actually it's a really
- 4:28Speaker 2: common urge, but skipping the help menu is a classic
- 4:31Speaker 2: operational trap.
- 4:33Speaker 1: Really, how so?
- 4:34Speaker 2: Because command line ocant tools are incredibly literal, they will
- 4:37Speaker 2: do exactly what you tell them to do and absolutely
- 4:40Speaker 2: nothing more. If you run the Harvester blindly without configuring it,
- 4:43Speaker 2: you might query the wrong databases or use the wrong
- 4:47Speaker 2: API keys. Oh yeah, or you might entirely miss the
- 4:51Speaker 2: specific data silos that actually matter for your target. The
- 4:54Speaker 2: dash H flag reveals the architecture of the tool. It
- 4:56Speaker 2: shows you all the modular options, like what kind of option,
- 5:00Speaker 2: how to filter by specific search engines, how to integrate APIs,
- 5:04Speaker 2: or even how to throttle your requests so you don't
- 5:06Speaker 2: get banned. Without understanding those parameters, you aren't doing professional reconnaissance.
- 5:11Speaker 2: You're honestly just making noise.
- 5:12Speaker 1: Okay, wow, that makes perfect sense. So it's really about precision.
- 5:16Speaker 1: You don't want to accidentally flood your terminal with useless
- 5:19Speaker 1: data or like trigger a massive uncontrolled search that crashes
- 5:24Speaker 1: your session. Exactly So now that we've checked the menu,
- 5:27Speaker 1: let's build a highly targeted search query. Let's look at
- 5:30Speaker 1: the actual syntax of how a professional builds a profile.
- 5:33Speaker 2: Right, we need to construct this command deliberately. Every single
- 5:36Speaker 2: piece of the syntax serves a strategic purpose in managing
- 5:40Speaker 2: the data flow.
- 5:41Speaker 1: So we start with the base command. Right, we just
- 5:42Speaker 1: typed the harvester wakes the tool up.
- 5:44Speaker 2: Yeah, that calls the program.
- 5:46Speaker 1: Then we need our target. We type a space, a dash,
- 5:49Speaker 1: and a lowercase D for domain, and for our scenario today,
- 5:53Speaker 1: let's use Microsoft dot Com. So the syntax is DSpace microsoft.
- 5:58Speaker 2: Dot com, which is a per example.
- 6:00Speaker 1: Yeah, we're using them because they are a massive enterprise.
- 6:03Speaker 1: They have a colossal public footprint, and it guarantees we'll
- 6:07Speaker 1: actually have complex data to analyze without you know, violating
- 6:10Speaker 1: anyone's private boundaries.
- 6:12Speaker 2: Right, So you've established the who. Now we have to
- 6:14Speaker 2: establish the constraints because if you unleash an ocent tool
- 6:18Speaker 2: on a target like Microsoft without setting boundaries, it will
- 6:22Speaker 2: try to index the entire internet's historical knowledge of the company.
- 6:25Speaker 1: Which is why our next flag is super crucial. We
- 6:28Speaker 1: had a space, a dash, and a lowercase L. This
- 6:31Speaker 1: dash L flag stands for limit. We're going to follow
- 6:34Speaker 1: that with a space and the number fifty. So dash
- 6:36Speaker 1: L fifty. Okay, we're instructing the tool to stop after
- 6:40Speaker 1: it grabs the first fifty results. Well, let's pause here,
- 6:43Speaker 1: because if the whole point of reconnaissance is comprehensive intelligence gathering,
- 6:48Speaker 1: why artificially limit ourselves to just fifty?
- 6:50Speaker 2: It seems counterintuitive, right, couldn't we just type in a
- 6:53Speaker 2: million and walk away to grab a coffee? Well, I mean,
- 6:56Speaker 2: you realistically could attempt to that. The command line would
- 6:58Speaker 2: accept the import but practically it's a terrible strategy.
- 7:02Speaker 1: Why just because it takes too long.
- 7:04Speaker 2: First of all, yes, it would take an agonizingly long time.
- 7:07Speaker 2: But more importantly, you have to consider the environment you
- 7:10Speaker 2: are operating in. You are essentially unleashing an automated script
- 7:15Speaker 2: against public search engines and databases.
- 7:18Speaker 1: Right, they don't like that.
- 7:20Speaker 2: Exactly, if you blast Google with thousands of automated queries
- 7:24Speaker 2: in a few seconds, their anti bot algorithms are going
- 7:27Speaker 2: to instantly flag your behavior.
- 7:29Speaker 1: Right, they'll see it's a machine pinging them, not a
- 7:31Speaker 1: human typing in a browser.
- 7:33Speaker 2: Excisely, you will hit rate limits. You will get hit
- 7:35Speaker 2: with cap tcchas that you can't solve from a command
- 7:38Speaker 2: line terminal, and your Collie machine's IP address will be
- 7:41Speaker 2: blocked before you even scratch the surface of the data.
- 7:44Speaker 1: Ah makes sense.
- 7:45Speaker 2: So setting a limit of fifty keeps the scan incredibly fast,
- 7:49Speaker 2: and crucially, it keeps it relatively quiet. It mimics human
- 7:52Speaker 2: behavior just enough to slip under the radar for a
- 7:55Speaker 2: quick suite speed.
- 7:56Speaker 1: In stealth, good operational security. Okay, so we have our
- 8:00Speaker 1: target in our limit. Now we need to tell our
- 8:02Speaker 1: digital investigator where to hunt. Right the data source, we
- 8:05Speaker 1: add a space, a dash, and a lowercase B, and
- 8:09Speaker 1: then we type Google. This tells the tool to exclusively
- 8:13Speaker 1: scrape Google search index for breadcrumbs related to Microsoft.
- 8:16Speaker 2: And this is where the strategy of ocent becomes really apparent.
- 8:19Speaker 2: You could point this at linked in to find employee names,
- 8:22Speaker 2: or Twitter or by Doo. But by starting with a
- 8:25Speaker 2: massive search engine index like Google, we are looking for
- 8:29Speaker 2: the broadest possible view of their public infrastructure.
- 8:32Speaker 1: But wait, Google only indexes content right like text, HTML, images,
- 8:37Speaker 1: and that brings us to the next flag, which completely
- 8:40Speaker 1: changes the game. We had a space, a dash, and
- 8:43Speaker 1: a lowercase H.
- 8:44Speaker 2: Now hold on Yeah.
- 8:45Speaker 1: Look, listeners might be thinking, wait, didn't we just use
- 8:47Speaker 1: dash H for the help menu. We did. We did.
- 8:50Speaker 1: But in the Harvester, when you include a lowercase H
- 8:52Speaker 1: inside an active search command like this, it acts as
- 8:55Speaker 1: a specific trigger. It takes any subdomains or IP addresses
- 8:59Speaker 1: we find on Goo, Google and automatically cross references them
- 9:02Speaker 1: against showdam.
- 9:03Speaker 2: And if you understand showdan, you understand why this is
- 9:06Speaker 2: a massive escalation in our intelligence gathering.
- 9:08Speaker 1: Let's unpack that because showdan is fascinating. If Google is
- 9:12Speaker 1: a search engine for web pages, showdan is a search
- 9:15Speaker 1: engine for the Internet of things.
- 9:17Speaker 2: Yeah, with the physical devices right.
- 9:18Speaker 1: It searches for actual physical devices connected to the Internet, webcams,
- 9:23Speaker 1: industrial control systems, database servers, routers. So we are basically
- 9:27Speaker 1: telling our tool, Hey, if Google gives you a text
- 9:30Speaker 1: result that mentions a Microsoft subdomain, take that domain, figure
- 9:34Speaker 1: out its IP address, and immediately query showdan to see
- 9:38Speaker 1: what physical hardware and software is actually running on that server.
- 9:42Speaker 2: It bridges the gap between a logical name on a
- 9:45Speaker 2: web page and tangible physical infrastructure. Think of it like this.
- 9:50Speaker 2: Google tells you the billing exists, but showdan tells you
- 9:53Speaker 2: what kind of locks are on the doors and what
- 9:55Speaker 2: version of security firmwhere they are running.
- 9:56Speaker 1: That is wild. But wait, I have to ask if
- 10:00Speaker 1: Shodan is pulling data about hardware and software versions, that
- 10:03Speaker 1: means it's handshaking with those servers, right, like it's grabbing
- 10:07Speaker 1: banners from open ports.
- 10:08Speaker 2: Yes it is.
- 10:09Speaker 1: Doesn't that take us out of passive reconnaissance and into
- 10:13Speaker 1: active probing? Like if this tool is pinging Microsoft servers
- 10:17Speaker 1: to get banner data, aren't we suddenly lighting up their
- 10:20Speaker 1: intrusion detection systems?
- 10:22Speaker 2: That is a brilliant question, and it's a critical distinction
- 10:25Speaker 2: in cybersecurity. If you were scanning those ports directly from
- 10:29Speaker 2: your Collie terminal, yes, that would absolutely be.
- 10:32Speaker 1: Active probing, right because my IP would.
- 10:34Speaker 2: Be there exactly, You'd be leaving your ipa address in
- 10:37Speaker 2: their server logs. But that isn't what's happening here. Showdan
- 10:40Speaker 2: already did the active probing weeks or months ago.
- 10:43Speaker 1: Oh yeah.
- 10:44Speaker 2: Showdan constantly scans the entire Internet and stores the results
- 10:48Speaker 2: in its own database. So when we use the dash
- 10:50Speaker 2: flag and the harvester, we are just querying Showdn's database
- 10:54Speaker 2: via their API. We are asking Showdan what they found.
- 10:57Speaker 1: So Microsoft doesn't see us at all.
- 10:59Speaker 2: Microsoft only sees that showed and scanned them, which, by
- 11:02Speaker 2: the way, happens to everyone constantly. They do not see you.
- 11:04Speaker 2: You remain completely invisible. The recon stays perfectly passive.
- 11:09Speaker 1: That is brilliant. It's essentially outsourcing the noisy work to
- 11:13Speaker 1: a third party. Okay, so we have this powerful multi
- 11:16Speaker 1: layered search. The final piece of the command is make
- 11:19Speaker 1: sure we don't lose the data. We want a structured report,
- 11:21Speaker 1: so we typ a space, a dash at a lower case
- 11:24Speaker 1: f fro file output, and we add a space and
- 11:26Speaker 1: name the file test file one.
- 11:27Speaker 2: So let's review the complete syntax of that first sweep
- 11:30Speaker 2: before we actually analyze the results. Okay, it is the
- 11:34Speaker 2: Harvester Space dash D, Microsoft dot Com Space dash l
- 11:39Speaker 2: YPO fifty space dash B, Google Space dash hsh space
- 11:44Speaker 2: stash f test file one.
- 11:45Speaker 1: Perfect. So you hit enter, the terminal goes to work,
- 11:49Speaker 1: and because we limit it to fifty results, it's fast.
- 11:51Speaker 1: In a few seconds, it completes the sweep and spits
- 11:53Speaker 1: out the findings.
- 11:54Speaker 2: And at first glance, it just looks like a wall
- 11:55Speaker 2: of text and numbers.
- 11:56Speaker 1: Oh totally. But when you train your eyes to read
- 11:59Speaker 1: the output start spotting the actual targets.
- 12:01Speaker 2: You are basically looking through all that noise for two
- 12:03Speaker 2: primary indicators subdomains and their corresponding IP addresses, right, and.
- 12:08Speaker 1: Looking at the specific discoveries from this scan we ran.
- 12:11Speaker 1: The tool successfully pulled some very clear targets out of
- 12:13Speaker 1: the ether. It found news dot Microsoft dot com tied
- 12:17Speaker 1: to the specific IP addresses one ninety two point two,
- 12:20Speaker 1: two point two three, seven point two two five and
- 12:22Speaker 1: an alternate ending in one point forty one.
- 12:24Speaker 2: Okay, good fines.
- 12:25Speaker 1: Yeah, and it also found support dot Microsoft dot com
- 12:28Speaker 1: tied to twenty three point seven eight point four to
- 12:31Speaker 1: one point five to seven.
- 12:32Speaker 2: Now, if we connect this to the bigger picture, what
- 12:35Speaker 2: does this actually mean for a security assessment. I mean,
- 12:38Speaker 2: a domain name like Microsoft dot com is just a
- 12:41Speaker 2: human readable signpost, right.
- 12:42Speaker 1: Everyone knows where that is.
- 12:43Speaker 2: Everyone knows where the main domain is. It's the front
- 12:45Speaker 2: door and it is heavily fortified. But news dot Microsoft
- 12:48Speaker 2: dot com or support dot Microsoft dot com, those are
- 12:52Speaker 2: side doors.
- 12:53Speaker 1: Because they aren't just folders on the exact same computer.
- 12:55Speaker 2: Are they exactly? Subdomains are often hosted on completely different
- 12:58Speaker 2: physical servers. They are managed by entirely different teams within
- 13:02Speaker 2: the organization.
- 13:02Speaker 1: Like maybe a marketing team runs a new site.
- 13:04Speaker 2: Right while an outsourced customer service vendor runs the support site.
- 13:08Speaker 2: And because they are decentralized, they frequently have vastly different
- 13:11Speaker 2: security protocols, update schedules, and even vulnerabilities.
- 13:15Speaker 1: Wow, so you're taken a public search result and turned
- 13:18Speaker 1: it into a tangible coordinate. The IP address is the
- 13:21Speaker 1: actual physical server sitting in a rack somewhere that an
- 13:25Speaker 1: attacker can now actively probe saicely. But here is the catch.
- 13:30Speaker 1: Because we capped our search at the first fifty results
- 13:32Speaker 1: to avoid rate limits, we mostly just found the glossy
- 13:35Speaker 1: marketing brochures. I mean, news and support pages are highly publicized.
- 13:41Speaker 1: They are seo optimized to be the literal first things
- 13:43Speaker 1: you see.
- 13:44Speaker 2: They are meant to be found, and consequently they are
- 13:47Speaker 2: usually pretty well secured.
- 13:49Speaker 1: Right, But what if we want the juicy stuff like
- 13:52Speaker 1: the abandoned developer testing environments, or the employee login portals,
- 13:56Speaker 1: or those legacy databases that someone just forgot to decommission.
- 13:59Speaker 2: They aren't going to be sitting at the top.
- 14:01Speaker 1: No, those aren't going to be in the top fifty
- 14:02Speaker 1: search result. They are buried on page four or five
- 14:04Speaker 1: of the search index because absolutely no one is actively
- 14:08Speaker 1: linking to them. So how do we refine our tool
- 14:11Speaker 1: to skip the heavily guarded lobby and go straight to
- 14:13Speaker 1: the basement.
- 14:14Speaker 2: Well, we use pagination. We basically adjust our strategy to
- 14:17Speaker 2: tell the tool to completely ignore the heavily optimized top
- 14:21Speaker 2: results and begin its search further down the pile.
- 14:23Speaker 1: Okay, let's look at how we tweak the syntax for
- 14:25Speaker 1: our second command. We start the exact same way the
- 14:28Speaker 1: Harvester dash D Microsoft dot com, but we are going
- 14:32Speaker 1: to increase our limit. We type dash L one hundred.
- 14:36Speaker 1: We want a slightly wider net this time, right.
- 14:38Speaker 2: But here's the mechanism that changes everything. After the limit,
- 14:41Speaker 2: we introduce a new flag, a space, a dash and
- 14:44Speaker 2: a lowercase S.
- 14:45Speaker 1: And what does that do?
- 14:46Speaker 2: This dash S flag dictates the starting point of the query.
- 14:50Speaker 2: By default, any search tool starts at result zero, the
- 14:53Speaker 2: absolute top of page one. But we are going to
- 14:55Speaker 2: follow that dash S with a space and the number.
- 14:57Speaker 1: Twenty, So the command includes twenty. I absolutely love this.
- 15:01Speaker 1: You're effectively telling the tool, hey, already know the top
- 15:04Speaker 1: twenty results are just going to be polished pr statements
- 15:06Speaker 1: in festival landing pages. Bypass it entirely dive straight into
- 15:09Speaker 1: the unseen material.
- 15:11Speaker 2: It's a highly efficient way to filter out the noise.
- 15:13Speaker 2: The rest of the command remains similar to our first run.
- 15:16Speaker 2: We add dash B Google to keep scraping that massive index.
- 15:19Speaker 2: We keep the dash H flag to ensure any new
- 15:22Speaker 2: ips or cross reference with Showdan's hardware database. And then
- 15:25Speaker 2: we use dash F test file two so we can
- 15:27Speaker 2: save this deeper intelligence into a separate document for comparison.
- 15:31Speaker 1: Okay, so the full syntax for this deeper dive is
- 15:33Speaker 1: the Harvester space DASHAD, Microsoft dot Com, Space dash L
- 15:38Speaker 1: one hundred Space, dash S twenty Space, dash B, Google Space,
- 15:42Speaker 1: dash H space dash SF test file two. Perfect. We
- 15:46Speaker 1: execute that, we let it parts the data, and when
- 15:48Speaker 1: we analyze this second wave of results, the landscape really changes.
- 15:52Speaker 1: We bypass a lot of that standard marketing fluff and
- 15:55Speaker 1: we start pulling up infrastructure, specifically the tool services subdomains
- 15:58Speaker 1: like Azure, Microsoft.
- 15:59Speaker 2: Dot Com and uncovering cloud infrastructure subdomains like Azure AWS
- 16:03Speaker 2: or Google Cloud. Is a critical pivot point in an
- 16:06Speaker 2: assessment when you start seeing these subdomains pop up in
- 16:09Speaker 2: deep public records, you are often looking at the actual
- 16:11Speaker 2: back end machinery of the organization.
- 16:13Speaker 1: But wait, why are cloud subdomains so valuable to an attacker?
- 16:17Speaker 1: I mean Microsoft omees Azure. Obviously they are going to
- 16:20Speaker 1: have Azure subdomains.
- 16:22Speaker 2: Right, Yeah, But it comes down to the systemic issues
- 16:25Speaker 2: of cloud computing, specifically what's called the shared responsibility model.
- 16:29Speaker 1: What's happening.
- 16:30Speaker 2: Cloud providers secure the physical data centers, but the customer,
- 16:34Speaker 2: even if that customer is an internal dev team at Microsoft,
- 16:38Speaker 2: they are responsible for securing the applications, the access permissions,
- 16:42Speaker 2: and the data stored on that specific cloud instance.
- 16:45Speaker 1: Ah. So it's an organizational vulnerability, not a technical one.
- 16:49Speaker 2: Exactly what happens every single day in large companies is
- 16:53Speaker 2: that a developer needs to test a new application. They
- 16:55Speaker 2: spin up an Azure instance, map a subdomain to it,
- 16:58Speaker 2: finish their testing, and then and they just move on
- 17:00Speaker 2: to the next project and they leave it running. They
- 17:02Speaker 2: forget to tear down the test environment entirely, or they
- 17:05Speaker 2: forget to restrict public access to the storage bucket. It
- 17:08Speaker 2: becomes shadow it infrastructure that is active on the Internet
- 17:11Speaker 2: but completely unmonitored by the core security team.
- 17:14Speaker 1: Wow. I like to think of finding an unprotected cloud
- 17:17Speaker 1: subdomain like finding a corporate building where the front lobby
- 17:21Speaker 1: requires like a retinal scan and an armed guard, but
- 17:25Speaker 1: the developer entrance around back is protected by a standard
- 17:28Speaker 1: four digit keypad where the paint is entirely worn off
- 17:32Speaker 1: the numbers one, two, three, and four.
- 17:34Speaker 2: Yeah, that's exactly what it's like.
- 17:35Speaker 1: It's technically locked, but practically it's completely compromised. And by
- 17:39Speaker 1: using the start flag to offset our search, we stepped
- 17:42Speaker 1: right past that retinal scanner and walked around to the
- 17:45Speaker 1: back alley.
- 17:46Speaker 2: And that is the perfect illustration of why mastering the
- 17:48Speaker 2: nuances of a tool matters. We didn't just type in
- 17:51Speaker 2: a domain and hope for the best. We apply to methodology.
- 17:54Speaker 1: So what does this all mean. Let's take a step
- 17:56Speaker 1: back and look at the actual strategy we just executed,
- 17:59Speaker 1: because the technical syntax is really only half the story. Here.
- 18:02Speaker 1: We built a structured intelligence gathering pipeline right. We operated
- 18:06Speaker 1: securely from an isolated CALI environment. We didn't guess at
- 18:10Speaker 1: our capabilities. We use a help file to map out
- 18:12Speaker 1: our options. We use precise flags to define targets, set
- 18:16Speaker 1: limits to evade bot detection. And explicitly chose Google for breadth.
- 18:20Speaker 2: And then we layered Showdown on top of.
- 18:22Speaker 1: That, exactly to automatically convert text based search results into
- 18:27Speaker 1: tangible physical hardware intelligence. And we did all that while
- 18:31Speaker 1: remaining completely passive and invisible to the target. And finally,
- 18:35Speaker 1: we use pagination to bypass the glossy corporate exterior and
- 18:39Speaker 1: dig into the forgotten digital basement where the real vulnerabilities live.
- 18:43Speaker 2: It perfectly demonstrates how a seemingly chaotic trail of public
- 18:47Speaker 2: data can be weaponized if you understand how to correlate it,
- 18:51Speaker 2: and actually to make sure the mechanics of that correlation
- 18:54Speaker 2: are really sticking. I have a quick exercise for you
- 18:56Speaker 2: to listener.
- 18:56Speaker 1: Oh nice, Think back to.
- 18:57Speaker 2: The logic of our second command. If you are analyzing
- 19:00Speaker 2: a target and you realize their marketing presence was so
- 19:04Speaker 2: massive that the first seventy five search results were completely
- 19:07Speaker 2: useless to you, which specific flag would you use to
- 19:10Speaker 2: offset your query and start scraping at result number seventy six.
- 19:14Speaker 1: I'll give you a second to mentally build that command.
- 19:16Speaker 2: You would use the dash S flag the start flag,
- 19:20Speaker 2: specifically dash S seventy five. The difference between an amateur
- 19:23Speaker 2: and a professional in cybersecurity, isn't just knowing the names
- 19:26Speaker 2: of the tools, it's understanding how to manipulate those small
- 19:30Speaker 2: modular flags to control exactly what data you extract.
- 19:33Speaker 1: Yeah, it's really about precision over brute force. And as
- 19:37Speaker 1: we wrap up this deep dive, I want to leave
- 19:39Speaker 1: you with one final thought to mull over. Today. We
- 19:42Speaker 1: used Microsoft as our test subject because their sheer scale
- 19:45Speaker 1: makes them a great safe example for parsing complex data.
- 19:49Speaker 1: But ocent tools don't care how big or small you are,
- 19:52Speaker 1: not at all. Think about your own organization or you know,
- 19:55Speaker 1: if you run a side business, think about your own
- 19:56Speaker 1: personal domain name. If you spun up your isolated terminal
- 19:59Speaker 1: right now and unleash the automated correlating vacuum of the
- 20:02Speaker 1: harvester on yourself, what forgotten subdomains, leak emails, or exposed
- 20:07Speaker 1: cloud instances would have find sitting quietly in the void.