[{"data":1,"prerenderedAt":556,"buildId":557},["ShallowReactive",2],{"blog-posts":3},[4],{"id":5,"title":6,"body":7,"category":530,"date":531,"description":532,"draft":533,"extension":534,"links":535,"meta":542,"navigation":543,"path":544,"pinned":533,"seo":545,"stem":546,"summary":547,"tags":548,"technologies":552,"__hash__":555},"blog\u002Fblog\u002Ftesting-detections-for-trust.md","A Detection That Has Never Been Tested Is Not a Detection You Can Trust",{"type":8,"value":9,"toc":517},"minimark",[10,22,25,28,31,36,39,42,51,54,60,64,67,129,132,135,139,142,145,148,182,185,188,254,257,260,267,271,274,277,321,324,327,331,334,337,369,372,375,380,383,386,481,484,488,491,511],[11,12,13,14,21],"p",{},"Detection engineering has become an increasingly important part of modern security operations. Organizations invest in SIEM platforms, endpoint detection and response (EDR), threat intelligence (TIP), detection content, and dedicated engineering teams to identify malicious activity across their environments. As these capabilities mature, organizations often begin measuring their detection posture through the number of deployed detections, mapped ",[15,16,20],"a",{"href":17,"rel":18},"https:\u002F\u002Fattack.mitre.org\u002F",[19],"nofollow","MITRE ATT&CK"," techniques, and the breadth of their monitoring coverage.",[11,23,24],{},"These metrics are useful, but they can create a false sense of security.",[11,26,27],{},"A detection being deployed doesn't mean it works. A detection mapped to an ATT&CK technique doesn't mean that technique is effectively covered. And a detection that successfully generated an alert during a test doesn't necessarily mean it will identify the activity when it occurs in the real environment.",[11,29,30],{},"Detection engineering should not end when a rule is written, deployed, and enabled. It should be supported by testing, evidence, and continued validation to establish that the detection performs as intended.",[32,33,35],"h2",{"id":34},"deployment-is-not-validation","Deployment Is Not Validation",[11,37,38],{},"Detection coverage is often measured through deployed analytics, use-case inventories, and mappings to frameworks such as MITRE ATT&CK. These are valuable tools for organizing detection capabilities, identifying gaps, prioritizing engineering efforts, and communicating coverage across an organization. ATT&CK mappings provide useful context for understanding the behaviors an organization is attempting to detect and where additional detection opportunities may exist.",[11,40,41],{},"However, mapped coverage alone doesn't demonstrate detection effectiveness. A detection may be deployed, mapped to a technique, and contribute to reported coverage without having been tested to determine whether it actually identifies the intended behavior.",[11,43,44,45,50],{},"For example, MITRE ATT&CK's ",[15,46,49],{"href":47,"rel":48},"https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1059\u002F",[19],"Command and Scripting Interpreter (T1059)"," encompasses a broad range of interpreters, including PowerShell, Windows Command Shell, Unix Shell, Python, JavaScript, and others. An analytic mapped to T1059 may effectively detect suspicious PowerShell execution while providing no visibility into activity involving other interpreters represented by the technique.",[11,52,53],{},"The mapping itself remains valuable, but it doesn't necessarily reflect the breadth of behavior a detection has been validated to identify. This distinction matters when coverage metrics are used to communicate security capabilities or inform risk-based decisions. If coverage metrics suggest that a behavior is monitored when the detection has never been validated, that perception can influence incident response, risk decisions, and where additional engineering effort is allocated.",[11,55,56],{},[57,58,59],"strong",{},"Deployment establishes implementation. Validation provides evidence of effectiveness.",[32,61,63],{"id":62},"what-does-detection-testing-actually-prove","What Does Detection Testing Actually Prove?",[11,65,66],{},"Not all detection testing validates the same things. The method used determines what can actually be demonstrated, from basic rule correctness to detection of real activity within an environment.",[68,69,70,86],"table",{},[71,72,73],"thead",{},[74,75,76,80,83],"tr",{},[77,78,79],"th",{},"Testing method",[77,81,82],{},"What it validates",[77,84,85],{},"What it doesn't prove",[87,88,89,103,116],"tbody",{},[74,90,91,97,100],{},[92,93,94],"td",{},[57,95,96],{},"Syntax validation",[92,98,99],{},"Rule structure, query syntax, and compatibility with the target platform.",[92,101,102],{},"That the detection matches relevant events or identifies malicious activity.",[74,104,105,110,113],{},[92,106,107],{},[57,108,109],{},"Logic validation",[92,111,112],{},"Detection behavior against known events, test cases, or replayed data, including expected matches and non-matches.",[92,114,115],{},"That the required telemetry is generated, collected, or representative of real activity.",[74,117,118,123,126],{},[92,119,120],{},[57,121,122],{},"Behavioral validation",[92,124,125],{},"Detection of controlled activity through the telemetry pipeline, including event generation, collection, ingestion, and analytic execution.",[92,127,128],{},"Detection of every variation, implementation, or execution path associated with the behavior.",[11,130,131],{},"These methods are complementary. Syntax validation can identify implementation errors, logic validation can establish how an analytic behaves against known inputs, and behavioral validation can demonstrate detection of activity within a tested environment.",[11,133,134],{},"The appropriate level of testing depends on the detection's purpose, risk, dependencies, and the evidence needed to establish confidence in its effectiveness.",[32,136,138],{"id":137},"detection-starts-with-telemetry","Detection Starts with Telemetry",[11,140,141],{},"A detection cannot identify activity it cannot observe.",[11,143,144],{},"Before evaluating analytic logic, security teams must establish that the environment generates the telemetry required by the detection, collects it, and makes it available for analysis. If any of these dependencies fail, the detection may never have an opportunity to evaluate the activity.",[11,146,147],{},"Detection failures can occur at several points before the analytic is executed:",[149,150,151,158,164,170,176],"ul",{},[152,153,154,157],"li",{},[57,155,156],{},"Asset visibility",": The organization doesn't know an asset exists, so it may not be monitored or onboarded",[152,159,160,163],{},[57,161,162],{},"Telemetry generation",": The asset is known, but required auditing, logging, or instrumentation isn't enabled",[152,165,166,169],{},[57,167,168],{},"Collection",": Events are generated but not collected or forwarded",[152,171,172,175],{},[57,173,174],{},"Ingestion and parsing",": Events arrive but are dropped, incorrectly parsed, normalized incorrectly, or missing required fields",[152,177,178,181],{},[57,179,180],{},"Analytic evaluation",": The telemetry is available, but the detection logic fails to match the activity",[11,183,184],{},"This is why asset visibility and telemetry coverage are foundational to detection engineering. An organization cannot reliably monitor assets it doesn't know it owns, and a detection cannot operate as intended if the data it depends on is unavailable.",[11,186,187],{},"Telemetry availability depends on both the source and its configuration. Collecting a log source doesn't necessarily mean the events or fields required by a detection are available.",[68,189,190,203],{},[71,191,192],{},[74,193,194,197,200],{},[77,195,196],{},"Log source",[77,198,199],{},"Detection dependency",[77,201,202],{},"Potential visibility gap",[87,204,205,228,241],{},[74,206,207,212,225],{},[92,208,209],{},[57,210,211],{},"Windows Security",[92,213,214,219,220],{},[15,215,218],{"href":216,"rel":217},"https:\u002F\u002Flearn.microsoft.com\u002Fwindows\u002Fsecurity\u002Fthreat-protection\u002Fauditing\u002Fevent-4688?utm_source=chatgpt.com",[19],"Event ID 4688"," requires process creation auditing. ",[15,221,224],{"href":222,"rel":223},"https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fwindows-server\u002Fidentity\u002Fad-ds\u002Fmanage\u002Fcomponent-updates\u002Fcommand-line-process-auditing?utm_source=chatgpt.com",[19],"Command-line visibility requires additional policy configuration.",[92,226,227],{},"Process creation may be logged without the command-line arguments needed by the detection.",[74,229,230,235,238],{},[92,231,232],{},[57,233,234],{},"Palo Alto Traffic logs",[92,236,237],{},"Network session, connection, and traffic attributes.",[92,239,240],{},"Threat-specific inspection information may not be available from traffic logs alone.",[74,242,243,248,251],{},[92,244,245],{},[57,246,247],{},"Palo Alto Threat logs",[92,249,250],{},"Threat detections and security inspection results.",[92,252,253],{},"Session or traffic context may require correlation with Traffic logs.",[11,255,256],{},"Telemetry validation should therefore be specific to the detection's requirements. It is not enough to confirm that a log source is onboarded or that events are appearing in the SIEM. Engineers should verify that the required event types are generated, that the necessary fields are available, and that the telemetry covers the assets where the detection is expected to operate.",[11,258,259],{},"Asset criticality and logging priorities may also influence telemetry requirements. Organizations with constraints around ingestion volume or cost may prioritize logging according to risk, ensuring that high-impact assets receive the telemetry coverage required to support critical detections. A domain controller, for example, may warrant broader logging coverage than a lower-risk network device.",[11,261,262,263,266],{},"Ultimately, ",[57,264,265],{},"telemetry coverage is a prerequisite for detection coverage",". A detection's effectiveness cannot be evaluated independently of the data and environment it relies upon.",[32,268,270],{"id":269},"testing-has-limitations","Testing Has Limitations",[11,272,273],{},"Successful validation demonstrates that a detection worked under the conditions tested. It doesn't guarantee that every implementation, environment, or variation of the behavior will be detected.",[11,275,276],{},"Detection logic may rely on specific executables, command-line arguments, event sequences, or other observables. Changes to these behaviors can cause a detection to miss activity despite passing previous tests.",[68,278,279,289],{},[71,280,281],{},[74,282,283,286],{},[77,284,285],{},"Testing limitation",[77,287,288],{},"What it means",[87,290,291,301,311],{},[74,292,293,298],{},[92,294,295],{},[57,296,297],{},"Scenario coverage",[92,299,300],{},"Testing a specific behavior doesn't validate every attack scenario or variation.",[74,302,303,308],{},[92,304,305],{},[57,306,307],{},"Implementation coverage",[92,309,310],{},"A detection may identify one implementation of a behavior while missing alternative tools or execution methods.",[74,312,313,318],{},[92,314,315],{},[57,316,317],{},"Environmental coverage",[92,319,320],{},"Results may not represent every system, configuration, or telemetry source in the environment.",[11,322,323],{},"These limitations should be documented alongside validation results, including the tested scenario, testing method, expected and observed results, date, and known gaps.",[11,325,326],{},"The goal is not to prove that a detection catches every possible variation. It is to establish what it demonstrably detects, identify where coverage remains uncertain, and use that evidence to guide further testing.",[32,328,330],{"id":329},"validation-is-an-ongoing-process","Validation Is an Ongoing Process",[11,332,333],{},"Detection validation is not a one-time activity. Even detections that have been successfully tested can become less effective as environments, telemetry, and adversary methodologies change.",[11,335,336],{},"Detection decay can occur for several reasons:",[149,338,339,345,351,357,363],{},[152,340,341,344],{},[57,342,343],{},"Adversary evolution",": Attackers modify their methodologies, tools, or execution paths, changing the observable behavior that existing detections rely on",[152,346,347,350],{},[57,348,349],{},"Logging changes",": Auditing configurations or logging policies change, resulting in events no longer being generated",[152,352,353,356],{},[57,354,355],{},"Schema changes",": Fields are renamed, deprecated, moved, or modified",[152,358,359,362],{},[57,360,361],{},"Pipeline changes",": Parsing, normalization, ingestion, or routing changes affect the data available to detections",[152,364,365,368],{},[57,366,367],{},"Indicator expiration",": IP addresses, domains, hashes, and other indicators become invalid or lose relevance over time",[11,370,371],{},"A detection that successfully passed validation six months ago may no longer function as intended today. Its logic may remain unchanged, but the telemetry it depends on or the behavior it was designed to identify may have changed.",[11,373,374],{},"For this reason, detections should be periodically revalidated and tested following relevant environmental or detection changes.",[376,377,379],"h3",{"id":378},"validation-frequency-should-be-risk-based","Validation frequency should be risk-based",[11,381,382],{},"Not every detection warrants the same validation cadence. Testing frequency should reflect the risk associated with the detection, the behavior it covers, its dependencies, and the likelihood that its effectiveness has changed.",[11,384,385],{},"Factors influencing validation frequency include:",[68,387,388,401],{},[71,389,390],{},[74,391,392,395,398],{},[77,393,394],{},"Factor",[77,396,397],{},"Consideration",[77,399,400],{},"Example",[87,402,403,416,429,442,455,468],{},[74,404,405,410,413],{},[92,406,407],{},[57,408,409],{},"Criticality",[92,411,412],{},"What is the impact if the detection fails?",[92,414,415],{},"A detection protecting domain controllers or privileged authentication receives more frequent validation.",[74,417,418,423,426],{},[92,419,420],{},[57,421,422],{},"Risk covered",[92,424,425],{},"What threat or attack path does it address?",[92,427,428],{},"Detections covering credential theft or lateral movement may warrant higher priority.",[74,430,431,436,439],{},[92,432,433],{},[57,434,435],{},"Exposure",[92,437,438],{},"How likely is the behavior to target the environment?",[92,440,441],{},"A publicly exposed service may warrant more frequent validation of detections associated with its exploitation.",[74,443,444,449,452],{},[92,445,446],{},[57,447,448],{},"Dependencies",[92,450,451],{},"How likely are its telemetry or platform dependencies to change?",[92,453,454],{},"A detection dependent on endpoint agent telemetry may need revalidation following an agent or logging configuration change.",[74,456,457,462,465],{},[92,458,459],{},[57,460,461],{},"Previous results",[92,463,464],{},"Has the detection repeatedly failed or required tuning?",[92,466,467],{},"A detection with recurring false negatives or frequent tuning may warrant more frequent testing.",[74,469,470,475,478],{},[92,471,472],{},[57,473,474],{},"Threat evolution",[92,476,477],{},"Has the behavior changed or become more relevant?",[92,479,480],{},"Newly observed adversary techniques may require revisiting existing detection logic and validation scenarios.",[11,482,483],{},"These factors should inform a risk-based validation schedule, supplemented by revalidation when relevant changes occur to detection logic, telemetry, or the environment.",[32,485,487],{"id":486},"conclusion","Conclusion",[11,489,490],{},"Detection engineering doesn't end when an analytic is written and deployed. Confidence in a detection comes from understanding what it detects, validating the telemetry it depends on, and recognizing the limitations of that validation.",[149,492,493,499,505],{},[152,494,495,498],{},[57,496,497],{},"Deployment is not effectiveness."," Coverage mappings and enabled analytics are useful indicators, but they are not substitutes for testing.",[152,500,501,504],{},[57,502,503],{},"Validation provides evidence, not guarantees."," Testing demonstrates detection under specific conditions, not every possible implementation or variation.",[152,506,507,510],{},[57,508,509],{},"Detection validation must be ongoing."," Changes to telemetry, environments, detection logic, and adversary behavior can invalidate previous results.",[11,512,513,514],{},"A detection is only as trustworthy as the evidence supporting it, and that evidence needs to remain current. ",[57,515,516],{},"A detection that has never been tested is not a detection you can trust. And a detection that was tested once is not necessarily one you can still trust today.",{"title":518,"searchDepth":519,"depth":519,"links":520},"",2,[521,522,523,524,525,529],{"id":34,"depth":519,"text":35},{"id":62,"depth":519,"text":63},{"id":137,"depth":519,"text":138},{"id":269,"depth":519,"text":270},{"id":329,"depth":519,"text":330,"children":526},[527],{"id":378,"depth":528,"text":379},3,{"id":486,"depth":519,"text":487},"Detection Engineering","2026-11-30","Detection engineering has become an increasingly important part of modern security operations. Organizations invest in SIEM platforms, endpoint detection and response (EDR), threat intelligence (TIP), detection content, and dedicated engineering teams to identify malicious activity across their environments. As these capabilities mature, organizations often begin measuring their detection posture through the number of deployed detections, mapped MITRE ATT&CK techniques, and the breadth of their monitoring coverage.",false,"md",[536,539],{"label":537,"to":538},"Atomic Red Team","https:\u002F\u002Fwww.atomicredteam.io\u002F",{"label":540,"to":541},"Apache CALDERA","https:\u002F\u002Fgithub.com\u002Fapache\u002Fcaldera",{},true,"\u002Fblog\u002Ftesting-detections-for-trust",{"title":6,"description":532},"blog\u002Ftesting-detections-for-trust","Detection engineering is not simply the creation and deployment of analytics. It is the ongoing process of demonstrating that an organization can identify relevant behavior through its available telemetry and deliver actionable alerts to the people responsible for responding.",[549,550,551,20],"SIEM","Validation","Visibility",[553,537,554],"Sigma","CALDERA","EuaSZadEdLfHLDY32-dSHW5YZO12XsLtIqjyZYRkq6o",1796269511577,"ff9a9fe8-5400-4c7a-b600-3b1ee9849747"]