Latest / CyberCode Academy / Course 35 - Footprinting and Reconnaissance | Episode 2: Gathering Intelligence with NSlookup and WHOIS
Transcript
- 0:00Speaker 1: You know, before a single line of malicious code is
- 0:03Speaker 1: ever even written, Like ninety percent of a successful cyber
- 0:07Speaker 1: attack is actually already over.
- 0:09Speaker 2: Yeah, which sounds crazy, but it's completely true because the
- 0:12Speaker 2: blueprints of the target, they're just sitting out.
- 0:14Speaker 1: There right, the exact layout of their servers, the flow
- 0:17Speaker 1: of their communication channels, the actual names of the people
- 0:21Speaker 1: who hold the keys. It's all just on the public Internet,
- 0:23Speaker 1: free for anyone to download.
- 0:25Speaker 2: And that is the reality of footprinting. I think we
- 0:28Speaker 2: tend to imagine cyber attacks as these these brute force
- 0:32Speaker 2: digital sieges, right, like complex algorithms aggressively trying to crack passwords.
- 0:37Speaker 1: Yeah, the classic movie Hacker in a dark room, typing
- 0:40Speaker 1: furiously exactly.
- 0:42Speaker 2: But in truth, it's mostly just about reading public records.
- 0:45Speaker 2: You gather as much open source intelligence as possible before
- 0:48Speaker 2: you even touch the target's network.
- 0:50Speaker 1: Well, welcome to this deep dive today. You and I
- 0:52Speaker 1: are going on a really practical audio journey into the
- 0:54Speaker 1: mechanics of open source intelligence gathering. It's going to be
- 0:57Speaker 1: a fun one, definitely. Our mission today is to equip
- 1:01Speaker 1: you with two built in tools to map out the
- 1:04Speaker 1: hidden digital and human infrastructure of a massive target. And
- 1:08Speaker 1: we don't need any fancy hacker software to do this.
- 1:10Speaker 1: These tools are literally already on your machine. For this exercise,
- 1:14Speaker 1: we're going to look at the footprint of Microsoft just
- 1:16Speaker 1: as a really big, globally recognized example.
- 1:20Speaker 2: And you know, we should probably establish why this foot
- 1:23Speaker 2: printing stage matters over anything else, whether you're doing an
- 1:26Speaker 2: authorized penetration test or just you know, defending your own network.
- 1:30Speaker 2: Mapping the perimeter.
- 1:31Speaker 1: Is step one because you can't protect what you don't
- 1:34Speaker 1: know is there exactly.
- 1:35Speaker 2: You cannot secure or exploit which you do not know exists. Yeah,
- 1:39Speaker 2: you have to find every door, every window, every loading
- 1:41Speaker 2: dock and figure out who built them before you can
- 1:44Speaker 2: even think about testing the locks.
- 1:46Speaker 1: So to start this process, we actually have to bypass
- 1:49Speaker 1: the graphical user interface, the colorful desktop, the folders, the
- 1:53Speaker 1: web browser. All of that is just an abstraction layer, right.
- 1:56Speaker 1: It's designed to hide the complexity of the Internet.
- 1:59Speaker 2: It keeps things pre and user friendly for consumers.
- 2:01Speaker 1: Yeah, but we need to interact directly with the operating system,
- 2:05Speaker 1: which means leaving that polished facade behind and opening up
- 2:10Speaker 1: your terminal or your command.
- 2:11Speaker 2: Prompt right when you operate from the command line, you
- 2:14Speaker 2: stop using the Internet as a consumer and you start
- 2:17Speaker 2: querying it as an architect.
- 2:19Speaker 1: It's like slipping through the backstage door of the Internet. So,
- 2:22Speaker 1: if you're on Windows, just click the start menu those
- 2:25Speaker 1: four little boxes in the bottom left go to run,
- 2:28Speaker 1: type in cmd, and hit enter.
- 2:30Speaker 2: And you're looking at the raw interface of your machine.
- 2:32Speaker 1: Oh wait, a quick practical tip before we go further.
- 2:35Speaker 1: Command prompts can be really hard to read, especially on
- 2:38Speaker 1: modern screen.
- 2:38Speaker 2: Oh definitely, the default text is tiny.
- 2:41Speaker 1: Yeah, so just right click the top bar of that window,
- 2:43Speaker 1: go to properties and bump the font size up to
- 2:45Speaker 1: about twenty then relaunch it. It makes from a much
- 2:48Speaker 1: better experience.
- 2:49Speaker 2: That is a pro tip for sure.
- 2:51Speaker 1: So now that we're comfortably backstage, let's introduce our first tool.
- 2:54Speaker 1: It's called EN's look up. That's nslookup, which stands for
- 3:00Speaker 1: name Server Lookup. If you type n slock up and
- 3:02Speaker 1: then a space and a question mark, it'll pull up
- 3:05Speaker 1: a brief syntax help menu. Now, I think a lot
- 3:08Speaker 1: of people who work in tech have probably used this
- 3:11Speaker 1: tool at some point, maybe to troubleshoot a broken and
- 3:14Speaker 1: internet connection.
- 3:15Speaker 2: Yeah, it's a staple for help desk troubleshooting.
- 3:17Speaker 1: But I want to explore what it actually does mechanically,
- 3:20Speaker 1: what is happening under the hood when we run.
- 3:22Speaker 2: This well mechanically, n'slockup is a way to directly interrogate
- 3:27Speaker 2: the Domain Name System or DNS.
- 3:29Speaker 1: Because the Internet doesn't actually understand words right.
- 3:32Speaker 2: Right, the infrastructure of the Internet does not understand human
- 3:35Speaker 2: words like Microsoft dot com. It only understands numerical IP addresses.
- 3:39Speaker 1: So DNS is the translator exactly.
- 3:42Speaker 2: It's this distributed global directory that translates human readable domain
- 3:46Speaker 2: names into machine readable numbers. When you run this tool,
- 3:50Speaker 2: you're stepping right into that directory system and basically demanding
- 3:53Speaker 2: to see the raw records.
- 3:55Speaker 1: So instead of letting the web browser quietly handle that
- 3:57Speaker 1: translation in the background to load a webpage, we are
- 4:00Speaker 1: intercepting the process. We're taking manual control over how our
- 4:04Speaker 1: computer asks for directions.
- 4:06Speaker 2: Correct. By default, your computer relies on a resolver, usually
- 4:11Speaker 2: a server provided by your Internet service provider, to go
- 4:14Speaker 2: out and find these records for you.
- 4:16Speaker 1: Like reaching out to a local Comcast or AT and
- 4:19Speaker 1: T server.
- 4:20Speaker 2: Yeah, it checks the root servers, then the top level
- 4:22Speaker 2: domain servers, and finally the authoritative server for this specific site.
- 4:26Speaker 2: With ince lookup, we take manual control of that entire
- 4:29Speaker 2: interrogation chain.
- 4:31Speaker 1: We can ask specific servers for specific types of records.
- 4:34Speaker 1: But wait, the DNS is public by design, right. If
- 4:37Speaker 1: it wasn't public, the Internet literally wouldn't function.
- 4:40Speaker 2: Right, Nobody would be able to find any websites.
- 4:42Speaker 1: So is this really intelligence gathering or is it just
- 4:45Speaker 1: I don't know, reading the phone book.
- 4:47Speaker 2: I mean, it is reading the phone book, But the
- 4:49Speaker 2: Internet's phone book contains vastly more structural information than just
- 4:53Speaker 2: a single routing number.
- 4:55Speaker 1: Oh interesting, like what.
- 4:56Speaker 2: It reveals the entire architectural hierarchy of the target. It
- 5:00Speaker 2: tells you which physical servers handle the web traffic, which
- 5:03Speaker 2: ones handle the internal email flow, and which ones handle subdomains.
- 5:07Speaker 1: So it's not just a directory, it's literally the structural
- 5:10Speaker 1: blueprint of the enterprise exactly. Okay, let's put this into
- 5:13Speaker 1: practice and look at that blueprint. If you're following along,
- 5:17Speaker 1: fire up your terminal and type end slok up Microsoft
- 5:20Speaker 1: dot com just the domain itself, no www or anything.
- 5:24Speaker 2: And the output you get back tells a very specific story.
- 5:28Speaker 1: Yeah, and interestingly, the first chapter of that story isn't
- 5:31Speaker 1: actually about Microsoft at all right.
- 5:33Speaker 2: If you analyze the output, those first couple of lines
- 5:36Speaker 2: returned in the terminal, they actually show your local DNS
- 5:39Speaker 2: server and your default gateway.
- 5:41Speaker 1: So if you're just on a standard home network, this
- 5:43Speaker 1: is likely your local router's IP address.
- 5:46Speaker 2: Yeah, or your ISP's server. It is essentially the system
- 5:50Speaker 2: telling you, hey, I received your request and here is
- 5:53Speaker 2: the local post office. I'm using to send this query
- 5:55Speaker 2: out to the global Internet.
- 5:56Speaker 1: But why does a security professional care about their own
- 5:59Speaker 1: local gateway? In this context, we're trying to footprint Microsoft,
- 6:02Speaker 1: not my living room router.
- 6:04Speaker 2: It's all about context and operational security. If you are
- 6:07Speaker 2: doing an authorized network assessment, you need to know exactly
- 6:11Speaker 2: how your outbound traffic is being routed.
- 6:13Speaker 1: Ah okay, Like, are you going through a corporate proxy.
- 6:16Speaker 2: Exactly, or is your local DNS intercepting or maybe caching
- 6:21Speaker 2: the request instead of fetching the live data.
- 6:24Speaker 1: That makes total sense, because if you don't verify your
- 6:27Speaker 1: own starting point and make sure your traffic is routing
- 6:29Speaker 1: the way you expect, you really can't trust the integrity
- 6:32Speaker 1: of the data you get back from the target.
- 6:34Speaker 2: Right, you have to verify your own instruments before you
- 6:37Speaker 2: take a measurement.
- 6:38Speaker 1: So then below that local gateway info we get the
- 6:41Speaker 1: actual answer to our query. We see a list of
- 6:44Speaker 1: IP addresses. These are the physical IPv four coordinates for
- 6:48Speaker 1: Microsoft servers.
- 6:49Speaker 2: Yes, And to get really clinical with this data, we
- 6:52Speaker 2: can drop into the tool's interactive mode.
- 6:54Speaker 1: How do we do that?
- 6:55Speaker 2: Instead of firing off single commands from the outside, you
- 6:58Speaker 2: just type enslock up by itself and hit enter.
- 7:00Speaker 1: Oh, I see, and then the terminal prompt changes. It
- 7:03Speaker 1: turns into a simple little arrow.
- 7:04Speaker 2: Right. That arrow indicates you are no longer in your
- 7:07Speaker 2: base operating system folder. You're now operating entirely inside the
- 7:11Speaker 2: tools environment.
- 7:12Speaker 1: And from inside that environment we can really start filtering
- 7:15Speaker 1: the noise. So tell the system to only look for
- 7:18Speaker 1: A records.
- 7:19Speaker 2: A records being the technical classification for the primary IPv
- 7:22Speaker 2: four address records. To do this, you type set type
- 7:26Speaker 2: equals A, no spaces around the equal sign and hit enter, and.
- 7:30Speaker 1: Then you just type Microsoft dot Com again exactly.
- 7:33Speaker 2: By setting that quality type to A, you're asking the
- 7:35Speaker 2: DNS system to strip away any aliases, any text records,
- 7:39Speaker 2: or itv six data. You just want the pure physical
- 7:43Speaker 2: coordinates of the target's web facing.
- 7:45Speaker 1: Servers and for a target like Microsoft, you'll probably get
- 7:48Speaker 1: back a block of addresses starting with something like thirteen
- 7:50Speaker 1: dot seventy seven, along with several others because they use.
- 7:53Speaker 2: Global distribution networks to manage their massive traffic load.
- 7:57Speaker 1: Right. But why is compiling this specific list of numbers
- 8:01Speaker 1: the critical first step for an offensive security test.
- 8:03Speaker 2: Because vulnerability scanners and exploitation frameworks they do not attack
- 8:07Speaker 2: abstract domain names.
- 8:09Speaker 1: They attack the ips.
- 8:10Speaker 2: Yes, you can't scan Microsoft dot com for open ports
- 8:14Speaker 2: or outdated software. You have to scan the specific numerical
- 8:17Speaker 2: coordinate hosting that service.
- 8:19Speaker 1: So grabbing these A records and organizing them into a
- 8:22Speaker 1: target list, that's how you define the physical perimeter. You're
- 8:26Speaker 1: mapping the outer wall.
- 8:27Speaker 2: Exactly, but finding the web servers only establishes that outer wall.
- 8:33Speaker 2: An organization is not a static fortress, right. It has
- 8:36Speaker 2: to talk to the outside world.
- 8:38Speaker 1: It has to receive information.
- 8:39Speaker 2: Right. So while we are still inside that interactive lens
- 8:42Speaker 2: look up prompt, we can change our filter from A
- 8:45Speaker 2: records to MX records.
- 8:47Speaker 1: So typeset type equals MX, which stands from mail exchange,
- 8:51Speaker 1: and type the domain. Again.
- 8:53Speaker 2: When you query the MX records for a domain, the
- 8:56Speaker 2: output shifts entirely. You are no longer looking at the
- 8:59Speaker 2: static web hosting infrastructure.
- 9:01Speaker 1: What are we looking at?
- 9:01Speaker 2: Then? You're looking at the dynamic routing infrastructure for the
- 9:04Speaker 2: company's internal and external communications.
- 9:07Speaker 1: I'm going to push back on this a bit, though,
- 9:08Speaker 1: because when I think of corporate email, I think of
- 9:11Speaker 1: marketing newsletters, meeting invites, maybe some automated password resets. From
- 9:16Speaker 1: a pure architectural standpoint, why do we care about mail servers?
- 9:19Speaker 1: It seems like a pretty low value target compared to say,
- 9:22Speaker 1: a customer database server.
- 9:24Speaker 2: I mean, that is a really common assumption, but structurally,
- 9:28Speaker 2: mail servers are arguably the most sensitive, uniquely exposed nodes
- 9:32Speaker 2: on any network.
- 9:33Speaker 1: Really.
- 9:34Speaker 2: How so, think about the fundamental mechanism of a web
- 9:37Speaker 2: server versus a mail server. A web server can sit
- 9:40Speaker 2: behind a massive web application firewall. Right, It strictly dictates
- 9:44Speaker 2: how users interact with the site, and it largely just
- 9:47Speaker 2: serves static content outward.
- 9:49Speaker 1: Right, It's mostly a one way street.
- 9:50Speaker 2: But a mail server, by its very definition, has to
- 9:54Speaker 2: be willing to actively accept inbound data files and attachments
- 9:59Speaker 2: from completely the unknown external sources twenty four hours a day.
- 10:03Speaker 1: Oh wow. Yeah, it has to have an open door,
- 10:04Speaker 1: because if it just drops unknown connections, the company stops
- 10:07Speaker 1: receiving emails from new clients or vendors exactly.
- 10:10Speaker 2: It is an enforced vulnerability. Furthermore, the mail server is
- 10:14Speaker 2: the central nervous system of the company.
- 10:15Speaker 1: It's processing all the internal memos, financial documents, HR data
- 10:19Speaker 1: vendor invoices.
- 10:20Speaker 2: So you have a highly sensitive data repository that is
- 10:23Speaker 2: structurally forced to interact with untrusted external actors.
- 10:26Speaker 1: Okay, that completely changes the context. So when we look
- 10:29Speaker 1: at the MS record output, we aren't just seeing where
- 10:32Speaker 1: the newsletters go. We are finding the loading docks of
- 10:35Speaker 1: the digital enterprise.
- 10:37Speaker 2: Yes, and if you look closely at that MX record output,
- 10:40Speaker 2: you'll see preference numbers next to the specific URL's Microsoft
- 10:44Speaker 2: uses for mail exchange.
- 10:46Speaker 1: Preference numbers like what.
- 10:48Speaker 2: The DNAs output will assign priorities to these servers. So
- 10:52Speaker 2: maybe a preference of ten for the primary mail server
- 10:55Speaker 2: and twenty for the backup server.
- 10:56Speaker 1: And a footprinting attacker uses this to mack the.
- 11:00Speaker 2: Outing hierarchy precisely.
- 11:01Speaker 1: But how does knowing that priority actually help them?
- 11:04Speaker 2: Well, think about it. If the primary server with priority
- 11:07Speaker 2: ten is heavily defended with the latest security appliances. An
- 11:11Speaker 2: attacker might just target the backup server with Priority twenty.
- 11:14Speaker 1: Because they assume the backup might have lacks or security
- 11:16Speaker 1: controls or.
- 11:17Speaker 2: Older software exactly right. They know that if they compromise
- 11:20Speaker 2: the backup, they still gain access to the same internal
- 11:23Speaker 2: communication flow. They map the traffic to find the weakest
- 11:26Speaker 2: link in the chain.
- 11:27Speaker 1: Man, that's wild. Okay, So we've used the command line
- 11:31Speaker 1: to map the machines. We have the physical IP coordinates
- 11:34Speaker 1: and the email writing logic. But machines don't just register themselves,
- 11:38Speaker 1: No they don't. Human beings buy these domains, and human
- 11:42Speaker 1: beings sit in physical offices to manage them. So to
- 11:45Speaker 1: map that human element, we need to transition away from
- 11:48Speaker 1: querying the technical DNS infrastructure, right.
- 11:51Speaker 2: We need to query the administrative registry, which means we
- 11:54Speaker 2: leave the terminal behind and head over to a standard
- 11:56Speaker 2: web browser.
- 11:57Speaker 1: Any browser works, Firefox, Chrome, Safari, and we're going to
- 12:01Speaker 1: use a system called who that's whois.
- 12:05Speaker 2: The who is database is basically the public directory of
- 12:08Speaker 2: domain ownership. Now, if you just search who is online,
- 12:12Speaker 2: you'll see a lot of third party sites offering the service,
- 12:14Speaker 2: So you shouldn't use those ray definitely not to interact
- 12:17Speaker 2: with it safely and accurately. You should always go directly
- 12:20Speaker 2: to the source, the official Ican website, I.
- 12:23Speaker 1: Can being the Internet Corporation for assigned names and numbers,
- 12:27Speaker 1: because those third party sites they might harvest your search
- 12:30Speaker 1: data or they just might not be safe exactly.
- 12:32Speaker 2: Stick to the official Ican site. It.
- 12:34Speaker 1: So we go to Ican and we type www dot
- 12:37Speaker 1: Microsoft dot com into their search box and hit lookup.
- 12:41Speaker 2: You'll probably have to complete a kptcha first.
- 12:44Speaker 1: Oh yeah, clicking the traffic lights or the crosswalks to
- 12:47Speaker 1: approve you're not a robot. But once you're through that gateway,
- 12:51Speaker 1: you're presented with just a massive wall of administrative data.
- 12:55Speaker 2: It is a gold mine.
- 12:56Speaker 1: But before we dig into what that data actually is,
- 12:59Speaker 1: I want to understand why it is completely public. I
- 13:02Speaker 1: know that individuals can pay for like domain privacy to
- 13:05Speaker 1: hide their personal home address when they start.
- 13:07Speaker 2: A blog, right, that's very common for individuals.
- 13:09Speaker 1: So why would a multi billion dollar corporation leave their
- 13:12Speaker 1: administrative details exposed for literally anyone to read.
- 13:16Speaker 2: It really comes down to the mechanics of global accountability
- 13:19Speaker 2: at scale. When the Internet transitioned from just an experimental
- 13:23Speaker 2: military project to a global commercial network, there had to
- 13:26Speaker 2: be a centralized.
- 13:27Speaker 1: Ledger to prevent domain collisions and establish ownership right.
- 13:31Speaker 2: It can requires domains to be tied to real world,
- 13:34Speaker 2: legally accountable.
- 13:35Speaker 1: Entities, So the privacy rules are just different depending on
- 13:38Speaker 1: your scale.
- 13:38Speaker 2: Precisely, for an individual running a personal site, privacy proxies
- 13:42Speaker 2: are perfectly acceptable, but for massive corporate entities, internet service providers,
- 13:48Speaker 2: major networks, global law enforcement and regulatory bodies require transparency.
- 13:54Speaker 1: Because if a domain is launching massive spam campaigns, or
- 13:59Speaker 1: hosting malicious infrastructure.
- 14:01Speaker 2: Or even just experiencing a critical routing failure, there has
- 14:05Speaker 2: to be a public record of the technical contacts, the
- 14:08Speaker 2: physical jurisdiction, and the registrar responsible for that slice of
- 14:11Speaker 2: the Internet.
- 14:12Speaker 1: So the transparency that keeps the Internet accountable is the
- 14:15Speaker 1: exact same transparency we're using to footprint the target.
- 14:18Speaker 2: It's a deliberate architectural trade off. By looking at the
- 14:21Speaker 2: Ican who is record, you are bypassing the digital abstraction
- 14:25Speaker 2: and looking at the legal and physical reality of the company.
- 14:28Speaker 1: Well, let's look at what that physical reality includes. For
- 14:30Speaker 1: a major target like Microsoft, the who is record reveals
- 14:34Speaker 1: the physical mailing address of their headquarters yep. It reveals
- 14:37Speaker 1: their domain registrar, which is the third party company they
- 14:40Speaker 1: pay to manage their domain. For Microsoft, that's a company
- 14:43Speaker 1: called mark Monitor.
- 14:44Speaker 2: It also lists the authoritative name servers.
- 14:46Speaker 1: And crucially, it lists administrative contact emails such as domains
- 14:51Speaker 1: at Microsoft dot com, along with actual direct public phone
- 14:54Speaker 1: numbers and even fax numbers.
- 14:56Speaker 2: You are gathering the puzzle pieces of the organization's supply
- 14:59Speaker 2: chain and internal li management structure. You now know exactly
- 15:02Speaker 2: where they live, who manages their domain externally, and the
- 15:06Speaker 2: specific contact information for the administrators in charge of their
- 15:09Speaker 2: network routing.
- 15:10Speaker 1: And it took maybe thirty seconds to pull this. I
- 15:13Speaker 1: didn't need to buy pass a firewall. I didn't need
- 15:16Speaker 1: to write a script. I just asked the governing body
- 15:18Speaker 1: of the Internet to hand me the public dossier.
- 15:20Speaker 2: Which brings us to the real hackers application the weaponization
- 15:24Speaker 2: phase of footprinting.
- 15:25Speaker 1: Right, we have technical coordinates, mailflow hierarchy, and administrative contact details.
- 15:31Speaker 1: The big question is how does a criminal actually weaponize
- 15:34Speaker 1: this seemingly mundane information.
- 15:36Speaker 2: Well, let's break down the specific use cases.
- 15:39Speaker 1: Because calling the phone number listed on a Microsoft whose
- 15:42Speaker 1: record is probably just going to connect me to a
- 15:44Speaker 1: massive automated corporate switchboard.
- 15:47Speaker 2: Oh, for sure. With a target as large as Microsoft, yes,
- 15:51Speaker 2: you will hit layers of corporate bureaucracy designed to deflect
- 15:54Speaker 2: those inquiries. They have highly trained staff to resist this.
- 15:58Speaker 1: But what if it's a small target.
- 16:01Speaker 2: Apply this exact mechanism to a mid sized enterprise, a
- 16:04Speaker 2: regional hospital, or an engineering firm. A hacker finds the
- 16:09Speaker 2: domain administrator's email in the HUAR registry. They do not
- 16:13Speaker 2: need to compromise that email account to use it against
- 16:15Speaker 2: the company.
- 16:16Speaker 1: What do they do with it?
- 16:17Speaker 2: They use it as the foundation for a highly targeted
- 16:20Speaker 2: attack called spearfishing. They spoof the sender.
- 16:23Speaker 1: Address ah, so they forge the email headers to make
- 16:26Speaker 1: it look like it's coming internally from the IT department exactly.
- 16:29Speaker 2: They send a message to the company's employees stating there
- 16:33Speaker 2: is a mandatory network credential update or security patch that
- 16:36Speaker 2: needs to be installed immediately.
- 16:38Speaker 1: And because the email appears to originate from the authoritative
- 16:41Speaker 1: domain administrator the exact email address legally listed on the
- 16:45Speaker 1: public registry, it bypasses the employee's natural skepticism.
- 16:49Speaker 2: It leverages internal authority.
- 16:51Speaker 1: Wow, It's the difference between receiving a sketchy email from
- 16:55Speaker 1: a random string of numbers versus an email from the actual,
- 16:59Speaker 1: documented administrative contact of your own company.
- 17:03Speaker 2: It is devastatingly effective.
- 17:04Speaker 1: But what about the registrar information and the phone numbers.
- 17:08Speaker 1: How does knowing that a company uses mark monitor or
- 17:12Speaker 1: maybe GoDaddy to host their domain actually help an attacker.
- 17:17Speaker 2: That feeds right into the psychology of social engineering. Hacking
- 17:21Speaker 2: is fundamentally about manipulating human trust just as much as
- 17:24Speaker 2: it is about exploiting code. An attacker takes that administrative
- 17:27Speaker 2: phone number, calls the company's main line, and bypasses the
- 17:31Speaker 2: automated switchboard by asking for the IT department. And they
- 17:34Speaker 2: don't pretend to be a hacker. They pretend to be
- 17:36Speaker 2: the vendor.
- 17:37Speaker 1: Oh, I see the angle. They use the public data
- 17:39Speaker 1: to build a believable pretext.
- 17:41Speaker 2: Yes. The attacker gets an IT staff member on the
- 17:43Speaker 2: line and says, Hey, I'm calling from your domain registrar
- 17:47Speaker 2: mark Monitor. We're seeing a critical synchronization error on your
- 17:51Speaker 2: authoritative name servers.
- 17:52Speaker 1: And they read off the exact name servers listed in
- 17:54Speaker 1: the who is record exactly.
- 17:56Speaker 2: They say, I need you to log in and verify
- 17:58Speaker 2: your configuration details or your inbound mail flow is going
- 18:01Speaker 2: to drop in ten minutes.
- 18:02Speaker 1: Man, that is incredibly manipulative. The attacker introduces this sense
- 18:07Speaker 1: of extreme urgency, but more importantly, they prove their legitimacy
- 18:11Speaker 1: by citing obscure technical details that a normal scammer wouldn't
- 18:15Speaker 1: possibly know.
- 18:16Speaker 2: Right, the employee thinks this person knows our registrar, our
- 18:20Speaker 2: name servers, and our mail flow priority. They must be
- 18:23Speaker 2: exactly who they say they are.
- 18:25Speaker 1: Because the employee assumes this is highly restricted insider knowledge,
- 18:29Speaker 1: they're completely unaware that the attacker pulled all of those
- 18:32Speaker 1: data points from a public I Can registry thirty seconds
- 18:35Speaker 1: before picking up the phone.
- 18:36Speaker 2: And so the employee hands over the configuration details, or
- 18:40Speaker 2: they log into a spoofed administrative cordal to fix the
- 18:43Speaker 2: fake problem, and just like that, the network is compromised
- 18:47Speaker 2: without a single piece of malware ever being deployed.
- 18:50Speaker 1: The attacker essentially used the company's own public blueprints to
- 18:53Speaker 1: convince the security guard to unlock the front door and
- 18:55Speaker 1: just hand over the master keys.
- 18:57Speaker 2: Yes, and this illustrates perfectly why open source intelligence gathering
- 19:02Speaker 2: is so.
- 19:02Speaker 1: Devastating, because the vulnerability isn't necessarily a flaw in a
- 19:06Speaker 1: piece of software. The vulnerability is the inherent required architecture
- 19:11Speaker 1: of how the Internet registers and routes information.
- 19:14Speaker 2: Exactly and understanding this mechanism is really the only way
- 19:17Speaker 2: to defend against it. Security professionals must constantly audit their
- 19:21Speaker 2: organization's public footprint.
- 19:23Speaker 1: You have to view your own infrastructure through the eyes
- 19:26Speaker 1: of an adversary who is relying solely on open source intelligence.
- 19:30Speaker 2: You have to know what your blueprints say about you.
- 19:32Speaker 1: We have covered some genuinely fascinating ground today. We moved
- 19:36Speaker 1: away from the graphical interface and into the terminal using
- 19:39Speaker 1: unslook up to understand the mechanics of the domain name system.
- 19:42Speaker 2: We mapped the physical IP addresses and analyzed the inherently
- 19:46Speaker 2: vulnerable architecture of mail server routing.
- 19:49Speaker 1: Then we queried the global directory using who is to
- 19:52Speaker 1: map the human administrators, the registrars, and the physical locations,
- 19:56Speaker 1: and saw how easily that public trust can be weaponized
- 19:58Speaker 1: through social engineering.
- 20:00Speaker 2: It really does fundamentally change how you perceive the infrastructure
- 20:04Speaker 2: you interact with every single day, the abstraction fades away
- 20:08Speaker 2: and you finally see the structural reality of the network.
- 20:11Speaker 1: So to solidify these concepts, I have a short, completely safe,
- 20:15Speaker 1: practical exercise for you to try right after this audio
- 20:18Speaker 1: session wraps up.
- 20:19Speaker 2: Oh this is a great idea.
- 20:20Speaker 1: Yeah, I want you to open up your own terminal
- 20:22Speaker 1: or command prompt, drop into the inslock up interactive mode,
- 20:27Speaker 1: set your query type to MX, and investigate the mail
- 20:31Speaker 1: routing for a website you visit every day.
- 20:33Speaker 2: Look those preference numbers we talked.
- 20:35Speaker 1: About, and then take that same domain over to the
- 20:37Speaker 1: I can who's registry in your web browser, analyze the
- 20:41Speaker 1: administrative data, see who actually legally owns the platform, what
- 20:45Speaker 1: physical city they operate out of, and who manages their registry.
- 20:49Speaker 2: It's just a really practical way to reinforce the mechanics
- 20:52Speaker 2: we've discussed. You can see the real world connections behind
- 20:55Speaker 2: the screen for yourself absolutely.
- 20:57Speaker 1: And as you run that search and look at those
- 20:59Speaker 1: public records, I want you to ponder a final, rather
- 21:02Speaker 1: chilling thought. Okay, what is it If these free, built in,
- 21:05Speaker 1: completely public tools can so easily reveal the internal mail servers,
- 21:10Speaker 1: the physical addresses, and the direct administrative phone numbers of
- 21:14Speaker 1: a multi billion dollar fortress like Microsoft, what does a
- 21:18Speaker 1: quick thirty second search reveal about the digital footprint of
- 21:20Speaker 1: your own employer or your own personal website. What invisible
- 21:24Speaker 1: blueprints are you currently broadcasting to the digital detectives of
- 21:28Speaker 1: the world without even realizing it.
- 21:29Speaker 2: That is a crucial question for anyone operating in a
- 21:32Speaker 2: connected environment today.
- 21:33Speaker 1: Thank you so much for exploring these systems alongside us,
- 21:36Speaker 1: and for taking the time to understand the hidden architecture
- 21:39Speaker 1: of the web. Until next time, stay curious and keep
- 21:42Speaker 1: diving deep.