Every SOC has one. The KQL query nobody dares touch. Eleven joins, three nested let statements, a where clause that was clearly written at 4 a.m. by someone who has since left the company, and a comment that says “do not remove, breaks prod”. It is in production. It is “approved”. Nobody on the review board can tell you what it detects. Welcome to detection engineering’s most popular control: vibes-based peer review.

Executable Is Not Understood
The industry has spent a decade building tools that help you write logic. Editors, autocomplete, converters, generators. Almost nothing helps a human work out what the logic does after it has aged into something cursed. So reviewers do what reviewers always do: scroll, squint, see that it returns rows in the test tenant, and click Approve. That isn’t review. That’s a notary stamp on a document nobody read.
Complexity accretes. A rule starts as a clean idea, then gets a join for a false positive, an exclusion for a noisy admin, and a second exclusion for the first exclusion. A year later it is a stack of hidden assumptions, and the only person who understood it is on a beach, ignoring your Teams messages.
Meet the Logic Deconstructor
HEFAISTOS has a page for exactly this misery. It’s called the Logic Deconstructor. Paste a detection rule (KQL, SPL, Wazuh, whatever you’ve been hoarding) or give it a rule URL. Pick your own AI model, because we aren’t going to force a provider on you. Hit Run Deconstruction. The point is to turn “executable” into “inspectable”: a readable account of what the logic does, how its branches fit together, and what it quietly assumes.
It sits where the pain actually lives: between implementation and review. Rule Hub holds the artifact, Workbench Detail is where it was engineered, and the Deconstructor is what you open when somebody needs to understand the thing before approving, tuning, or inheriting it.
Where It Fits in the Review Lifecycle
HEFAISTOS has a real Peer Review lifecycle: PEER REVIEW, then APPROVED or IN RESEARCH, then DEPLOYED. A lifecycle is only as honest as the reading behind each transition. If the reviewer can’t explain the logic, “approved” means “nobody objected loudly”. The Deconstructor gives the reviewer something to argue with: this branch assumes the account is a service principal; is that true for your tenant? That’s a review. “LGTM” isn’t.
- Handoff: the next engineer reads an explanation instead of doing archaeology.
- Tuning: you can’t cut false positives from logic you can’t describe.
- AI-generated rules: yes, HEFAISTOS can help generate logic. That makes an independent explanation of what was generated more necessary, not less.
The Honest Caveats
We said we’d confess our sins, so here they are. The Deconstructor uses your AI provider, and the page itself warns that AI prompts may be subject to charge. An LLM explaining a rule is a reading aid, not an oracle. It can misread intent, and if you treat its output as ground truth you’ve simply swapped one rubber stamp for a shinier one. Use it to get to the questions faster, then validate the answers against telemetry and a real test. Also, when no model is set, the page cheerfully tells you “Your selected model is Not set”. Set one. We can’t read your mind, and neither can your reviewers.
Stop Approving What You Can’t Explain
If nobody can say in plain language what a rule does, it has no business in production, and the length of its history isn’t a defense. Deconstruct it, document the assumptions, and fix or kill it. Your future on-call self will send flowers.
Happy hunting.
Featured image generated using Artificial Intelligence (EU AI Act transparency notice).