AuditVane Detection Engine & MITRE ATT&CK Methodology

Every rule runs deterministically inside a local browser Web Worker across both Microsoft Purview UAL CSV/JSON exports and Microsoft Entra ID Sign-In/Audit JSON files. Zero cloud models, zero telemetry transmission.

Rule ID Severity MITRE Detection Name & Trigger Logic Sentinel KQL Equivalent
AV-001 Critical T1114.003 Stealth or Forwarding Inbox Rule
New-InboxRule, Set-InboxRule, UpdateInboxRules with DeleteMessage, MarkAsRead, MoveToFolder (RSS Feeds / Conversation History / Deleted Items), ForwardTo, or RedirectTo.
OfficeActivity | where Operation in ("New-InboxRule","Set-InboxRule","UpdateInboxRules") | project TimeGenerated, UserId, ClientIP, Parameters
AV-002 Critical T1078.004 Legacy Auth Protocol Sign-In
clientAppUsed matching IMAP4, POP3, SMTP, Authenticated SMTP, Exchange ActiveSync, or Other clients.
SigninLogs | where ClientAppUsed in ("IMAP4","POP3","SMTP","Authenticated SMTP","Exchange ActiveSync","Other clients")
AV-003 Critical T1550.001 Programmatic or Phishing-Kit User-Agent
python-requests, axios, node-fetch, Go-http-client, curl, Boto3, PostmanRuntime, PowerShell, or legacy Edge/18 spoofs.
SigninLogs | where UserAgent has_any ("python","axios","curl","go-http","node-fetch","postman","powershell")
AV-004 Critical T1098.005 Unauthorized MFA or Security Info Change
User registered security info, Admin registered security info, User deleted security info, or StrongAuthenticationMethod mutations.
AuditLogs | where OperationName has_any ("security info","StrongAuthentication")
AV-005 High T1528 Illicit OAuth Consent or Service Principal Credential
Consent to application, Add OAuth2PermissionGrant, Add app role assignment to service principal, Add service principal credentials, Add application.
AuditLogs | where OperationName in ("Consent to application","Add OAuth2PermissionGrant","Add app role assignment to service principal","Add service principal credentials")
AV-006 High T1110 / T1556 High-Risk or Conditional Access Anomaly Sign-In
riskLevelDuringSignIn/Aggregated = medium/high, conditionalAccessStatus = failure, or errorCodes 50126, 50074, 50076, 53003.
SigninLogs | where RiskLevelDuringSignIn in ("high","medium") or ConditionalAccessStatus == "failure"
AV-007 High T1114.002 Mailbox Search & MailItemsAccessed Recon
MailItemsAccessed telemetry or SearchQueryInitiated queries matching wire, invoice, bank, ACH, IBAN, password, MFA, payroll.
OfficeActivity | where Operation in ("MailItemsAccessed","SearchQueryInitiatedExchange","SearchQueryInitiatedSharePoint")
AV-008 High T1114.003 Transport Rule & Mailbox Auto-Forwarding
New-TransportRule, Set-TransportRule, Set-HostedOutboundSpamFilterPolicy, or Set-Mailbox with ForwardingSmtpAddress.
OfficeActivity | where Operation in ("New-TransportRule","Set-TransportRule","Set-Mailbox","Set-HostedOutboundSpamFilterPolicy")
AV-009 High T1078 Multi-Country / Rapid IP Hopping Geo-Velocity
Cross-event correlation flagging single actors operating across >=2 countries or >=3 distinct external IPs.
SigninLogs | summarize Countries=make_set(LocationDetails.countryOrRegion), IPs=dcount(IPAddress) by UserPrincipalName | where IPs >= 3
AV-010 High T1530 / T1567 SharePoint / OneDrive Exfil & Anonymous Sharing
AnonymousLinkCreated, CompanyLinkCreated, AddedToSecureLink, SharingSet, or >=3 FileDownloaded/FileSyncDownloadedFull bursts per actor.
OfficeActivity | where Operation in ("AnonymousLinkCreated","SharingSet","FileDownloaded","FileSyncDownloadedFull")
AV-011 Critical T1098.003 Privileged Role Escalation or Password Reset
Add member to role, Add eligible member to role, Update role setting, or Reset user password.
AuditLogs | where OperationName has_any ("Add member to role","Add eligible member to role","Reset user password")
AV-012 High T1562.008 Audit Log or eDiscovery Tampering
Set-AdminAuditLogConfig, Remove-MailboxSearch, New-ComplianceSearchAction, or HardDelete purge events.
OfficeActivity | where Operation in ("Set-AdminAuditLogConfig","Remove-MailboxSearch","New-ComplianceSearchAction","HardDelete")