โŒ

Reading view

Detection Engineering: Stop Drowning in Alerts and Start Catching Bad Guys

Detection engineering is both a role and an activity. Itโ€™s the discipline of building and maintaining the logic that identifies malicious or risky behavior within your organization. Itโ€™s where security analysis meets software engineering, turning raw logs and telemetry into actionable detections that defenders can rely on.

Detection engineers bridge the gaps between security operations, threat intelligence, and infrastructure. They understand how attackers operate, how defenders respond, and how systems generate the data that supports those detections. A well-built detection can mean the difference between an alert that matters and one that drowns in noise.

Precision and Recall: The Balancing Act

Every detection faces a trade-off between precision and recall.

Precision measures how much you can trust your alerts: of everything that fired, how much was actually malicious? High precision = fewer false positives = analysts trust the tool.

Recall measures how much youโ€™re catching: of everything malicious that happened, how much did you detect? High recall = fewer blind spots = threats donโ€™t slip through.

Detection engineering lives in the tension between the two: too much precision risks missing subtle threats; too much recall floods analysts with false positives. The goal is calibration through testing, iteration, and feedback.

Core Components of Detection Engineering

1. Scoping and Prioritization

Start with intent. What are you trying to detect, and why? Define the threats, behaviors, or assets that matter most, then align your work with frameworks such as MITRE ATT&CKยฎ. Evaluate risk and value to determine which detections provide the highest impact for the effort required. Prioritize based on business importance and available telemetry.

2. Data and Telemetry

Great detections rely on great data. Keep inventory of your logs. Validate that each contains the data you need. Normalize and enrich your logs so detections remain consistent across tools and environments. Understanding how logs are generated is essential to writing logic that fits your environment.

3. Detection Logic Development

This is where hypothesis meets code. Write queries or rules that detect behaviors, not just static indicators. Combine multiple approaches:

  • Signatures for known indicators of compromise (IoCs)
  • Behavioral logic for Tactics, Techniques, and Procedures (TTPs) and patterns
  • Anomaly models for statistical outliers

4. Testing and Validation

Use adversary emulations or frameworks like Atomic Red Team to verify that your detections actually fire and your logging is working. Measure quality through precision, recall, and additional factors like confidence (how certain you are itโ€™s malicious) and criticality (how severe the impact would be).

5. Deployment and Tuning

Monitor performance, including trigger frequency, false positive rates, and analyst response time. Detection engineering is iterative and ongoing, not โ€œwrite once and done.โ€

6. Documentation and Knowledge Transfer

Good detections come with context. Record what the detection looks for, why it matters, what data it uses, and how it was tested. Version control your rules using Git and promote collaboration so analysts, hunters, and engineers can learn from one another. Playbooks and detection libraries ensure institutional knowledge does not disappear when staff change roles.

7. Metrics and Continuous Improvement

Track measurable outcomes such as coverage across ATT&CKยฎ techniques, number of validated detections, false positive rates, and mean time to detect. Regularly retire stale detections, update ones that drift, and automate validation wherever possible. Detection-as-Code practices keep everything maintainable and scalable.

Building the Skillset

Detection engineering requires a strong foundation in logging, security tooling, and incident response. You should understand when itโ€™s best to detect, when to block, and how to use data sources effectively.

Whether youโ€™re building your first rule or managing hundreds, the mindset remains the same: test everything, learn constantly, and make each detection better than the last.

Get Started

Explore resources like:

detectionengineering.net and SigmaHQ.

Follow community leaders like:

Zack Allen (Detection Engineering Weekly) and Haider Dost (Threat Detection Maturity Framework).

Study detections and see how others approach logic design at:

research.splunk.com

Read:

Practical Threat Detection Engineering.

For more resources check out:

https://bit.ly/notlogic


  •  

The Art of the Badge: A Hard Truth About Physical Security

He walked into the lobby with a fake badge clipped to his shirt. He had bought it online the week before. It was not perfect, and it did not need to be. From a few feet away, it looked close enough: a logo, a name, a photo, and a lanyard. The kind of thing most people glance at for half a second before their brain decides, โ€œLooks fine.โ€

The post The Art of the Badge: A Hard Truth About Physical Security appeared first on Black Hills Information Security, Inc..

  •  

Communicating Security to the C-Suite: A Strategic Approachย 

Engaging with the C-suite is not just about addressing security concerns or defending budget requests. It's about establishing and maintaining an ongoing discussion that aims to align security objectives with the interests of the business.ย ย 

The post Communicating Security to the C-Suite: A Strategic Approachย  appeared first on Black Hills Information Security, Inc..

  •  

Gone Phishing: Installing GoPhish and Creating a Campaign

GoPhish provides a nice platform for creating and running phishing campaigns. This blog will guide you through installing GoPhish and creating a campaign.ย 

The post Gone Phishing: Installing GoPhish and Creating a Campaign appeared first on Black Hills Information Security, Inc..

  •  

Introduction to Zeek Log Analysis

In this video, Troy Wojewoda discusses the intricacies of Zeek log analysis, focusing on how this network security monitoring system can be used to understand traffic and analyze logs effectively.

The post Introduction to Zeek Log Analysis appeared first on Black Hills Information Security, Inc..

  •  

Rotating Your Passwords After a Password Manager Breach

| Ethan Robish Itโ€™s been nearly a year since Lastpass was breached and usersโ€™ encrypted vaults were stolen.ย  I had already migrated to a different password manager for all my [โ€ฆ]

The post Rotating Your Passwords After a Password Manager Breach appeared first on Black Hills Information Security, Inc..

  •  

Field Guide to the Android Manifest File

Every Android application has a โ€œmanifest.xmlโ€ file located in the root directory of the APK. (Remember APKs are just zip files.) The manifest file is like a guide to the application.

The post Field Guide to the Android Manifest File appeared first on Black Hills Information Security, Inc..

  •  

Your Browser is Not a Safe Space

Corey Ham // Tl;drย ย  Use a password manager instead of browser storage for passwords, credit card numbers, and other autofill items. ย  Personal security: Do not save anything sensitive in [โ€ฆ]

The post Your Browser is Not a Safe Space appeared first on Black Hills Information Security, Inc..

  •  

The DNS over HTTPS (DoH) Mess

Joff Thyer // I woke up this Monday morning thinking that itโ€™s about time I spent time looking at my Domain Name Service (DNS) configuration in my network. (This thought [โ€ฆ]

The post The DNS over HTTPS (DoH) Mess appeared first on Black Hills Information Security, Inc..

  •  

Fixing Content-Security-Policies with Cloudflare Workers

Kent Ickler // Background Over four years ago now, I wrote a blog post on fixing missing Content-Security-Policy by updating configuration on webservers: https://www.blackhillsinfosec.com/fix-missing-content-security-policy-website/. Content-Security-Policies instruct a userโ€™s web browser [โ€ฆ]

The post Fixing Content-Security-Policies with Cloudflare Workers appeared first on Black Hills Information Security, Inc..

๐Ÿ’พ

  •  

Tap Into Your Valuable DNS Data

Joff Thyer // The Domain Name System (DNS) is the single most important protocol on the Internet. The distributed architecture of DNS name servers and resolvers has resulted in a [โ€ฆ]

The post Tap Into Your Valuable DNS Data appeared first on Black Hills Information Security, Inc..

  •  

The RDP Through SSH Encyclopedia

Carrie Roberts //* I have needed to remind myself how to set up RDP access through an SSH connection so many times that Iโ€™ve decided to document it here for [โ€ฆ]

The post The RDP Through SSH Encyclopedia appeared first on Black Hills Information Security, Inc..

  •  

Small and Medium Business Security Strategies: Part 5

Jordan Drysdale// tl;dr Inventory management and personnel management are critical to making this work. Often, the difference between your company becoming a statistic and catching someone with a foothold in [โ€ฆ]

The post Small and Medium Business Security Strategies: Part 5 appeared first on Black Hills Information Security, Inc..

  •  

PODCAST: Sacred Cash Cow Tipping 2019

Yet again it is time for another edition of Sacred Cash Cow Tipping! Or, โ€œWhy do these endpoint security bypass techniques still work? Why?โ€ The goal of this is to [โ€ฆ]

The post PODCAST: Sacred Cash Cow Tipping 2019 appeared first on Black Hills Information Security, Inc..

๐Ÿ’พ

  •  

Webcast: Sacred Cash Cow Tipping 2019

John Strand // Yet again it is time for another edition of Sacred Cash Cow Tipping! Or, โ€œWhy do these endpoint security bypass techniques still work? Why?โ€ The goal of [โ€ฆ]

The post Webcast: Sacred Cash Cow Tipping 2019 appeared first on Black Hills Information Security, Inc..

  •  

A Career in Information Security: FAQ (Part 2)

Staff// If you missed part one, you can get caught up here:ย www.blackhillsinfosec.com/a-career-in-information-security-faq-part-1/ Letโ€™s jump straight back in to the Q & A! 4)What are some of the college courses that [โ€ฆ]

The post A Career in Information Security: FAQ (Part 2) appeared first on Black Hills Information Security, Inc..

  •  

PODCAST: John Strandโ€™s 5 Year Plan into InfoSec Part 2

John Strand shares some of his own journey into information security and also his ideas and tips for those wanting to get into the industry from the start, or those [โ€ฆ]

The post PODCAST: John Strandโ€™s 5 Year Plan into InfoSec Part 2 appeared first on Black Hills Information Security, Inc..

๐Ÿ’พ

  •  
  •  

WEBCAST: Highly Caffeinated InfoSec

Beau Bullock & Mike Felch// Ways to Learn More, Network, and Wake Up Your Inner Hacker Whether you are brand new to InfoSec or a skilled veteran there are ways [โ€ฆ]

The post WEBCAST: Highly Caffeinated InfoSec appeared first on Black Hills Information Security, Inc..

  •  
โŒ