Threat intel, DFIR
and security notes
Deep-dives, investigation write-ups, tooling notes and transparent product updates from the mlab team. Written for analysts who want the indicators, the method and the fix.
Threat Hunting
Page 1 of 2
User-Agent Analysis: Spotting Bots, Scanners, Scripted Clients and C2
The User-Agent header is attacker-controlled, which makes it useless as proof and surprisingly useful as a hunting lead. How to parse UAs, stack-count them, and catch the mismatches that give away bots, scripts and C2 beacons.

Hunting Persistence on macOS and Linux: Where Attackers Hide and How to Find Them
Most persistence hunting content is written for Windows. Here is the macOS and Linux equivalent: LaunchAgents, login items and BTM, systemd, cron, shell profiles, ld.so.preload, SSH keys and udev, with hunting commands and accurate ATT&CK mappings.

Cloud Threat Hunting: CloudTrail, Entra ID and the M365 Audit Log
In the cloud there is no disk to image and no process tree to walk. The logs are the evidence. Which AWS, Azure, Entra ID and Microsoft 365 events matter most, what they look like when attackers use them, and queries to start hunting today.

Your First Threat Hunt: A Hypothesis-Driven Walkthrough
A start-to-finish first threat hunt for beginners: pick a hypothesis, gather data, write queries, separate signal from admin noise, document findings, and turn results into a durable detection. No expensive tooling required.

Detection as Code: Versioning, Testing, and Shipping Your Rules
Treat your YARA and Sigma rules like software: git workflows, code review, CI validation, unit tests against real samples, staged rollout, and rollback when a rule goes bad.

Living Off the Land: Detecting LOLBins Before They Detect You
Attackers abuse trusted Windows binaries like certutil, mshta and rundll32 to stay invisible. Here is why signatures fail, how to baseline legitimate use, and how to write Sigma that separates admin work from abuse.

Hunting Cobalt Strike: Beacons, Named Pipes, and Malleable Profiles
A hands-on playbook for hunting Cobalt Strike: how Beacon works, network and named pipe signatures, malleable C2 profiles, memory indicators, ready-to-use YARA and Sigma rules, and post-detection triage.

YARA Rules: The Complete Guide for Threat Hunters
Master YARA from zero to hero: full syntax, advanced conditions, modules, optimization and real-world examples to detect malware, ransomware and APTs. A no-nonsense technical guide.

Writing YARA Rules That Don't Melt Your Scanner
Slow YARA rules kill throughput at scale. Learn how the engine really matches with atoms, why short strings and greedy regex hurt, how condition ordering short-circuits work, and how to benchmark and fix your rules.
inkdex: an index that states facts, a scanner that judges them
Studies, benchmarks and build notes. Method first, numbers included, losses too.
Read the latest note