Rules for T1098
How the 156 rules tagged with T1098 are built: the tables they read, what they filter, how they join, and when they run. The most used of each; every rule is listed below.
Sub-techniques: T1098.001T1098.003T1098.004T1098.005T1098.007
Tables and parsers
AuditLogs 20SecurityEvent 15Pathlock_TDnR_CL 14ADOAuditLogs 11OfficeActivity 8IdentityInfo 7WindowsEvent 7AWSCloudTrail 6BehaviorAnalytics 6OktaSSO 6Tailscale_Audit_CL 6AzureActivity 5SQLEvent 5Authomize_v2_CL 4_Im_AuditEvent 4
Filtered columns
SecurityEvent.EventID4732747286475664720447222Pathlock_TDnR_CL.DataSourceAUTH_CHANGES1CHANGEDOC_KERBEROS1CHANGEDOC_SECURITY_P1CHANGEDOC_USER_CUA1CLIENT_CHANGES1AuditLogs.OperationNameSet domain authentication3Set federation settings on domain3Update user2Add member to role1Add service principal credentials1ADOAuditLogs.OperationNameOrganizationPolicy.PolicyValueUpdated3Git.RefUpdatePoliciesBypassed2Group.UpdateGroupMembership.Add2Library.ServiceConnectionExecuted2Project.CreateCompleted1SecurityEvent.AccountTypeUser9AuditLogs.CategoryRoleManagement4UserManagement3ApplicationManagement1OfficeActivity.OperationNew-InboxRule4Add-MailboxFolderPermission2Add-MailboxPermission2New-ManagementRoleAssignment2Set-InboxRule2WindowsEvent.EventID4732447283475634720247221AWSCloudTrail.EventNameAddRoleToInstanceProfile1CreateAccessKey1CreateLoginProfile1DeactivateMFADevice1DeleteVirtualMFADevice1OktaSSO.outcome_result_sSUCCESS6Tailscale_Audit_CL.ActionCREATE5UPDATE1Tailscale_Audit_CL.Target.typeAPI_KEY2AUTH_KEY2OAUTH_CLIENT2POSTURE1POSTURE_INTEGRATION1SecurityEvent.TargetSidS-1-5-32-5441AuditLogs.Resultsuccess4Authomize_v2_CL.policy_name_sChain of 3 or more roles1Empty group with entitlements1IaaS policy not attached to any identity1Stale IAAS policy attachment to role1
Joins
SecurityEvent ⋈ SecurityEventSecurityEvent ⋈ WindowsEvent_Im_AuditEvent ⋈ _Im_AuthenticationAuditLogs ⋈ AuditLogsAzureActivity ⋈ AzureActivityOktaSSO ⋈ OktaSSO(derived) ⋈ (derived)(derived) ⋈ ADOAuditLogs(derived) ⋈ SecurityEventAuditLogs ⋈ BehaviorAnalyticsDelineaAuditEvents_CL ⋈ DelineaAuditEvents_CLSigninLogs ⋈ SigninLogsWindowsEvent ⋈ WindowsEvent(derived) ⋈ AzureActivity(derived) ⋈ BehaviorAnalytics
Idioms
make_set 26mv-expand (unpack arrays) 22dcount 15arg_max (latest or earliest row per key) 13leftanti join (A without B) 8join with no kind= (innerunique: duplicate left keys collapse) 4make_list 4
Severity
Medium 49High 33Low 17Informational 6
Schedules (analytic rules)
every 1h over 1h 32every 1d over 1d 18every 15m over 15m 6every 1d over 14d 5every 30m over 30m 5every 1h over 14d 4every 5m over 5m 4every 1d over 25h 2every 1h over 2d 2every 2h over 14d 2every 5m over 1d 2every 10m over 10m 1every 15m over 1d 1every 1d over 2d 1every 1d over 3d 1
Look-back windows in ago()
30m 41h 324h 32d 230d 25m 27d 214d 12h 1
Every rule tagged with it
- User State changed from Guest to Member
- Anomalous login followed by Teams action
- High risk Office operation conducted by IP Address that recently attempted to log into a disabled account
- NRT Malicious Inbox Rule
- Detect PIM Alert Disabling activity
- DSRM Account Abuse
- Group created then added to built in domain local or global group
- Account added and removed from privileged groups
- User account added to built in domain local or global group
- User account created and deleted within 10 mins
- User account enabled and disabled within 10 mins
- New user created and added to the built-in administrators group
- AD account with Don't Expire Password
- External User Access Enabled
- AWS Security Hub - Detect root user lacking MFA
- AWS Security Hub - IAM users with console password and no MFA
- AWSCloudTrail - IAM New Access Key Created for User
- AWSCloudTrail - IAM CreateLoginProfile Activity
- AWSCloudTrail - IAM Privilege Escalation by Instance Profile Attachment
- AWSCloudTrail - IAM login profile updated
- AWSCloudTrail - RDS Master Password Changed
- Lateral Movement Risk - Role Chain Length
- Empty group with entitlements
- IaaS policy not attached to any identity
- Stale IAAS policy attachment to role
- Suspicious granting of permissions to an account
- Rare subscription-level operations in Azure
- Granting permissions to account
- Firewall rule manipulation attempts stateful anomaly on database
- Azure RBAC AKS created role details
- Determine users with cluster admin role
- Azure DevOps Administrator Group Monitoring
- Azure DevOps Pull Request Policy Bypassing - Historic allow list
- Azure DevOps Service Connection Addition/Abuse - Historic allow list
- Azure DevOps Service Connection Abuse
- Azure DevOps- Addtional Org Admin added
- Azure DevOps Display Name Changes
- Azure DevOps Pull Request Policy Bypassing
- Azure DevOps- Microsoft Entra ID Protection Conditional Access Disabled
- Azure DevOps- Guest users access enabled
- Azure DevOps- Public project enabled by admin
- Azure DevOps- Public project created
- Authentication Method Changed for Privileged Account
- Malicious BEC Inbox Rule
- Login attempts using Legacy Auth
- CiscoISE - ISE administrator password has been reset
- CiscoISE - Device PostureStatus changed to non-compliant
- Multi-Factor Authentication Disabled for a User
- User Granted Access and Grants Access to Other Users
- ContraForce - Machine credential activity
- ContraForce - Privileged access change
- CTE - Enrollment Token Generated
- CYFIRMA - Compromised Employees Detection Rule
- Delinea - Platform configuration change
- Delinea - Privilege escalation detected (role / permission changes)
- Delinea - Configuration changes
- DEV-0270 New User Creation
- GitHub Update Permissions
- Identify GCP Service Account with Overly Permissive Roles
- Identify GCP Instances with Full API Access
- GWorkspace - Admin permissions granted
- GWorkspace - User access has been changed
- Azure Network Configuration Tampered by Compromised Identity
- Post-Auth Config Change on Network Appliance (3P)
- Entra App credential change followed by service principal sign-in burst
- Rare service principal sign-in followed by RBAC write
- AAD Connect host remote admin followed by Entra privilege operation
- App credential change followed by SP sign-in burst
- Appliance management session followed by RBAC write
- Illusive Incidents Analytic Rule
- Malicious Inbox Rule
- Rare and potentially high-risk Office operations
- Office Policy Tampering
- PowerShell or non-browser mailbox login activity
- Dataverse - New non-interactive identity granted access
- F&O - Non-interactive account mapped to self or sensitive privileged user
- Copilot - Plugin Created by Non-Admin User
- Local Admin Group Changes
- Inbox rule changes which forward-redirect email
- Modified domain federation trust settings
- Authentication Methods Changed for Privileged Account
- Attempt to bypass conditional access rule in Microsoft Entra ID
- Conditional Access - A Conditional Access user/group/role exclusion has changed
- Credential added after admin consented to Application
- Mail.Read Permissions Granted to Application
- NRT Modified domain federation trust settings
- NRT User added to Microsoft Entra ID Privileged Groups
- Possible SignIn from Azure Backdoor
- Sign-ins from IPs that attempt sign-ins to disabled accounts
- User added to Microsoft Entra ID Privileged Groups
- VIP Mailbox manipulation
- User added to SQL Server SecurityAdmin Group
- SQL User deleted from Database
- User removed from SQL Server SecurityAdmin Group
- User removed from SQL Server Roles
- User Role altered on SQL Server
- High-Risk Admin Activity
- New Device/Location sign-in along with critical operation
- Create API Token (Okta)
- Initiate impersonation session (Okta)
- New device registration from unfamiliar location
- User password reset (Okta)
- Pathlock TDnR - SAP Authorization Changes
- Pathlock TDnR - Kerberos Keytab Changes
- Pathlock TDnR - System Security Policy Changes
- Pathlock TDnR - CUA Settings Changes
- Pathlock TDnR - SAP Client Configuration Changes
- Pathlock TDnR - Authorization Profile Changes
- Pathlock TDnR - RFC Connection Changes
- Pathlock TDnR - Authorization Role Changes
- Pathlock TDnR - User Access Management Password Resets
- Pathlock TDnR - SAP Instance Profile Changes
- Pathlock TDnR - Global System Change Setting Events
- Pathlock TDnR - User Master Data Changes
- Pathlock TDnR - User-Profile Assignment Changes
- Pathlock TDnR - User-Role Assignment Changes
- Ping Federate - Abnormal password resets for user
- Ping Federate - Password reset requests
- Ping Federate - Users recently reseted password
- Pulumi Cloud - Organization membership change
- RecordedFuture Threat Hunting Url All Actors
- Threat Essentials - NRT User added to Microsoft Entra ID Privileged Groups
- Semperis DSP Recent sIDHistory changes on AD objects
- Semperis DSP RBAC Changes
- SlackAudit - User role changed to admin or owner
- SlackAudit - User Permission Changed
- StealthTalk - Multi new devices registration
- StealthTalk - Account takeover sequence
- Tailscale: Auth key created
- Tailscale: Device Tailscale SSH newly enabled
- Tailscale: New API access token or OAuth client created
- Tailscale: OAuth client or API key created with write scopes
- Tailscale Premium: New posture integration added
- Tailscale: Unauthorized device connected to control plane
- Tailscale: User role elevated to admin or owner
- Tailscale: ACL policy churn
- Tailscale: Auth key sprawl
- Tailscale: Auth keys with no expiry
- Anomalous Entra High-Privilege Role Modification
- Anomalous GCP IAM Activity
- Anomalous High-Privileged Role Assignment
- UniFi Site Manager: Console group membership churn
- UniFi Site Manager: Devices adopted outside business hours
- Uniqkey - Self-granted privilege or access change
- VMware ESXi - Root password changed
- Valimail Enforce - Bulk Domain Changes by Single User
- Valimail Enforce - Configuration Change Rate Trend
- Valimail Enforce - High Value Event Summary
- AD user enabled and password not set within 48 hours
- Group added to Built in Domain Local or Global Group
- User Account added to Built in Sensitive or Privileged Domain Local or Global Group
- Long lookback User Account Created and Deleted within 10mins
- User account added or removed from a security group by an unauthorized user
- User created by unauthorized user
- [Entra ID] Authentication Method Changed for Privileged Account
- [Entra ID] Domain Federation Trust Settings Modified
Rules are from Azure/Azure-Sentinel (MIT licence) at commit 9ea9f7c. VeriKQL stores facts its parser read from each rule and links the rule; it does not copy rule text. Counts are what the rules do: practice, not guidance, and not Microsoft's recommendation.