Skip to content
THE EXAMTOPICS EDITORIAL Explore practice exams

MICROSOFT

Microsoft SC-200 Detection Engineering That Holds Up

Detection engineering is where security operations moves from simply receiving alerts to deliberately deciding what evidence should become an alert, how strong that evidence must be, and what an analyst…

Detection engineering is where security operations moves from simply receiving alerts to deliberately deciding what evidence should become an alert, how strong that evidence must be, and what an analyst should see when the alert becomes an incident. For candidates working toward Microsoft SC-200, this is a practical topic rather than a vocabulary exercise. A useful detection must survive noisy telemetry, changing environments, identity context, cloud workloads, and the pressure to reduce false positives without hiding real attacks.

This article stays narrow on that engineering problem. It does not repeat a general exam roadmap. Instead, it follows the decisions that make a detection operational: source quality, rule logic, entity mapping, thresholds, testing, tuning, ownership, and the path from a hypothesis to a maintainable analytic. That focus also matches the direction of the upcoming October 21, 2026 SC-200 skills update, where engineering detections remains part of the security operations role.

Start with a threat hypothesis, not a query

A strong detection begins with a statement that can be disproved. “Detect malicious PowerShell” is too broad because legitimate administrators, deployment tools, and support scripts use PowerShell constantly. A better hypothesis is that an attacker who gains an interactive foothold may launch an unusual interpreter from an office application, retrieve content from an external location, and then create persistence. That hypothesis points to process lineage, command-line data, network activity, identity, and time ordering. The query comes later.

This discipline matters because SC-200 scenarios often combine multiple Microsoft security products. The same account may appear in Entra sign-in data, Defender XDR device telemetry, and Sentinel tables. Candidates who already understand the identity side of Microsoft SC-300 can reason about why a sign-in risk, device event, and privileged role change mean more together than they do independently. Detection engineering is the craft of turning that combined context into a rule that creates useful work for an analyst.

Telemetry quality sets the ceiling

No analytic rule can recover evidence that was never collected. Before tuning KQL, verify that the required sources are connected, timestamps are reliable, fields are populated, retention covers the hunting window, and the schema is stable enough for production use. Missing process command lines, truncated URLs, unparsed JSON, or inconsistent host identifiers can turn a theoretically sound detection into a blind spot. Data health should therefore be part of rule ownership, not a one-time setup task.

A practical review asks which system is authoritative for each fact. Defender for Endpoint may be the best source for process execution on managed devices, while Entra ID is authoritative for sign-ins and token-related identity events. Sentinel can correlate both, but the correlation is only as good as the normalized identifiers and time boundaries. If a rule depends on a field that is sparsely populated, document that dependency and build a fallback rather than assuming the field will always exist.

Choose a rule shape that matches the behavior

Scheduled analytics are useful when evidence can be evaluated over a defined window, especially when the behavior needs aggregation or correlation. Near-real-time logic is better when delay materially increases risk and the signal can be evaluated quickly. The right choice is not “the fastest rule.” It is the rule model that fits the attack behavior, expected data volume, and operational response. A five-minute delay may be acceptable for a low-confidence discovery pattern but unacceptable for an explicit credential-theft indicator followed by privileged access.

Window length and lookback also interact. If a job runs every five minutes but searches only the last five minutes, ingestion delay can cause missed events. A slightly wider lookback can cover that delay, but it creates duplicate-match risk. Mature rules handle this deliberately with event identifiers, bounded joins, or deduplication logic. This is the sort of detail that separates a lab query from a production detection.

Build KQL around evidence and entities

Detection KQL should make the analyst’s next step easier. That means selecting the fields that explain who, what, where, and when; using filters that reduce known noise; and mapping results to meaningful entities such as accounts, hosts, IP addresses, mailboxes, or cloud resources. Entity mapping matters because downstream investigation experiences rely on those objects to connect alerts, incidents, timelines, and related evidence.

Readable queries are easier to tune safely. Use named let statements for reusable sets, project only the fields the rule needs, and make time relationships obvious. If a detection compares current activity with a baseline, separate baseline construction from current-event filtering so reviewers can understand the logic. A terse query that only one author understands becomes operational debt. Detection code should be reviewable by another analyst who was not present when it was written.

Tune false positives without erasing the attack

Noise reduction should be evidence-based. Start by labeling benign matches and looking for stable distinctions: sanctioned automation accounts, approved management hosts, expected geographies, known maintenance windows, or trusted application identifiers. Prefer precise exclusions over broad ones. Excluding an entire administrator group because one service account creates noise can blind the team to exactly the identities an attacker wants to compromise.

A useful mental model is the same least-privilege thinking described in role-based access control: exceptions should be as narrow as the requirement allows. When possible, move recurring benign behavior into a maintained allowlist with an owner and expiration date. An exclusion that never expires can quietly outlive the business process that justified it. Tuning is not the act of making an alert disappear; it is the act of increasing the proportion of alerts that deserve attention.

Test detections with positive and negative cases

A rule should be tested against events that are expected to fire and events that are intentionally similar but benign. Positive tests prove that the essential behavior is recognized. Negative tests prove that normal activity does not collapse into the same result. If a detection depends on a sequence, test missing steps, reversed ordering, and long delays between stages. If it depends on an identity attribute, test accounts that do and do not have the attribute.

Testing also includes operational output. Confirm that alert names are understandable, severity reflects the evidence, mapped entities are correct, tactics and techniques are sensible, and the incident contains enough context to start triage. A detection can be logically correct and still create poor incidents. That gap becomes expensive when analysts have to reconstruct basic facts for every alert.

Treat detections as maintained engineering assets

Production detections need ownership, version history, review criteria, and a retirement path. Changes in product schemas, business processes, attack techniques, or data connectors can invalidate assumptions. A quarterly review may be sufficient for stable rules; high-risk detections or rapidly changing environments may need more frequent checks. Record why the rule exists, which threat behavior it covers, its dependencies, and what would justify a major rewrite or retirement.

This lifecycle view complements the broader preparation sequence in the existing SC-200 roadmap, but the operational emphasis is different: a detection is never “finished” simply because it fired once. Security teams should measure alert volume, true-positive rate, investigation value, and time saved or lost. Those measurements tell you whether the rule is helping the SOC or merely adding another queue.

Work through a full compromise scenario

Consider a scenario in which a user signs in from a new location, obtains a privileged role, and shortly afterward a managed endpoint launches a suspicious process that contacts an unfamiliar domain. A weak approach creates three unrelated alerts. A stronger design correlates identity and endpoint evidence within a bounded time window, maps the account and device, and raises severity when the privileged-role change occurs before the endpoint behavior. The rule can also enrich the incident with sign-in risk, process lineage, and destination context.

Candidates should be able to explain why each evidence source matters and which absence would weaken confidence. Reviewing common attacker behaviors such as those summarized in enterprise security threats can help you practice forming hypotheses, but SC-200 questions reward operational reasoning: what telemetry proves the behavior, how should the rule avoid normal activity, and what evidence should the responder see first?

Study by building and defending your rule choices

For exam preparation, write small detection briefs before writing KQL. State the behavior, required data, entities, time window, exclusions, severity logic, and expected response. Then implement the query and challenge your own assumptions. Ask what normal business activity could match, what ingestion delay could hide, what field could be missing, and what an attacker could change to evade the rule. That exercise is more valuable than memorizing a list of analytics-rule settings.

When you can defend a detection end to end—from hypothesis through data, KQL, entity mapping, testing, tuning, and maintenance—you are working at the level SC-200 scenarios expect. The objective is not to create the cleverest query. It is to create a reliable signal that improves a real investigation.

One additional exercise is to review a detection after the underlying business process changes. Suppose a sanctioned software-deployment platform begins using the same interpreter and network path that your analytic previously treated as suspicious. The wrong response is a blanket process exclusion. A better review identifies a stable attribute of the approved platform—signed binary, managed account, known parent process, or restricted host group—and narrows the exception to that evidence. This preserves the threat behavior while acknowledging the legitimate change.

Also practice explaining detection quality to someone outside the SOC. A useful explanation covers what behavior is being detected, why the evidence indicates risk, how often the rule fires, what benign patterns are excluded, and which response follows. If the rule cannot be explained without reading the KQL line by line, its intent is probably not documented clearly enough for long-term ownership.

Continue exploring the technologies and certification concepts that matter most to you.