Practical security engineering: Stateful detection
Elastic Security Labs presents a detection engineering methodology called 'stateful detection' that formalizes security monitoring across three states: creation (configuration), runtime (execution), and cleanup (covering tracks). Using T1015 (Accessibility Features abuse via Image File Execution Options) as a case study, the post demonstrates how to build EQL detection rules for each state to close detection gaps, particularly for backdoors established weeks or months prior and for attackers who sanitize their presence.