Detections

Explore public detection logic contributed by the community across SIEM and rule languages.

81 detections

Multi-layered detection rule that identifies anomalous behavior on privileged accounts across six independent detection layers: absolute rule violations ("never actions"), self-calibrating ratio-based thresholds, behavioral technique substitution (e.g., WMI drop-off while other lateral movement continues), time-series statistical anomaly detection via series_decompose_anomalies(), reconnaissance burst detection on LDAP/directory queries, and MFA gap analysis. All layers roll up into a composite risk score for analyst prioritization. Originally derived from diffpatterns() analysis of real penetration test data vs. normal operations, this community edition replaces environment-specific hardcoded thresholds with self-calibrating statistical baselines. Requires Microsoft Defender for Identity and Entra ID Sign-in Logs.
avatar
Nicholas Isakson@nisakson2000
avatar
Detections.ai Community
8 months ago
260252
This rule detects inbound network connections to Active Directory Web Services (ADWS) on port 9389, followed by either LDAP query events (Event ID 1644) or operations on Active Directory objects (Event ID 4662) originating from the same device. This combination of events can indicate reconnaissance or malicious activity targeting Active Directory, such as attempts to enumerate accounts or groups, or to modify AD objects.
avatar
Steven Lim@KQLWizard
avatar
SlimKQL 2026
8 months ago
111197
This rule detects suspicious user-agent strings in Microsoft Graph activity logs that are commonly associated with reconnaissance and attack tools targeting Azure AD and Microsoft 365 environments. These tools include BloodHound, ROADtools, AADInternals, and various other utilities used for enumeration, credential spraying, and other malicious activities.
avatar
Information hacker@Informationhacker
avatar
Detections.ai Community
9 months ago
350413
Detects Commandlet names from well-known PowerShell exploitation frameworks
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
11 months ago
007
Detects Commandlet names from well-known PowerShell exploitation frameworks
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
11 months ago
006
Detects Commandlet names from well-known PowerShell exploitation frameworks
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
11 months ago
005
Detects scenarios where an attacker enumerates local administratos group on multiple hosts via SharpHound.
SIGMA Detection Rules@SIGMADetectionRules
SIGMA Detection Rules
1 year ago
4061
Detects scenarios where an attacker attempts to enumerate local or domain groups via commandline.
SIGMA Detection Rules@SIGMADetectionRules
SIGMA Detection Rules
1 year ago
0020
Detects scenarios where an attacker enumerates domain group with tools like CME (--groups).
SIGMA Detection Rules@SIGMADetectionRules
SIGMA Detection Rules
1 year ago
0013
Detects scenarios where an attacker attempts to enumerate domain local groups with tools like CME (--local-groups).
SIGMA Detection Rules@SIGMADetectionRules
SIGMA Detection Rules
1 year ago
006
Detects scenarios where an attacker attempts to enumerate sensitive domain group settings and membership.
SIGMA Detection Rules@SIGMADetectionRules
SIGMA Detection Rules
1 year ago
005
This query detects PowerShell and command-line activities associated with Active Directory reconnaissance, focusing on:

- Account & Group Discovery (T1087, T1069)
-- Local/Domain user/group enumeration (Get-ADUser, net user, Get-LocalGroupMember).

- Password Policy Discovery (T1201)
-- Checks domain password rules (Get-ADDefaultDomainPasswordPolicy, net accounts /domain).

- Domain Trust & Network Mapping (T1482, T1135, T1016)
-- Trust relationships (nltest /domain_trusts), shares (net share), and DNS/IP config (ipconfig).

- Lateral Movement Prep (T1021.002, T1213.002)
-- SMB share access (net use), AD object/ACL dumping (Get-ADObject).

Why It Matters:
Adversaries use these commands to map the AD environment before attacks like:

- Brute-forcing (using password policy info from T1201).
- Privilege escalation (via group membership data from T1069).
- Lateral movement (via share/trust discovery from T1135/T1482).
avatar
Awais Munir@iawais
avatar
Detections.ai Community
1 year ago
285270
Detects command-line and PowerShell attempts to discover Windows domain/local password policies, which adversaries use to plan brute-force attacks or credential exploitation.

Each command is a reconnaissance step to answer:
"How many guesses can I make before lockout?"
"What password complexity rules exist?"
"Which domains have weaker policies?"

This aligns with MITRE’s definition of T1201.
avatar
Awais Munir@iawais
avatar
Detections.ai Community
1 year ago
8279
Detects the execution of PowerShell commandlets commonly associated with well-known PowerShell exploitation frameworks and tools. This rule identifies specific commandlet names within process command lines, indicating potential malicious activity such as credential dumping, reconnaissance, privilege escalation, persistence, and lateral movement.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
2060
Detects Commandlet names from well-known PowerShell exploitation frameworks
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
0041
Detects Commandlet names from well-known PowerShell exploitation frameworks
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
2039
Detects Commandlet names from well-known PowerShell exploitation frameworks
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
0036
Detects the use of known malicious PowerShell commandlets often associated with exploitation frameworks. These commandlets perform various adversarial actions such as credential dumping, reconnaissance, persistence, privilege escalation, and data exfiltration.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0039
Detects the use of known malicious PowerShell commandlets often associated with exploitation frameworks, red-teaming tools, and malware. This rule identifies a wide range of offensive PowerShell functions used for reconnaissance, credential dumping, privilege escalation, persistence, and data exfiltration.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
1029
KQL Query from file: Threat Hunting AzureHound Usage
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
101272
KQL Query from file: Sentinel KQL Detection for ShadowHound
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
60224
Page 3 of 4