Latest / CyberSecurity Summary / Improving your Penetration Testing Skills: Strengthen your defense against web attacks with Kali Linux and Metasploit
Transcript
- 0:00Speaker 1: Welcome to the Deep Dive, the show where we cut
- 0:02Speaker 1: through the noise to get you truly well informed on
- 0:05Speaker 1: fascinating topics.
- 0:06Speaker 2: Great to be digging into another one.
- 0:08Speaker 1: So, you know, in our increasingly digital world, there's this constant,
- 0:14Speaker 1: often hidden battle being waged. It's not just against external threats,
- 0:20Speaker 1: but right within the very systems we rely on every
- 0:23Speaker 1: single day. Right, Think of it like well, a digital
- 0:26Speaker 1: fortress and understanding its weaknesses, you know, the chinks in
- 0:30Speaker 1: the armor is just as crucial as actually building the
- 0:33Speaker 1: walls themselves.
- 0:34Speaker 2: Absolutely, for a long long time, the security mindset was
- 0:37Speaker 2: almost entirely focused just on network perimeters, right, the outer
- 0:41Speaker 2: walls exactly. Companies poured money into firewalls, network defenses, which,
- 0:46Speaker 2: honestly it kind of fostered a full sense of security
- 0:48Speaker 2: in some ways. How so well, because then our reliance
- 0:51Speaker 2: on web technologies just exploded, you know, public websites, internal apps,
- 0:56Speaker 2: everything moved online.
- 0:57Speaker 1: Ah okay, And that's where the whole game changed, isn't it.
- 1:00Speaker 2: Precisely because suddenly web applications became just as vulnerable to attack,
- 1:05Speaker 2: maybe even more so than those traditional networks and operating systems.
- 1:09Speaker 1: Yeah, we've all seen the headlines.
- 1:11Speaker 2: Unfortunately, absolutely recent years, I mean, we've seen just spectacular
- 1:15Speaker 2: data leaks, breaches affecting millions of records.
- 1:18Speaker 1: Yeah, everything from credit cards, health histories.
- 1:21Speaker 2: Social security numbers, you name it. And so often these
- 1:25Speaker 2: really devastating attacks they didn't start with breaking through the.
- 1:29Speaker 1: Network firewall, no where.
- 1:31Speaker 2: Then they often started with a vulnerability or maybe a
- 1:34Speaker 2: simple design flawed directly within a web application itself.
- 1:37Speaker 1: Okay, so the industry had to react to that. It did.
- 1:40Speaker 2: We saw this rapid rise in defensive tech, things like
- 1:43Speaker 2: web application firewalls wfs and run time applications self protection
- 1:48Speaker 2: are asp plus you know, sophisticated web vulnerability scanners, source
- 1:52Speaker 2: code scanners became standard. Companies finally started realizing the immense
- 1:56Speaker 2: value of testing applications before they go.
- 1:58Speaker 1: Live, which leads us perfectly in today's deep dive topic
- 2:01Speaker 1: penetration testing exactly. Think of this as your shortcut to
- 2:06Speaker 1: understanding how ethical hackers, well if they act like controlled adversaries, right.
- 2:11Speaker 2: Mm hmm, meticulously identifying and exploiting vulnerabilities, especially in those
- 2:15Speaker 2: really critical web applications.
- 2:17Speaker 1: So today we're going to unpack the skills, the surprising facts,
- 2:21Speaker 1: the powerful tools that help strengthen our digital defenses. And
- 2:26Speaker 1: we're drawing insights from a really comprehensive source called improving
- 2:30Speaker 1: your penetration testing Skills. Yeah, it's a great resource, So
- 2:33Speaker 1: get ready to see the world of digital security from
- 2:36Speaker 1: the attacker's perspective.
- 2:37Speaker 2: But you know, for good, that's the key. At its core,
- 2:41Speaker 2: penetration testing is well, it's the art of making a
- 2:45Speaker 2: computer system or an application do things it was never
- 2:48Speaker 2: designed to do.
- 2:49Speaker 1: But ethically.
- 2:50Speaker 2: But ethically, yes, the goal is always to discover flaws
- 2:53Speaker 2: before the malicious actors do and then provide you know,
- 2:56Speaker 2: actionable advice on how to fix them.
- 2:58Speaker 1: So it helps everyone really, company, hospitals.
- 3:00Speaker 2: Schools, government agencies, helping them secure their vital applications and
- 3:04Speaker 2: of course their data.
- 3:05Speaker 1: So it's like a controlled strategic attack to find the
- 3:08Speaker 1: weak spots before the actual bad guys do. How do
- 3:12Speaker 1: these engagements usually work? Does the testing team always get
- 3:16Speaker 1: all the info upfront?
- 3:18Speaker 2: Well, it varies quite a bit, actually depends on the
- 3:20Speaker 2: type of engagement you've got. Black box testing.
- 3:22Speaker 1: Okay, black box.
- 3:24Speaker 2: This simulates an external attacker who's completely uninformed. The pen
- 3:28Speaker 2: tester starts with well zero knowledge, just like a real
- 3:32Speaker 2: world hacker might trying to map the network discover defenses
- 3:35Speaker 2: all from scratch, but you know, for internal applications, this
- 3:38Speaker 2: might sometimes be a less efficient way to go. Why
- 3:41Speaker 2: is that because a real attacker might easily gather public info,
- 3:45Speaker 2: or frankly, they might be a disgruntled insider who already
- 3:48Speaker 2: knows a lot, So the black box test might miss
- 3:50Speaker 2: things an insider threat wouldn't.
- 3:52Speaker 1: Okay, So it's like trying to break into a house
- 3:54Speaker 1: without knowing where the doors or windows are, versus say,
- 3:57Speaker 1: having some basic.
- 3:57Speaker 2: Blueprints exactly that. Then on the other end of the
- 4:00Speaker 2: spectrum you have white box testing total opposite, I'm guessing
- 4:03Speaker 2: complete opposite. The testing team gets full information, source code, architecture, diagrams,
- 4:09Speaker 2: you name it. It's extremely thorough. And in the middle
- 4:13Speaker 2: that's grey box testing, an intermediate approach. Some info is provided,
- 4:18Speaker 2: but not everything. This often simulates, say an insider threat,
- 4:22Speaker 2: or maybe what someone could do with a compromised user account.
- 4:25Speaker 1: What's really interesting, though, is that even with these structured approaches,
- 4:28Speaker 1: pen testing still has limits. Right, It's not like a
- 4:31Speaker 1: magic wand.
- 4:32Speaker 2: You wave, oh, absolutely not. That's a crucial point to understand. First,
- 4:35Speaker 2: there's the limitation of skills, meaning well, it's incredibly tough
- 4:40Speaker 2: to find one person who's equally skilled across all the
- 4:42Speaker 2: major areas network system and web application Penetration testing expertise
- 4:48Speaker 2: is often really specialized, right.
- 4:50Speaker 1: Someone might be brilliant with apatche servers but know nothing
- 4:53Speaker 1: about ISO.
- 4:53Speaker 2: For example, exactly and figuring out how a seemingly low
- 4:57Speaker 2: risk vulnerability could actually so is a high threat to
- 5:01Speaker 2: a specific system that often comes only with you know,
- 5:04Speaker 2: deep experience and I bet.
- 5:05Speaker 1: Time is always a massive factor, especially compared to a
- 5:08Speaker 1: real attacker.
- 5:09Speaker 2: Always. Penetration testing is almost always a short, pre defined project.
- 5:14Speaker 2: Testers have a limited window, maybe a week or two
- 5:17Speaker 2: to find vulnerabilities and produce results.
- 5:19Speaker 1: Whereas a malicious attacker.
- 5:21Speaker 2: They have unlimited time days, weeks, months, plus. The pen
- 5:26Speaker 2: tester has the added burden of writing these incredibly detailed,
- 5:29Speaker 2: defensible reports with screenshots and explanations. An attacker doesn't worry
- 5:34Speaker 2: about that.
- 5:35Speaker 1: So they can't just throw everything they have at a target,
- 5:38Speaker 1: even if they technically.
- 5:39Speaker 2: Could not always know in really secure environments, standard frameworks
- 5:44Speaker 2: or automated tools might just bounce off. They might be.
- 5:46Speaker 1: Useless, So they have to get creative.
- 5:48Speaker 2: Yeah, forcing the team to create custom exploits or manually
- 5:52Speaker 2: write scripts to test specific things, and that's incredibly time consuming.
- 5:56Speaker 2: It directly impacts the project's budget and timeline. Okay, Another
- 6:00Speaker 2: common limitation is deliberately avoiding denial of service or DOS attacks.
- 6:04Speaker 1: Why avoid those seems like something you'd want to test.
- 6:07Speaker 2: Well, many testers intentionally avoid them because they don't want
- 6:10Speaker 2: to inadvertently cause client downtime. It's a business risk.
- 6:14Speaker 1: Ah, makes sense.
- 6:15Speaker 2: But the downside is this inadvertently leaves systems potentially open
- 6:19Speaker 2: to well script kitties, less sophisticated attackers who just want
- 6:24Speaker 2: notoriety by taking systems offline. So it's really vital to
- 6:29Speaker 2: educate clients upfront about the pros and cons of doing
- 6:32Speaker 2: this kinds of test.
- 6:33Speaker 1: That's a really good point. And what about the tools themselves?
- 6:36Speaker 1: Are they always reliable?
- 6:37Speaker 2: That's another limitation The tools used, No single tool, free
- 6:41Speaker 2: or commercial, is perfect. They all have blind spots, so.
- 6:44Speaker 1: The tester needs to know more than just how to
- 6:47Speaker 1: run the tool exactly.
- 6:48Speaker 2: The testing team needs to be knowledgeable enough to adapt,
- 6:51Speaker 2: understand the tool's limitations, and find alternatives when you know
- 6:55Speaker 2: its features just aren't cutting it for a specific scenario.
- 6:58Speaker 1: All this makes me think about where a pen tester
- 7:00Speaker 1: actually practice this stuff. You can't just go poking around
- 7:03Speaker 1: random websites on.
- 7:04Speaker 2: The internet, right, illegal? You're absolutely right. It is illegal
- 7:08Speaker 2: in most countries to scan, test, or exploit vulnerabilities on
- 7:11Speaker 2: the Internet without explicit written authorization from the owner.
- 7:15Speaker 1: So how do they learn?
- 7:16Speaker 2: That's why having a controlled, owned and isolated lab environment
- 7:21Speaker 2: is just paramount, absolutely essential. It's the only place you
- 7:25Speaker 2: can freely practice and develop your skills without any legal worries.
- 7:29Speaker 1: And there are specific vulnerable environments for that.
- 7:32Speaker 2: Yes, things like oh washbroken web applications or hackers on
- 7:35Speaker 2: which we'll definitely talk more about. They're perfect for this
- 7:38Speaker 2: kind of safe practice.
- 7:39Speaker 1: Okay, so setting up this ethical hacking lab, what's the
- 7:45Speaker 1: go to operating system? I always hear Klie Linux.
- 7:48Speaker 2: Ah, Collie Linux. Yes, it really is kind of the
- 7:51Speaker 2: ethical hackers dream toolkit.
- 7:53Speaker 1: Why is that? What's the big deal?
- 7:54Speaker 2: Its main value is just how much it simplifies the setup.
- 7:59Speaker 2: It comes with pretty much whch all the major hacking
- 8:01Speaker 2: tools pre installed along with all their dependencies. Oh nice,
- 8:04Speaker 2: So it means you can focus immediately on learning and
- 8:06Speaker 2: actually doing the attacks, rather than wasting hours just installing
- 8:10Speaker 2: and configuring individual tools and offensive security. The folks behind
- 8:14Speaker 2: Collie they keep these tools frequently updated, so you're always
- 8:17Speaker 2: working with the latest stuff.
- 8:18Speaker 1: So it's like a constantly updated, pre assembled workshop for
- 8:22Speaker 1: digital security. That's incredibly useful.
- 8:25Speaker 2: It really is, and it's remarkably versatile too. Collie runs
- 8:28Speaker 2: on various hardware Google, Chromebooks, Raspberry.
- 8:32Speaker 1: Pie, Raspberry Pie Wow.
- 8:34Speaker 2: There's even net Hunter, which is a version specifically designed
- 8:37Speaker 2: for mobile devices.
- 8:38Speaker 1: Now, a lot of people, myself included, tend to use
- 8:40Speaker 1: virtualization running it in a VM. What are the pros
- 8:44Speaker 1: and cons of that versus installing Collie directly on say,
- 8:48Speaker 1: a dedicated laptop. What's the real trade off there?
- 8:51Speaker 2: Virtualization is definitely an attractive option. It's cost effective, flexible,
- 8:55Speaker 2: You can easily clone virtual machines if you need multiple
- 8:58Speaker 2: testing copies, and the revert to snapshot feature is invaluable.
- 9:03Speaker 2: If you mess up your testing machine break something poof,
- 9:05Speaker 2: you just restore clean slate. Instantly modifying resources like RAM
- 9:09Speaker 2: or CPU is also super easy.
- 9:11Speaker 1: Okay, sounds great. What's the catch?
- 9:12Speaker 2: The major drawback comes with processor intensive tasks think password cracking.
- 9:17Speaker 2: Those tasks are significantly slower because of the virtualization overhead,
- 9:21Speaker 2: and you simply can't fully leverage a dedicated GPU a
- 9:24Speaker 2: graphics card for that kind of raw processing power inside
- 9:28Speaker 2: a standard VM setup.
- 9:30Speaker 1: So for serious number crunching, physical hardware still wins. But
- 9:34Speaker 1: for most day to day practice and exploration, virtualization is
- 9:38Speaker 1: probably fine.
- 9:38Speaker 2: Absolutely for most tasks it's the way to go.
- 9:41Speaker 1: Okay, So what are some of the essential tools packed
- 9:44Speaker 1: into Collie that a pentester would use regularly?
- 9:47Speaker 2: Right, let's touch on a few key categories. For content
- 9:50Speaker 2: management systems, you know CMSs, like WordPress or joom Law,
- 9:54Speaker 2: there are specialized scanners like what well, wp scan is
- 9:59Speaker 2: a really fast WordPress vulnerability scanner. It's surprising how often
- 10:03Speaker 2: organizations just leave default plugins and themes exposed. WP scan
- 10:07Speaker 2: finds those instantly.
- 10:08Speaker 1: Broadcasting their weak points essentially.
- 10:10Speaker 2: Pretty much similarly, jim scan does the same thing for gymlesites.
- 10:13Speaker 1: Got it? What about finding hidden files and directories? That
- 10:16Speaker 1: seems like a really critical first step for.
- 10:18Speaker 2: An attacker, definitely for that. Dirb is a command line tool.
- 10:23Speaker 2: It uses dictionary files to discover hidden files and directories.
- 10:27Speaker 2: Maybe old admin panels, backup files, things that shouldn't.
- 10:30Speaker 1: Be accessible in Nikto, I've heard that name.
- 10:33Speaker 2: Nikto is a longtime favorite. It's a really feature rich
- 10:37Speaker 2: web server scanner. Checks for thousands of outdated software components,
- 10:42Speaker 2: common configuration errors. It's like giving the web server a
- 10:45Speaker 2: thorough digital health check.
- 10:47Speaker 1: Okay, And for broader network scanning, maybe looking beyond just
- 10:51Speaker 1: the web applications themselves, for.
- 10:52Speaker 2: That network wide view. OpenVAS the Open Vulnerability Assessment Scanner
- 10:57Speaker 2: is a powerful tool in Collinge.
- 10:58Speaker 1: Right that used to be or part of it.
- 11:01Speaker 2: Yeah, it's a free fork of what was once nessus.
- 11:03Speaker 2: It's excellent for identifying a wide range of network side vulnerabilities,
- 11:07Speaker 2: giving you that bigger picture of potential entry points. And
- 11:10Speaker 2: these are just a few examples. The Colleague toolkit is vast.
- 11:13Speaker 1: So speaking of practice, you mentioned those vulnerable environments for
- 11:17Speaker 1: safe learning. Which ones are commonly used for training new pendesters? Yeah?
- 11:21Speaker 2: Absolutely. The a wasp p Broken Web Applications Project or
- 11:25Speaker 2: BWA is really crucial. It's a collection of intentionally vulnerable
- 11:30Speaker 2: web applications all packaged up as a single virtual machine.
- 11:34Speaker 2: Easy to set up them super easy, and it's perfect
- 11:37Speaker 2: for hands on learning. It includes apps like Wacko, Pico
- 11:40Speaker 2: and the Bodget Store, which simulate real world apps but
- 11:44Speaker 2: with less obvious flaws, so they really force you to
- 11:47Speaker 2: think like an attacker.
- 11:48Speaker 1: Okay, any others?
- 11:49Speaker 2: Another excellent one is hackazon. It's from Rapid seven, the
- 11:52Speaker 2: folks who make metasploit.
- 11:54Speaker 1: Okay.
- 11:54Speaker 2: It simulates a modern online store using technologies like ajax
- 11:58Speaker 2: and web services, and it has several security problems deliberately
- 12:02Speaker 2: built right in great practice ground.
- 12:04Speaker 1: So you've got your lab set up, your Collie machine ready,
- 12:07Speaker 1: a safe environment to practice in. What's the very first
- 12:10Speaker 1: thing an ethical hacker does when they start looking at
- 12:12Speaker 1: a target.
- 12:12Speaker 2: That brings us squarely into the art of gathering intel.
- 12:15Speaker 2: We often call it reconnaissance or recon Now, while a
- 12:18Speaker 2: malicious attacker might be chaotic, maybe opportunistic, a professional penetration
- 12:23Speaker 2: tester always follows a structured approach.
- 12:25Speaker 1: Right, there's a method, definitely.
- 12:27Speaker 2: The typical sequence is meticulous information gathering first, then identification
- 12:32Speaker 2: of vulnerabilities, often through scanning, and then finally exploitation. This
- 12:37Speaker 2: structured way helps you find as many bugs as you
- 12:39Speaker 2: can and importantly prepares you to write those valuable, comprehensive
- 12:44Speaker 2: reports for the client.
- 12:45Speaker 1: So reconnaissance is the foundation. What kind of information are
- 12:48Speaker 1: they trying to dig up in this phase? What are
- 12:50Speaker 1: the goals?
- 12:51Speaker 2: The aims are pretty broad, actually identifying it addresses, domains,
- 12:55Speaker 2: subdomains using tools like whois and DNS lookups, okay, gathering
- 13:01Speaker 2: public information from regular search engines like Google and bing,
- 13:04Speaker 2: but also specialized ones like Showdowan or even archives like
- 13:08Speaker 2: the Internet Archive.
- 13:09Speaker 1: Looking for clues anywhere they can find.
- 13:10Speaker 2: Them exactly, Identifying key personnel maybe through LinkedIn using tools
- 13:14Speaker 2: like Maltago. Even figuring out the physical location of servers
- 13:18Speaker 2: using GOIP databases can be part of it.
- 13:20Speaker 1: Gay, Let's unpack some of that you mentioned who is,
- 13:22Speaker 1: How does looking up domain records actually give an attacker
- 13:25Speaker 1: and edge seems pretty basic?
- 13:27Speaker 2: Who is records are public databases. They reveal domain owner details, names, addresses,
- 13:33Speaker 2: phone numbers, emails, the DNS servers being used. An attacker
- 13:37Speaker 2: can use this info for highly targeted social engineering attacks
- 13:42Speaker 2: or even for war driving driving around the registered address
- 13:45Speaker 2: looking for unsecured Wi Fi.
- 13:47Speaker 1: Wow.
- 13:48Speaker 2: And a really striking real world example was the New
- 13:51Speaker 2: York Times attack back in twenty thirteen. Their DNS records
- 13:54Speaker 2: were altered after a successful phishing attack against their domain reseller.
- 13:59Speaker 2: It shows how powerful this seemingly mundane data can be.
- 14:02Speaker 1: It really drives it home. Okay, what about DNS enumeration.
- 14:06Speaker 1: How do they leverage that?
- 14:07Speaker 2: Well? DNS servers often use something called zone transfer to
- 14:10Speaker 2: sync their databases. Okay, if that's misconfigured, which happens, it
- 14:14Speaker 2: can expose a complete list of IP host name pairs
- 14:16Speaker 2: within a network, basically gives the attacker a map of
- 14:19Speaker 2: the internal network structure.
- 14:21Speaker 1: How do they try that?
- 14:22Speaker 2: Tools like dig can be used to attempt a zone transfer.
- 14:25Speaker 2: Other tools like dnascinum automate finding basic DNS records MX
- 14:30Speaker 2: for mail, NS for name servers, A records for IPS,
- 14:34Speaker 2: and can perform reverse lookups even brute force subdomains to
- 14:38Speaker 2: reveal more of the target's infrastructure.
- 14:40Speaker 1: So they're using search engines too, but not just for
- 14:42Speaker 1: finding web pages, right, They're digging deeper exactly.
- 14:45Speaker 2: General search engines like Google, Bing, Duck, dot coo. They
- 14:49Speaker 2: allow these advanced search filters. People call them Google dorks.
- 14:52Speaker 1: Google dorks. Yeah.
- 14:53Speaker 2: They let an attacker find specific file types, maybe error
- 14:56Speaker 2: messages containing sensitive info or specific text in URLs that
- 15:00Speaker 2: might reveal misconfigurations. Offensive Security actually maintains a public Google
- 15:05Speaker 2: hacking database full of these techniques.
- 15:07Speaker 1: Okay, but then there's Showdan that sounds completely different, almost
- 15:10Speaker 1: like sci fi.
- 15:11Speaker 2: Showdan really is a different kind of search engine. It
- 15:13Speaker 2: doesn't look for web content. It searches for devices connected
- 15:16Speaker 2: to the Internet, devices like what like everything, industrial control systems,
- 15:20Speaker 2: running power grids, CCTV cameras, baby monitors, routers, servers, you
- 15:25Speaker 2: name it. And what's truly surprising, maybe shocking, is the
- 15:29Speaker 2: sheer volume of unsecured devices it finds, often left with
- 15:33Speaker 2: default passwords. It's like finding the digital blueprint of a city,
- 15:37Speaker 2: including all its unlocked back doors, with just a search query.
- 15:41Speaker 1: That's kind of terrifying. Are there tools that help automate
- 15:44Speaker 1: gathering info from all these different sources? Yeah.
- 15:46Speaker 2: The Harvester is a Collie tool that acts as a rapper.
- 15:49Speaker 2: It queries various search engines to pull together emails, subdomains,
- 15:53Speaker 2: virtual hosts, open ports related to a target, sort of
- 15:57Speaker 2: aggregator exactly. And another powerful frame work is recon. It
- 16:01Speaker 2: consolidates lots of information gathering modules like it can look
- 16:05Speaker 2: up multiple domains hosted on a single SSL certificate or
- 16:09Speaker 2: enumerate LinkedIn contacts associated with a target company.
- 16:12Speaker 1: Okay, so once they'd gathered all this initial intelligence, the
- 16:15Speaker 1: next phase is usually scanning, right actively probing the target
- 16:19Speaker 1: to see what's actually running and where the potential doors are. Correct.
- 16:22Speaker 2: The scanning phase is about identifying the operating system, the
- 16:25Speaker 2: web server version, the underlying infrastructure, specific applications.
- 16:29Speaker 1: Running, starting with open ports.
- 16:31Speaker 2: Usually yes, finding open ports beyond the standard eighty for
- 16:36Speaker 2: HTTP and four forty three for hdtps because other services
- 16:39Speaker 2: might be exposed.
- 16:40Speaker 1: And for port scanning, the most famous tool is probably
- 16:44Speaker 1: end map.
- 16:45Speaker 2: It's legendary enmap network map er. Yes, it's absolutely the
- 16:49Speaker 2: most widely known port scanner and a cornerstone of reconnaissance
- 16:52Speaker 2: and scanning. It's incredibly effective at finding open TCP and
- 16:56Speaker 2: UDP ports, and it's constantly updated. By default, it just
- 17:00Speaker 2: checks the top one thousand most common ports to speed
- 17:03Speaker 2: things up.
- 17:04Speaker 1: How does it actually figure out if a port is open?
- 17:06Speaker 1: Are there different ways it connects? Maybe some sneakier than others.
- 17:08Speaker 2: Yeah, there are different scan types. The most straightforward is
- 17:12Speaker 2: the TCP connect scan. Using the NZST flag, it performs
- 17:15Speaker 2: a full three way TCP handshake.
- 17:17Speaker 1: Like a normal connection exactly.
- 17:19Speaker 2: It's accurate, but it's also more likely to be logged
- 17:22Speaker 2: at the target machine and slower.
- 17:23Speaker 1: Okay, what's the stealthier option.
- 17:25Speaker 2: That's the syn scan using SSS, often called a half
- 17:28Speaker 2: open scan. It starts the handshake but does not complete
- 17:31Speaker 2: the handshake.
- 17:31Speaker 1: Ah, so it doesn't fully connect right.
- 17:33Speaker 2: This makes it less likely to be logged by basic firewalls,
- 17:37Speaker 2: but those initial syn packets can still definitely alert more
- 17:41Speaker 2: advanced intrusion detection or prevention systems in IPS or IDs.
- 17:45Speaker 1: And you mentioned saving results before, Why is that so
- 17:48Speaker 1: critical for a pent tester?
- 17:49Speaker 2: Oh, in a pentest, saving results is absolutely vital for organization,
- 17:53Speaker 2: for building that final report and honestly as a backup
- 17:56Speaker 2: if something goes wrong or a scan gets interrupted. And
- 17:59Speaker 2: map lets use save results in different formats XML its
- 18:02Speaker 2: own format, agrippable text format so you can easily parse
- 18:06Speaker 2: and reuse that data later.
- 18:07Speaker 1: So beyond just finding open ports, they're profiling the whole
- 18:10Speaker 1: server setup. What kind of details that they're looking for?
- 18:12Speaker 2: Then, yeah, exactly. Once you know the OS and the
- 18:15Speaker 2: open ports, the next step is identifying the exact applications
- 18:18Speaker 2: running is it apatche icojinc Serving web pages what web
- 18:22Speaker 2: application frameworks are they using, PHP, dot Net, Java? What
- 18:26Speaker 2: databases are behind it? Are there load balancers involved? Getting
- 18:30Speaker 2: this level of detail is critical for picking the right
- 18:32Speaker 2: potential exploits later on.
- 18:33Speaker 1: How do they deal with situations where maybe multiple websites
- 18:36Speaker 1: are sharing the same server. That seems like it could
- 18:39Speaker 1: be confusing.
- 18:40Speaker 2: Yeah, that's common. Many websites use name based virtual hosting,
- 18:44Speaker 2: sharing one physical server and IP address. They're distinguished by
- 18:48Speaker 2: the host header in the HTTP request that tells the
- 18:52Speaker 2: server which specific site you're trying to reach.
- 18:54Speaker 1: So how do they figure out what else is on
- 18:56Speaker 1: that server?
- 18:57Speaker 2: There are online tools like HTTP dot ipnables is one
- 19:00Speaker 2: example that can help identify other websites hosted on the
- 19:04Speaker 2: same IP. It helps reveal more of a target's overall
- 19:07Speaker 2: digital footprint.
- 19:08Speaker 1: And load balancers you mentioned them? Can those sometimes give
- 19:11Speaker 1: away useful information too?
- 19:13Speaker 2: They absolutely can. High traffic sites use load balancers to
- 19:16Speaker 2: distribute requests and keep things available. Some cookie based load
- 19:19Speaker 2: balancers put a cookie in your browser to keep you
- 19:22Speaker 2: stuck to one specific back end server. Okay, Sometimes these
- 19:26Speaker 2: cookies accidentally reveal critical server details, maybe encoded pool names
- 19:30Speaker 2: or even internal IP addresses and ports of the back
- 19:33Speaker 2: end servers things they really should not be doing. It's
- 19:36Speaker 2: an often overlooked reconnaissance.
- 19:38Speaker 1: Source fascinating little leaks of information. So what about figuring
- 19:42Speaker 1: out the actual web application frameworks being used? Is that
- 19:45Speaker 1: just guesswork? Oh?
- 19:46Speaker 2: No, not at all. There are several clues pen testers
- 19:49Speaker 2: look for. HTTP headers like the server header or maybe
- 19:53Speaker 2: an xass net version header can directly reveal the tech stack. Okay,
- 19:57Speaker 2: custom cookie set by frameworks like asp not netw or
- 20:00Speaker 2: JSESSIOND for Java apps can also be giveaways. Even seemingly
- 20:04Speaker 2: harmless comments left in the HTML source code can sometimes
- 20:07Speaker 2: contain hints about the framework or libraries being used.
- 20:10Speaker 1: And for automating the identification of these technologies, is there
- 20:13Speaker 1: a quick Collie tool for that? What?
- 20:16Speaker 2: Web scanner in Collie is excellent for this. It has
- 20:18Speaker 2: over nine hundred plug ins to identify all sorts of
- 20:21Speaker 2: web technologies, CMS platforms, analytics packages, javscript libraries, server versions.
- 20:27Speaker 2: It gives you a quick, high level overview of the
- 20:29Speaker 2: tech stact.
- 20:29Speaker 1: Okay, so they've profiled the server, the frameworks. Now they
- 20:32Speaker 1: start actively looking for misconfigurations and specific vulnerabilities.
- 20:36Speaker 2: Yes, that's the next logical step analyzing the software and
- 20:40Speaker 2: its configuration. Default settings are often a gold mine for vulnerabilities.
- 20:44Speaker 2: Scanning tools help by crawling the entire website looking for
- 20:48Speaker 2: interesting files, folders, configuration settings that might point to a weakness.
- 20:52Speaker 1: How do they check things like what HTTP methods of
- 20:55Speaker 1: server supports? Like can it accept a delete request when
- 20:59Speaker 1: it really should?
- 21:00Speaker 2: They can use tools like netcat with the options method
- 21:03Speaker 2: to directly ask the server what methods it supports. Nmap
- 21:06Speaker 2: can do this too. Beyond that, Metasplait has some really
- 21:09Speaker 2: useful auxiliary modules like darlisting checks if directory browsing is enabled.
- 21:14Speaker 2: Der Scanner looks for interesting directories or inm wayback queries
- 21:17Speaker 2: the Internet archive for old regions of pages that might
- 21:20Speaker 2: contain now on linked content or comments. These can reveal
- 21:23Speaker 2: forgotten dev folders or old vulnerable scripts.
- 21:26Speaker 1: Okay, let's shift focus slightly to HTTPS configuration obviously critical
- 21:30Speaker 1: for protecting sensitive data.
- 21:32Speaker 2: And transit absolutely critical. HTTP started as clear text right
- 21:36Speaker 2: everything sent and ENCRYPTEDHGTPS HTTP over SSLTLS adds that encrypted channel. Now,
- 21:42Speaker 2: technically SSL is deprecated and TLS currently TLS one point
- 21:46Speaker 2: two or one point three is the standard, but many
- 21:49Speaker 2: sites still support older weaker versions for backward compatibility, which
- 21:53Speaker 2: can be a problem.
- 21:54Speaker 1: And TLS provides that CIA triad right confidentiality.
- 21:57Speaker 2: Confidentiality, integrity, and availability, yes, the core pillars of infosect.
- 22:03Speaker 2: It also provides non repudiation through TLS certificates signed by
- 22:07Speaker 2: certificate authorities or CAAs, meaning you can generally trust the
- 22:11Speaker 2: identity of the survey you're talking to and they can't
- 22:13Speaker 2: easily deny the communication happen. It builds trust.
- 22:16Speaker 1: But I've heard about NL cipher's being a massive flaw here.
- 22:19Speaker 1: That sounds like an oxymoron. An NL cipher in a
- 22:22Speaker 1: secure connection.
- 22:23Speaker 2: It's a really insidious flaw. If NL ciphers are enabled
- 22:26Speaker 2: on the server and get chosen during the connection negotiation,
- 22:29Speaker 2: your browser might still show that reassuring padlock icon, but
- 22:33Speaker 2: the HDP data will actually be transmitted in cleartext, completely unencrypted.
- 22:37Speaker 2: It's a total false sense of security leaving sensitive info
- 22:41Speaker 2: wide open.
- 22:41Speaker 1: Wow. So it's not just about having HTTPS, but having
- 22:44Speaker 1: it configured correctly precisely.
- 22:46Speaker 2: Tools like the open SSL command line utility ss scan,
- 22:50Speaker 2: which can show the ciphers and certificate details, and sslies
- 22:53Speaker 2: are essential for testing these configurations. N MAP also has
- 22:58Speaker 2: scripts like SSL inomsideiers to identify supported cipher suites and
- 23:02Speaker 2: flag known vulnerabilities like crime or poodle associated with weak configurations.
- 23:07Speaker 1: Okay, what about spidering web applications? That's about mapping out
- 23:10Speaker 1: the whole site structure exactly.
- 23:12Speaker 2: Trying to do that manually, especially on a complex site,
- 23:15Speaker 2: is just time consuming and prone to emissions. It's really inefficient.
- 23:18Speaker 1: So automation definitely.
- 23:20Speaker 2: College provides tools for this. BURP Spider, which is part
- 23:23Speaker 2: of the popular burp suite, is well known and very effective.
- 23:26Speaker 2: It automates mapping the entire application, and it can even
- 23:29Speaker 2: handle login authentication to map out areas hidden behind a
- 23:32Speaker 2: login page that a public spider would miss.
- 23:35Speaker 1: And then there's directory brute forcing or forced brows. What's
- 23:39Speaker 1: the idea there?
- 23:40Speaker 2: That's about requesting files and directories that aren't directly linked
- 23:44Speaker 2: anywhere in the application. You basically guess common names from.
- 23:47Speaker 1: A dictionary file. Why do that?
- 23:49Speaker 2: Because it can uncover hidden test environments, forgotten backup files,
- 23:53Speaker 2: administrative pages, configuration files, things that were never meant to
- 23:56Speaker 2: be public but might still be accessible if you guess
- 23:59Speaker 2: the url DIRB and COLLI is a prime tool for this,
- 24:04Speaker 2: it can scan recursively and even use session cookies if
- 24:08Speaker 2: you need to be authenticated.
- 24:10Speaker 1: Okay, we've covered the meticulous reconnaissance in scanning. Let's really
- 24:13Speaker 1: unpack the actual vulnerabilities attackers exploit, starting with authentication and
- 24:18Speaker 1: session management flaws. Why are these so incredibly common?
- 24:21Speaker 2: Well, the core problem really lies in HTTP's statelessness. It's
- 24:26Speaker 2: what now statelessness? Think of it like a forgetful waiter.
- 24:30Speaker 2: Every time you make a request to a web server,
- 24:32Speaker 2: it treats it as a brand new interaction, completely unrelated to.
- 24:35Speaker 1: The last one.
- 24:36Speaker 2: Ah, okay, no memory exactly. So this means we need
- 24:39Speaker 2: session management mechanisms to track user activity, like knowing you're
- 24:43Speaker 2: logged in without forcing you to reauthenticate with every single click.
- 24:47Speaker 1: Right, So how does that work?
- 24:48Speaker 2: Usually through things like unique session identifiers, maybe inactivity timeouts,
- 24:53Speaker 2: session expiration times, and making sure sessions are invalidated when
- 24:57Speaker 2: you explicitly log out.
- 24:59Speaker 1: And what kinds of authentication methods are pen testers usually
- 25:02Speaker 1: looking at? Well.
- 25:03Speaker 2: While HTTP supports older methods like basic digest and NTLM,
- 25:08Speaker 2: which are ways for browsers to send credentials, honestly, form
- 25:11Speaker 2: based authentication is by far the most interesting for pen testers.
- 25:15Speaker 1: Why that one?
- 25:16Speaker 2: Because it's custom built for pretty much every application. There's
- 25:19Speaker 2: no single standard. That means there are way more opportunities
- 25:22Speaker 2: for developers to make mistakes leading to flawed implementations.
- 25:26Speaker 1: Makes sense, more custom cold, more potential bugs exactly.
- 25:29Speaker 2: Though increasingly you see things like two factor authentication MFA
- 25:34Speaker 2: adding an extra layer of security and ooh for letting
- 25:37Speaker 2: third party apps access resources without you actually sharing your
- 25:41Speaker 2: password with them.
- 25:42Speaker 1: So what are some of the most common flaws pen
- 25:44Speaker 1: testers find in these authentication and session management processes? Where
- 25:48Speaker 1: do things go wrong? Oh?
- 25:50Speaker 2: A big one is username enumeration.
- 25:52Speaker 1: What's that?
- 25:52Speaker 2: This happens when an application gives away excessive information. Maybe
- 25:56Speaker 2: it shows a different error message if you enter a
- 25:59Speaker 2: valid user name with the wrong password compared to an
- 26:02Speaker 2: invalid username.
- 26:03Speaker 1: Ah, so the attacker can tell which user names are
- 26:05Speaker 1: real just by the error message. Exactly.
- 26:08Speaker 2: It allows an attacker to methodically build a list of
- 26:10Speaker 2: valid usernames. We can see this demonstrated really effectively using
- 26:14Speaker 2: tools like burp Suite against vulnerable practice apps like a wasp,
- 26:18Speaker 2: plub cooat and.
- 26:19Speaker 1: Weak passwords still a massive issue, I imagine.
- 26:22Speaker 2: Oh, absolutely sadly, yes, the prevalence of weak passwords that
- 26:26Speaker 2: you have things from those most used passwords lists like one, two, three, four, five, six,
- 26:30Speaker 2: or password or quarity. It remains a huge problem.
- 26:34Speaker 1: So how do pangesters approach testing that without getting locked out?
- 26:38Speaker 2: Well? A good approach for conducting online attacks is to
- 26:41Speaker 2: try maybe just a few common passwords per username, then pause,
- 26:45Speaker 2: wait a bit, and try a few more. This helps
- 26:48Speaker 2: avoid triggering account lockout mechanisms.
- 26:50Speaker 1: What about password reset or recovery functions? Those often feel
- 26:54Speaker 1: like a potential weak link.
- 26:56Speaker 2: You're right, they often are. There's an important difference between
- 26:59Speaker 2: recovery where you somehow get your old password back, which
- 27:03Speaker 2: usually implies a major security flaw like storing it in.
- 27:06Speaker 1: Clear text, which should never happen never.
- 27:09Speaker 2: And reset where you set a new one. But the
- 27:11Speaker 2: risks in reset functions include things like maybe being able
- 27:14Speaker 2: to spoof the email or phone number where the reset
- 27:17Speaker 2: link is sent, or finding predictable reset links that include
- 27:21Speaker 2: something easily guessable or exploitable like a user ID.
- 27:24Speaker 1: And predictable session IDs. How does an attacker leverage that?
- 27:28Speaker 1: I assume they should be random.
- 27:29Speaker 2: They absolutely need to be random and unpredictable if they aren't.
- 27:33Speaker 2: Maybe they're based on sequential numbers or the time, or
- 27:36Speaker 2: something easily guessable. An attacker can potentially hijack a valid
- 27:40Speaker 2: user session just by predicting a valid ID. Tools like
- 27:44Speaker 2: burp sequencer can analyze session IDs and show how easily
- 27:47Speaker 2: a weak one like a cookie named wicked based on
- 27:50Speaker 2: sequential numbers can be predicted.
- 27:52Speaker 1: So how do we prevent all these issues you mentioned earlier?
- 27:55Speaker 1: There's no single universal solution, no.
- 27:58Speaker 2: No universal solution has been found, unfortunately, but there are
- 28:01Speaker 2: key preventions. Enforcing strong password policies is fundamental, length, mixed
- 28:06Speaker 2: case special characters, blocking common patterns or sequences always using
- 28:11Speaker 2: TLS for login pages is non negotiable. To protect credentials
- 28:15Speaker 2: in transit. Using generic error messages during login is crucial
- 28:19Speaker 2: to prevent that user name enumeration. We talked about implementing
- 28:22Speaker 2: brute force lockouts like maybe five failed attempts triggers A
- 28:26Speaker 2: twenty thirty minute lockout helps slow down automated attacks. For
- 28:30Speaker 2: password resets, sending one time expiring links to the user's
- 28:33Speaker 2: registered email or SMS is best practice.
- 28:36Speaker 1: And those session cookies themselves, how can they be hardened?
- 28:39Speaker 2: Making sure all the security flags are set on session
- 28:41Speaker 2: cookies is vital. The secure flag ensures the cookie is
- 28:45Speaker 2: only ever sent over an HTTPS connection. HTTP only is critical.
- 28:50Speaker 2: It prevents client side JavaScript from accessing the cookie. This
- 28:53Speaker 2: massively mitigates the impact if an attacker does find an
- 28:56Speaker 2: excess vulnerability, because they can't easily steal the session cookie.
- 29:01Speaker 2: Point setting cookies as non persistent so they expire when
- 29:04Speaker 2: the browser closes. Using expires or maxage attributes, restricting the
- 29:09Speaker 2: path attributes so the cookies only sent where needed and
- 29:12Speaker 2: using the same site attribute provides extra protection against cross
- 29:15Speaker 2: site request forgery CSRF.
- 29:18Speaker 1: Okay, let's move on to injection based flaws. This sounds
- 29:21Speaker 1: like we're an attacker actively shoves malicious data into the application.
- 29:25Speaker 2: That's the core idea. Yeah, the attacker finds an input field,
- 29:28Speaker 2: search box, log in form, urlo, parameter, whatever, and injects
- 29:32Speaker 2: malicious data. The goal is to trick the application into
- 29:36Speaker 2: sending that bad data to some underlying component like a
- 29:39Speaker 2: database or the command line or an XMEL parser, and
- 29:43Speaker 2: make that component execute unintended actions.
- 29:45Speaker 1: Can you give me an example. What's command injection?
- 29:47Speaker 2: Okay? Command injection? Imagine a web page that lets you
- 29:50Speaker 2: ping an IP address you enter one twenty seven dot
- 29:53Speaker 2: zero zero dot one. But what if you enter one
- 29:57Speaker 2: seven dot zero dot zero dot zero one hone email Anyway,
- 30:01Speaker 2: that's a Linux command to show system information. If the
- 30:03Speaker 2: application doesn't properly validate the input and just blindly passes
- 30:07Speaker 2: it to the server's command line, it runs the extra
- 30:09Speaker 2: command exactly. It executes NIEMA on the server. You might
- 30:13Speaker 2: get a non interactive shell. You can run commands, see
- 30:16Speaker 2: the output, but can't interact further. Or sometimes it's blind
- 30:19Speaker 2: command injection where you don't see any output, so you
- 30:22Speaker 2: have to rely on side effects like making the server
- 30:24Speaker 2: pin your machine to confirm the injection work. The famous
- 30:26Speaker 2: shell shock vulnerability a few years back was a huge
- 30:29Speaker 2: example of this, where the bash shell itself.
- 30:31Speaker 1: Was vulnerable right and SQL injection scooply. That's probably the
- 30:35Speaker 1: most famous injection flaw. Hasn't it been around forever?
- 30:38Speaker 2: Yes, Sequel injection squall is incredibly common and has certainly
- 30:42Speaker 2: stood the test of time. The vulnerability happens when user
- 30:45Speaker 2: input is concatenated directly into a SQL query without being
- 30:49Speaker 2: properly validated or sanitized first.
- 30:52Speaker 1: So the attacker's input becomes part of the database command precisely.
- 30:56Speaker 2: This allows them to execute malicious SEQUL commands directly against
- 30:59Speaker 2: the database, and it's crucial to remember the flaw is
- 31:02Speaker 2: almost always in the web applications code that handles the input,
- 31:06Speaker 2: not usually in the database server itself.
- 31:08Speaker 1: How do pen testers actually test for that? How they
- 31:10Speaker 1: poke it an input field to see if it's vulnerable.
- 31:13Speaker 2: They often start by injecting characters like a single quote
- 31:16Speaker 2: to see if it breaks the query and causes an error.
- 31:19Speaker 2: Then they'll try injecting modified select statements, often using union queries.
- 31:24Speaker 1: Yeah.
- 31:24Speaker 2: Union lets you combine the results of two select queries,
- 31:28Speaker 2: so an attacker can craft a query that returns the
- 31:30Speaker 2: normal application data plus extra data they want, like database names,
- 31:35Speaker 2: table names, column names, often by queering system tables like
- 31:38Speaker 2: information schema in myseql or postgress. Wooll.
- 31:41Speaker 1: What if the server doesn't conveniently spit back the data
- 31:44Speaker 1: in an error message or on the page. Is that
- 31:46Speaker 1: where blind cooming comes in again?
- 31:47Speaker 2: Exactly? That's blind seql injection. Since the server doesn't directly
- 31:51Speaker 2: reveal information, detection relies on observing more subtle responses. It
- 31:56Speaker 2: could be booling based asking true false questions via injected
- 31:59Speaker 2: query and seeing if the page content or response code
- 32:02Speaker 2: changes slightly, like does the admin user name start with A?
- 32:06Speaker 2: If yes, maybe the page looks normal. If no, maybe an.
- 32:08Speaker 1: Error page loads.
- 32:09Speaker 2: Okay, so it's inference right, Or it could be time
- 32:12Speaker 2: based injection. You inject a command that tells the database
- 32:15Speaker 2: to pause for say five seconds. If the web page
- 32:18Speaker 2: takes five seconds longer to load than usual, you know
- 32:20Speaker 2: your injection worked. It's much slower and more methodical, but
- 32:24Speaker 2: still very effective.
- 32:25Speaker 1: Are there tools to automate finding SQL because that sounds tedious? Oh?
- 32:29Speaker 2: Absolutely. While there are specific tools like school Ninja for
- 32:32Speaker 2: targeting Microsoft SQL server, often aiming for shell access, the
- 32:37Speaker 2: undisputed champion is school Map.
- 32:39Speaker 1: School Map heard of it.
- 32:40Speaker 2: It's an incredible automatic sequel injection tool. It can detect
- 32:44Speaker 2: the vulnerability, figure out the database type, exploit it to
- 32:47Speaker 2: dump data, and in many cases even reader write files
- 32:50Speaker 2: directly on the database server's operating system, or even gain
- 32:54Speaker 2: a command shell. It's extremely powerful.
- 32:56Speaker 1: Wow. Okay, what about other types of injections you mentioned?
- 32:59Speaker 1: XMLI right?
- 33:00Speaker 2: XML based injections often called XXe for XML External entity
- 33:05Speaker 2: injection attackers manipulate XML's tag based structure. They can define
- 33:10Speaker 2: these external entities that when the server processes the XML,
- 33:14Speaker 2: cause it to fetch and include external resources.
- 33:16Speaker 1: Like what kind of resources like.
- 33:18Speaker 2: Local files on the server such as etcter passed on Linux,
- 33:21Speaker 2: which contains user account info. Or they can make the
- 33:24Speaker 2: server make outbound network connections, potentially hitting internal systems. It
- 33:28Speaker 2: all depends on how the server's XML parser is configured.
- 33:31Speaker 1: And now that no seple databases like Mongo dB are
- 33:33Speaker 1: so popular, are there injection risks there too?
- 33:36Speaker 2: Yes, definitely no SQL injections because no circle databases often
- 33:41Speaker 2: use flexible query structures, sometimes based on JSON. Attackers can
- 33:45Speaker 2: potentially bypass authentication checks or retrieve unauthorized data by manipulating
- 33:50Speaker 2: the structure of the JSON request formats, leveraging how the
- 33:53Speaker 2: database processes queries differently from traditional SQL.
- 33:56Speaker 1: So it seems like the defense against all these different
- 33:59Speaker 1: injections types comes back to the same core principle handling
- 34:04Speaker 1: user inputs safely.
- 34:05Speaker 2: You've absolutely hit the nail on the head. The primary
- 34:07Speaker 2: defense is robust input validation and ideally using a whitelist
- 34:12Speaker 2: as lightless meaning meaning you define exactly which characters are
- 34:15Speaker 2: allowed for a given input field and you reject everything
- 34:17Speaker 2: else by default. It's much safer than trying to guess
- 34:20Speaker 2: all the.
- 34:20Speaker 1: Bad characters blacklisting. Okay.
- 34:22Speaker 2: Then there's sanitization, which involves carefully removing or modifying any
- 34:26Speaker 2: potentially dangerous characters, and encoding, which converts special characters into
- 34:30Speaker 2: their save representations, like converting into ANELT, so the browser
- 34:34Speaker 2: just displays it instead of interpreting it as HTML.
- 34:37Speaker 1: Where does this need to happen? Browser side? Server side?
- 34:40Speaker 2: The absolutely crucial part is these processes must be done
- 34:43Speaker 2: on both the client side and the server side. Client
- 34:46Speaker 2: side validation is good for user experience quick feedback, but
- 34:50Speaker 2: it can always be bypassed by an attacker. Server side
- 34:53Speaker 2: validation is where the real security happens. You need both.
- 34:56Speaker 1: Got it? Okay? Moving on to another huge category, site
- 35:00Speaker 1: scripting or XSS. What is XSS exactly and why is
- 35:03Speaker 1: it seemingly everywhere?
- 35:05Speaker 2: XSS is a type of code injection where malicious script
- 35:09Speaker 2: usually JavaScript, gets injected into a website, typically through user input,
- 35:14Speaker 2: and is then executed by the victim's web browser.
- 35:16Speaker 1: So the malicious code runs in my browser, not on
- 35:19Speaker 1: the server exactly.
- 35:20Speaker 2: It exploits the trust your browser has on the website
- 35:22Speaker 2: you're visiting. It makes the web page load and execute
- 35:25Speaker 2: scripts it wasn't supposed to all within the context of
- 35:28Speaker 2: your session on that trusted site. That's why it's so
- 35:30Speaker 2: pervasive and dangerous.
- 35:32Speaker 1: How does an attack typically work? What's the flow?
- 35:34Speaker 2: Okay, the typical workflow. An attacker finds a vulnerable parameter
- 35:38Speaker 2: on a website, maybe a search query or a comment field.
- 35:41Speaker 2: They craft a malicious URL or piece of content containing JavaScript.
- 35:46Speaker 2: Then they trick a victim into clicking that URL or viewing.
- 35:50Speaker 1: That content, often through phishing, I guess, very.
- 35:52Speaker 2: Often through targeted fishing emails.
- 35:53Speaker 1: Yeah.
- 35:54Speaker 2: When the victim clicks their browser requests the page, the
- 35:57Speaker 2: vulnerable application includes the attacker script in the response, and
- 36:01Speaker 2: the victim's browser executes it thinking it's legitimate code from
- 36:04Speaker 2: the website. Attackers often use URL shortening services to hide
- 36:08Speaker 2: the long, odd looking script and make the link look
- 36:11Speaker 2: less suspicious.
- 36:12Speaker 1: You mentioned different types reflected stored, dom based. Yeah, what's
- 36:17Speaker 1: the key difference between them? Good question.
- 36:19Speaker 2: Reflected exss is where the injected script is immediately reflected
- 36:22Speaker 2: back to the user from the server, maybe in a
- 36:25Speaker 2: search result page or an error message. It only affects
- 36:28Speaker 2: the user who clicks the specific malicious link stored persistent
- 36:31Speaker 2: EXSS is generally considered more dangerous. Here, the malicious script
- 36:35Speaker 2: is actually stored in the server's database, maybe in a
- 36:38Speaker 2: forum post, a product review, a user profile.
- 36:41Speaker 1: Ah So anyone who've used that page gets hit exactly.
- 36:45Speaker 2: It affects a large number of users automatically, without needing
- 36:48Speaker 2: to target each one individually. This is often how website
- 36:51Speaker 2: defacement happens via EXSS.
- 36:53Speaker 1: And DOM based. That sounds different.
- 36:56Speaker 2: Dom based EXSS is unique because the vulnerability isn't really
- 36:59Speaker 2: on the server side. The malicious script gets executed purely
- 37:02Speaker 2: because of how legitimate client side code JavaScript already on
- 37:06Speaker 2: the page handles user supplied input, often from a URL
- 37:09Speaker 2: fragment hashtag, and uses it to dynamically update the web
- 37:13Speaker 2: page's document object model or DOM. The server might never
- 37:17Speaker 2: even see the malicious script.
- 37:18Speaker 1: Can excess has happen with post requests too, not just
- 37:21Speaker 1: get requests where the script is in the URL.
- 37:23Speaker 2: Yes, absolutely, XSS via post method is possible. The script
- 37:28Speaker 2: would be in the body of the post request. It's
- 37:32Speaker 2: a bit harder for the attacker to deliver, usually requiring
- 37:35Speaker 2: them to get the victim to visit a malicious page
- 37:37Speaker 2: that automatically submits the harmful post request to the vulnerable site.
- 37:41Speaker 1: So, once an attacker successfully triggers an EXSS vulnerability, what
- 37:46Speaker 1: can they actually do with it? What's the impact?
- 37:48Speaker 2: The possibilities are pretty alarming because the script runs with
- 37:51Speaker 2: the permissions of the website and the victim's browser. They
- 37:54Speaker 2: can perform cookie stealing, reading the victim's session cookies and
- 37:59Speaker 2: sending them to the attack.
- 38:00Speaker 1: If they're not HGTP only right.
- 38:02Speaker 2: Exactly If the hpp only flag isn't set on the cookie,
- 38:04Speaker 2: JavaScript can read it. If it is set, This attack
- 38:07Speaker 2: is much harder, though not always impossible.
- 38:09Speaker 1: Depending on other factors. What else?
- 38:11Speaker 2: They can turn the victim's browser into a key logger,
- 38:14Speaker 2: capturing everything they type into forms on that page, passwords,
- 38:17Speaker 2: credit card numbers. They can use frameworks like the Browser
- 38:20Speaker 2: Exploitation framework beef.
- 38:23Speaker 1: Yeah.
- 38:23Speaker 2: Beef lets an attacker hook a victims browser. Once hooked,
- 38:27Speaker 2: they have a command and control channel to the browser,
- 38:30Speaker 2: allowing them to launch further attacks, use it as a proxy,
- 38:33Speaker 2: explore the internal network. It's incredibly powerful, and of course,
- 38:38Speaker 2: simpler things like defacement just visually altering the web page content.
- 38:42Speaker 1: Is there an automated tool specifically for finding XSS flaws?
- 38:46Speaker 2: Yes, xsor is a well known automatic EXSS scanner in
- 38:50Speaker 2: Collie that can help identify potential EXSS points by injecting
- 38:54Speaker 2: various payloads and analyzing the server's responses.
- 38:57Speaker 1: So, given how versatile XSS is, how do we prevent
- 39:01Speaker 1: it effectively?
- 39:02Speaker 2: Again, it comes back to handling user inputs securely. Input
- 39:05Speaker 2: validation is the first line of defense. Sanitization, removing dangerous
- 39:08Speaker 2: characters and output encoding converting special characters before displaying them
- 39:12Speaker 2: back to the user are absolutely key aspects.
- 39:14Speaker 1: Encoding on output that's important.
- 39:16Speaker 2: Critically important. You encode data right before it gets inserted
- 39:19Speaker 2: into the htmnel page. And to reiterate that crucial point, validations, sanitization,
- 39:25Speaker 2: and encoding processes must be done on both the client
- 39:28Speaker 2: side and the server side. Relying only on client side
- 39:31Speaker 2: checks is insecure.
- 39:33Speaker 1: Okay, Let's move to cross site request forgery or CSRF.
- 39:38Speaker 1: This one always sounds particularly sneaky because it involves someone
- 39:41Speaker 1: who's already logged in.
- 39:42Speaker 2: It is sneaky. CSRF is about forcing an authenticated, logged
- 39:46Speaker 2: in user to submit a malicious request without their knowledge
- 39:49Speaker 2: or consent. The attacker crafts a request, maybe embedded in
- 39:52Speaker 2: an image pack or a link, that performs an action
- 39:55Speaker 2: on a site where the user is logged in, like
- 39:57Speaker 2: changing their email address, transferring funds a message.
- 40:00Speaker 1: How does that work?
- 40:01Speaker 2: The attacker leverages the fact that the user's browser will
- 40:04Speaker 2: automatically include any relevant session cookies when making a request
- 40:07Speaker 2: to that site. So if you're logged into your bank
- 40:10Speaker 2: and you unknowingly trigger a malicious request crafted by an attacker,
- 40:13Speaker 2: maybe by visiting their dodgy website, your browser sends the
- 40:17Speaker 2: request with your valid banking session cookie and the bank
- 40:20Speaker 2: thinks you initiated the action.
- 40:22Speaker 1: Yikes. How do you identify if an application is vulnerable
- 40:25Speaker 1: to CSRF? What's the telltale sign?
- 40:28Speaker 2: You look for? State changing actions like submitting a form,
- 40:30Speaker 2: clicking a button that does something that don't include any
- 40:33Speaker 2: special header or form parameter that's unique and unpredictable for
- 40:36Speaker 2: that specific user session. If the request relies only on
- 40:40Speaker 2: the session cookie for authentication and authorization, it's likely vulnerable.
- 40:44Speaker 2: The Perugia vulnerable app example where submitting a comment only
- 40:48Speaker 2: needed the session cookie is a classic case.
- 40:50Speaker 1: And how is it exploited? Is it easier with geet
- 40:53Speaker 1: you requests like in a URL or post requests like
- 40:56Speaker 1: form data.
- 40:57Speaker 2: Exploiting it with geek requests is often simpler. Just embedding
- 41:00Speaker 2: the malicious URL in an image tag mmgsrc, on another side,
- 41:04Speaker 2: is enough. For post requests, it's a bit more involved.
- 41:08Speaker 2: The attacker usually needs to create a hidden HTML form
- 41:11Speaker 2: on their malicious page that automatically submits the harmful data
- 41:14Speaker 2: to the target site when the victim visits.
- 41:16Speaker 1: Now, can an EXSS vulnerability be used to bypass CSRF protections?
- 41:20Speaker 1: That sounds like a nasty combination.
- 41:21Speaker 2: Yes, it's a very common and dangerous scenario. If an
- 41:25Speaker 2: application uses anti CSRF tokens unique secret values in forms
- 41:29Speaker 2: to prevent CSRF, but is also vulnerable to EXSS.
- 41:33Speaker 1: The attacker can use EXSS to steal the token exactly.
- 41:36Speaker 2: The attacker uses the EXSS vulnerability to run JavaScript that
- 41:40Speaker 2: reads the anti CSRF token from the page's form, and
- 41:43Speaker 2: then they can craft a valid request with the stolen
- 41:46Speaker 2: token completely bypassing the CSRF protection. It shows how vulnerabilities
- 41:50Speaker 2: often chain together.
- 41:51Speaker 1: So what's the prevention for CSRF? How do you start it?
- 41:53Speaker 2: The primary defense is implementing anti CSRF tokens These are unique,
- 41:57Speaker 2: unpredictable secret values generated by the so for each user
- 42:01Speaker 2: session and embedded informs. The server validates this token on
- 42:04Speaker 2: every state changing request. The same site cookie attribute, especially
- 42:08Speaker 2: set to strict or lacks, provides significant protection by controlling
- 42:12Speaker 2: when cookies are sent with cross origin requests, though browser
- 42:15Speaker 2: support and implementation details matter. Requiring user interaction for sensitive
- 42:19Speaker 2: actions like entering a captcha or reauthenticating with a password
- 42:24Speaker 2: is also effective, and properly configured cross origin resource sharing
- 42:28Speaker 2: CRS policies on the server can help restrict how JavaScript
- 42:32Speaker 2: from other origins interacts with the site.
- 42:35Speaker 1: All right, onto our last major vulnerability category, attacking flaws
- 42:40Speaker 1: and cryptographic implementations. This sounds really complex, like breaking codes.
- 42:43Speaker 2: It definitely sounds that way. The goal of cryptography here is,
- 42:46Speaker 2: of course, protecting data confidentiality and integrity, But for pentesters
- 42:50Speaker 2: the focus usually isn't on trying to break strong established
- 42:54Speaker 2: cryptographic algorithms like AES or SAHA two fifty six. That's
- 42:58Speaker 2: generally mathematically infeasible with current tech.
- 43:01Speaker 1: So what are they looking for?
- 43:02Speaker 2: They're looking for implementation failures using the right algorithm but
- 43:05Speaker 2: in the wrong way, and perhaps more commonly seriously flawed
- 43:09Speaker 2: custom implementations. Developers sometimes think they can invent their own secure.
- 43:14Speaker 1: Encryption, which is a bad idea, a.
- 43:16Speaker 2: Really bad idea. Strong algorithms are designed and rigorously tested
- 43:20Speaker 2: by highly specialized teams of mathematicians and computer scientists. It's
- 43:24Speaker 2: not something you should roll your own unless you are
- 43:26Speaker 2: one of those experts.
- 43:28Speaker 1: What are the basics of encryption we need to grasp here?
- 43:30Speaker 2: Okay, briefly. With symmetric algorithms, the same secret key is
- 43:34Speaker 2: used for both encryption and decryption. You have stream ciphers,
- 43:38Speaker 2: which encrypt data bit by bit or byte by byte.
- 43:41Speaker 2: Good for streaming ciphertext is the same size as the
- 43:44Speaker 2: clear text, and block ciphers, which encrypt fixed sized blocks
- 43:48Speaker 2: of data that the ciphertext is usually a multiple.
- 43:51Speaker 1: Of the block size. Right and hash.
- 43:53Speaker 2: Hashing functions take an input of any size and produce
- 43:56Speaker 2: a fixed length value the hash er digest. Their main
- 43:59Speaker 2: purpose is ensuring the integrity of the message. Any tiny
- 44:02Speaker 2: change in the input results in a drastically different hash.
- 44:05Speaker 2: They should also be non reversible. You can't get the
- 44:07Speaker 2: original input back from the hash, and it should be
- 44:10Speaker 2: computationally impossible to find two different inputs that produce the
- 44:13Speaker 2: same hash a collision.
- 44:15Speaker 1: And thels SSL in web apps brings us all together
- 44:18Speaker 1: pretty much.
- 44:19Speaker 2: Https is the everyday application of TLSSSL to secure client
- 44:23Speaker 2: server communication. As we said, TLS provides that CIA triad confidentiality, integrity, availability,
- 44:30Speaker 2: plus non repudiation via certificate signed by CAAs verifying the
- 44:33Speaker 2: server's identity. The actual process cleverly combines both asymmetric public
- 44:38Speaker 2: private key encryption for the initial secure key exchange and
- 44:42Speaker 2: then faster symmetric encryption using that exchange key for the
- 44:45Speaker 2: bulk data transfer.
- 44:46Speaker 1: And that critical flaw the nl cipher pops up here again,
- 44:49Speaker 1: that false sense of security.
- 44:51Speaker 2: Yes, it's worth repeating. If n CEL ciphers are enabled
- 44:54Speaker 2: and get negotiated, the browser might show the padlock, but
- 44:57Speaker 2: HTTP data will actually be transmitted in cleartext. Looks secure,
- 45:02Speaker 2: but isn't like a locked door made of glass.
- 45:04Speaker 1: What tools help pentesters scrutinize these ssltls configurations.
- 45:09Speaker 2: The open SSL command line tool is fundamental for manual checks.
- 45:13Speaker 2: SSL scan is great. It can show cipher's certificate details
- 45:16Speaker 2: and crucially it helps you watch out when NSL is
- 45:19Speaker 2: pointed out in the cipher list. Sslies is another powerful
- 45:23Speaker 2: dedicated SSLTLS scanner, and NMP again has scripts like SSL
- 45:27Speaker 2: enom ciphers to identify cipher suites, rate their strength, and
- 45:30Speaker 2: flag specific protocol vulnerabilities like crime or poodle.
- 45:34Speaker 1: Speaking of those, what about exploiting well known crypto flaws
- 45:37Speaker 1: like heart bleed or poodle that caused such panics?
- 45:39Speaker 2: Yeah, those were big ones. Heart Bleed back in April
- 45:42Speaker 2: twenty fourteen, was a devastating buffer over red situation in
- 45:45Speaker 2: the open SSL TLS implementation. Basically due to a missing
- 45:49Speaker 2: bounds check in the heartbeat extension, an attacker could request
- 45:52Speaker 2: more data back from the server than they sent, and
- 45:55Speaker 2: the server would accidentally return extra chunks of its own.
- 45:57Speaker 1: Memory, including potentially sensitive data.
- 46:00Speaker 2: Including potentially sensitive data like private keys, session cookies, passwords,
- 46:04Speaker 2: all in clear text read directly from the server's memory
- 46:06Speaker 2: without needing to decrypt anything. Metasploit quickly got an.
- 46:09Speaker 1: Explorit module for it and poodle.
- 46:12Speaker 2: Poodle padding oracle On downgraded legacy encryption specifically exploited a
- 46:17Speaker 2: weakness in how SSLv three handled blocks cipher padding, combined
- 46:22Speaker 2: with the fact that browsers could be tricked into downgrading
- 46:24Speaker 2: the connection from TLS to the much older, insecure SSLv three.
- 46:29Speaker 2: If a server still allowed SSLv three connections, it was vulnerable.
- 46:33Speaker 2: In practice, executing the full poodle attack was complex, but
- 46:37Speaker 2: simply allowing SSLv three was a bad sign. Attackers often
- 46:41Speaker 2: found it easier just to use SSL stripping to force
- 46:43Speaker 2: plan HTTP.
- 46:44Speaker 1: Anyway, you mentioned developers rolling their own crypto being a
- 46:47Speaker 1: huge risk. Why is that so dangerous?
- 46:50Speaker 2: It's dangerous because custom encryption protocols are almost invariably weak.
- 46:54Speaker 2: Developers might think, oh, only I know the algorithm, so
- 46:57Speaker 2: it must be secure. That security through obscurity, and it
- 46:59Speaker 2: never works.
- 47:00Speaker 1: Long term because real crypto is.
- 47:02Speaker 2: Hard, incredibly hard. Common mistakes involve simple techniques like basic
- 47:07Speaker 2: xor operations, simple character substitution, or just scrambling the data order.
- 47:12Speaker 2: All of these are easily breakable with standard cryptanalysis techniques
- 47:16Speaker 2: taught in introductory courses.
- 47:18Speaker 1: And where the keys are stored must be another massive failure. Points.
- 47:21Speaker 2: Huge one key storage flaws are rife encryption keys stored
- 47:25Speaker 2: in totally unsafe places, maybe in downloadable configuration files, hard
- 47:29Speaker 2: coded directly in application source code, or even embedded in
- 47:33Speaker 2: client side jobscript where anyone can see them.
- 47:35Speaker 1: Yikes.
- 47:36Speaker 2: Also just using outdated algorithms things like DEES encryption or
- 47:40Speaker 2: using MBFI for password hashing, especially for passwords under sy
- 47:44Speaker 2: ten characters. Modern CPUs and especially GPUs can crack these
- 47:48Speaker 2: relatively easily, sometimes in minutes or hours, using readily available tools.
- 47:53Speaker 1: So if a pin tester finds some data that looks
- 47:55Speaker 1: encrypted or hashed, how do they figure out what it
- 47:58Speaker 1: is and maybe try to break it?
- 47:59Speaker 2: Well, if the out put is always the same fixed
- 48:01Speaker 2: length regardless of the input size, it's almost certainly a hash.
- 48:04Speaker 2: There's a Collie tool called hash identifier that can help
- 48:07Speaker 2: guess the hash type based on common patterns and links.
- 48:11Speaker 1: Okay, what about telling encrypted data apart from just say
- 48:15Speaker 1: random binary data?
- 48:16Speaker 2: Frequency analysis is a very useful way to tell if
- 48:19Speaker 2: a set of data is encrypted, encoded, or obfuscated. Properly,
- 48:23Speaker 2: encrypted data should have a very similar frequency for every
- 48:26Speaker 2: character from zero to two fifty five. The byte distribution
- 48:30Speaker 2: looks almost random, very flat. Clear text, on the other hand,
- 48:34Speaker 2: has very uneven distributions. Think how often E appears in
- 48:38Speaker 2: English text compared to Z. Entropy analysis also helps it
- 48:41Speaker 2: measures randomness. Ideally, a strong encryption algorithm should produce ciphertext
- 48:46Speaker 2: with entropy values very close to eight for eight bits
- 48:49Speaker 2: per bitte, indicating high randomness. Lower entropy might suggest weak
- 48:53Speaker 2: encryption or just obfuscation.
- 48:55Speaker 1: And if they identify a hash, what tools do they
- 48:58Speaker 1: use to try and crack it offline back on their
- 49:00Speaker 1: own machine.
- 49:01Speaker 2: Two mainstays and Collie are John the Ripper and Hashcat.
- 49:04Speaker 2: John jtr is pre installed, it's a classic. It can
- 49:07Speaker 2: often auto detect hash types, run powerful dictionary attacks using
- 49:11Speaker 2: massive word lists like the famous Rocky list compiled from
- 49:13Speaker 2: real world breaches, apply mangling rules to dictionary words, and
- 49:17Speaker 2: perform brute force.
- 49:18Speaker 1: Attacks in hashcat.
- 49:19Speaker 2: Hashcat is a more modern, highly optimized cracking tool designed
- 49:22Speaker 2: to leverage the power of GPUs graphics cards as well
- 49:25Speaker 2: as CPUs for brute forcing or complex dictionary attacks. It
- 49:29Speaker 2: can be orders of magnitude faster than a CPU only
- 49:32Speaker 2: tool like John, assuming you have a decent GPU.
- 49:35Speaker 1: So bottom line, how do we prevent these cryptographic flaws
- 49:38Speaker 1: in our applications?
- 49:39Speaker 2: First, always use secure standard protocols like TLS and configure
- 49:43Speaker 2: them correctly. Use things like HTTP Strict Transport Security HSTS
- 49:48Speaker 2: headers to tell browsers to only connect via htps, preventing
- 49:52Speaker 2: SSL strip.
- 49:53Speaker 1: Attacks and password storage.
- 49:54Speaker 2: Passwords must never be stored in clear text. Ever, use
- 49:58Speaker 2: modern one way salted hash fundnctions. Good choices currently include
- 50:01Speaker 2: PBKDF two be crypt or script, often combined with a
- 50:05Speaker 2: strong hash like SAHA five twelve. The salting part adding
- 50:09Speaker 2: a unique random value to each password before hashing, is
- 50:11Speaker 2: critical to defeat rainbow table attacks. Using older hashes like
- 50:15Speaker 2: MD five or SAJA one for passwords is now strongly
- 50:18Speaker 2: discouraged due to known weaknesses and collision vulnerabilities.
- 50:21Speaker 1: Okay, we've covered a ton on finding vulnerabilities. Now let's
- 50:24Speaker 1: shift to the hacker's arsenal, starting with automated scanners in practice.
- 50:29Speaker 1: What's their real role in a pen test? Are they
- 50:32Speaker 1: the magic bullet?
- 50:33Speaker 2: Automated scanners definitely have a role. They're good for quick scans,
- 50:36Speaker 2: for finding that low hanging fruit, the obvious common vulnerabilities,
- 50:40Speaker 2: but they are absolutely not a magic bullet, far from it.
- 50:44Speaker 1: What are the big caveats?
- 50:46Speaker 2: Several critical considerations. First, always always check the scope and
- 50:51Speaker 2: project documentation to make sure you even have permission to
- 50:54Speaker 2: use automated scanners. Some clients forbid them or restrict their use. Second,
- 50:58Speaker 2: ideally test only in a QA development or testing environment.
- 51:03Speaker 2: Never run an aggressive automated scanner against a live production
- 51:06Speaker 2: system without explicit written consent, because there's an inherent risk
- 51:10Speaker 2: of damaging the data or causing downtime.
- 51:12Speaker 1: Makes sense anything else.
- 51:14Speaker 2: Keep the scanners, plugins and vulnerability definitions updated, Configure it
- 51:18Speaker 2: for the maximum level of logging so you have evidence,
- 51:21Speaker 2: and critically, do not leave the scanner unattended. You need
- 51:24Speaker 2: to monitor what it's doing.
- 51:25Speaker 1: And the most important thing to remember about relying.
- 51:28Speaker 2: On them, the absolute most important thing is do not
- 51:31Speaker 2: rely on a single tool. Use multiple scanners if possible,
- 51:34Speaker 2: but most importantly, always manually validate findings. Automated scans are
- 51:39Speaker 2: notorious for false positives, and they often fail to provide
- 51:42Speaker 2: any value without that crucial manual verification and interpretation by
- 51:46Speaker 2: an experienced.
- 51:47Speaker 1: Tester, which CALI. Linux scanners are commonly used for web applications.
- 51:51Speaker 1: Besides nikto which we mentioned well.
- 51:53Speaker 2: There's skipfish, which is known for being fast and generating
- 51:56Speaker 2: nice HTML reports that categorize vulnerabilities by risk level. Where
- 52:00Speaker 2: PD is another command line scanner that detects variety of
- 52:03Speaker 2: flies like xss, uculi, file inclusions, etc. And the WASP
- 52:08Speaker 2: d app proxy includes an active vulnerability scanner component that
- 52:12Speaker 2: sends specifically crafted requests to probe for vulnerabilities.
- 52:15Speaker 1: Whatout fuzzing. That sounds a bit like just throwing random
- 52:18Speaker 1: stuff at an application.
- 52:19Speaker 2: It is essentially, but in a structured way. Fuzzing involves
- 52:23Speaker 2: sending large amounts of unexpected, malformed or semi malformed data
- 52:28Speaker 2: to an application's inputs to see if you can trigger crashes, errors,
- 52:32Speaker 2: or uncover hidden vulnerabilities.
- 52:33Speaker 1: How do tools help with that?
- 52:35Speaker 2: Tools like the o waspps app fuzzer let you select
- 52:38Speaker 2: specific insertion points in an HTTP request parts you want
- 52:42Speaker 2: to replace with fuzzed data, like from a list of
- 52:44Speaker 2: common attack strings or just random data. Then you analyze
- 52:47Speaker 2: the responses, maybe looking for error messages or specific keywords
- 52:51Speaker 2: like reflected, which might indicate potential EXSS. Burb Intruder is
- 52:56Speaker 2: also extremely powerful for fuzzing and dictionary attacks, trying thousands
- 53:00Speaker 2: of usernames and passwords on a login page, or testing
- 53:03Speaker 2: for SQL injection by setting up rules repmatch to flag
- 53:06Speaker 2: interesting server responses.
- 53:08Speaker 1: Okay, now for the really big gun, the Metasplit framework.
- 53:12Speaker 1: It is often called the pintester's Swiss army knife. Right.
- 53:14Speaker 2: It absolutely is metasplit is huge. Its power comes from
- 53:19Speaker 2: its modular architecture. Everything exploits payloads and coders, auxiliary modules
- 53:25Speaker 2: for scanning or reconnaissance. They're all individual modules. This makes
- 53:29Speaker 2: it incredibly flexible and easy to extend with new capabilities.
- 53:33Speaker 1: How easy is set up in calling very easy.
- 53:35Speaker 2: It's usually pre installed or a quick install. The important
- 53:38Speaker 2: setup step is initializing its postgresscool database. Metasploit uses this
- 53:43Speaker 2: database to store all the information you gather about hosts, services, vulnerabilities, credentials.
- 53:48Speaker 2: Using workspaces within the database is also key for staying organized.
- 53:52Speaker 2: It lets use separate data sets for different penetration tests
- 53:55Speaker 2: or different parts of a network.
- 53:57Speaker 1: And how does it integrate with the scanning and info
- 53:59Speaker 1: gathering we already talked to.
- 54:00Speaker 2: Metasploid itself has a vast array of auxiliary modules for
- 54:03Speaker 2: information gathering and scanning. For passive recon there are modules
- 54:07Speaker 2: to query dns, scrape subdomains from search engines like Yahoo
- 54:11Speaker 2: and bing search, showdan if you have an apikey to
- 54:14Speaker 2: find devices and open ports, or collect email addresses associated
- 54:18Speaker 2: with a domain from search engines.
- 54:19Speaker 1: So it could do its own recon yes and.
- 54:21Speaker 2: For active scanning, it has its own TCP port scanner
- 54:25Speaker 2: and syn port scanner modules. But even better, it integrates
- 54:28Speaker 2: directly with nmap. You can run enmap scans using the
- 54:31Speaker 2: dbn met command and the results are automatically imported and
- 54:34Speaker 2: stored right in metasploids database. This is incredibly useful. You
- 54:38Speaker 2: can leverage enmap's powerful enmap scripting engine NSC scripts maybe
- 54:43Speaker 2: to find specific HTTP vulnerabilities like servers allowing dangerous methods
- 54:48Speaker 2: UQT delete trace, and have all that data ready in
- 54:51Speaker 2: metasploit for the next steps.
- 54:52Speaker 1: So it's not just a collection of exploits, but a
- 54:54Speaker 1: full framework that manages the whole process, including the data.
- 54:58Speaker 1: What about discovering hosts and services beyond web stuff?
- 55:01Speaker 2: Definitely? Metasploit has modules like ARP sweep to find live
- 55:05Speaker 2: hosts on the local network segment a UDP service. Sweeper
- 55:08Speaker 2: can probe for common UDP services like net biosportmap, SMMP,
- 55:12Speaker 2: DNS for SMB server, message block and numeration on Windows networks.
- 55:16Speaker 2: It's very powerful. Modules like seminom shares find accessible network shares,
- 55:20Speaker 2: spend and aversion gets detailed OS info Somedenom users can
- 55:23Speaker 2: sometimes list local users via the SAM RPC interface. That's
- 55:26Speaker 2: the Security Account Manager database where Windows keeps user credentials.
- 55:30Speaker 1: Can it brute force logins.
- 55:32Speaker 2: Yep, some log in can brute force SMB passwords and crucially,
- 55:35Speaker 2: as we mentioned, the summess WEE TA ten module can
- 55:39Speaker 2: detect the critical Eternal Blue vulnerability and check for the
- 55:41Speaker 2: double Pulsar back door without needing any valid credentials.
- 55:44Speaker 1: That was huge massive. What about SNMP The Network Management
- 55:48Speaker 1: Protocol For.
- 55:49Speaker 2: SNMP Simple Network Management Protocol Enumeration metasploid has some log
- 55:53Speaker 2: in to try common default community strings like passwords for SMMP.
- 55:58Speaker 2: If successful, sempenem can gather a wealth of information system details,
- 56:01Speaker 2: network interfaces, running processes, open ports, installed software depending on
- 56:06Speaker 2: how the devices configured.
- 56:07Speaker 1: Okay, and other protocols.
- 56:09Speaker 2: It also has modules for scanning things like HTTT services
- 56:12Speaker 2: for example Jenkin sentum to check genkin ci service status
- 56:16Speaker 2: or Windows Remote Management when RM using win RMCMD and
- 56:20Speaker 2: importantly metasplit can directly integrate with and import scan results
- 56:23Speaker 2: from commercial vulnerability scanners like nessis or nexpos, as well
- 56:27Speaker 2: as the open source open bas This lets you consolidate
- 56:30Speaker 2: all your vulnerability data in one place.
- 56:32Speaker 1: Okay, so you've gatted all this information identified potential vulnerabilities.
- 56:37Speaker 1: The next big leap is server side exploitation. This is
- 56:41Speaker 1: where the actual hacking part happens, right. That's right.
- 56:44Speaker 2: After meticulously gathering intel about the target OS, the running services,
- 56:48Speaker 2: and potential vulnerabilities, the next step is finding a suitable
- 56:51Speaker 2: exploit module in metasploit and the launching it.
- 56:54Speaker 1: Can you walk us through an example? Maybe on Linux? Sure?
- 56:57Speaker 2: A classic example often used on the Metasploitable two vulnerable
- 57:00Speaker 2: practice VM, involves exploiting the Samba service. There is a
- 57:04Speaker 2: specific metasport module exploit multi sambasser mapscript. This exploit cleverly
- 57:10Speaker 2: leverages a flaw in how Samba handled usernames, allowing for
- 57:13Speaker 2: remote command execution without any authentication.
- 57:16Speaker 1: No password needed, none at all.
- 57:18Speaker 2: You just point the exploit at the target, run it,
- 57:21Speaker 2: and if successful, metasploit connects back, giving you a command
- 57:24Speaker 2: shell on the Linux server. You can then verify access
- 57:27Speaker 2: by running simple commands like host name or ID to
- 57:29Speaker 2: see who you are on the compromised machine.
- 57:32Speaker 1: You keep mentioning payloads when you talk about exploits, What
- 57:35Speaker 1: exactly is the payload?
- 57:36Speaker 2: The payload is the piece of code that the exploit
- 57:39Speaker 2: delivers to the target machine after the vulnerability has been
- 57:42Speaker 2: successfully exploited, it's what actually gives you control. For example,
- 57:47Speaker 2: after using the Samba exploit, you might choose a payload
- 57:49Speaker 2: like cimnikus reverse netcat or more commonly Linux eighty six
- 57:54Speaker 2: Mesori reverse x. This payload connects back from the victim
- 57:58Speaker 2: machine to your metasplay listener, establishing that remote access session.
- 58:01Speaker 1: Okay. And Windows server exploitation similar.
- 58:04Speaker 2: Ideas, similar concepts yes on the metasploitable three VM which
- 58:07Speaker 2: runs Windows. Examples might include exploiting vulnerabilities in jenkin Ci
- 58:11Speaker 2: if it's running, or using the sexc module if you
- 58:14Speaker 2: somehow manage to obtain valid administrator credentials.
- 58:17Speaker 1: But the really big one for Windows was Eternal.
- 58:20Speaker 2: Blue, absolutely the MS seventeen zero ten Eternal Blue SMB
- 58:25Speaker 2: Remote Windows Kernel pool corruption vulnerability. This was a critical
- 58:29Speaker 2: buffer overflow flaw in the Windows SMB one server. It
- 58:33Speaker 2: was allegedly developed by the NSA's Equation group, leaked by
- 58:36Speaker 2: the Shadow Brokers group, and then infamously use as the
- 58:39Speaker 2: primary spreading mechanism for the global Wanacry ransomware attack in
- 58:42Speaker 2: twenty seventeen it allowed unauthenticated remote code execution on a
- 58:46Speaker 2: massive scale.
- 58:47Speaker 1: Just devastating. And once an attacker gets in, how they
- 58:50Speaker 1: make sure they can get back in later.
- 58:51Speaker 2: A key post exploitation step is installing backdoors or setting
- 58:55Speaker 2: up other persistence mechanisms. This ensures they can maintain access
- 58:58Speaker 2: even if the initial vulnerability it gets patched or the
- 59:00Speaker 2: system reboots, and.
- 59:02Speaker 1: They also just try to break things. Yeah, denial of service.
- 59:04Speaker 2: Yes, they can perform denial of service. Thus attacks this
- 59:08Speaker 2: might involve flooding a service with traffic to overload it,
- 59:12Speaker 2: or exploiting a specific vulnerability that causes the service or
- 59:15Speaker 2: the entire system to crash or become unresponsive. An example
- 59:19Speaker 2: mentioned in the source is Smblorus, a remote and uncredential
- 59:23Speaker 2: doss attack against Microsoft Windows that exploited a flaw in
- 59:27Speaker 2: the SMB protocol to consume excessive memory, potentially crashing the system.
- 59:31Speaker 1: Okay, now let's talk about Interpreter. This always comes up
- 59:34Speaker 1: when talking about Metasploid. It's described as the post exploitation powerhouse.
- 59:38Speaker 1: What makes it so special.
- 59:40Speaker 2: Interpreter is essentially Metasploid's advanced feature rich payload. It gets
- 59:44Speaker 2: loaded into the memory of the compromise machine and provides
- 59:47Speaker 2: an incredibly flexible and extensible command shell, allowing automation of
- 59:52Speaker 2: many post exploitation tasks. It's largely replaced older, less dynamic methods.
- 59:57Speaker 2: Its real power is its ability to run into hirely
- 1:00:00Speaker 2: in memory, often avoiding writing files to disc making it stealthier.
- 1:00:04Speaker 1: Give me some examples. What kind of things can you
- 1:00:06Speaker 1: do once you have a interpreter session? Oh a lot.
- 1:00:09Speaker 2: It has a whole suite of built in commands. Basic
- 1:00:11Speaker 2: system commands like get tuids see what user you're running as,
- 1:00:14Speaker 2: get tupid, get the process id PS, list running processes,
- 1:00:18Speaker 2: sink and FOE, get OS details alls some stuff. Full
- 1:00:21Speaker 2: filesystem commands dot, LCDPWD like Linux upload download files between
- 1:00:26Speaker 2: your machine and the victim, edit files directly, cat file contents.
- 1:00:30Speaker 2: You have extensive control.
- 1:00:32Speaker 1: Can it interact with the user's desktop or peripherals.
- 1:00:36Speaker 2: Yes, that's where it gets really powerful for surveillance. UI
- 1:00:39Speaker 2: interaction commands like screenshot to grab the desktop, keyscan start,
- 1:00:42Speaker 2: keyscan stop keyscin dump for keylog and capturing keystrokes. Even
- 1:00:45Speaker 2: webcam snap to take pictures from the webcam if available.
- 1:00:48Speaker 1: WHOA, What about escalating privileges or dumping credentials.
- 1:00:52Speaker 2: Absolutely key tasks for privileged escalation and data dumping. Interpreter
- 1:00:56Speaker 2: has the get system command, which tries various techniques to
- 1:01:00Speaker 2: escalate to the system user on Windows highest privileged level.
- 1:01:03Speaker 2: Hash dump attempts to extract the password hashes from the
- 1:01:06Speaker 2: SAM database and crucially, it integrates mimicat's functionality.
- 1:01:10Speaker 1: Mimicats is famous for credential dumping right exactly.
- 1:01:14Speaker 2: A materpreter can load mimicats directly into memory to extract plaintext, passwords,
- 1:01:18Speaker 2: corberos tickets, and password hashes directly from the memory of
- 1:01:22Speaker 2: processes like LSAs dot ex. It often needs to migrate
- 1:01:26Speaker 2: into that lsaas dot ex process first. It can also
- 1:01:29Speaker 2: try to bypasswhack user account control on Windows.
- 1:01:33Speaker 1: And maintaining persistence getting back in later.
- 1:01:36Speaker 2: Interpreters can help with persistence. Commands like get gee can
- 1:01:39Speaker 2: enable remote desktop access. There are also specific metasplit post
- 1:01:43Speaker 2: exploitation modules for setting up more robust backdoors like installment
- 1:01:48Speaker 2: MIC backdoor.
- 1:01:49Speaker 1: What about networking from the compromise machine.
- 1:01:52Speaker 2: Crucial for moving laterally. Networking commands like ipconfig and route
- 1:01:56Speaker 2: help you understand the victim machines network configuration date allows
- 1:02:00Speaker 2: you to set up port forwarding, relaying traffic through the
- 1:02:03Speaker 2: victim machine. This is essential for pivoting.
- 1:02:05Speaker 1: Pivoting.
- 1:02:06Speaker 2: Pivoting is using the initially compromised machine as a foothold
- 1:02:09Speaker 2: to attack other machines on the same internal network that
- 1:02:12Speaker 2: you can't root directly. Interpreter is excellent for this, allowing
- 1:02:15Speaker 2: you to add routes so you can scan and attack
- 1:02:17Speaker 2: internal systems through your Materpreter session.
- 1:02:19Speaker 1: Can it sniff network traffic passing through the compromised host.
- 1:02:23Speaker 2: Yes, it has packet sniffing capabilities, sniffer interfaces, lists network interfaces,
- 1:02:28Speaker 2: sniffer start, sniffer stops, sniffer dump let you capture traffic
- 1:02:31Speaker 2: on the victim machine and save it as a pcap
- 1:02:33Speaker 2: file for later analysis with tools like wireshark or TCP dump.
- 1:02:37Speaker 1: Credential harvesting too, Yes, there.
- 1:02:39Speaker 2: Are modules like post Windows gatherfish Windows credentials that can
- 1:02:43Speaker 2: pop up fake login prompts to try and trick users
- 1:02:46Speaker 2: into entering their credentials.
- 1:02:47Speaker 1: Wow, and just general enumeration. Once you're insight.
- 1:02:50Speaker 2: Lots of that. Post exploitation modules like wineum can gather
- 1:02:54Speaker 2: huge amounts of information installed applications, network shares, user accounts policies.
- 1:02:59Speaker 2: The Gathering Suite module can scan the local network for
- 1:03:02Speaker 2: other live hosts.
- 1:03:03Speaker 1: You mentioned routing traffic through this session for pivoting. How
- 1:03:07Speaker 1: did that work with other tools?
- 1:03:09Speaker 2: Materpreter's post multimanage out or root module automatically adds the
- 1:03:13Speaker 2: necessary routes in metasplit. Then you can use Metasplate's auxiliary
- 1:03:17Speaker 2: service SoCs for a module to set up metasplate itself
- 1:03:20Speaker 2: as a soocks proxy server. Now you can configure other
- 1:03:24Speaker 2: tools on your own attack machine, like enmap or a
- 1:03:27Speaker 2: web browser to use this proxy, often via a tool
- 1:03:30Speaker 2: called proxy chains. This routes their traffic through the Materpreter session,
- 1:03:34Speaker 2: allowing you scan and interact with the victim's internal network
- 1:03:38Speaker 2: as if you were sitting on the compromise machine.
- 1:03:40Speaker 1: That's incredibly powerful. Can you automate some of these post
- 1:03:43Speaker 1: exploitation steps.
- 1:03:44Speaker 2: Yes, you can use the autoorunscript option in metasploit to
- 1:03:47Speaker 2: automatically run a Materpreter script like scraper, dot orb or
- 1:03:51Speaker 2: winum as soon as a session is established, automating that
- 1:03:54Speaker 2: initial information gathering.
- 1:03:56Speaker 1: And how does materpreter try to keep its connection alive.
- 1:03:58Speaker 1: If say the network drops.
- 1:04:00Speaker 2: Briefly it uses transports, you can add backup transports using
- 1:04:04Speaker 2: transport ad maybe setting up a reverse TTP or reverse
- 1:04:07Speaker 2: TTPs transport alongside the initial TCP connection. These use standard
- 1:04:12Speaker 2: webports and protocols, which are often less likely to be
- 1:04:15Speaker 2: blocked by firewalls and can help maintain the session if
- 1:04:18Speaker 2: the primary connection fails.
- 1:04:20Speaker 1: Okay. One last tool in the metasploit arsenal MSF venom.
- 1:04:24Speaker 1: What's his specific job?
- 1:04:25Speaker 2: Msf venom is Metasploit's standalone payload generator and encoder. Its
- 1:04:30Speaker 2: job is to create the actual malicious files or scripts
- 1:04:34Speaker 2: that you'll deliver to the victim, perhaps via exploit or
- 1:04:37Speaker 2: maybe through social engineering.
- 1:04:38Speaker 1: She used to build the interpreter payload.
- 1:04:40Speaker 2: For example, exactly use msfvenom to generate payloads for various
- 1:04:43Speaker 2: operating systems Windows, Linux, Android, mac os architectures by eighty six,
- 1:04:48Speaker 2: by sixty four ARM and formats ex files, DLLs, shell
- 1:04:52Speaker 2: code scripts. It also incorporates powerful encoders.
- 1:04:55Speaker 1: Wiringcoder is so important.
- 1:04:56Speaker 2: Encoders are crucial for evading antivirus software where and bypassing
- 1:05:01Speaker 2: and organization's defenses. They work by obfuscating the payloads code,
- 1:05:05Speaker 2: changing its signature so that basic anti virus scanners might
- 1:05:08Speaker 2: not recognize it as malicious. Metasploit includes several enquoders, like
- 1:05:13Speaker 2: the polymorphic chicatagan i encoder. However, av products are constantly updated,
- 1:05:18Speaker 2: so standard encoders often get detected quickly. Pen testers frequently
- 1:05:22Speaker 2: need to use custom encoding techniques or combiningcoders to improve evasion.
- 1:05:26Speaker 1: Okay, so we've spent a lot of time on server
- 1:05:28Speaker 1: side exploits and the powerful tools used there. But you
- 1:05:31Speaker 1: mentioned earlier that the landscape is shifting and often the
- 1:05:34Speaker 1: most successful attacks now target the human element and client
- 1:05:37Speaker 1: side systems. Why is that becoming the new frontier?
- 1:05:42Speaker 2: Well, partly because server side security has gotten better. Generally speaking,
- 1:05:45Speaker 2: companies spend more on securing servers, but endpoints laptops, desktops,
- 1:05:50Speaker 2: mobile devices, they're often less consistently patched, running more diverse software,
- 1:05:54Speaker 2: and critically, they're operated by humans who can be tricked.
- 1:05:57Speaker 1: So the user is the weak link.
- 1:06:00Speaker 2: Yes, this makes client machines a softer target. Attackers realize
- 1:06:04Speaker 2: that tricking a user into running malware can often bypass
- 1:06:07Speaker 2: even sophisticated network perameter defenses entirely, the most successful attacks
- 1:06:12Speaker 2: target endpoints.
- 1:06:13Speaker 1: How does reconnaissance work when you're targeting clients specifically? How
- 1:06:17Speaker 1: do attackers' profile potential victims?
- 1:06:19Speaker 2: Metasploit has modules for this too, like Auxiliary Gather Browser info.
- 1:06:23Speaker 2: If an attacker can get a user to visit a
- 1:06:25Speaker 2: web page they control, this module can fingerprint the victim's
- 1:06:28Speaker 2: browser OS, install plugins like flash, Java, and check JavaScript support.
- 1:06:34Speaker 2: This intel helps them choose the most effective client site exploit.
- 1:06:37Speaker 1: And bypassing antivirus on the client machine, how do they
- 1:06:40Speaker 1: get their malicious payloads past endpoint security?
- 1:06:43Speaker 2: Again, this often comes down to antivirus idea of sifts
- 1:06:47Speaker 2: bypass using custom payloads and encoders generated with MSF, Venom
- 1:06:51Speaker 2: or other tools. Standard, well known payloads generated by metasploit
- 1:06:55Speaker 2: are likely to get caught by modern av so attackers
- 1:06:58Speaker 2: need to modify them, you sophisticated and curing or packing techniques,
- 1:07:01Speaker 2: or even write completely custom malware to evade detection. It's
- 1:07:04Speaker 2: that constant cat and mouse game.
- 1:07:06Speaker 1: What are some specific client side attack techniques that really
- 1:07:10Speaker 1: leverage this human element or software flaws on the client?
- 1:07:13Speaker 2: Oh, there are many metasploit macro exploits are common malicious
- 1:07:17Speaker 2: VBA macros embedded in office documents, word excel. If the
- 1:07:22Speaker 2: victim enables macros enable content, the macro executes and can
- 1:07:26Speaker 2: download and run a payload.
- 1:07:27Speaker 1: Right those scary yellow warning bars and office exactly.
- 1:07:30Speaker 2: Then there are human interface device HID attacks. These use
- 1:07:34Speaker 2: USB devices like the keen c Usb hid or similar
- 1:07:38Speaker 2: tools that pretend to be a keyboard or mouse when
- 1:07:40Speaker 2: plugged in.
- 1:07:41Speaker 1: So the computer just trusts it.
- 1:07:42Speaker 2: Yeah. The device can then rapidly type commands to download
- 1:07:45Speaker 2: and execute malware, often faster than a human could react,
- 1:07:48Speaker 2: completely bypassing software based security controls because it looks like
- 1:07:52Speaker 2: legitimate user input.
- 1:07:53Speaker 1: Wow, what else?
- 1:07:54Speaker 2: The HTML application HTA attack is quite effective against Windows users.
- 1:08:00Speaker 2: Dot HGA files are basically HTML files that run with
- 1:08:03Speaker 2: higher privileges capable of executing scripting languages like VBScript or JScript. Metasploits.
- 1:08:09Speaker 2: HTA webserver module hosts some malicious HTA file. If an
- 1:08:13Speaker 2: attacker tricks a user into downloading and running it, it
- 1:08:16Speaker 2: will prompt the user for confirmation. But because the underlying
- 1:08:19Speaker 2: MGAHG process is a legitimate sign Microsoft Windows application, many
- 1:08:24Speaker 2: users will trust it and will allow it to run,
- 1:08:26Speaker 2: giving the attacker code execution.
- 1:08:28Speaker 1: That's incredibly deceptive, playing on trust in legitimate Windows components.
- 1:08:32Speaker 1: What about backdooring legitimate software as someone downloads it.
- 1:08:36Speaker 2: That's possible via Man in the middle MIKM attacks often
- 1:08:39Speaker 2: on insecure networks like public Wi Fi. Using frameworks like
- 1:08:42Speaker 2: MITMF man in the middle framework, which often requires ARP
- 1:08:45Speaker 2: poisoning to intercept traffic, an attacker can intercept unencrypted downloads.
- 1:08:49Speaker 2: They can then patch some executables like maybe notepad, dot
- 1:08:51Speaker 2: exc or putty dot ex on the fly as the
- 1:08:54Speaker 2: victim downloads them.
- 1:08:55Speaker 1: So the victim gets a file that looks and maybe
- 1:08:58Speaker 1: even works like the real.
- 1:08:59Speaker 2: Thing exactly, but it's been secretly backdoored in transit to
- 1:09:02Speaker 2: include the attacker's payload. They run the seemingly legitimate program
- 1:09:07Speaker 2: and the backdoor executes. Attackers can also craft mobile exploits,
- 1:09:11Speaker 2: using m's venom to create malicious Linux trojans or Android
- 1:09:15Speaker 2: backdoors packaged as dot appk files usually delivered via social engineering.
- 1:09:20Speaker 2: For example, fake app stores phishing links.
- 1:09:23Speaker 1: So it really seems like many, if not most, of
- 1:09:26Speaker 1: these successful client side attacks ultimately rely on exploiting human
- 1:09:30Speaker 1: trust or maybe just a lack of awareness, which brings
- 1:09:33Speaker 1: us to the Social Engineer Toolkit s set.
- 1:09:36Speaker 2: You're absolutely right, the human element is often the easiest
- 1:09:39Speaker 2: path in the Social Engineer Toolkit. SSET, created by Dave Kennedy,
- 1:09:42Speaker 2: is an incredibly powerful open source penetration testing framework specifically
- 1:09:47Speaker 2: designed to perform advanced attacks against the human element. It's
- 1:09:50Speaker 2: a standard tool for simulating sophisticated phishing and other social
- 1:09:54Speaker 2: engineering campaigns during a pen test.
- 1:09:56Speaker 1: What kinds of attack vectors does set automate or make easier?
- 1:10:00Speaker 2: It streamlines several key social engineering attacks. It's great for
- 1:10:04Speaker 2: spearfishing campaigns, sending highly malicious emails to target specific users,
- 1:10:09Speaker 2: often with options to spoof the sender's email address to
- 1:10:12Speaker 2: make it look legitimate. Its web attack vectors are very popular.
- 1:10:16Speaker 2: For instance, the HTA attack method within set can automatically
- 1:10:21Speaker 2: clone a legitimate website like a company portal or a
- 1:10:23Speaker 2: popular service to create a more credible pretext for delivering
- 1:10:28Speaker 2: a malicious payload when the user interacts with the fake.
- 1:10:31Speaker 1: Site, combining website cloning with payload delivery clever very.
- 1:10:36Speaker 2: It also offers a multi attack web method that combines
- 1:10:38Speaker 2: several different browser exploits and attack techniques under a single
- 1:10:42Speaker 2: malicious link when the victim clicks set tries them one
- 1:10:45Speaker 2: by one unless a successful attack is launched, increasing the
- 1:10:48Speaker 2: chances of compromising different browser or plug in versions. It
- 1:10:52Speaker 2: also includes an infectious media generator for creating malicious USB
- 1:10:55Speaker 2: drives or other files designed to execute payloads when open.
- 1:10:58Speaker 1: Wow. Okay, we have taking an absolute whirlwind tour through
- 1:11:02Speaker 1: the complex world of penetration testing.
- 1:11:04Speaker 2: We certainly have from understanding why it's so fundamentally crucial
- 1:11:09Speaker 2: in our web centric world to really digging into the
- 1:11:12Speaker 2: sophisticated tools and techniques that ethical hackers employ.
- 1:11:16Speaker 1: Yeah, we explored setting up your own practice lab with
- 1:11:18Speaker 1: Collie Linux, the meticulous art of gathering intelligence, the nitty
- 1:11:23Speaker 1: gritty of exploiting all sorts of vulnerabilities.
- 1:11:25Speaker 2: Right from sequel injections and cross sites scripting right up
- 1:11:28Speaker 2: to exploiting major flaws like eternal blue, and then even
- 1:11:32Speaker 2: how attackers manipulate that human element with social engineering.
- 1:11:35Speaker 1: This deep dive. The aim was really to give you
- 1:11:38Speaker 1: a shortcut to being truly well informed on this topic,
- 1:11:41Speaker 1: packed with hopefully some surprising facts and practical insights that
- 1:11:45Speaker 1: go way beyond the typical headlines.
- 1:11:48Speaker 2: Absolutely, it's a complex field, but understanding the attackers' perspective
- 1:11:51Speaker 2: is key to building better defenses.
- 1:11:53Speaker 1: So here's a final thought. As digital defenses continue to evolve,
- 1:11:57Speaker 1: and they are evolving rapidly, that human element often remains
- 1:12:01Speaker 1: the weakest link. Considering everything we've unpacked today, all the techniques,
- 1:12:04Speaker 1: the psychology, what surprising ways might you personally be susceptible
- 1:12:09Speaker 1: to the very techniques designed to test these systems. Something
- 1:12:12Speaker 1: to mull over until our next deep dive.