Detection Engineering Tools and Rule Sources
By Ambuj Kumar, CEO
Part of AI Detection Engineering: How AI Tunes and Writes Detection Rules, which gives a short answer to every question in the guide.
What tools do detection engineers use?
Detection engineering tools come in six kinds: the SIEM (security information and event management) system or EDR (endpoint detection and response) tool that runs the rules, a rule format kept in version control, an attack test library, a coverage map, a source of rule content, and, most recently, AI agents that draft and tune rules. Rules run in a SIEM such as Microsoft Sentinel or Splunk, or in an EDR tool such as CrowdStrike Falcon or SentinelOne. Each has its own query language. A Sentinel rule is written in KQL (Kusto Query Language) and a Splunk rule in SPL (Search Processing Language).
Teams with more than one engine often write in the vendor-neutral Sigma format and keep the files in Git. Simbian's AI Detection Engineering Agent tunes existing rules in a connected SIEM and writes new ones in that SIEM's query language, and each rule stays a candidate until a human approves it.
Coverage is usually tracked in ATT&CK Navigator, the open-source viewer for MITRE ATT&CK, the public catalog of attacker techniques. For testing, Atomic Red Team (an open-source library of attack tests mapped to ATT&CK) and MITRE Caldera generate the attack activity a rule should fire on. Rule content comes from the SIEM vendor, the SigmaHQ repository, or a provider such as SOC Prime.
What role does an EDR/XDR tool play in detection engineering?
In detection engineering, an EDR (endpoint detection and response) or XDR (extended detection and response) tool supplies the endpoint telemetry that many rules depend on, and it is also a place where detection rules run. Process creation with the full command line and parent process, file writes, and registry changes all come from the EDR sensor.
The vendor's built-in detections ship with the product, and many can't be read or edited. Custom rules sit on top, for example custom IOA (indicator of attack) rules in CrowdStrike or custom detection rules written in KQL (Kusto Query Language) in Microsoft Defender. A custom rule in the EDR runs close to the data and can trigger a response on the host, but it sees only what that vendor's sensor collects, so a rule that has to join endpoint activity with identity or cloud logs usually belongs in the SIEM (security information and event management) system.
Check what the EDR forwards to the SIEM. Many teams forward only the alerts because raw endpoint telemetry is so large, and then a SIEM rule that queries process events has nothing to read.
When should security teams prioritize building detection infrastructure versus buying it?
Security teams should prioritize building detection infrastructure when they have detection engineers who will maintain it for years and log sources that no product understands, and buy when either of those is missing. The build case is strongest around in-house applications and unusual log formats. A pipeline that one engineer wrote and nobody else can run stalls when that engineer leaves.
It helps to split the question by layer. The engine that stores logs and runs queries is almost always bought, since very few teams write their own SIEM (security information and event management) system, and so are parsers for common sources such as Windows event logs. The rule deployment pipeline, the tests, and the rules for your own applications are where building pays off.
Bought rules still need local work. A purchased rule doesn't know your service accounts, your admin tools, or your scheduled jobs, so somebody has to add the exclusions and confirm the rule still fires on the attack afterwards.
With a product, look at whether the rules it manages can be read, edited, and exported, and whether it works on the SIEM already in place or needs the logs moved somewhere else. Detection logic that can't be read can't be reviewed.
Where do you get reliable detection rules from?
Reliable detection rules come from the rule set that ships with your detection tools, public repositories, paid detection content providers, and rules written from the attacks and logs in your own environment. Elastic's prebuilt detection rules and the analytics rule templates in the Microsoft Sentinel content hub ship with the SIEM (security information and event management) system, the SigmaHQ repository is the main public source, and SOC Prime is a paid provider.
A rule from your own environment starts from something that happened on your network. The AI Detection Engineering Agent writes rules of this kind, and only on telemetry the environment already collects. A rule written from a SOC (security operations center) alert or a threat hunt finding stays a candidate until a human approves it, and a rule written because a pentest proved an attack that raised no alert deploys automatically or after human approval, whichever the customer chooses.
Whichever source a rule comes from, it has to be checked against the logs and noise of the environment it will run in. A well-written public rule still fails where its data isn't logged. Check that the exact fields an imported rule reads exist in your data. Read the metadata as well. Sigma rules carry a status field (such as experimental, test, or stable), a list of known false positives, and a modified date, and a rule marked experimental that nobody has touched in years deserves a test before it goes near the alert queue.
How do you prioritize prebuilt detection rules when there are hundreds to choose from?
Prioritize prebuilt detection rules by filtering on the logs you collect first, then on the attacker techniques most likely to be used against you, and enable what is left in small batches. Turning on everything the vendor ships fills the alert queue, and analysts stop trusting the whole rule set.
Start with data sources. Most vendor rule sets tag each rule with the integration or index it needs, so rules for cloud services you don't run can be dropped. A rule with no matching data enables without complaint and never fires. Then remove the rules that duplicate a behavior your EDR (endpoint detection and response) tool already alerts on.
What remains can be ordered by threat. Rules for techniques named in recent advisories for your sector go first, along with rules for stages most intrusions pass through, such as credential access and lateral movement. The vendor's severity label was written without knowledge of your environment.
Before a batch reaches analysts, look at what it would have matched. Several SIEM (security information and event management) products can preview a rule against past data, and that preview shows which rules need an exclusion on day one.
Rules that are already enabled and noisy usually deserve attention before new ones do.
What's the difference between a detection content vendor's claimed ATT&CK coverage and the coverage actually deployed and validated in my environment?
A vendor's claimed MITRE ATT&CK coverage counts techniques with at least one rule tagged in its library, and validated coverage counts techniques where a rule is enabled in your SIEM (security information and event management) system, has its logs, and has been shown to fire. MITRE ATT&CK, the public catalog of attacker techniques, is the grid both figures are counted on, and the second figure, taken from your own SIEM, is usually much smaller.
| Claimed coverage | Deployed and validated coverage |
|---|---|
| A rule in the vendor's library is tagged with the technique | A rule for the technique is enabled in your SIEM |
| The rule's log sources are assumed | The logs the rule needs are collected |
| One tagged rule marks the whole technique | The technique was run and an alert fired |
Some of the library's rules query log sources you don't collect. Others were never enabled, or were disabled after a noisy week. Tagging flatters the map as well, since a single rule for encoded PowerShell commands marks the whole PowerShell technique as covered while most other PowerShell abuse goes unseen.
To get from the claimed figure to your own, take the vendor's coverage layer and strike every technique whose rules need data you don't have, then every technique with no enabled rule. Test what remains by running the technique, for example with an attack simulation tool or during a pentest, and confirm that an alert fired. Only those techniques count as covered.
Can you do detection engineering without a SIEM?
Yes. Detection engineering needs telemetry, an engine that runs queries against it on a schedule or a stream, and somewhere for the alerts to go, and a SIEM (security information and event management) system is only one way to get those. An EDR (endpoint detection and response) or XDR (extended detection and response) tool supports custom rules over endpoint data. Cloud providers offer native detection services like Amazon GuardDuty, though their detections are written by the provider. Some teams run scheduled queries over a data lake.
The AI Detection Engineering Agent has the same minimum. It works with a connected SIEM, XDR, or EDR and writes each rule in the query language of the tool that will run it, as a candidate until a human approves it, but with no integration connected it has no rules or telemetry to work on.
Without a SIEM each tool sees only its own data, so a rule that needs an identity sign-in and an endpoint process event in the same hour has nowhere to run. Rules end up spread across several consoles. Nobody has a single list of what exists.
How do you store your detection rules?
The most dependable approach to detection rule management, usually called detection as code, is to store each rule as a text file in a version-controlled repository such as Git and deploy to the SIEM (security information and event management) system from there. Alongside the query, the file holds an ID, an owner, the log source, the known false positives, and the technique it maps to in MITRE ATT&CK, the public catalog of attacker techniques.
Teams come to value the commit history later, because it records who changed a threshold, when, and why, as long as the commit message says more than "tuning". Changes go through a pull request so a second person reads the query before it is deployed.
The common failure is an overwrite. Someone edits a rule in the SIEM console during an incident, the repository is never updated, and the next deployment puts the old version back. A regular export and diff against the repository catches it. The AI Detection Engineering Agent syncs every rule your SIEM exposes, two-way and periodically, so a change made in the SIEM shows up in Simbian at the next sync, and the Git-style history starts at the first synced version with who changed the rule and why.
Teams without a repository keep rules only in the SIEM, where the edit history is often thin.
Does sending more logs to the SIEM improve detection?
No. Sending more logs to the SIEM (security information and event management) system improves detection only when a rule or an investigation reads those logs, and when they are parsed into fields a query can use.
Volume by itself adds nothing a rule can fire on.
A few sources earn their place. Process creation events with the command line (Sysmon event ID 1, or Windows Security event ID 4688 with command-line auditing enabled), identity sign-in logs, cloud control plane logs such as AWS CloudTrail, and DNS (Domain Name System) query logs each open up techniques that are otherwise invisible. Verbose firewall allow logs and application debug logs are often forwarded and queried by nothing.
The practical check is a mapping of each log source to the rules that query it, which is also where most SIEM cost optimization work begins. A source with rules behind it stays. A source that no rule, hunt, or investigation has touched in months is a candidate to stop forwarding, or to keep in archive storage for forensics. If the mapping shows a technique you care about with no log source behind it, that is a telemetry gap, and there more logs do improve detection.

