Threat Hunting in Microsoft Sentinel: KQL Queries and MITRE ATT&CK Methodology 2026
A practical Microsoft Sentinel hunting workflow with 20 schema-checked KQL examples, current Defender portal guidance, ATT&CK mappings, and false-positive tuning.
Quick answer
Microsoft Sentinel threat hunting uses KQL to test hypotheses about attacker behavior against collected telemetry. Start with a relevant ATT&CK technique, verify the required tables, run a focused query, investigate unusual results, and document the outcome. Use Sentinel hunting bookmarks to preserve evidence and promote reliable findings into tested analytics rules.

What Threat Hunting Is and How It Complements Detection
Threat hunting in Microsoft Sentinel starts with a question about attacker behavior, then tests that question against collected evidence using KQL. An alert can prompt a hunt, but you can also investigate a technique that your current analytics rules do not cover. Microsoft's hunting overview describes this proactive investigation workflow.
This guide preserves the hypothesis, investigation, and detection engineering cycle and adds 20 practical queries grouped by ATT&CK tactic. They are schema-checked hunting examples, not tenant-tested detections. The time windows, thresholds, and keyword lists are starting choices. Change them to match your available telemetry and legitimate activity.
Keep the working assumption of possible compromise, follow evidence that contradicts your hypothesis, and record what you checked. An unusual result is a lead. An empty result establishes only that the query found no matches in the accessible data.
The Threat Hunting Cycle
Use this sequence to keep an investigation bounded. Microsoft documents a related hypothesis-to-investigation workflow in structured hunts.
- Define a testable hypothesis, such as unauthorized scheduled tasks on administrative servers.
- Confirm collection and permissions for the relevant hosts, event types, and period.
- Run a narrow query, inspect raw records, then expand around the affected entities.
- Evaluate supporting evidence, contradictory evidence, and legitimate explanations.
- Escalate confirmed compromise and assess whether the behavior warrants a detection.
- Record the outcome and choose the next hypothesis or collection improvement.
Separate response from detection engineering. If you discover active compromise, preserve the evidence and follow your incident process immediately. The Azure incident response playbook provides a structured next step. A future analytics rule does not contain the current intrusion.
Hypothesis-Driven vs Data-Driven Hunting
A hypothesis-driven hunt starts with a behavior: an attacker might add credentials to an application they control. A data-driven hunt starts with an observation: an application has an unfamiliar credential-management event. Both approaches should converge on an explanation that you can challenge.
| Dimension | Hypothesis-driven approach | Data-driven approach |
|---|---|---|
| Starting point | Threat report or suspected technique | Outlier or unfamiliar activity |
| First task | Identify observable evidence | Establish what the record means |
| Main pitfall | Searching only for confirmation | Equating novelty with compromise |
| Useful outcome | Supported or unsupported hypothesis | Explained behavior or focused hypothesis |
Choose a question your telemetry can answer. Do not rank approaches by supposed return on investment or assume that anomaly hunting avoids bias. Asset ownership, collection quality, and the analyst's interpretation affect both.
MITRE ATT&CK as the Hunting Backbone
ATT&CK provides behavior names and identifiers, such as PowerShell, T1059.001. Use these mappings to organize hypotheses and communicate coverage. A query tagged with a technique is not proof that you detect every implementation of that technique.
The library uses the current tactic labels on the linked MITRE pages. For example, Mshta is under Stealth, while clearing Windows logs is under Defense Impairment. Older material may use Defense Evasion and older identifiers. Check the current technique before copying a label into a saved hunt or rule.
Choose the Right Hunting Experience
Microsoft Sentinel is available in the Microsoft Defender portal. Microsoft's current notice says that after March 31, 2027, Sentinel will no longer be supported in the Azure portal and will be available only in the Defender portal. Plan around that documented date rather than older migration deadlines.
There are distinct hunting experiences within the Defender portal:
- Microsoft Sentinel > Threat management > Hunting provides Sentinel hunting queries, structured hunts, and bookmarks.
- Hunting > Advanced hunting provides the unified query experience for accessible Defender and connected Sentinel data.
Microsoft explains how Sentinel data appears in Advanced hunting. Connecting a workspace exposes its accessible content there. It does not automatically make raw Defender tables available in workspace Logs; that requires the relevant ingestion configuration. Permissions and workload data still determine what you can query. The Sentinel versus Defender XDR comparison explains their complementary roles.
Hunting Queries, Hunts, and Bookmarks
In Sentinel's Hunting page, the Queries tab includes queries installed through Content hub solutions and custom content. Avoid assuming a fixed built-in query count. Microsoft documents creating and cloning custom hunting queries, including entity and ATT&CK mappings. Structured hunts remain labeled preview in the hunts documentation.
Bookmarks preserve selected results, the query, and investigation context. Add notes, map entities, and link relevant findings to incidents. Microsoft explicitly says bookmarks are unavailable in Advanced hunting but remain available in Sentinel's dedicated Hunting experience. Do not promise the same bookmark action in both interfaces. In Advanced hunting, the documented Link to incident feature offers a separate way to associate results with incidents.
Livestream Is No Longer Available
The current hunting overview says Sentinel livestreams are no longer available. It points to KQL jobs, analytics rules, or playbooks for query automation and notifications. These serve different operational needs; choose the supported mechanism that fits your workflow rather than describing a replacement as identical live monitoring.
The Defender portal migration guide can help you inventory saved content and workflow dependencies before changing how your team hunts.
Validate Data and KQL Before Interpreting Results
The library labels workspace queries as Workspace Logs and endpoint queries as Defender Advanced hunting. Connected Sentinel tables can also be queried in unified Advanced hunting when supported and accessible. Keep the table's documented event-time column: workspace examples use TimeGenerated; native endpoint examples use Timestamp.
Confirm the actual schema, newest event time, expected source population, and representative records before hunting. A table can exist while the relevant hosts, subscriptions, applications, or event types are absent. In particular, Windows audit events depend on audit policy and collection configuration. Microsoft's Windows Security Events connector guidance explains collection choices. The Sentinel data collection lesson helps turn a missing-data finding into a collection task.
There is a specific unified hunting caveat: when Defender tables are filtered during streaming to Sentinel, an explicit time predicate can cause the query to use that filtered streamed data. Microsoft recommends the editor's time dropdown when you need the complete available native Defender period. The endpoint examples below use Timestamp for an explicit window; in that filtered-streaming configuration, adapt them according to the documented time-filter guidance before interpreting missing results.
Learn where, project, summarize, extend, bin, and join before building complex correlations. The KQL quick reference describes these operators, and the KQL fundamentals lesson provides practice. Filter early and project useful evidence rather than every field. Microsoft's query best practices explain why selective filters reduce work.
Practical KQL Library Grouped by ATT&CK Tactic
Run each query separately. These examples deliberately expose evidence for review rather than assigning a malicious verdict. The numeric knobs are illustrative, including the seven-day lookback, five-identity spray threshold, and download volume threshold. Validate them against your own distributions. The dcount function estimates distinct counts; do not interpret a threshold boundary as an exact forensic count.
Credential Access
1. One Address Failing Across Several Identities
Workspace Logs, SigninLogs schema. Hunt for potential password spraying, T1110.003. Nonzero ResultType includes failures beyond incorrect passwords, so this is a candidate-finding query, not a spray verdict.
SigninLogs
| where TimeGenerated > ago(7d)
| where ResultType != "0"
| where isnotempty(IPAddress) and isnotempty(UserPrincipalName)
| summarize Failures=count(), Users=dcount(UserPrincipalName),
Codes=make_set(ResultType, 20)
by IPAddress, bin(TimeGenerated, 15m)
| where Users >= 5
| order by Users descTune false positives by inspecting failure codes and separating shared proxies, known testing, and broken applications. Investigate successful sign-ins from the same address. Distributed or slow spraying can evade this grouping.
2. Command Lines Suggesting an LSASS Dump
Defender Advanced hunting, DeviceProcessEvents schema. Hunt for command lines associated with LSASS Memory, T1003.001, rather than claiming to observe memory access directly.
DeviceProcessEvents
| where Timestamp > ago(7d)
| where ProcessCommandLine contains "lsass"
| where FileName startswith "procdump"
or ProcessCommandLine contains "comsvcs.dll"
| project Timestamp, DeviceId, DeviceName, AccountName,
FileName, ProcessCommandLine, InitiatingProcessFileName
| order by Timestamp descTune against approved diagnostic tools and support activity. Check the parent, dump-file evidence, and operator authorization. Renamed tools, direct memory access, and command lines without these strings remain outside this query.
3. RC4 Service Tickets Requiring Kerberoasting Review
Workspace Logs, WindowsEvent schema. This requires domain controller Security events actually collected into WindowsEvent, not an assumed copy of SecurityEvent. The named EventData fields come from Microsoft's event 4769 reference.
WindowsEvent
| where TimeGenerated > ago(7d)
| where Channel == "Security" and EventID == 4769
| extend Encryption=tostring(EventData.TicketEncryptionType),
Requester=tostring(EventData.TargetUserName),
Service=tostring(EventData.ServiceName),
SourceIP=tostring(EventData.IpAddress)
| where Encryption =~ "0x17"
| summarize Requests=count(), Services=dcount(Service),
ServiceSamples=make_set(Service, 20)
by Requester, SourceIP, bin(TimeGenerated, 1h)
| order by Requests descThe hypothesis is Kerberoasting, T1558.003. RC4 is not proof: legacy dependencies can explain it, and other ticket encryption types do not exclude the technique. Verify raw EventData population, account history, and service requests before narrowing the hunt.
Initial Access
4. Successful Cloud Sign-Ins From a New Address
Workspace Logs, SigninLogs schema. Investigate possible abuse of Cloud Accounts, T1078.004. This compares a recent period with preceding history, not a global known-bad address list.
let KnownPairs = SigninLogs
| where TimeGenerated between (ago(30d) .. ago(1d))
| where ResultType == "0"
| where isnotempty(UserId) and isnotempty(IPAddress)
| distinct UserId, IPAddress;
SigninLogs
| where TimeGenerated > ago(1d)
| where ResultType == "0"
| where isnotempty(UserId) and isnotempty(IPAddress)
| join kind=leftanti (KnownPairs) on UserId, IPAddress
| project TimeGenerated, UserId, UserPrincipalName,
IPAddress, AppDisplayName, DeviceDetailTune for VPNs, travel, dynamic addresses, and new users. Missing baseline history produces misleading novelty. Check authentication details and subsequent actions; this does not detect impossible travel or prove account theft.
Execution
5. Encoded PowerShell Commands
Defender Advanced hunting, DeviceProcessEvents schema. Hunt for a recognizable command-line form of PowerShell, T1059.001.
DeviceProcessEvents
| where Timestamp > ago(7d)
| where FileName in~ ("powershell.exe", "pwsh.exe")
| where ProcessCommandLine matches regex
@"(?i)(^|\s)[/-](enc|encodedcommand)(\s|:)"
| project Timestamp, DeviceId, DeviceName, AccountName,
ProcessCommandLine, InitiatingProcessFileNameTune with approved automation and parent processes. This intentionally matches selected switch forms, not every abbreviation or obfuscation. Decode suspicious content in an isolated analysis workflow without executing it.
6. Office Applications Launching PowerShell
Defender Advanced hunting, DeviceProcessEvents schema. Investigate PowerShell, T1059.001 launched directly by selected Office applications.
DeviceProcessEvents
| where Timestamp > ago(7d)
| where InitiatingProcessFileName in~
("winword.exe", "excel.exe", "powerpnt.exe", "outlook.exe")
| where FileName in~ ("powershell.exe", "pwsh.exe")
| project Timestamp, DeviceId, DeviceName, AccountName,
InitiatingProcessFileName, ProcessCommandLineTune for documented macros and business workflows. Inspect the originating document and subsequent network activity. Intermediate child processes can break this direct-parent pattern, so expand the process tree during investigation.
7. WMI Provider Spawning a Shell
Defender Advanced hunting, DeviceProcessEvents schema. Investigate Windows Management Instrumentation, T1047. The current MITRE tactic is Execution; this record alone does not establish remote lateral movement.
DeviceProcessEvents
| where Timestamp > ago(7d)
| where InitiatingProcessFileName =~ "wmiprvse.exe"
| where FileName in~ ("powershell.exe", "pwsh.exe", "cmd.exe")
| project Timestamp, DeviceId, DeviceName, AccountName,
FileName, ProcessCommandLine, InitiatingProcessCommandLineTune for inventory and software-management systems using known hosts and command patterns. Correlate with authentication and management activity before identifying a remote source or treating a WMI child as malicious.
Persistence
8. Newly Created Scheduled Tasks
Workspace Logs, SecurityEvent schema. Microsoft defines event 4698 as scheduled-task creation. Investigate Scheduled Task, T1053.005.
SecurityEvent
| where TimeGenerated > ago(7d)
| where EventID == 4698
| project TimeGenerated, Computer, Account, Activity, EventData
| order by TimeGenerated descTune against deployment and maintenance activity. Inspect task content and executable paths in the original record. EventData is a string in this table, so do not access EventData.TaskName as a dynamic property. A task's namespace alone does not establish trust.
9. Application Credential Management
Workspace Logs, AuditLogs schema. Use documented Entra audit activity names to hunt for Additional Cloud Credentials, T1098.001.
AuditLogs
| where TimeGenerated > ago(7d)
| where ActivityDisplayName in~ (
"Add service principal credentials",
"Update application - Certificates and secrets management")
| where Result =~ "success"
| project TimeGenerated, ActivityDisplayName, InitiatedBy,
TargetResources, CorrelationId, ResultTune for approved rotations and deployment identities. Inspect changed properties to distinguish additions from other credential-management changes. This focused activity list is not comprehensive application persistence coverage; inspect your tenant's operation vocabulary too.
Privilege Escalation
10. Entra Role Assignment Events
Workspace Logs, AuditLogs schema. Investigate Additional Cloud Roles, T1098.003, using selected completed assignment activities from the Entra reference.
AuditLogs
| where TimeGenerated > ago(7d)
| where Category == "RoleManagement"
| where ActivityDisplayName in~ (
"Add member to role",
"Add member to role completed (PIM activation)",
"Add member to role in PIM completed (timebound)",
"Add member to role in PIM completed (permanent)")
| where Result =~ "success"
| project TimeGenerated, ActivityDisplayName,
InitiatedBy, TargetResources, CorrelationIdTune for approved privileged access workflows. Resolve target role and principal identifiers before deciding whether access was elevated. Requests, approvals, group membership, and completed role assignments are different events; this list does not cover every assignment path.
11. Azure Role Assignment Writes
Workspace Logs, AzureActivity schema. The authorization operation reference defines roleAssignments/write. Check status labels against workspace records; the filter accepts successful labels from the schema and Microsoft's AzureActivity query examples. Hunt for Additional Cloud Roles, T1098.003.
AzureActivity
| where TimeGenerated > ago(7d)
| where OperationNameValue =~ "Microsoft.Authorization/roleAssignments/write"
| where ActivityStatusValue in~ ("Success", "Succeeded")
| project TimeGenerated, Caller, CallerIpAddress,
ResourceId, Properties_d, CorrelationIdTune for infrastructure deployments and access provisioning. Inspect assignment scope, principal, and role definition. Azure RBAC assignments differ from Entra directory roles. Activity logs describe control-plane actions; they do not prove subsequent data access.
Defense Impairment
12. Windows Security Log Clearing
Workspace Logs, SecurityEvent schema. Microsoft documents event 1102 for clearing the Security log. The current mapping is Clear Windows Event Logs, T1685.005.
SecurityEvent
| where TimeGenerated > ago(7d)
| where EventID == 1102
| project TimeGenerated, Computer, Account, Activity, EventData
| order by TimeGenerated descTune against authorized troubleshooting records. Investigate the actor, neighboring events, and collection continuity. A missing clearing event cannot establish that logs were preserved, especially if collection stopped first.
13. Azure Diagnostic Setting Deletions
Workspace Logs, AzureActivity schema. The Monitor permissions reference defines this operation. Investigate Disable or Modify Cloud Log, T1685.002.
AzureActivity
| where TimeGenerated > ago(7d)
| where OperationNameValue =~ "Microsoft.Insights/diagnosticSettings/delete"
| where ActivityStatusValue in~ ("Success", "Succeeded")
| project TimeGenerated, Caller, CallerIpAddress,
ResourceId, CorrelationId, Properties_dTune for resource retirement and approved logging migrations. Check whether replacement collection exists. Deletion of one setting does not establish that all monitoring stopped. Writes that weaken settings need a separate configuration-change investigation.
Discovery
14. A Process Contacting Several SMB Destinations
Defender Advanced hunting, DeviceNetworkEvents schema. Hunt for possible Remote System Discovery, T1018, using a process instance rather than grouping every instance of a binary together.
DeviceNetworkEvents
| where Timestamp > ago(7d)
| where RemotePort == 445 and isnotempty(RemoteIP)
| where isnotempty(InitiatingProcessUniqueId)
| summarize Destinations=dcount(RemoteIP),
IPs=make_set(RemoteIP, 20)
by DeviceId, DeviceName, InitiatingProcessUniqueId,
InitiatingProcessFileName, bin(Timestamp, 1h)
| where Destinations >= 10
| order by Destinations descTune by device role and authorized management tools. Connection records do not prove successful share access. Microsoft's process-correlation guidance recommends unique process identifiers when available. If unavailable, adapt the grouping to device, process ID, and creation time; this version excludes missing identifiers.
Lateral Movement
15. Successful Remote Interactive Logons
Workspace Logs, SecurityEvent schema. Microsoft's event 4624 reference defines logon type 10 as RemoteInteractive. Investigate Remote Desktop Protocol, T1021.001.
SecurityEvent
| where TimeGenerated > ago(7d)
| where EventID == 4624 and LogonType == 10
| project TimeGenerated, Computer, Account, IpAddress,
AuthenticationPackageName, LogonType
| order by TimeGenerated descTune for jump hosts, approved administrators, and destination sensitivity. Compare with access requests and preceding authentication. This retrieves relevant successful logons, including legitimate ones, rather than identifying malicious RDP by itself.
16. NTLM Network Logons for Follow-Up
Workspace Logs, SecurityEvent schema. Investigate context relevant to Pass the Hash, T1550.002. NTLM network authentication does not reveal whether the user supplied a password or an attacker supplied a hash.
SecurityEvent
| where TimeGenerated > ago(7d)
| where EventID == 4624 and LogonType == 3
| where AuthenticationPackageName =~ "NTLM"
| project TimeGenerated, Computer, Account,
IpAddress, WorkstationName, AuthenticationPackageNameTune for documented NTLM dependencies and source-destination relationships. Correlate credential theft, unusual account use, and endpoint activity. A source workstation differing from the destination is normal in network logons and is not a pass-the-hash indicator.
Collection
17. Archive Utility Execution for Collection Review
Defender Advanced hunting, DeviceProcessEvents schema. Hunt for potential Archive via Utility, T1560.001.
DeviceProcessEvents
| where Timestamp > ago(7d)
| where FileName in~ ("7z.exe", "7za.exe", "rar.exe")
| project Timestamp, DeviceId, DeviceName, AccountName,
FileName, ProcessCommandLine, InitiatingProcessFileNameTune for backups, development, and help-desk packaging. Inspect input paths, output location, and subsequent transfers. Binary selection produces a review set; it does not prove an archive was created or cover every tool and command form.
18. Concentrated SharePoint Downloads
Workspace Logs, OfficeActivity schema. Microsoft's audit activity reference defines FileDownloaded. Investigate possible collection under Sharepoint, T1213.002.
OfficeActivity
| where TimeGenerated > ago(7d)
| where OfficeWorkload == "SharePoint"
| where Operation == "FileDownloaded"
| summarize Events=count(), Files=dcount(OfficeObjectId),
Addresses=make_set(ClientIP, 20)
by UserId, bin(TimeGenerated, 1h)
| where Events >= 100
| order by Events descTune by user role, site, approved exports, and project activity. Review the affected documents and sharing context. This counts download audit events, not bytes or confirmed exfiltration, and intentionally excludes other operations such as synchronization downloads.
Stealth
19. Mshta With a Web Address in Its Command Line
Defender Advanced hunting, DeviceProcessEvents schema. Investigate a subset of Mshta, T1218.005 behavior.
DeviceProcessEvents
| where Timestamp > ago(7d)
| where FileName =~ "mshta.exe"
| where ProcessCommandLine contains "http://"
or ProcessCommandLine contains "https://"
| project Timestamp, DeviceId, DeviceName, AccountName,
ProcessCommandLine, InitiatingProcessFileNameTune against approved legacy applications and deployment sources. Inspect the supplied address and process descendants. A command-line address does not prove content was retrieved; local HTA files and other execution forms are outside this filter.
Command and Control
20. PowerShell Connections on Web-Associated Ports
Defender Advanced hunting, DeviceNetworkEvents schema. Investigate connections potentially relevant to Web Protocols, T1071.001.
DeviceNetworkEvents
| where Timestamp > ago(7d)
| where InitiatingProcessFileName in~ ("powershell.exe", "pwsh.exe")
| where RemotePort in (80, 443)
| where isnotempty(RemoteIP)
| project Timestamp, DeviceId, DeviceName, RemoteIP,
RemotePort, RemoteUrl, InitiatingProcessUniqueId,
InitiatingProcessCommandLineTune for approved APIs, management scripts, and update jobs. Verify protocol and destination context before asserting C2. This is not a beacon detector: it measures neither periodicity nor payload size, and ports do not prove the application protocol.
Building a Hunting Hypothesis From Threat Intelligence
Keep the original article's MOVEit example as a historical exercise. CISA's CL0P advisory documents exploitation of CVE-2023-34362, a SQL injection vulnerability, and deployment of the LEMURLOOT web shell to steal data.
Translate those observations into separate questions. Were vulnerable public applications exposed? Is there evidence of unauthorized server-side code? Which data was accessed? Exploit Public-Facing Application, T1190, and Web Shell, T1505.003, provide useful starting mappings. Do not infer an exfiltration protocol solely because theft occurred.
Identify application, web-server, file, and access telemetry for each question. The generic library above is not a MOVEit detector, and present-day logs cannot reconstruct historical events that were never retained. For an owned public application, a website security check can complement an exposure review. It does not establish historical compromise or replace server-side evidence.
Investigate Results and Promote Reliable Hunts to Detections
Start with the raw event, operation outcome, actor, and affected asset. Compare the activity with approved changes and preceding behavior. Correlate with stable identifiers and a bounded period; an IP address shared behind a proxy is not a person, and a process ID can be reused.
Microsoft's advanced hunting best practices explain process correlation and join behavior. In particular, a default innerunique join can discard left-side duplicates. Specify the intended join flavor and check whether it multiplies or removes evidence. Query 4 uses leftanti to find absent historical pairs, not to combine event timelines.
A repeatable hunt can become a detection after you validate its response value. Microsoft's scheduled analytics rule guidance covers rule configuration. Rework exploratory queries for scheduling, preserve required timestamps and entity fields, accommodate ingestion delay, and test expected benign activity and known representative behavior. Choose frequency, lookback, grouping, and suppression from the operational requirement rather than copying a universal interval.
Assign an owner to review noise and telemetry gaps after deployment. An ATT&CK label and a clean test set do not guarantee permanent coverage. The analytics rules lesson develops that handoff; the SC-200 course connects KQL practice with investigation and response.
Hunting Workbook Template
Keep a shared investigation record alongside saved queries and bookmarks. Use the workbooks and hunting lesson to practice recording evidence and reviewing outcomes.
| Field | What to record |
|---|---|
| Hypothesis | Behavior and affected asset population |
| ATT&CK mapping | Current technique and why the observable fits |
| Coverage | Tables, sources, audit policy, and gaps |
| Execution | Exact query version, interface, and time range |
| Results | Relevant entities and preserved raw evidence |
| Interpretation | Supporting evidence and legitimate explanations |
| Outcome | Confirmed, unsupported, or inconclusive |
| Follow-up | Incident, collection fix, detection task, or next hypothesis |
Record inconclusive outcomes honestly. Close the hunt with a clear reason and a responsible follow-up owner, rather than a claim that a quiet result means the environment is clean.
Frequently Asked Questions
What is the difference between threat hunting and threat detection?
Threat hunting is an analyst-led investigation that tests a question about attacker behavior against available evidence. Detection applies configured logic to identify activity and generate alerts. A hunt can begin without an alert and can uncover a collection gap, legitimate behavior, or a possible intrusion. A useful outcome is a documented conclusion, not necessarily a new incident or rule.
How do I get started with threat hunting in Microsoft Sentinel?
Choose a hypothesis relevant to your environment, confirm that its required telemetry is collected, and inspect representative records. In the Defender portal, Sentinel's dedicated Hunting page provides saved queries, structured hunts, and bookmarks. Start with a query you understand, adapt its filters, and record the time range, results, and limitations. Escalate supported findings through your incident process.
What KQL skills do I need for threat hunting?
Start with where for filtering, project for selecting fields, and summarize for aggregation. Add extend, bin, and joins when a question requires them. Understand the table schema and event-time field before copying a query. Distinct-count estimates, duplicate-producing joins, and missing telemetry can change your interpretation even when the syntax is valid. Practice inspecting raw records alongside summarized results.
How long should a threat hunting engagement take?
Set the scope around a specific hypothesis, available telemetry, and a defined stopping condition. There is no universal duration or staffing ratio that fits every environment. Budget time for collection checks, investigation, documentation, and any response or detection engineering follow-up. If missing data prevents a conclusion, record the limitation and assign a collection task rather than extending an unanswerable hunt indefinitely.
What data sources are most valuable for threat hunting in Sentinel?
Select sources according to the behavior you want to investigate. SigninLogs and AuditLogs support cloud identity questions, SecurityEvent supports collected Windows audit activity, and AzureActivity supports Azure control-plane investigations. Endpoint process and network tables add execution context where the relevant Defender data is available. OfficeActivity supports collected Microsoft 365 audit activity. No single table provides universal coverage, and availability must be verified.
Sources
- Microsoft Learn: Threat hunting in Microsoft Sentinel
- Microsoft Learn: Conduct end-to-end proactive threat hunting
- Microsoft Learn: Microsoft Sentinel in the Defender portal
- Microsoft Learn: Advanced hunting with Microsoft Sentinel data
- Microsoft Learn: Create custom hunting queries
- Microsoft Learn: Keep track of data using bookmarks
- Microsoft Learn: Windows Security Events via AMA
- Microsoft Learn: KQL quick reference
- Microsoft Learn: KQL best practices
- Microsoft Learn: dcount aggregation
- Microsoft Learn: Advanced hunting best practices
- Microsoft Learn: Scheduled analytics rules
- Microsoft Learn: SigninLogs schema
- Microsoft Learn: AuditLogs schema
- Microsoft Learn: SecurityEvent schema
- Microsoft Learn: WindowsEvent schema
- Microsoft Learn: AzureActivity schema
- Microsoft Learn: AzureActivity query examples
- Microsoft Learn: OfficeActivity schema
- Microsoft Learn: DeviceProcessEvents schema
- Microsoft Learn: DeviceNetworkEvents schema
- Microsoft Learn: Windows event 4769
- Microsoft Learn: Windows event 4698
- Microsoft Learn: Windows event 4624
- Microsoft Learn: Windows event 1102
- Microsoft Learn: Entra audit activities
- Microsoft Learn: Azure authorization permissions
- Microsoft Learn: Azure Monitor permissions
- Microsoft Learn: Audited Microsoft 365 activities
- CISA: CL0P exploits the MOVEit vulnerability
- MITRE ATT&CK: Password Spraying, T1110.003
- MITRE ATT&CK: LSASS Memory, T1003.001
- MITRE ATT&CK: Kerberoasting, T1558.003
- MITRE ATT&CK: Cloud Accounts, T1078.004
- MITRE ATT&CK: PowerShell, T1059.001
- MITRE ATT&CK: Windows Management Instrumentation, T1047
- MITRE ATT&CK: Scheduled Task, T1053.005
- MITRE ATT&CK: Additional Cloud Credentials, T1098.001
- MITRE ATT&CK: Additional Cloud Roles, T1098.003
- MITRE ATT&CK: Clear Windows Event Logs, T1685.005
- MITRE ATT&CK: Disable or Modify Cloud Log, T1685.002
- MITRE ATT&CK: Remote System Discovery, T1018
- MITRE ATT&CK: Remote Desktop Protocol, T1021.001
- MITRE ATT&CK: Pass the Hash, T1550.002
- MITRE ATT&CK: Archive via Utility, T1560.001
- MITRE ATT&CK: Sharepoint, T1213.002
- MITRE ATT&CK: Mshta, T1218.005
- MITRE ATT&CK: Web Protocols, T1071.001
- MITRE ATT&CK: Exploit Public-Facing Application, T1190
- MITRE ATT&CK: Web Shell, T1505.003
Reader desk
Discuss this guide
Rate the guide or ask a practical follow-up. Clear questions publish immediately; uncertain submissions wait for review.
Microsoft Cloud Solution Architect
Cloud Solution Architect with deep expertise in Microsoft Azure and a strong background in systems and IT infrastructure. Passionate about cloud technologies, security best practices, and helping organizations modernize their infrastructure.
Share this article
Licensed under CC BY 4.0: you may share and adapt this article with attribution to Protego.


