Detection-as-Code:
Test Driven Detection
Development
Mauricio Velazco
@mvelazco
#whoami
✘ Threat Research @ Splunk
✘ @mvelazco
✘ Bsides, Derbycon, Defcon, BlackHat
✘ github.com/mvelazc0
1.
Introduction
Threat Detection
Challenges in Detection
https://www.cardinalops.com/siem-industry-research-report
Detection Engineering
Continuous process of building,
deploying, tuning and operating
detection analytics while applying
engineering concepts.
2.
Detection Engineering
Learning From DevOps
Learning From DevOps
Test Detections
Jose Hernandez and Patrick Bareiss, RSA 2020
Detection
Language
Version Control
System
Automated
Workflows
Test-Driven-
Development
Detection as Code Principles
Jose Hernandez and Patrick Bareiss, RSA 2020
Test Driven Development
… software development process
relying on software requirements
being converted to test cases
before software is fully developed…
https://www.kaizenko.com/what-is-test-driven-development-tdd/
Testing Detections
Jose Hernandez and Patrick Bareiss, RSA 2020
Takeaways
Applying engineering practices to
detection programs can improve
your security posture.
To shift to test driven development,
teams need the capability to
replicate attacks.
Detection-as-Code:
Test Driven Detection
Development
Mauricio Velazco
@mvelazco

Detection-as-Code: Test Driven Detection Development.pdf