Emulator · a console game on PC
detection-as-code
by WoodyCode23 · github.com/WoodyCode23/detection-as-code
0stars on GitHub
December 3, 2026last update
Pythonlanguage
MITlicense
What it is
Sentinel KQL detections as code, tested in CI on the Kusto emulator. Focus: AI coding agent and MCP misuse.
From its README: The query that runs in CI is byte-for-byte the query that runs in Sentinel. No ingestion, nothing to clean up, and tests run in parallel.
- Rule schema, test runner, CI on the Kusto emulator
- First rules: LSASS comsvcs, agent credential access, unapproved MCP servers
- More AI agent rules: agent shells making first-seen outbound connections, agents editing their own config or hooks, MCP config files changed outside the client
- Sysmon and Defender for Endpoint variants (parent command line closes two documented gaps)
- Export rules to Sentinel ARM (python -m dac export) and Bicep for the lab infrastructure
- Deploy from CI to the lab workspace (needs a federated Azure identity; manual infra/deploy.sh works today)
- Linux rules on syslog from the VPS
- Response pipelines: simulated end to end, connectors dry-run (live during the Sentinel trial)
- Claude-powered triage: take a Sentinel incident, pull related events, write an evidence-backed summary that cites the rows it used
Get it
Port Tracker never links downloads. Get it only from the project’s own repository and its Releases page; files offered in comments or on file hosts are a common scam.