Defender for Endpoint feeds a family of Device tables into advanced hunting, and knowing which table answers which question, which columns are reliable and how long the data lasts is the difference between detections that hold up and queries that quietly return nothing. This guide walks through the endpoint tables from DeviceProcessEvents to the DeviceTvm vulnerability tables, with the columns that matter for identity focused detections, the quirks Microsoft documents, and illustrative query patterns. It does not cover KQL syntax in general (see the KQL for Threat Hunting Guide) or product deployment and hardening (see the Microsoft Defender for Endpoint Guide).
Endpoint telemetry is where machine identities become visible on the host: the service accounts that start processes, the scheduled tasks that run batch logons, the tools that touch credential stores. Those are the events this guide leans on.
This is an independent guide from NHI Mgmt Group, based on Microsoft's public documentation as of November 2026. It is not sponsored or reviewed by Microsoft. Product features change, so confirm settings against Microsoft's current documentation.
Key takeaways
- Advanced hunting keeps 30 days of native Defender data by default; eligible Defender Suite, Microsoft 365 E5 or E7 licences get 90 days for supported data. Anything longer needs streaming to another store.
- Event tables (
DeviceProcessEvents,DeviceLogonEvents,DeviceNetworkEventsand so on) arrive almost immediately; entity and inventory style tables are refreshed hourly. - Use
SHA1, notSHA256: Microsoft documents that the SHA-256 columns are usually not populated. - A unique event is
ReportIdplusDeviceNameplusTimestamp.LogonIdis unique only on one device between restarts. DeviceTvmSoftwareVulnerabilitiesis exposed in Microsoft Sentinel for schema only and returns no results there. Query it in Defender advanced hunting.- Queries have hard limits: 100,000 rows, 64 MB of results and 10 minutes. Design detections to aggregate early.
How the endpoint tables fit together
Microsoft's schema lists more than sixty advanced hunting tables across Defender products. The Device tables are the ones Defender for Endpoint populates. They fall into three groups.
| Group | Tables | Answers |
|---|---|---|
| Activity events | DeviceProcessEvents, DeviceLogonEvents, DeviceNetworkEvents, DeviceFileEvents, DeviceRegistryEvents, DeviceImageLoadEvents, DeviceEvents | What happened, when, and which process and account did it |
| Device state | DeviceInfo, DeviceNetworkInfo, DeviceFileCertificateInfo | What the machine is, how it is connected, whether a file is signed |
| Vulnerability and posture | DeviceTvmSoftwareInventory, DeviceTvmSoftwareVulnerabilities, DeviceTvmSoftwareVulnerabilitiesKB, DeviceTvmSecureConfigurationAssessment and its KB, DeviceTvmInfoGathering and its KB, DeviceTvmHardwareFirmware, DeviceTvmSoftwareEvidenceBeta, plus preview tables for certificates and browser extensions | Which devices are exposed, to what, and how they are configured |
DeviceEvents is the catch-all: Microsoft describes it as multiple event types, including events from security controls such as Microsoft Defender Antivirus and exploit protection. Several preview tables cover baseline compliance (DeviceBaselineComplianceAssessment, its KB and profiles). Preview tables can change before general availability, so pin detections to them only after testing.
The device state tables are what turn a raw event into a decision. DeviceInfo holds machine information including the operating system, and DeviceNetworkInfo holds adapters, IP and MAC addresses and connected networks and domains. Join activity to them to answer whether a device is a server or a workstation, which domain it sits in and which network it was on at the time, before deciding whether an account logon there is expected.
The activity tables share a common pattern of columns. Each describes the action (ActionType, FileName, FolderPath) and the process that caused it, through a long set of InitiatingProcess* columns: account, command line, hashes, integrity level, token elevation, parent name and parent creation time. Learn that pattern once and every activity table reads the same way.
Data retention, freshness and query limits
Microsoft states that advanced hunting supports up to 30 days of native Defender data retention by default. Customers with an eligible Microsoft Defender Suite, Microsoft 365 E5 or Microsoft 365 E7 licence receive 90 days of included retention for supported Defender data. Sentinel tables queried through the unified portal follow the workspace's analytics tier retention, and data held only in the Sentinel data lake is not available in advanced hunting. To keep endpoint data longer, stream it out with the streaming API; retention in the destination starts the day streaming is enabled, so it cannot be backfilled.
Freshness differs by table type. Event data arrives almost immediately after sensors transmit it. Entity tables are updated hourly with a record holding the latest data for each entity. Factor that into detections that join events to state: a device that changed an hour ago may still show its old state.
| Limit | Value |
|---|---|
| Date range | 30 days, or 90 days for supported data with an eligible licence |
| Result rows | 100,000 per query |
| Result size | 64 MB per query, truncated beyond that |
| Timeout | 10 minutes per query |
| CPU | Based on tenant size, refreshed every 15 minutes; queries are blocked at 100% until the next cycle |
Quotas apply separately to manual queries and to custom detection rules, and the API has its own set. A badly written hunting query run repeatedly by an analyst can still exhaust the CPU allocation and block other analysts for up to 15 minutes, so filter on time and device early.
DeviceProcessEvents: process creation and its parent chain
DeviceProcessEvents records process creation and related events. It is the most used endpoint table and the one most detections start from.
The columns to know:
ProcessCommandLineandInitiatingProcessCommandLine: the command lines of the new process and of the process that created it.AccountName,AccountDomain,AccountSid,AccountUpn,AccountObjectId: the account of the new process. On Entra registered devices Microsoft notes the Entra user name or UPN may be shown.InitiatingProcessParentFileNameandInitiatingProcessParentCreationTime: the grandparent context, which is often what separates a normal tool launch from a suspicious one.ProcessIntegrityLevelandProcessTokenElevation: token elevation values areTokenElevationTypeLimited,TokenElevationTypeDefaultandTokenElevationTypeFull.IsProcessRemoteSession,ProcessRemoteSessionIPand the initiating process equivalents: whether a process ran under RDP and from where.ProcessUniqueIdandInitiatingProcessUniqueId: equal to the Windows Process Start Key, more reliable than a PID for joining across tables.
Microsoft documents three quirks. The SHA-256 columns are usually not populated, so use SHA1. The InitiatingProcessSignerType and InitiatingProcessSignatureStatus columns describe the initiating process, not the new one, and the ProcessVersionInfo* columns are version metadata, not proof of signing. To find out whether the created process is signed, join its SHA1 to DeviceFileCertificateInfo. Valid ActionType values are listed in the in-portal schema reference rather than on the table page, so check there before filtering on one.
Illustrative pattern: service accounts launching shells or scripting hosts they do not normally run. Build a 30 day list of FileName values per AccountSid for your known service account SIDs, then alert on a new FileName such as a PowerShell host with a long or encoded ProcessCommandLine. That maps to ATT&CK T1078 Valid Accounts for the account misuse and to PowerShell execution (T1059.001) for the activity.
DeviceLogonEvents: how accounts arrive on the device
DeviceLogonEvents records sign-ins and other authentication events on devices. Its LogonType column is the most useful field in endpoint telemetry for non-human identity work, because Microsoft documents five values that line up with identity types:
- Interactive: local keyboard and screen.
- Remote interactive (RDP): Remote Desktop, Terminal Services, Remote Assistance or other RDP clients.
- Network: access through PsExec or to shared resources such as printers and shared folders.
- Batch: sessions started by scheduled tasks.
- Service: sessions started by services as they start.
Other key columns are IsLocalAdmin, RemoteIP, RemoteIPType (Public, Private, Loopback and others), RemoteDeviceName, Protocol and FailureReason. Microsoft notes that logon events are not collected from Windows 7 or Windows Server 2008 R2 devices, so legacy servers are a blind spot. The table page does not list ActionType values; confirm the values you filter on in the portal schema reference.
For token creation events where InitiatingProcessFileName is lsass.exe, AdditionalFields can include TokenHasDomainAdminSid, TokenHasEnterpriseAdminSid, TokenHasDomainControllerSid, TokenHasNtlmAuthSid and NumberOfSidsInDomainAdminToken. These reflect privileges at logon time, which is exactly what you want when hunting for privileged tokens appearing on workstations where they should never be.
Illustrative detections:
- A service account (by SID or naming convention) appearing with
LogonTypeInteractive or Remote interactive. Service identities should arrive as Service or Batch; a human style logon means someone is using the credential. - A domain admin token, from the
AdditionalFieldsflags, on a device outside your tier zero list. - Network logons with
IsLocalAdmintrue from aRemoteIPthat has not been seen for that account in 30 days, mapping to Local Accounts (T1078.003) and SMB admin share use (T1021.002).
File, registry, network and image load events
DeviceFileEvents covers file creation, modification and other file system events. DeviceRegistryEvents covers creation and modification of registry entries. DeviceNetworkEvents covers network connections and related events, and DeviceImageLoadEvents covers DLL loads. All share the initiating process columns, so the same account and parent logic applies.
For identity focused hunting, these tables answer three recurring questions:
- Who touched a credential store? File events on configuration files, key files and credential caches, filtered to processes that are not the owning application. Pair with the Credentials In Files (T1552.001) technique.
- What persisted? Registry events under service and run keys created by unusual parents, mapping to Windows Service (T1543.003). Scheduled task creation is usually seen in process and
DeviceEventsdata; look for Batch logons that follow. - Where did a credential go? Network events from a process that just read a credential file, to an external address. Join on
InitiatingProcessUniqueIdrather than PID to avoid mismatches after PID reuse.
Credential dumping attempts against LSASS memory (T1003.001) are better left to Defender's own alerts and DeviceEvents security control events than reproduced from raw process data. Use hunting to find what surrounds those alerts: the account, the parent and what happened next.
The DeviceTvm tables: exposure, not activity
The Defender Vulnerability Management tables describe state. DeviceTvmSoftwareInventory lists installed software with versions and end of support status. DeviceTvmSoftwareVulnerabilities lists vulnerabilities in that software per device, with CveId, VulnerabilitySeverityLevel, RecommendedSecurityUpdate, RecommendedSecurityUpdateId and a CveTags array whose examples include ZeroDay and NoSecurityUpdate. DeviceTvmSoftwareVulnerabilitiesKB is the knowledge base of publicly disclosed vulnerabilities, including whether exploit code is publicly available. DeviceTvmSecureConfigurationAssessment reports configuration status per device, and its KB maps configurations to standards and benchmarks.
Three points matter for detection engineers. These two tables replaced the older DeviceTvmSoftwareInventoryVulnerabilities table, so old queries referencing it need rewriting. DeviceTvmSoftwareVulnerabilities is visible in Sentinel for autocomplete and validation only and returns no results there, so a Sentinel analytics rule that uses it will silently never fire. And because these are state tables, join them to activity, not the other way round.
Illustrative pattern: take devices where a service account had an Interactive or Network logon today from DeviceLogonEvents, and join them to DeviceTvmSoftwareVulnerabilities for critical severity entries tagged NoSecurityUpdate. The result is a short list of machines where an exposed credential meets an unpatchable weakness, which is a better patch and isolation queue than severity alone. Cross-check CVEs against the CISA Known Exploited Vulnerabilities catalogue where your process uses it.
Turning hunts into custom detections
Microsoft notes that the same hunting queries can become custom detection rules that run automatically and respond to findings. Before promoting a query:
- Make sure it returns the columns a rule needs to identify the event and the device (
Timestamp,DeviceId,ReportId). - Aggregate before returning. A rule that returns thousands of raw rows is a noise problem and a quota problem.
- Test it against the full 30 days and record the hit count per day. If you cannot explain every hit in a typical week, it is not ready.
- Check every
ActionTypevalue against the portal schema reference. - Decide whether the logic belongs in Defender or in Sentinel. Anything needing the TVM tables belongs in Defender.
Access to endpoint data in advanced hunting is governed by Defender for Endpoint role based access settings. Analysts scoped to device groups will see only those devices, so a hunt that finds nothing may simply be out of scope for the person running it.
Common failure patterns
- Filtering on SHA256. The column is usually empty, so hash based hunts return nothing. Use
SHA1. - Trusting version info as signing.
ProcessVersionInfoCompanyNameis metadata anyone can set. Join toDeviceFileCertificateInfoinstead. - Using LogonId or PID as a key. Both repeat after restarts. Use
ReportIdwithDeviceNameandTimestamp, or the unique process IDs. - TVM queries in Sentinel. Rules reference
DeviceTvmSoftwareVulnerabilitiesin Sentinel and never return data. - Assuming 30 days is enough. Investigations of long dwell time compromises need data the platform no longer holds. Streaming must be set up before the incident.
- Guessing ActionType values. A typo returns an empty set, which looks like a clean result.
- Legacy server blind spots. Logon events are not collected from Windows 7 or Server 2008 R2, which are often where old service accounts live.
Practitioner checklist
- Confirm your retention (30 or 90 days) and set up streaming if investigations need longer.
- Build and maintain a list of service account SIDs and expected
LogonTypevalues for each. - Alert on service accounts with Interactive or Remote interactive logons.
- Hunt for domain admin token flags on devices outside tier zero.
- Replace any
SHA256filters withSHA1, and any signing checks based on version info with certificate joins. - Rewrite queries that use
DeviceTvmSoftwareInventoryVulnerabilities. - Keep TVM based detections in Defender, not Sentinel.
- Validate every
ActionTypefilter against the portal schema reference. - Track legacy hosts that do not produce logon events and cover them another way.
Standards and references
- Microsoft Learn: Understand the advanced hunting schema
- Microsoft Learn: Overview of advanced hunting
- Microsoft Learn: DeviceProcessEvents table
- Microsoft Learn: DeviceLogonEvents table
- Microsoft Learn: DeviceTvmSoftwareVulnerabilities table
- MITRE ATT&CK: T1078 Valid Accounts
- MITRE ATT&CK: OS Credential Dumping: LSASS Memory
- NIST SP 800-53 Rev. 5 (AU-6 Audit Record Review, Analysis, and Reporting)
Related NHI Mgmt Group resources: Okta System Log Detection Guide · KQL for Threat Hunting Guide · Microsoft Defender for Endpoint Guide · Identity Threat Hunting Guide