VeriKQL by Kaushik Saha

Table library · by Kaushik Saha

27tables, schema-true
107hunting queries verified
75technique ids checked · ATT&CK 20.0

Microsoft Sentinel Table Library

Schema-accurate reference + ready-to-ingest sample logs for 27 Log Analytics / Defender XDR tables — woven into one correlated attack scenario you can hunt, triage, and test detections against.


Real Sentinel environments rarely have every table populated, so analysts can't practise hunts, learn an unfamiliar schema, or test an analytic rule before shipping it. This library fixes that. Each table gets its own folder with:

  • a plain-English description of what the table is and when rows appear,
  • the full schema (every column + type) validated against the Microsoft Learn table reference,
  • the key columns for detection, the schema gotchas that silently break queries,
  • single-table, MITRE-mapped hunting hypotheses with runnable KQL, and
  • a schema-true sample CSV you can ingest.

Every sample uses the same cast of users, IPs, and hosts, so the 27 standalone files also act as one correlated dataset — see the Operation Quiet Ledger scenario for the cross-table joins.

Note Schema-accurate, not schema-exhaustive. Each table doc lists every column from Microsoft Learn, but each sample CSV ships a curated subset of the most detection-relevant real columns (10–22 of them) so the data stays readable and runnable. Column names and types are always exact.

The tables

Identity & Microsoft 365

Table What it captures Sample story Key MITRE
SigninLogs Entra ID interactive sign-ins Risky success from a Tor IP after a brute-force burst T1110 · T1078
AuditLogs Entra ID directory audit (roles/apps/consent) Self-added to a privileged role + rogue app consent T1098.003 · T1528
OfficeActivity M365 unified audit (Exchange/SharePoint/Teams) Malicious inbox rule + mass file download/share T1114.003 · T1567.002
EmailEvents Defender for O365 email + verdicts Lookalike-domain phish delivered (ZAP miss) T1566.001 · T1566.002

Endpoint (Microsoft Defender for Endpoint)

Table What it captures Sample story Key MITRE
DeviceLogonEvents Device authentications RDP onto FIN-WS-07, then a DC01 failure burst T1021.001 · T1110
DeviceProcessEvents Process creation (the process tree) winword → encoded PowerShell → LOLBins → dumper T1059.001 · T1566
DeviceNetworkEvents Network connections by process PowerShell beaconing to C2 + exfil push T1071.001 · T1041
DeviceEvents ASR / AMSI / misc device security events ASR audit→block, AMSI catch, LOLBins T1059 · T1218
DeviceFileEvents File create/modify/rename Payload drop, renamed cred-dumper, staged ZIP T1105 · T1560.001 · T1003

Windows host logs

Table What it captures Sample story Key MITRE
SecurityEvent Windows Security log (4624/4625/4688/4720…) Spray → logon → special privs → account created T1110.003 · T1136.001
Event Windows System & Application logs Malicious 7045 service install; Defender 1116 T1543.003 · T1489

Linux & cross-platform

Table What it captures Sample story Key MITRE
Syslog Linux syslog (free-text) SSH brute force → accepted → sudo to root T1110 · T1548.003
LinuxAuditLog Linux auditd records /etc/shadow read, payload run, auditd tamper T1003.008 · T1685.004
ASimAgentEventLogs ASIM AI/LLM agent telemetry (model/tool/tokens) AI agent driven to call storage/KeyVault tools T1059 · T1565.001

Network, DNS & perimeter

Table What it captures Sample story Key MITRE
DnsEvents Windows DNS query/analytic events C2 beacon + DGA subdomains + NXDOMAIN spikes T1568.002 · T1071.004
DnsAuditEvents Windows DNS audit (zone/record changes) Rogue records + malicious forwarder planted T1565 · T1556
CommonSecurityLog Firewall / proxy CEF appliance logs Inbound RDP allowed + >1 GB exfil egress burst T1567 · T1071

Azure control plane & resources

Table What it captures Sample story Key MITRE
AzureActivity ARM subscription activity log roleAssignments/write + listKeys + NSG open T1098.003 · T1552.005
AzureDiagnostics Multi-resource diagnostics (Key Vault, NSG…) Key Vault secret/key harvest after a role grant T1555.006 · T1078.004
StorageBlobLogs Storage blob data-plane AccountKey + Anonymous exfil of finance blobs T1567 · T1530

Kubernetes (AKS)

Table What it captures Sample story Key MITRE
AKSAudit Full Kubernetes API audit Secret enumeration + pods/exec recon T1609 · T1552.007
AKSAuditAdmin API audit, admin subset (no get/list/watch) clusterrolebinding→cluster-admin, logging deleted T1098 · T1685

Sentinel alerts, incidents & operations

Table What it captures Sample story Key MITRE
SecurityAlert Sentinel/Defender security alerts The 12 alerts the attack tripped (entities in JSON) (detection layer)
SecurityIncident Sentinel incidents (alert grouping, change log) Incident #4471 New→Active→Closed(TruePositive) (case layer)
Alert Azure Monitor alerts (legacy log-search/SCOM) Infra alerts fire across the incident window (triage corroboration)
Usage Per-table ingestion metering Ingestion spike; Syslog drops to 0 (source killed) T1685.002
Heartbeat Agent health beacon WEB-APP-01 goes silent mid-attack T1685

The correlated scenario — "Operation Quiet Ledger"

The sample data isn't 21 disconnected demos — it's one intrusion seen from two dozen angles, all on 2026-06-10: an emailed phish compromises a finance analyst (alexw), who is driven from a Tor IP onto FIN-WS-07, laterally to DC01, then pivots into Azure to escalate privilege, harvest secrets, and exfiltrate finance data from blob storage and AKS — with a parallel Linux foothold on WEB-APP-01.

➡️ Read the full scenario, kill-chain, and cross-table join queries →

It's built for four jobs:

  1. Learn a table — open its folder, read the schema, run its single-table hunts.
  2. Practise correlation — run the multi-table joins that reconstruct the intrusion.
  3. Rehearse triage — start from one alert and pivot to full blast radius.
  4. Test an analytic rule — ingest the samples and confirm your scheduled rule fires (and doesn't over-fire on the benign noise mixed into every file).

Shared cast & indicators (the correlation spine)

Type Value Role
User alexw@contoso.com Compromised finance analyst (the through-line)
User priya.menon@contoso.com Phished first (delivery)
User svc-backup@contoso.com Service principal abused for Azure persistence
Users (benign) meganb@, jamest@, dvora@, itadmin@ Noise / legitimate admins
Attacker IP 185.220.101.2 (NL) · 91.219.236.18 Primary / secondary
Domains login-contoso-sso.com · badupdate-cdn.com Phish / C2
Hosts FIN-WS-07 · DC01 · WEB-APP-01 · aks-prod-01 Workstation / DC / Linux / cluster
Azure stcontosofin · kv-contoso-prod · rg-finance-prod Storage / Key Vault / resource group

How to use this library

Just reading / learning? Browse a table's folder — the README is self-contained.

Want to run the queries? Ingest the sample CSVs one of two ways:

  • Azure Data Explorer free cluster (no Azure subscription) — https://aka.ms/kustofree, then Get data → Local file per table, or use the generator in the Sentinel Hunter skill to emit .create table + ingest commands.
  • Log Analytics / Sentinel — paste a CSV into a datatable() and save it as a function named after the table (the KQL Mastery Path Stage 00 shows the exact pattern, including a zero-permission let variant).

The companion KQL Mastery Path teaches the language from scratch; this library is the data + schema reference those skills run against.

Principles

  • Schema-true or it doesn't ship. Every column name and type is validated against the Microsoft Learn table reference; gotchas (string ResultType, dynamic InitiatedBy, legacy Alert, the _s/_d suffix convention…) are called out per table.
  • Signal and noise. Every sample mixes malicious rows with benign activity, so a detection that only works because "everything is evil" will visibly over-fire here.
  • MITRE-anchored. Hunts cite real ATT&CK technique IDs; the scenario ships an ATT&CK Navigator layer.
  • Tunable, not gospel. Thresholds are realistic starting points to adapt to your baseline.

Part of the azure-security repository · pairs with the KQL Mastery Path and the Azure Sentinel Hunter skill.

Check your own query

Write your own query and check it against the real schema.

Table library by Kaushik Saha. Source: sentinel/tables/README.md at ea5adab001fa. Queries checked with Microsoft.Azure.Kusto.Language 12.4.1 against schema bundle 2026.10.29. Technique ids checked against ATT&CK 20.0.