Rules for T1136
How the 26 rules tagged with T1136 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: T1136.001T1136.002T1136.003
Tables and parsers
OfficeActivity 4Tailscale_Audit_CL 3AuditLogs 2CyfirmaASConfigurationAlerts_CL 2DeviceProcessEvents 2GCP_IAM 2GitHubAuditData 2BehaviorAnalytics 1ContraForceEvents_CL 1FinanceOperationsActivity_CL 1GitLabApp 1GitLabAudit 1Pathlock_TDnR_CL 1PingFederateEvent 1SQLEvent 1
Filtered columns
OfficeActivity.OfficeWorkloadMicrosoftTeams3OfficeActivity.OperationMemberAdded3MemberRemoved2AppInstalled1BotAddedToTeam1MemberRoleChanged1Tailscale_Audit_CL.ActionCREATE3Tailscale_Audit_CL.Target.typeAPI_KEY2OAUTH_CLIENT2AUTH_KEY1CyfirmaASConfigurationAlerts_CL.severityCritical1High1DeviceProcessEvents.ProcessCommandLineHealthMailbox55x2yq1New-Mailbox1Update-RoleGroupMember1GCP_IAM.PayloadMethodnamegoogle.iam.admin.v1.CreateServiceAccount2AuditLogs.OperationNameConsent to application1BehaviorAnalytics.ActionTypeAdd user1BehaviorAnalytics.ActivityInsightsTrue1ContraForceEvents_CL.ActivityTypeApiClientSecretRegenerated1ServiceAccountCreated1ServiceAccountCredentialCreated1ServiceAccountCredentialRegenerated1ServiceAccountCredentialRevoked1DeviceProcessEvents.FileNamenet.exe1net1.exe1FinanceOperationsActivity_CL.LogTypeInsert1Update1FinanceOperationsActivity_CL.TableNameSysAADClientTable1GitHubAuditData.Actionorg.add_member1org.invite_member1org.update_member1repo.add_member1team.add_member1
Joins
GitHubAuditData ⋈ GitHubAuditDataOfficeActivity ⋈ OfficeActivity(derived) ⋈ (derived)(derived) ⋈ OfficeActivityAuditLogs ⋈ AuditLogsAuditLogs ⋈ BehaviorAnalyticsGitLabApp ⋈ GitLabAuditUniqkeyEvents_CL ⋈ UniqkeyEvents_CL
Idioms
make_set 3mv-expand (unpack arrays) 3arg_max (latest or earliest row per key) 2dcount 2join with no kind= (innerunique: duplicate left keys collapse) 1leftanti join (A without B) 1make_list 1
Severity
Medium 11Low 4High 3
Schedules (analytic rules)
every 15m over 15m 3every 1h over 1h 3every 1h over 14d 2every 5m over 5m 2every 12h over 12h 1every 1d over 14d 1every 1d over 7d 1every 1h over 1d 1every 24h over 24h 1every 5m over 1d 1
Look-back windows in ago()
24h 214d 15m 1
Every rule tagged with it
- Anomalous login followed by Teams action
- Unusual identity creation using exchange powershell
- ContraForce - Machine credential activity
- CYFIRMA - Attack Surface - Configuration High Rule
- CYFIRMA - Attack Surface - Configuration Medium Rule
- GitHub First Time Invite Member and Add Member to Repo
- GitHub Inactive or New Account Access or Usage
- GitLab - External User Added to GitLab
- GCP IAM - New Service Account
- GCP IAM - New service accounts
- External user added and removed in short timeframe
- External user added and removed in a short timeframe
- External user from a new organisation added to Teams
- F&O - Non-interactive account mapped to self or sensitive privileged user
- Account Creation
- Rare application consent
- New User created on SQL Server
- Pathlock TDnR - SAP Cloud Account Administration Events
- Ping Federate - New user SSO success login
- SlackAudit - New User created
- Tailscale: New API access token or OAuth client created
- Tailscale: OAuth client or API key created with write scopes
- Tailscale: Auth key sprawl
- Tailscale: Auth keys with no expiry
- Anomalous Microsoft Entra ID Account Creation
- Uniqkey - Credential export from newly created account
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.