Latest / CyberSecurity Summary / Offensive Countermeasures: The Art of Active Defense
Transcript
- 0:00Speaker 1: Welcome to the deep dive. Today. We're looking at things
- 0:03Speaker 1: a bit differently cybersecurity wise, moving beyond the usual stuff
- 0:07Speaker 1: like patching in firewalls.
- 0:09Speaker 2: Yeah, we're diving into something called offensive countermeasures exactly.
- 0:13Speaker 1: The author of our source material uses this analogy shepherds
- 0:17Speaker 1: versus sheep and wolves, suggesting we should maybe be more
- 0:21Speaker 1: active like Shepherd's right.
- 0:22Speaker 2: We've got this pdf from John Strand, offensive Countermeasures the
- 0:27Speaker 2: Art of Active Defense, and the plan is to pull
- 0:31Speaker 2: out the really interesting, maybe surprising ideas about actively defending yourself.
- 0:35Speaker 1: We want those aha moments, I guess, without getting totally
- 0:38Speaker 1: bogged down in the weeds.
- 0:39Speaker 2: That's the goal. Find the insights that make you look
- 0:41Speaker 2: at security in a new way.
- 0:43Speaker 1: And right off the bat you get a feel for
- 0:44Speaker 1: the author. There's a dedication to family and someone called
- 0:48Speaker 1: DC from the miss R. It feels well personal, it does.
- 0:52Speaker 2: And it's worth remembering who John Strand is Black Hill's
- 0:55Speaker 2: Information Security Sans Institute. This isn't just theory, it's grounded
- 0:58Speaker 2: in like actual expers.
- 1:00Speaker 1: He even gives a shout out to his team at
- 1:02Speaker 1: bhis for doing the heavy lifting.
- 1:04Speaker 2: Yeah, it's a team effort, practical stuff.
- 1:06Speaker 1: Okay, so the big idea is shifting gears right from
- 1:09Speaker 1: just reacting to well considering more active steps. But there's
- 1:14Speaker 1: a huge caveat, isn't there?
- 1:15Speaker 2: Oh? Absolutely, He hammers this home. Do not be evil.
- 1:20Speaker 2: This is definitely not about becoming some kind of digital vigilante.
- 1:23Speaker 1: So it's not just hack the hackers back.
- 1:26Speaker 2: No, not at all. Strand wants to open up the
- 1:28Speaker 2: conversation about what responsible active defense could look like. He
- 1:31Speaker 2: lays out options, a whole range, really.
- 1:34Speaker 1: And he mentions that you know, even the basic security
- 1:36Speaker 1: advice often doesn't get fully implemented.
- 1:39Speaker 2: Right, So jumping straight to active measures is a big step.
- 1:41Speaker 2: And there's that asymmetry thing. He talks about how hacking
- 1:44Speaker 2: back is generally seen as well wrong.
- 1:46Speaker 1: But he wants to explore the legal ways this might
- 1:50Speaker 1: actually improve security. So okay, where does he start navigating
- 1:55Speaker 1: this minefield?
- 1:56Speaker 2: Logically, he starts with the law you absolutely have to
- 1:59Speaker 2: this is foundational, and he warns straight away don't just
- 2:03Speaker 2: jump to hacking the attackers. He uses a few court
- 2:06Speaker 2: cases to show where the lines are currently drawn and crucially,
- 2:09Speaker 2: where defenders can easily step over them.
- 2:11Speaker 1: Okay, first case us versus heck and camp. What's the
- 2:15Speaker 1: key point there?
- 2:16Speaker 2: Well, the interesting thing is what the court decided was
- 2:19Speaker 2: okay versus what wasn't In that case, just logging a
- 2:22Speaker 2: MS address that unique hardware ID wasn't seen as a
- 2:25Speaker 2: privacy violation.
- 2:27Speaker 1: Okay, so log into hardware ID. Fine. But then there's
- 2:29Speaker 1: the other case Susan Clemens Jeffrey versus Absolute.
- 2:32Speaker 2: Software exactly, and that one went the other way. It
- 2:35Speaker 2: involved tracking a stolen laptop, sure, but also recording keystrokes,
- 2:39Speaker 2: chat messages, even webcam photos, very personal stuff.
- 2:42Speaker 1: Ah, so that crossed the line a big one.
- 2:44Speaker 2: The lesson is clear, tracking hardware location might be okay,
- 2:47Speaker 2: but intercepting communications that hits federal wiretapping laws. Like the
- 2:52Speaker 2: judge said, finding hardware versus eavesdropping fundamentally different. It really
- 2:56Speaker 2: drives home that do not be evil point, good intentions,
- 2:59Speaker 2: don't exp use illegal interception.
- 3:01Speaker 1: Got it? Then he brings up E Hippie versus the
- 3:03Speaker 1: WTO That sounds specific.
- 3:05Speaker 2: It was an odd one. An ISP basically reflected denial
- 3:09Speaker 2: of service attack back at the source, the e Hippie site.
- 3:12Speaker 2: What was really strange was that people had actually signed
- 3:15Speaker 2: up to DDOSS. The wto Wow.
- 3:18Speaker 1: So volunteers for a cyber attack.
- 3:20Speaker 2: Yeah, it just highlights how messy it gets with distributed
- 3:23Speaker 2: attacks and what responsibility intermediaries have.
- 3:26Speaker 1: And then the Microsoft boughtnet takedowns waladac Russ doc Keilly
- 3:31Speaker 1: hose those are huge. What's the legal takeaway for the
- 3:35Speaker 1: average company?
- 3:36Speaker 2: That's the critical point. Microsoft went through legal channels, got
- 3:39Speaker 2: restraining orders, used art CEO statutes, powerful stuff, but in
- 3:42Speaker 2: doing so, they essentially took control of systems belonging to
- 3:46Speaker 2: thousands of individuals. The owners of those infected bought computers
- 3:50Speaker 2: without their direct consent.
- 3:51Speaker 1: So even with court orders, it's controversial, very.
- 3:54Speaker 2: And Strand's point is Microsoft has resources and legal clout
- 3:58Speaker 2: most organizations can only dream of trying to replicate. That
- 4:01Speaker 2: is legally perilous and probably impractical for almost everyone else.
- 4:05Speaker 2: It's not a playbook for the rest of us.
- 4:07Speaker 1: He also looks ahead, mentioning potential laws that might allow
- 4:11Speaker 1: him attacking back, but he's worried.
- 4:13Speaker 2: Yeah, his big concern is protecting the innocent bystanders, those
- 4:17Speaker 2: intermediary victim machines, the bots. If laws allow broad hackback authority,
- 4:23Speaker 2: how do you ensure those systems aren't just collateral damage.
- 4:26Speaker 1: So it all comes back to restraint.
- 4:28Speaker 2: Absolutely, do not be evil, tread very very carefully.
- 4:31Speaker 1: Okay, so the legal side is definitely complex. Let's move
- 4:34Speaker 1: on to some of the actual countermeasures he discusses. First up,
- 4:38Speaker 1: protecting IP and security through obscurity. Isn't that usually frowned upon?
- 4:43Speaker 2: It often is. Yeah, people tend to dismiss it, saying
- 4:46Speaker 2: changing a port or server banner doesn't really stop anyone serious.
- 4:49Speaker 2: But Strand offers a different perspective, framing it using the
- 4:53Speaker 2: Odie loop observe, orient, decide act. That's kind of the
- 4:57Speaker 2: attacker's decision cycle.
- 4:58Speaker 1: Okay, Odie loop. How does obscurity fit in?
- 5:01Speaker 2: Well? The idea is that even simple obscurity tricks can
- 5:04Speaker 2: mess with the attackers observe and orient phases. If your
- 5:07Speaker 2: system doesn't look like what they expect, they have to
- 5:10Speaker 2: spend more time figuring it out.
- 5:11Speaker 1: So it slows them down buys.
- 5:13Speaker 2: You time exactly that extra effort, that delay could be
- 5:16Speaker 2: enough time for your detection systems to catch something. He
- 5:19Speaker 2: uses that great example of iBuyer changing their server banner
- 5:23Speaker 2: to look like a Commodore sixty four.
- 5:24Speaker 1: A Commodore sixty four.
- 5:26Speaker 2: Serious.
- 5:26Speaker 1: Yeah, it sounds silly, but it could easily trip up
- 5:29Speaker 1: an automated scanner looking for say Apache or ICEE. The
- 5:34Speaker 1: scanner might just give up and move on. It's not
- 5:36Speaker 1: about being unhackable, it's about increasing their work.
- 5:39Speaker 2: Factor, making it harder for them to get oriented. I see.
- 5:43Speaker 2: He also mentions user agent strings. That seems pretty basic.
- 5:46Speaker 1: It is, but it's another layer. You look at the
- 5:48Speaker 1: user agent strings in your weblogs. That's how browsers identify themselves.
- 5:52Speaker 1: You can spot known bad tools or you know, less
- 5:56Speaker 1: sophisticated attackers who don't bother changing.
- 5:58Speaker 2: The defaults so you can fil ter osso noise that way.
- 6:00Speaker 1: Right, A skilled attacker can spoof it easily. Short, but
- 6:03Speaker 1: it catches the low hanging fruit, and it's something you
- 6:06Speaker 1: can easily show management, which is sometimes helpful.
- 6:08Speaker 2: Okay, Moving into more active stuff, deception and misdirection setting traps.
- 6:13Speaker 2: Basically pretty much, he talks about annoyance techniques, things like
- 6:17Speaker 2: c Symmetria Maze Runner. These tools help you deploy Honeypot's
- 6:20Speaker 2: decoy systems, but also create fake breadcrumbs to lure attackers
- 6:25Speaker 2: towards them.
- 6:26Speaker 1: Because just setting up a honeypot doesn't mean anyone will find.
- 6:28Speaker 2: It, right exactly. You need to make it discoverable, but
- 6:31Speaker 2: only by the people you want to discover it.
- 6:33Speaker 1: And then there's the uh, mister Clippy, show us the
- 6:36Speaker 1: way tactic that sounds amusing it is.
- 6:39Speaker 2: It uses php IDs, an intrusion detection system for web apps,
- 6:44Speaker 2: but instead of just blocking an attack, it responds with
- 6:46Speaker 2: the old Microsoft paper clip character Clippy offering a helpful
- 6:51Speaker 2: link to o WASP security resources.
- 6:53Speaker 1: Huh so it mocked the attacker a bit.
- 6:55Speaker 2: Yeah, it's a bit of psychological disruption. Maybe makes them
- 6:58Speaker 2: question if they're dealing with something unexpected. Did messes with
- 7:01Speaker 2: their ODA loop again?
- 7:02Speaker 1: He also suggests a random URL generator. How does that help?
- 7:06Speaker 2: That's aimed at automated website scanners. If your site starts
- 7:10Speaker 2: generating tons of plausible looking but non existent URLs, the
- 7:14Speaker 2: scanner can get completely bogged down.
- 7:16Speaker 1: He just keeps chasing fake pages. Right.
- 7:18Speaker 2: It takes forever to crawl, generates masses of useless data
- 7:22Speaker 2: and might just exhaust the scanner's resources or time limits.
- 7:25Speaker 2: It obscures your real site structure.
- 7:28Speaker 1: Okay, now we get to honeypots and honeypots these sound
- 7:31Speaker 1: like core concepts. Let's start with honeypots, right.
- 7:34Speaker 2: Honeypots are decoy systems or services. They look real, maybe
- 7:38Speaker 2: even valuable. The key is no legitimate user should ever
- 7:43Speaker 2: interact with a honeypot.
- 7:44Speaker 1: So any traffic hitting it is automatically suspicious.
- 7:47Speaker 2: Highly suspicious. Yes, it's great for detection, especially for attackers
- 7:51Speaker 2: already inside your network, and you can learn a lot
- 7:54Speaker 2: by watching what they do in the honeypot, what tools
- 7:56Speaker 2: they use, what data they're after. Are they just looking
- 7:58Speaker 2: for storage or are they after your critical data?
- 8:01Speaker 1: That makes sense? He mentions the Modern Honeypot Network MHN.
- 8:05Speaker 2: Yeah. MHN is a framework that makes deploying different kinds
- 8:08Speaker 2: of honeypots like SSAH honeypots, Web honeypots much much easier.
- 8:12Speaker 2: It automates a lot of the setup.
- 8:13Speaker 1: So it lowers the barrier to entry for using.
- 8:16Speaker 2: Honeypots, definitely makes it more accessible.
- 8:18Speaker 1: Then there's libre Atarpit sounds sticky.
- 8:21Speaker 2: It is. It's designed to slow down automated scanning, especially
- 8:25Speaker 2: things like malware spreading. Internally, if something tries to connect
- 8:29Speaker 2: to an IP address or port that Librea is watching.
- 8:31Speaker 1: It responds really slowly.
- 8:34Speaker 2: Exactly, it just drags out the connection process. Tying up
- 8:37Speaker 2: the scanner's resources makes a scanning incredibly inefficient and might
- 8:41Speaker 2: trigger alerts because the connections stay open for so long.
- 8:44Speaker 1: Okay, now, honeyports, how are they different?
- 8:47Speaker 2: Honeyports are more targeted than full honeypots. Instead of a
- 8:51Speaker 2: whole fake system, it's just a single specific unused network
- 8:55Speaker 2: port on a real system like port.
- 8:57Speaker 1: One twentive if nothing normally uses it.
- 8:59Speaker 2: Right, And the really clever part Strand talks about is
- 9:02Speaker 2: using them for dynamic blacklisting.
- 9:04Speaker 1: Dynamic blacklisting so blocking attackers automatically based on them hitting
- 9:09Speaker 1: the honeypot, Yes.
- 9:10Speaker 2: But with a specific trigger. Typically it only blocks the
- 9:13Speaker 2: IP address if the attacker completes a full TCP connection
- 9:17Speaker 2: to the honeypot.
- 9:17Speaker 1: Why the full connection? Why not just any packet?
- 9:20Speaker 2: Because just sending a single packet like in a basic
- 9:23Speaker 2: syn scan is really easy to spoof. An attacker could
- 9:27Speaker 2: send packets pretending to be from a legitimate IP address
- 9:30Speaker 2: and trick your system into blocking someone innocent requiring a
- 9:34Speaker 2: full connection. The whole three way hunt take makes that
- 9:36Speaker 2: much harder. It shows more deliberate intent.
- 9:39Speaker 1: Ah Okay, that makes it more reliable. He mentions, IP
- 9:42Speaker 1: kung Fu and deny hosts here right.
- 9:44Speaker 2: Ipkung Fu has scripts for hardening Linux firewalls, ipptables, and
- 9:49Speaker 2: deny hosts. Specifically, watches for repeated failed logins like SSH,
- 9:53Speaker 2: brute force attempts and blocks those ips their related concepts.
- 9:57Speaker 1: And he actually gives examples of setting up a basic honeyport.
- 10:00Speaker 1: Let's walk through the Linux one briefly. How does that work?
- 10:02Speaker 2: It's surprisingly simple. You use a tool called netcat and
- 10:06Speaker 2: entry to listen on an unused port, say twenty twenty five. Okay,
- 10:09Speaker 2: Then you'd tell netcat that when someone successfully connects makes
- 10:13Speaker 2: that full TCP connection, it should run.
- 10:15Speaker 1: A little script and the script does what.
- 10:17Speaker 2: The example script basically grabs the connecting IP address and
- 10:21Speaker 2: then uses the iptable's command the Linux firewall to instantly
- 10:25Speaker 2: add a rule that blocks all further TCP traffic from
- 10:28Speaker 2: that attacker's IP to your system.
- 10:31Speaker 1: So one connection to the honeyport and they're blocked from
- 10:34Speaker 1: everything else.
- 10:34Speaker 2: Pretty much.
- 10:35Speaker 1: Yeah.
- 10:35Speaker 2: He shows how a simple syn scam won't trigger it,
- 10:38Speaker 2: but a tool trying to make a full connection gets
- 10:41Speaker 2: immediately firewalled off.
- 10:43Speaker 1: And there's a similar method for Windows using PowerShell. In
- 10:46Speaker 1: his firewall.
- 10:47Speaker 2: Yep, same principle. Listen on a port and if a
- 10:49Speaker 2: full connection happens, run a PowerShell command to add a
- 10:52Speaker 2: block rule to the Windows firewall. It's very practical.
- 10:55Speaker 1: He does mention a limitation, though, about spoofed connections.
- 11:00Speaker 2: If an attacker is sophisticated enough to fully spoof the
- 11:03Speaker 2: TCP handshake, potentially predicting sequence numbers and so on, they
- 11:07Speaker 2: might be able to trigger the block while hiding their
- 11:09Speaker 2: real IP, but he notes this is generally much harder
- 11:13Speaker 2: to do effectively, especially against a live system.
- 11:16Speaker 1: Well, it's not foolproof against really advanced attackers, but good
- 11:19Speaker 1: for most exactly.
- 11:20Speaker 2: And you could add to other layers, like monitoring those
- 11:23Speaker 2: firewall rules for weird patterns.
- 11:25Speaker 1: Okay, let's shift to web traps like fake websites to
- 11:28Speaker 1: catch scanners.
- 11:29Speaker 2: That's the idea. Tools like spider trap or web Labyrinth.
- 11:32Speaker 2: Spider Trap can generate a maze of random fake links,
- 11:36Speaker 2: making a website look infinitely.
- 11:37Speaker 1: Deep, so a scanner just goes on forever.
- 11:39Speaker 2: Or it can use a word list, maybe one commonly
- 11:42Speaker 2: used by attackers to create fake directories that look interesting
- 11:45Speaker 2: but are just traps. It swamps the scanner with junk data.
- 11:49Speaker 1: You can even point to it in your robots dot txt.
- 11:51Speaker 2: Yeah, legitimate search engines will ignore it, but an attacker
- 11:55Speaker 2: might see admin backup trap in robots dot txt and
- 11:58Speaker 2: think ooh interesting and walk right in web labyrinth.
- 12:01Speaker 1: Similar idea.
- 12:02Speaker 2: Similar but phke based, so easy to deploy. It can
- 12:05Speaker 2: also log crawler activity to a database, which is great
- 12:08Speaker 2: for analysis. Plus, it can return random HTTP status codes,
- 12:12Speaker 2: not just four or fours, making it harder for scanners
- 12:15Speaker 2: to tell what's real and what's fake. It can even
- 12:17Speaker 2: throw in fake email addresses as bait clever.
- 12:21Speaker 1: He also mentions creating infinitely recursive directories.
- 12:24Speaker 2: Yeah, that's a neat trick. You create a symbolic link
- 12:26Speaker 2: inside a directory that points back to the directory itself.
- 12:30Speaker 2: If a tool tries to recursively list files in there,
- 12:34Speaker 2: like metasplit's.
- 12:35Speaker 1: Materpreter might get stuck in a loop.
- 12:37Speaker 2: Exactly. It can freeze the tool, eat up resources, and
- 12:40Speaker 2: make the malicious process really obvious to defenders. Simple but
- 12:45Speaker 2: effective against certain tools.
- 12:47Speaker 1: What about trip wirelike defenses? Sounds like file integrity monitoring
- 12:50Speaker 1: it is.
- 12:51Speaker 2: He talks about crypto locked and crypto locked in. They
- 12:54Speaker 2: work by placing special hidden trip files in critical locations.
- 12:58Speaker 1: Files that should never be touched.
- 13:00Speaker 2: Right. If anything accesses or modifies these trip files, it
- 13:04Speaker 2: triggers an alert logging maybe even shuts down the offending process.
- 13:08Speaker 2: Using the hunter module and crypto locting, it's like a
- 13:11Speaker 2: silent alarm on your crown jewels.
- 13:12Speaker 1: Any access is a red flash.
- 13:14Speaker 2: Very strong indicator.
- 13:15Speaker 1: Yes, okay. Detecting human interaction this seems different.
- 13:18Speaker 2: It's more behavioral deny hosts, which we mentioned blocks ips
- 13:23Speaker 2: after too many failed logins, but you must whiteless trusted
- 13:26Speaker 2: ips first or you'll lock yourself out.
- 13:28Speaker 1: Good point.
- 13:29Speaker 2: Then there's human dot pie. This tries to spot if
- 13:32Speaker 2: a human is using a service account. Service account should
- 13:35Speaker 2: be automated, right usually yeah, So if human dot pie
- 13:37Speaker 2: sees things like typos in commands entered via a bashshell
- 13:42Speaker 2: on that account, it suggests a person might have compromised
- 13:45Speaker 2: it and is using it interactively looking for.
- 13:48Speaker 1: Those human errors on accounts that shouldn't have them. Interesting. Now,
- 13:53Speaker 1: stealthy blocking.
- 13:55Speaker 2: This is in visiport. It's like a honeyport, but instead
- 13:58Speaker 2: of actively rejecting the connection until telling the attacker you're blocked,
- 14:01Speaker 2: it just stops responding silently, adds them to a blacklist.
- 14:05Speaker 1: So the attackers scan just hangs. They don't necessarily know
- 14:09Speaker 1: they've been blocked exactly.
- 14:10Speaker 2: They might think the host is just down or unreliable.
- 14:12Speaker 2: The idea is they're less likely to immediately switch IP
- 14:15Speaker 2: addresses if they don't get that explicit rejection message.
- 14:18Speaker 1: And you can configure it to make some ports still
- 14:20Speaker 1: look open to them.
- 14:21Speaker 2: Yeah, to enhance the deception, make them waste more time
- 14:24Speaker 2: probing ports that will never respond properly. He also quickly
- 14:27Speaker 2: mentions Ausomelian for making your OS fingerprint harder to guess.
- 14:31Speaker 1: What about web server specific.
- 14:33Speaker 2: Traps phphttp Tarpit it confuses web scanners using log fuzzing,
- 14:39Speaker 2: filling logs with junk, and spoofing errors. You hide a
- 14:42Speaker 2: reference to it in your site and when a bot
- 14:44Speaker 2: hits it, it gets tangled up.
- 14:46Speaker 1: And artillery that's.
- 14:47Speaker 2: A listener that monitors multiple ports. If someone connects, it
- 14:50Speaker 2: can play a sound and alert for you, and it
- 14:52Speaker 2: can also add a firewall rule to block the IP.
- 14:55Speaker 1: Moving into wireless active defense, that's a whole different playground, definitely.
- 15:00Speaker 2: He tells that funny story about ATVs connecting to his
- 15:02Speaker 2: you get hacked Wi Fi shows how casual wireless probing
- 15:06Speaker 2: can be.
- 15:07Speaker 1: Huh yeah.
- 15:07Speaker 2: For more active stuff, there's Claymore. If someone joins your
- 15:11Speaker 2: fake Wi Fi network, Claymore automatically runs a full end
- 15:14Speaker 2: map scan against their device. Quick recon.
- 15:17Speaker 1: Yeah, they're intel on anyone connecting to the Honeypop.
- 15:19Speaker 2: WiFi right, and he mentions deauthentication tools to kick unauthorized
- 15:23Speaker 2: devices off your real network. The point is you need
- 15:26Speaker 2: to know who's sniffing around your wireless even if many
- 15:29Speaker 2: are just looking for free Internet.
- 15:30Speaker 1: Okay, lots of defensive techniques. Now attribution trying to figure
- 15:34Speaker 1: out who the attackers are. Yeah, but not for revenge,
- 15:37Speaker 1: she says.
- 15:38Speaker 2: No, definitely not. Attribution here means understanding the attacker, What
- 15:42Speaker 2: are their goals, how skilled are they, what tools are
- 15:45Speaker 2: they using. It's about gathering intelligence to improve your defense.
- 15:49Speaker 1: And response because static defenses just get bypassed eventually often.
- 15:53Speaker 2: Yeah, attackers adapt, so attribution needs active real time effort.
- 15:57Speaker 2: During an attack.
- 15:58Speaker 1: He brings up ssh h like Cowori and Kippo. First,
- 16:02Speaker 1: how do they help attribute?
- 16:04Speaker 2: These are great because they don't just log failed logins.
- 16:07Speaker 2: If an attacker does get in to the honeypot. Remember,
- 16:10Speaker 2: these tools record their entire interactive shell session.
- 16:13Speaker 1: You can see every command.
- 16:15Speaker 2: They type, exactly what files they look for, what tools
- 16:18Speaker 2: they download, what they try to run. It's incredibly valuable
- 16:22Speaker 2: insight into their methods and objectives. It's like watching over
- 16:24Speaker 2: their shoulder in a safe environment.
- 16:26Speaker 1: What about attackers using things like tr or proxies to hide?
- 16:30Speaker 1: Can active defense still work?
- 16:32Speaker 2: It's harder, obviously, but Strand points out that using those
- 16:35Speaker 2: tools sometimes forces attackers to disable things like JavaScript for
- 16:39Speaker 2: better anonymity, which.
- 16:40Speaker 1: Might break some exploits.
- 16:42Speaker 2: Right, so, you can create targets requiring things like JavaScript,
- 16:46Speaker 2: Java or maybe word macros. If an attacker enables those
- 16:50Speaker 2: to interact with your trap, you might get more information
- 16:52Speaker 2: about their browser plugins, maybe even leak their real IP.
- 16:56Speaker 2: If the tech is vulnerable, you're exploiting their need to interact.
- 17:00Speaker 1: He mentions dcloaks specifically for this.
- 17:02Speaker 2: Yeah, Deluk tries to uncover the real IP behind anonymizers,
- 17:06Speaker 2: often by exploiting browser plug ins. He suggests putting it
- 17:09Speaker 2: in places normal users won't go, like disallowed areas and
- 17:13Speaker 2: robots dot txt, maybe with a warning.
- 17:15Speaker 1: Banner like a digital trip wire for anonymized attackers. He
- 17:18Speaker 1: mentions the FBI using similar.
- 17:20Speaker 2: Things apparently, so yes.
- 17:21Speaker 1: What about tracking breaches via files?
- 17:24Speaker 2: Two main ideas here. One put fake but realistic looking
- 17:27Speaker 2: bait files on servers if they get access to alarm
- 17:30Speaker 2: bells ring okay to use web bugs. These are tiny,
- 17:33Speaker 2: often invisible images embedded in documents or pages. When the
- 17:37Speaker 2: dock is opened, it requests the image from your server,
- 17:40Speaker 2: logging the opener's.
- 17:40Speaker 1: IP, so you can track when and where a skull
- 17:43Speaker 1: and document is opened.
- 17:44Speaker 2: Potentially Yes. Tools like webbug server or slate bug server
- 17:49Speaker 2: help manage this, and Deposa dot Pi specifically embeds them
- 17:53Speaker 2: in modern dot docks files, which are harder to analyze
- 17:56Speaker 2: for these things.
- 17:57Speaker 1: Then there's honey badger sounds tacous geolocation.
- 18:02Speaker 2: Yeah. It uses Java applets to try and identify nearby
- 18:05Speaker 2: Wi Fi access points from the attacker's machine based on
- 18:08Speaker 2: public Wi Fi location databases. It can sometimes get a
- 18:11Speaker 2: pretty good estimate of their physical location.
- 18:13Speaker 1: Wow. And you feed that location into pushpin exactly.
- 18:17Speaker 2: Pushpin is part of the reconnting framework. You give it
- 18:20Speaker 2: coordinates and it scours public sources social media showdown et cetera.
- 18:24Speaker 2: For information related to that geographic area.
- 18:26Speaker 1: Trying to link the location to accounts.
- 18:28Speaker 2: Or devices, right connecting the dots using open source intelligence,
- 18:32Speaker 2: you'll need apikeys for things like Twitter.
- 18:34Speaker 1: Though lastly for attribution jar combiner. This sounds of a dodgy.
- 18:38Speaker 2: It definitely could be misused. The idea is to take
- 18:40Speaker 2: a legitimate Java applet and embed a malicious information gathering
- 18:44Speaker 2: applet inside it, so.
- 18:46Speaker 1: The user sees the normal applet, but the hidden one
- 18:48Speaker 1: fund's home.
- 18:49Speaker 2: That's the concept. Combine the JR files, sign it to
- 18:52Speaker 2: look legit. It's advanced and ethically Murky needs extreme caution.
- 18:57Speaker 1: Okay, we've seen lots of tools. He then talks about frameworks,
- 19:00Speaker 1: specifically tailos. What's the point of a framework here?
- 19:04Speaker 2: Callos aims to make active defense more accessible and consistent.
- 19:08Speaker 2: Instead of learning dozens of separate tools, you use a
- 19:10Speaker 2: common interface in tailos to load and run different active
- 19:14Speaker 2: defense modules, so.
- 19:15Speaker 1: It standardizes things, makes it easier to train people and
- 19:18Speaker 1: deploy defenses consistently.
- 19:20Speaker 2: That's the idea. It has help systems, let's you set
- 19:22Speaker 2: variables script things. It even has trip codes. Events from
- 19:26Speaker 2: one module can trigger actions in another.
- 19:28Speaker 1: Makes sense and Phantom. How does that fit with tailos.
- 19:32Speaker 2: Phantom is like a remote agent for tailos. You install
- 19:35Speaker 2: fandom on other machines on your network, and then your
- 19:37Speaker 2: central TAILIS instance can push modules and commands out to
- 19:40Speaker 2: them over ssh, where you.
- 19:42Speaker 1: Can manage honeyports or other defenses on remote servers from
- 19:45Speaker 1: one place.
- 19:46Speaker 2: Exactly similar to how metasploit uses materpreter agents extends the
- 19:50Speaker 2: reach of tailos.
- 19:51Speaker 1: He also touches on some advanced concepts, even using tools
- 19:54Speaker 1: like set and BEEF. Aren't those offensive tools.
- 19:57Speaker 2: They are, primarily, but configure carefully they can be used
- 20:01Speaker 2: for attribution. Beef, the browser exploitation framework can hook an
- 20:05Speaker 2: attackers browser if they visit a compromise page.
- 20:08Speaker 1: And tell you about their system.
- 20:09Speaker 2: Yeah os, browser plugins, network info, maybe even deliver other payloads,
- 20:15Speaker 2: but again you must place the hook carefully somewhere off limits.
- 20:19Speaker 2: May be flagged in robots dot txt with warnings so
- 20:22Speaker 2: legitimate users don't get hooked.
- 20:24Speaker 1: Same idea for SET. Creating malicious Java applets or macros
- 20:28Speaker 1: use them as bait.
- 20:29Speaker 2: Right if the attacker interacts it phones home. Extreme caution
- 20:33Speaker 2: and careful placement are essential. He also details using a
- 20:37Speaker 2: standalone Java applet attack tool, again stressing it should only
- 20:40Speaker 2: be used in restricted, clearly marked areas.
- 20:43Speaker 1: Okay, so there's this constant theme of balancing attack or
- 20:46Speaker 1: stelp with their need to actually do something.
- 20:48Speaker 2: Absolutely. His point is the more an attacker tries to
- 20:51Speaker 2: hide using obfuscation, often the less effective their actual attack
- 20:55Speaker 2: tools become. There's a trade off.
- 20:57Speaker 1: So active defenses force them to make choices, increase.
- 21:00Speaker 2: Their effort exactly. It complicates their ODI loop, makes them
- 21:03Speaker 2: work harder, increases the chance they'll slip up or just
- 21:06Speaker 2: give up. Raising the cost of attack is a key goal.
- 21:09Speaker 1: And he wraps up by emphasizing deterrence, not revenge.
- 21:13Speaker 2: Yes, very clearly, the goal isn't payback. It's making attackers
- 21:18Speaker 2: think they're being watched, that they'll likely be detected. That's
- 21:21Speaker 2: the deterrement.
- 21:21Speaker 1: Revenge hacking is pointless and illegal.
- 21:24Speaker 2: Pretty much adds no real security value and can land
- 21:27Speaker 2: you in serious trouble. Remember the poison versus venom idea.
- 21:30Speaker 2: You want to make attacking you unpleasant and risky for them,
- 21:34Speaker 2: not necessarily strike back directly.
- 21:36Speaker 1: Okay, So wrapping up this deep dive on offensive countermeasures, Yeah,
- 21:41Speaker 1: the big theme seems to be a shift in thinking,
- 21:44Speaker 1: moving towards more proactive, thoughtful security.
- 21:47Speaker 2: Yeah, not just reacting, but actively using deception, detection, and
- 21:51Speaker 2: attribution as defensive tools.
- 21:53Speaker 1: But always always within those legal and ethical lines that
- 21:56Speaker 1: do not be evil. Message is crucial.
- 21:59Speaker 2: Couldn't agree more. It underpins everything. You have to know
- 22:01Speaker 2: the boundaries and stay well within them.
- 22:04Speaker 1: So for you the listener, maybe think about this, How
- 22:07Speaker 1: could these kinds of strategies, these less conventional defenses, change
- 22:12Speaker 1: the way we approach security overall? What other ideas might
- 22:16Speaker 1: come from this shift away from purely passive defense.
- 22:19Speaker 2: Maybe it'll make you want to check out that original
- 22:21Speaker 2: pdf by John Strand or look into some of the
- 22:24Speaker 2: tools we talked about. It's definitely fascinating area.
- 22:26Speaker 1: Definitely food for thought. Thanks for joining us for this
- 22:29Speaker 1: deep dive.