Latest / CyberSecurity Summary / Adversarial Tradecraft in Cybersecurity: Offense versus defense in real-time computer conflict
Transcript
- 0:00Speaker 1: You know, when you look at cybersecurity, it really feels
- 0:02Speaker 1: less like some orderly game like chess and more like this,
- 0:08Speaker 1: I don't know, this endless game of hide and seek,
- 0:11Speaker 1: but with really high stakes.
- 0:12Speaker 2: Yeah, it's a constant push and pull, isn't it a
- 0:15Speaker 2: real cat and mouse situation between the attackers trying to
- 0:17Speaker 2: breach systems and the defenders, you know, scrambling to keep.
- 0:21Speaker 1: Them out exactly, And it goes way beyond just the tech,
- 0:24Speaker 1: the firewalls and stuff. It's so much about strategy, deception
- 0:30Speaker 1: and just trying to adapt faster than the other side.
- 0:32Speaker 2: It really is a continuous loop, like attackers find a
- 0:35Speaker 2: new way in, defenders build a patch or a detection
- 0:37Speaker 2: for it. Then the attackers have to tweet their method,
- 0:40Speaker 2: maybe bypass the new defense, and the whole cycle just
- 0:42Speaker 2: speeds up.
- 0:43Speaker 1: And really getting inside that dynamic understanding how it works.
- 0:47Speaker 1: That's what we want to do in this deep dive.
- 0:49Speaker 1: We're pulling insights directly from the book Adversarial Tradecraft and
- 0:53Speaker 1: Cybersecurity Offense Versus Defense, and well specifically focusing on the
- 0:57Speaker 1: parts about practical techniques and the sort of the ideas
- 1:00Speaker 1: driving this conflict.
- 1:01Speaker 2: Right The author Dan Boris. He brings this really interesting
- 1:05Speaker 2: mix of experience. He's worked in the real world, you know,
- 1:08Speaker 2: places like uber Mandy and CrowdStrike, but he also has
- 1:12Speaker 2: deep experience in those big collegiate cyber competitions like CCDC
- 1:17Speaker 2: and CPTC, so he's seen it all from multiple angles.
- 1:21Speaker 1: Yeah, and that perspective shows the book seems aimed at practitioners,
- 1:27Speaker 1: people actually doing the work, maybe folks starting out who
- 1:29Speaker 1: might need to google a few things, up to say
- 1:31Speaker 1: intermediate level people. It shows how lessons from those competitions
- 1:35Speaker 1: really do apply to real world enterprise security absolutely.
- 1:40Speaker 2: So our mission here really is to give you a shortcut.
- 1:43Speaker 2: We want to distill the key takeaways, the most important
- 1:45Speaker 2: bits from this source material to give you a clearer
- 1:48Speaker 2: picture of the strategies, the tools, the techniques attackers use.
- 1:52Speaker 1: And then how defenders try to counter that, and how
- 1:54Speaker 1: each side is constantly reacting to the other.
- 1:56Speaker 2: Exactly understanding that interaction is key.
- 1:59Speaker 1: Okay, let's unpack this. The source starts by laying out
- 2:02Speaker 1: some foundational building blocks for information security. Talks about the
- 2:06Speaker 1: CION attributes.
- 2:07Speaker 2: Ah, yes, CIAN that's confidentiality, integrity, availability, authentication, authorization, and
- 2:15Speaker 2: non repudiation. Right, think of these as the sort of
- 2:19Speaker 2: fundamental qualities of data and systems. They're what the attackers
- 2:22Speaker 2: are trying to undermine and what the defenders are desperately
- 2:25Speaker 2: trying to protect.
- 2:26Speaker 1: And the Source really highlights non repudiation because of the
- 2:30Speaker 1: defender's eyes and ears. What does that mean? Practically speaking?
- 2:34Speaker 2: It basically means logging, good logging, creating solid, ideally unchangeable
- 2:39Speaker 2: records of who did what, when they did it, where
- 2:42Speaker 2: they did it from. If you don't capture that information,
- 2:45Speaker 2: especially stuff that only happens in memory and disappears, well
- 2:48Speaker 2: it's just gone pretty much. It's the main way defenders
- 2:51Speaker 2: can piece together what happened after an incident or spot
- 2:54Speaker 2: something shady going on.
- 2:55Speaker 1: So if an attacker can mess with those logs, can
- 2:58Speaker 1: erase their tracks effectively like blinding the defenders.
- 3:02Speaker 2: Oh yeah, right. Beyond those basic attributes, the Source digs
- 3:05Speaker 2: into several key principles of this computer conflict ideas that
- 3:09Speaker 2: seem to guide the strategies for both sides. What are
- 3:12Speaker 2: some of the big ones.
- 3:13Speaker 1: Well, the principle of deception seems huge.
- 3:15Speaker 2: Oh, absolutely, It's all about making abnormal things look totally normal.
- 3:19Speaker 2: For an attacker, this is critical. If they can blend in,
- 3:22Speaker 2: they can operate for much longer without getting caught.
- 3:25Speaker 1: Like hiding in plain sight. And you can't really talk
- 3:28Speaker 1: about this stuff without bringing in the human factor, right,
- 3:31Speaker 1: the principle of humanity.
- 3:32Speaker 2: Definitely, there's always a person involved somewhere targeting people, you know,
- 3:37Speaker 2: social engineering, phishing emails that can often bypass even the
- 3:42Speaker 2: best technical defenses. The source mentions that old classic getting
- 3:46Speaker 2: a password off an employee at a bar faily works
- 3:48Speaker 2: huh surprisingly often. Yeah. Then there's the principle of physical access.
- 3:53Speaker 2: This one's pretty fundamental.
- 3:55Speaker 1: Meaning if you can actually touch the machine, or if.
- 3:58Speaker 2: You own the management interface for cloud stuff like AWS
- 4:01Speaker 2: or the hypervisor like ESXi. If you have that level
- 4:04Speaker 2: of a control, you generally win. You can dump the memory,
- 4:07Speaker 2: reinstall the OS, just walk away with the hardware. Sometimes
- 4:10Speaker 2: it usually trump's purely digital.
- 4:12Speaker 1: Remote access makes sense total control versus like partial access
- 4:16Speaker 1: through the network. Planning also seems key, oh for sure.
- 4:20Speaker 2: The principle of planning. The book quotes sense, you know,
- 4:23Speaker 2: plan for what is difficult while it is easy. You've
- 4:26Speaker 2: got to have a plan, write it down, even practice it.
- 4:29Speaker 2: If you can identify the weak.
- 4:31Speaker 1: Spots, and that applies to both guides.
- 4:33Speaker 2: Absolutely offense planning their attack path, defense planning their detection
- 4:37Speaker 2: and response strategy. It's crucial for everyone.
- 4:40Speaker 1: And then there's timing, the principle of time.
- 4:43Speaker 2: Yeah, timing is critical in strategy. The source makes a
- 4:46Speaker 2: good point about how the environment changes things. Short competitions
- 4:50Speaker 2: like CCDC might allow for really noisy, aggressive tactics because time.
- 4:56Speaker 1: Is limited, but in the real world.
- 4:57Speaker 2: In the real world, attackers often need to be much
- 5:00Speaker 2: more patient, slow, and low, you know, to maintain access
- 5:03Speaker 2: long term without tripping alarms. Defenders, on the other hand,
- 5:07Speaker 2: use time to build up those complex layered defenses we
- 5:10Speaker 2: talked about gotcha.
- 5:11Speaker 1: And finally, innovation non negotiable.
- 5:14Speaker 2: The source quotes the MMA fighter Georgia Saint Pierre basically
- 5:17Speaker 2: saying standing still is asking for failure. Both sides have
- 5:21Speaker 2: to constantly adapt, create new techniques, find ways around existing.
- 5:25Speaker 1: Ones, because as soon as your trick is known.
- 5:27Speaker 2: It's effectiveness drops sometimes to zero. So if your tool
- 5:30Speaker 2: gets detected, you need a plan B, maybe a Plan C.
- 5:33Speaker 2: You have to pivot fast. That constant need to innovate
- 5:37Speaker 2: really drives this whole adversarial game.
- 5:39Speaker 1: Okay, that gives us a really solid strategic foundation. Now
- 5:44Speaker 1: let's get into the specifics. What does the offensive playbook
- 5:46Speaker 1: actually look like? How do attackers get in, and maybe
- 5:50Speaker 1: more importantly, how do they stay hidden? The source mentioned
- 5:53Speaker 1: a big shift away from like traditional disc forensics.
- 5:57Speaker 2: Yeah, that's a really key point. For a long time
- 5:59Speaker 2: to defenders could often find attacker tools and evidence by
- 6:02Speaker 2: analyzing the hard drive after the fact. You know, dead
- 6:05Speaker 2: disc forensics. Right, So attackers adapted. They started moving their
- 6:08Speaker 2: operations beyond the disc. They operate live in memory in RAM,
- 6:13Speaker 2: and the big difference there is volatility. When the malicious
- 6:16Speaker 2: process stops or the computer reboots, poof the evidence in
- 6:19Speaker 2: RAM is gone. This makes life much much harder for
- 6:23Speaker 2: defenders relying only on those older disc based methods.
- 6:27Speaker 1: Wow, operating purely a memory that sounds like a defender's nightmare.
- 6:30Speaker 1: What kind of techniques do they use for that?
- 6:32Speaker 2: Well, process injection is a really common one. The basic
- 6:35Speaker 2: idea is to run your malicious code, often something called
- 6:37Speaker 2: shell code, which is just low level machine instructions inside
- 6:41Speaker 2: the memory space of a completely legitimate, trusted process that's
- 6:45Speaker 2: already running.
- 6:46Speaker 1: So instead of running like Evil dot ex. They sneak
- 6:50Speaker 1: their code into something that looks normal. Maybe explore dot
- 6:54Speaker 1: ex on Windbows exactly.
- 6:56Speaker 2: That. The whole point is deception. It makes the malicious
- 6:59Speaker 2: activity look like it's part of a normal, trusted program,
- 7:02Speaker 2: so it's way harder for security tools to flag it.
- 7:04Speaker 2: S suspicious. Very common on Windows, and there are different
- 7:07Speaker 2: ways to do it, like DLL.
- 7:08Speaker 1: Injection DL injection.
- 7:10Speaker 2: Yeah, injecting a malicious dynamic link library a DLL file
- 7:14Speaker 2: into another process is memory space, so that process loads
- 7:17Speaker 2: and runs the malicious code.
- 7:18Speaker 1: Okay, so they're hiding where their code is running, but
- 7:21Speaker 1: they still need to communicate back home right to their
- 7:24Speaker 1: command and control server, their C two. How do they
- 7:26Speaker 1: hide that?
- 7:27Speaker 2: Ah? Right, that's where covert C two comes in command
- 7:30Speaker 2: and control. They need to maintain that connection for instructions
- 7:34Speaker 2: and sending data back, but without their network traffic setting
- 7:37Speaker 2: off alarms. So they try to make it blend in.
- 7:39Speaker 1: Oh, by using protocols you'd expect to see anyway.
- 7:42Speaker 2: Precisely tunneling their C two data over common stuff like ICMP,
- 7:47Speaker 2: which is normally used for ping requests or DNS, the
- 7:50Speaker 2: Domain Name lookup system, the source mentions tools like ikempdoor,
- 7:55Speaker 2: or how the popular C two framework Sliver can use
- 7:58Speaker 2: DNS for its C two channel.
- 7:59Speaker 1: There was that specific example, and the source about Sliver
- 8:02Speaker 1: and innovation wasn't there.
- 8:03Speaker 2: Yes, good point. It mentions that Sliver's default setting for
- 8:06Speaker 2: checking in over DNS might be, say, every second, which
- 8:10Speaker 2: is pretty frequent. Potentially noisy on a network.
- 8:12Speaker 1: Could get spotted. Good.
- 8:13Speaker 2: Yeah, But because Sliver is often open source, an attacker
- 8:17Speaker 2: can just go into the code and change that interval,
- 8:19Speaker 2: maybe make it check in only every sixty seconds or
- 8:21Speaker 2: even longer. Slower, but stealthier, much stealthier. It's a perfect
- 8:25Speaker 2: example of that principle of innovation in action, taking an
- 8:29Speaker 2: existing tool, tweaking it slightly based on defensive knowledge, and
- 8:33Speaker 2: making it way harder to detect.
- 8:35Speaker 1: That's fascinating. Such a small change, big impact. Okay, so
- 8:38Speaker 1: they're in their communicating stealthily.
- 8:41Speaker 2: Yeah.
- 8:41Speaker 1: What about covering their tracks after they've done something on
- 8:44Speaker 1: a system?
- 8:44Speaker 2: Yeah, this is crucial if they want to stick around.
- 8:47Speaker 2: Remember non repudiation, the logs being the defender's eyes. Will
- 8:51Speaker 2: attackers know that? So clearing logs is a fundamental offensive technique.
- 8:55Speaker 1: How do they do that? Just delete the files?
- 8:57Speaker 2: Sometimes it's that crude, but smart attackers use more sophisticated methods,
- 9:02Speaker 2: especially on Windows. Tools like event cleaner might use Windows
- 9:06Speaker 2: API functions to manipulate the event log files directly, sometimes
- 9:10Speaker 2: bypassing the usual ways files are locked, making it harder
- 9:12Speaker 2: to spot the tampering. The source even mentions older techniques
- 9:16Speaker 2: that could modify specific records or fix id numbers to
- 9:19Speaker 2: make it look.
- 9:19Speaker 1: Seamless, wow actually rewriting the history inside the logs, but
- 9:23Speaker 1: the source said defenders can sometimes still spot this often.
- 9:26Speaker 2: Yes, if you look closely, you might see gaps in
- 9:29Speaker 2: record numbers, or the file size or modification times might
- 9:33Speaker 2: look weird. On Linux, maybe they just pipe logs through
- 9:36Speaker 2: e repdac V to filter out their activity, but that
- 9:39Speaker 2: can leave traces.
- 9:39Speaker 1: Too, So a more subtle.
- 9:41Speaker 2: Way, the source suggests backdooring the service that creates the
- 9:45Speaker 2: logs in the first place, like using a modified Apache
- 9:48Speaker 2: web server module. A patchy to backdoor mod is mentioned
- 9:51Speaker 2: that just doesn't write log entries for the attackers' specific actions.
- 9:55Speaker 1: Ah, so the incriminating log entries never even created. Much
- 9:58Speaker 1: harder to find what.
- 9:59Speaker 2: Isn't there exactly, and that leads into the last big
- 10:02Speaker 2: hiding technique mentioned root kits.
- 10:04Speaker 1: Root kits that sounds serious It can be.
- 10:07Speaker 2: Broadly speaking, root kits are techniques designed to actively change
- 10:10Speaker 2: how the operating system or defensive tools perceive the system state.
- 10:15Speaker 2: Their goal is to hide the attacker's presence, their files,
- 10:17Speaker 2: their running processes, network connections, you name it.
- 10:20Speaker 1: So they're not just hiding passively. They're actively manipulating what
- 10:23Speaker 1: the system reports, like lying to tools like task manager
- 10:27Speaker 1: or else.
- 10:28Speaker 2: That's the core idea. Whether it's deep down in the
- 10:31Speaker 2: kernel or using user level tricks, the goal is deception,
- 10:35Speaker 2: make the malicious stuff invisible to standard system checks. Another
- 10:39Speaker 2: direct hit on that principle of deception.
- 10:41Speaker 1: Understanding all these offensive moves must be critical for the defenders.
- 10:45Speaker 2: Oh absolutely, You can't build effective defenses if you don't
- 10:48Speaker 2: understand how the attackers think and what techniques they're likely
- 10:51Speaker 2: to use, which brings.
- 10:52Speaker 1: Us perfectly to the defensive side of things. The source
- 10:56Speaker 1: really hammers home that difficulty defenders face. They have to
- 11:00Speaker 1: be right essentially one hundred percent of the time stop
- 11:02Speaker 1: every attack, but the offense they just need one success
- 11:06Speaker 1: one way in.
- 11:07Speaker 2: It's a fundamental asymmetry, a real challenge and That's why
- 11:10Speaker 2: the source emphasizes that preparation is paramount for defenders. You
- 11:14Speaker 2: have to patiently, methodically build your defenses. The analogy used
- 11:18Speaker 2: is like a spider building a web, but maybe a
- 11:19Speaker 2: web with many, many.
- 11:20Speaker 1: Layers, so that concept of defense in depth precisely.
- 11:24Speaker 2: The goal isn't always to prevent that initial breach, because
- 11:27Speaker 2: sometimes you just can't. It's about having multiple layers of
- 11:30Speaker 2: detection and control so you can spot the attacker as
- 11:33Speaker 2: they try to move deeper into the network or achieve
- 11:36Speaker 2: their objectives.
- 11:36Speaker 1: And preparing for the inevitable.
- 11:38Speaker 2: Yes, preparing your response processes too, because realistically you will
- 11:41Speaker 2: get compromised at some point. Knowing what to do when
- 11:44Speaker 2: that happens is just as vital as trying to prevent it.
- 11:47Speaker 1: Okay, so how do they build this defensive web and
- 11:51Speaker 1: how do they spot the attacker moving around inside? It
- 11:54Speaker 1: sounds like it all comes down to data data.
- 11:56Speaker 2: It really does. Defenders are hugely reliant on monitoring and logging,
- 12:00Speaker 2: collecting as much relevant data as possible from everywhere they.
- 12:03Speaker 1: Can, starting on the individual computers, the endpoints.
- 12:06Speaker 2: YEP host based data. This is where modern EDR endpoint
- 12:10Speaker 2: detection and response platforms are so important. Tools like oscary,
- 12:14Speaker 2: gr Rapid Response, Wazoo, velociraptor. There are great open source
- 12:19Speaker 2: options plus commercial ones.
- 12:20Speaker 1: What did These eder tools give.
- 12:22Speaker 2: You incredible visibility, detailed telemetry about processes like what programs started, what,
- 12:28Speaker 2: what files did it touch? What network connections did it make?
- 12:31Speaker 2: They also look at behavior spotting anomalies, and many offer
- 12:35Speaker 2: live response capabilities, letting defenders investigate or contain a machine remotely.
- 12:40Speaker 1: So it's not just about looking for known bad files,
- 12:43Speaker 1: it's watching what things do exactly.
- 12:46Speaker 2: Watching behavior is key and all this data is also
- 12:49Speaker 2: crucial for threat hunting, where analysts proactively search through the
- 12:53Speaker 2: data using hypotheses about potential threats. Looking for subtle signs
- 12:57Speaker 2: of compromise that might not have triggered an automated alert.
- 13:00Speaker 1: Makes sense, but you also need eyes on the traffic
- 13:03Speaker 1: between machines right absolutely.
- 13:04Speaker 2: Network based data is the other critical piece. You get
- 13:07Speaker 2: this by setting up network taps or using inline devices
- 13:10Speaker 2: like firewalls or intrusion prevention systems IPS. These let you
- 13:14Speaker 2: see the traffic flowing across the network.
- 13:16Speaker 1: And the sorts had that analogy, Yeah, it was a
- 13:18Speaker 1: good one.
- 13:19Speaker 2: Host data is like finding a needle in a haystack.
- 13:21Speaker 2: Sometimes network data is more like watching the traffic on
- 13:25Speaker 2: a highway. You can spot unusual patterns like unexpected connections
- 13:30Speaker 2: between servers, data moving where it shouldn't, or those covert
- 13:33Speaker 2: C two channels we talked about.
- 13:35Speaker 1: Okay, and the tools mentioned here were things like snort
- 13:38Speaker 1: cercata Zeke for analyzing protocols, and wire shark or t
- 13:43Speaker 1: shark for really deep packet inspection. Controlling those network joke
- 13:47Speaker 1: points seems vital.
- 13:49Speaker 2: It really is, and you can't forget application logs either.
- 13:52Speaker 1: Logs from specific programs.
- 13:53Speaker 2: Right logs from your security tools themselves, email gateways, web
- 13:57Speaker 2: application firewalls, wafs, but also so logs from your core
- 14:01Speaker 2: business applications think e commerce platforms, internal APIs. These can
- 14:06Speaker 2: show things like weird log in patterns, super fast browsing
- 14:09Speaker 2: that looks like scraping, or other signs of abuse.
- 14:12Speaker 1: Okay, that is a mountain of data coming from endpoints,
- 14:14Speaker 1: the network applications. How on earth do defenders actually make
- 14:18Speaker 1: sense of it all.
- 14:18Speaker 2: That's where SIME and SORE platforms come in. SIME stands
- 14:22Speaker 2: for Security Information and Event Management, SAR is security orchestration
- 14:26Speaker 2: automation and response tools like Splunk or the open source
- 14:30Speaker 2: ELK stack Elastic Search Logstash cabana, sometimes called HLK. They
- 14:36Speaker 2: exist to pull all this diverse log data into one central.
- 14:39Speaker 1: Place, so you can actually search across everything at once.
- 14:41Speaker 2: Yes, and maybe even more importantly, you can correlate events
- 14:44Speaker 2: across different data sources. A single weird login attempt from
- 14:48Speaker 2: the firewall might not be alarming. But if you see
- 14:51Speaker 2: that plus some strange process starting on the target machine
- 14:54Speaker 2: in your EDER logs at the exact same time.
- 14:56Speaker 1: Okay, now that looks suspicious exactly.
- 14:58Speaker 2: That correlation is powerful. This is where defenders can figure alerts,
- 15:02Speaker 2: often using complex logic. If you see event A and D,
- 15:05Speaker 2: event boor event C, then trigger an alert.
- 15:08Speaker 1: And the sore part adds automation like playbooks.
- 15:11Speaker 2: Right, If a really high confidence alert fires, a saucer
- 15:15Speaker 2: system can automatically run a predefined playbook. Maybe it quarantines
- 15:20Speaker 2: the affected computer off the network, blocks the suspicious IP
- 15:23Speaker 2: address at the firewall, or temporarily disables the user's account,
- 15:27Speaker 2: all without needing immediate human intervention.
- 15:30Speaker 1: Okay, So all this infrastructure, the data collection, the sign
- 15:33Speaker 1: the alerts, it's all geared towards finding the threat. The
- 15:37Speaker 1: source really emphasizes that idea, no normal find evil.
- 15:41Speaker 2: It's a fundamental concept in defense. If you have a
- 15:44Speaker 2: solid understanding of what normal, legitimate activity looks like on
- 15:48Speaker 2: your network and your systems, what processes usually run, who
- 15:52Speaker 2: usually logs in from where, what traffic patterns are typical,
- 15:55Speaker 2: then the anomalies the evil will stand out much more clearly.
- 15:57Speaker 1: It requires baselining, and once they do find a threat,
- 16:01Speaker 1: The source talks about the importance of root cause analysis
- 16:03Speaker 1: or RCA. Why is digging into the how so critical?
- 16:07Speaker 2: Because just kicking the attacker out isn't enough if you
- 16:09Speaker 2: don't figure out how they got in originally. Was it
- 16:11Speaker 2: a phishing link, an unpatched server, stolen credentials, You haven't
- 16:15Speaker 2: fixed the underlying vulnerability.
- 16:17Speaker 1: And they'll just get back in the same way exactly.
- 16:19Speaker 2: You have to close the door they used, otherwise you're
- 16:22Speaker 2: just playing whack a mole. RCA is about learning from
- 16:25Speaker 2: the incident to prevent it from happening.
- 16:26Speaker 1: Again, and defenders use all this data and analysis to
- 16:30Speaker 1: try and spot the attacker's attempts at deception, like the
- 16:33Speaker 1: root kits and covert c two.
- 16:35Speaker 2: We discussed absolutely. Detecting root kits might involve looking for
- 16:39Speaker 2: weird inconsistencies like a process is running but doesn't show
- 16:43Speaker 2: up in task manager, or you can CD into a
- 16:46Speaker 2: directory that sells claims doesn't exist. For covert C two,
- 16:51Speaker 2: they might use frequency analysis on DNS requests, looking for
- 16:54Speaker 2: hosts making unusually regular lookups, or analyzed traffic patterns for
- 16:58Speaker 2: other anomalies.
- 16:59Speaker 1: I thought it was interesting that source also mentioned defenders
- 17:02Speaker 1: using deception themselves.
- 17:03Speaker 2: Yeah, fighting fire with fire, right, Yeah, deploying deception technologies
- 17:07Speaker 2: like honeypots. These are decoy systems deliberately made to look
- 17:10Speaker 2: attractive to attackers, like bait exactly. They sit there looking vulnerable,
- 17:14Speaker 2: and the moment an attacker touches them, alarms go off.
- 17:17Speaker 2: Tools like teapotter artillery can set these up, or you
- 17:20Speaker 2: can use honey tokens things like fake awskeys, fake database credentials,
- 17:26Speaker 2: or even fake user accounts scattered around.
- 17:28Speaker 1: And if anyone tries.
- 17:29Speaker 2: To use them, bingo, you know someone's poking around where
- 17:32Speaker 2: they shouldn't be. It turns the attacker's own methods against them.
- 17:35Speaker 1: Clever, Okay, So an attacker is found, maybe the root
- 17:39Speaker 1: cause is being investigated. What are the immediate actions defenders.
- 17:44Speaker 2: Take response and containment. You need to stop the bleeding
- 17:48Speaker 2: and get the attacker out. This can range from simple
- 17:50Speaker 2: things like killing their processes kill nine toutch nine on
- 17:53Speaker 2: Linux as the classic, or blocking their IP addresses using
- 17:57Speaker 2: firewall rules like with iptables. More significant yeah like network
- 18:01Speaker 2: quarantine taking the compromise machine completely off the main network.
- 18:05Speaker 2: This stops the attacker from using it to jump to
- 18:07Speaker 2: other systems lateral movement while the security team investigates and
- 18:11Speaker 2: cleans it up.
- 18:12Speaker 1: The source also mentioned ways to lock down files even
- 18:14Speaker 1: if the attacker gets high privileges.
- 18:16Speaker 2: Right using native OS features. On Linux, there's a command
- 18:20Speaker 2: chat wise plus I. Setting the immutable flag on a
- 18:24Speaker 2: file means nobody, not even the root user, can modify
- 18:27Speaker 2: or delete it without first removing that flag. It's a
- 18:30Speaker 2: great way to protect critical configuration files.
- 18:33Speaker 1: Or logs, simple but effective, and limiting the blast radius
- 18:37Speaker 1: if they do get in.
- 18:38Speaker 2: Using techniques like crute. This basically creates a little jail
- 18:42Speaker 2: for a process, restricting its view of the filesystem to
- 18:45Speaker 2: just one specific directory. So if an attacker compromises, say
- 18:49Speaker 2: a web server running inside a cruite jail, for Verlado.
- 18:53Speaker 2: They can only see and affect files within Varderdoo. They
- 18:56Speaker 2: can't easily access the rest of the system.
- 18:58Speaker 1: Not perfect security, but slows them exactly.
- 19:01Speaker 2: It limits the scope of the compromise. And of course
- 19:03Speaker 2: a crucial step is always rotating any passwords or credentials
- 19:06Speaker 2: that might have been exposed during the incident.
- 19:08Speaker 1: Okay, we've covered a lot of the tactical back and forth,
- 19:11Speaker 1: but the source also widens the lens a bit. Talks
- 19:14Speaker 1: about this ongoing intelligence war.
- 19:16Speaker 2: Yeah, both sides are constantly doing research and gathering intel.
- 19:19Speaker 2: For attackers, it's offensive research before they even launch an attack.
- 19:24Speaker 2: They're mapping the target's network, trying to understand user privileges,
- 19:28Speaker 2: figuring out the org chart for potential social engineering targets.
- 19:32Speaker 1: Why do they do that?
- 19:33Speaker 2: Tools like Bloodhound are amazing for visualizing relationships in Windows
- 19:37Speaker 2: active directory environments, finding attack paths. They might scrape internal
- 19:42Speaker 2: company wikis if they get access, look for leaked passwords online,
- 19:46Speaker 2: or use tools like Hydra to try and guest passwords
- 19:49Speaker 2: by spraying common ones across many.
- 19:51Speaker 1: Accounts, basically casing the joint before the break.
- 19:54Speaker 2: In pretty much, and defenders are doing their own defensive
- 19:56Speaker 2: research and threat hunting. This involves threat modeling basically trying
- 20:00Speaker 2: to think like an attacker, where are weak spots, how
- 20:02Speaker 2: would someone try to.
- 20:03Speaker 1: Get in, anticipating moves right, and.
- 20:05Speaker 2: Threat hunting, which we touched on proactively searching through all
- 20:09Speaker 2: that log data for signs of threats based on the
- 20:12Speaker 2: latest intelligence about attacker techniques or just based on security hypotheses.
- 20:16Speaker 1: The source had that example of the University Virginia CCDC
- 20:20Speaker 1: team building their own tool, blue Spawn.
- 20:23Speaker 2: Yeah, that's a perfect illustration. They were in these competitions,
- 20:26Speaker 2: they saw common attack techniques and they used their research
- 20:29Speaker 2: time to build a tool specifically to detect that stuff automatically.
- 20:33Speaker 2: That's defensive innovation driven by understanding the offense, and.
- 20:37Speaker 1: That innovation cycle just keeps spinning, right. The source mentioned
- 20:40Speaker 1: that rocket Chat zero day from the CPTC competition.
- 20:43Speaker 2: Oh yeah, that was wild. It showed how valuable research
- 20:47Speaker 2: during downtime can be. Some students basically found a brand
- 20:51Speaker 2: new vulnerability, a zero day in the rocket Chat software
- 20:55Speaker 2: by digging into an API function and finding a flawed
- 20:58Speaker 2: assumption the developers made and.
- 20:59Speaker 1: They use did during the competition against.
- 21:01Speaker 2: The competition's own infrastructure. Yeah, it was a powerful demo
- 21:04Speaker 2: of deep research finding unexpected flaws. The source also brings
- 21:08Speaker 2: up things like dependency hijacking or supply chain attacks like
- 21:12Speaker 2: that work by Alex Persan exactly. He showed you could
- 21:15Speaker 2: sometimes trick companies internal build systems into pulling malicious code
- 21:20Speaker 2: from public package repositories like piper I or NPM, just
- 21:24Speaker 2: by giving your malicious package a higher version number than
- 21:27Speaker 2: the real internal one. Now defenders use tools like repodiff
- 21:31Speaker 2: to try and spot suspicious changes in dependencies.
- 21:35Speaker 1: It shows attackers are looking at every single step in
- 21:37Speaker 1: the process, not just the final application. The source also
- 21:41Speaker 1: touched on more advanced ways attackers hide where they're coming from.
- 21:44Speaker 2: Yeah, going beyond just basic VPNs or tour we're talking
- 21:48Speaker 2: about building complex anonymity networks, chaining multiple encrypted tunnels through
- 21:52Speaker 2: different cloud providers for instance.
- 21:54Speaker 1: Why has that helped them.
- 21:55Speaker 2: Because no single provider sees the whole picture. The entry
- 21:58Speaker 2: point doesn't know the final destination and the exit point
- 22:00Speaker 2: doesn't know the original source. It makes tracing the traffic
- 22:03Speaker 2: back incredibly difficult.
- 22:05Speaker 1: And those specialized competition networks like CCDC's grid.
- 22:09Speaker 2: That simulates millions of fake Internet addresses in a real
- 22:13Speaker 2: attack that could be like using a massive botnet. It
- 22:17Speaker 2: just overwhelms simple defenses like IP address blocking. It forces
- 22:21Speaker 2: defenders to look beyond simple indicators like IPS and focus
- 22:24Speaker 2: more on behaviors.
- 22:26Speaker 1: And even hiding data within other data stiganography.
- 22:29Speaker 2: YEP, hiding messages or code inside image files, maybe by
- 22:33Speaker 2: slightly altering the color values of pixels a significant bit
- 22:36Speaker 2: or LSB stignography, or even hiding commands and seemingly innocent
- 22:40Speaker 2: text files using whitespace or special control characters. The tool
- 22:44Speaker 2: packet whisper was mentioned using DNS combined with a cipher
- 22:47Speaker 2: to hide stuff in subdomain lookups.
- 22:49Speaker 1: So many layers of hiding. Okay, Finally, the source talks
- 22:53Speaker 1: about what happens after an incident is over the aftermath,
- 22:56Speaker 1: right the post mortem.
- 22:57Speaker 2: This is absolutely crucial, and the source stress is it's
- 23:00Speaker 2: not about blaming people. It's a structured review of what happens.
- 23:04Speaker 1: That's the goal.
- 23:05Speaker 2: To map out the timeline, confirm the root cause analysis
- 23:08Speaker 2: super important again, to prevent it from happening again, and
- 23:10Speaker 2: identify areas where processes or tools could be improved. It
- 23:14Speaker 2: should be a brainstorming session learning from the experience, and.
- 23:17Speaker 1: The source also highlighted publishing results sharing the intel.
- 23:21Speaker 2: Yes, this is huge for the whole community. It connects
- 23:24Speaker 2: to that military concept the F three eight cycle. Find, fix, finish, exploit, analyze,
- 23:30Speaker 2: and crucially disseminate. Share what you learned, like.
- 23:34Speaker 1: The FireEye example after Solar.
- 23:35Speaker 2: Winds perfect example. When FireEye shared the technical details, the
- 23:39Speaker 2: indicators of compromise IOCs, and the attacker techniques they discovered,
- 23:44Speaker 2: it allowed thousands of other organizations worldwide to check their
- 23:48Speaker 2: own systems. It created a kind of herd immunity, uncovering
- 23:52Speaker 2: related compromises and massively boosting collective defense. Sharing makes everyone stronger.
- 23:57Speaker 1: That makes total sense. Wow. Okay, that really was a
- 24:00Speaker 1: deep dive into this world of adversarial tradecraft. Pulling directly
- 24:04Speaker 1: from this source material, we've seen the core principles, the
- 24:06Speaker 1: offense trying to get in and hide, the defense trying
- 24:08Speaker 1: to detect and respond, and this constant intelligence battle driving innovation.
- 24:13Speaker 2: It really hammers home just how dynamic cybersecurity is, doesn't it.
- 24:17Speaker 2: It's not static. Both sides are constantly learning, adapting, pushing
- 24:21Speaker 2: the boundaries. You really have to understand your opponent's likely
- 24:25Speaker 2: moves their playbook, whether you're trying to build defenses or
- 24:29Speaker 2: well test them, and.
- 24:31Speaker 1: Hopefully getting this clearer picture of the strategies, the specific techniques,
- 24:36Speaker 1: and those underlying principles gives you, our listener a better framework,
- 24:40Speaker 1: maybe helps you cut through some of the jargon, understand
- 24:43Speaker 1: the news reports about breaches a bit better, and just
- 24:45Speaker 1: appreciate the complexity behind the headlines.
- 24:47Speaker 2: Yeah, and thinking about that relentless cycle, the innovation, the adaptation,
- 24:52Speaker 2: and you know, just the raw human creativity involved in
- 24:55Speaker 2: both breaking systems and defending them, it kind of leaves
- 24:58Speaker 2: you with a big question, doesn't it.
- 25:00Speaker 1: What's that? Well?
- 25:00Speaker 2: How do organizations, how do we make sure our defenses
- 25:03Speaker 2: can actually keep pace, not just with the threats we
- 25:06Speaker 2: already know about, but with the completely unpredictable innovative stuff
- 25:10Speaker 2: that attackers will inevitably come up with next. What does
- 25:14Speaker 2: that constant pressure to adapt really mean for how we
- 25:17Speaker 2: allocate resources, how we build our defensive strategies in the
- 25:20Speaker 2: real world. It's a tough one.