Detections

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

175 detections

Detects calls to WinAPI functions from PowerShell scripts. Attackers can often leverage these APIs to avoid detection based on typical PowerShell function calls. Use this rule as a basis to hunt for interesting scripts.
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
007
This query will find applications that have been granted Mail.Read or Mail.ReadWrite permissions in which the corresponding user recently consented to. It can help identify applications that have been abused to gain access to user email.
The actor, Nobelium, was observed modifying existing tenant application permissions to allow them to read user email through the Microsoft Graph API. See Customer Guidance on Recent Nation-State Cyber Attacks.
This query is insprired by an Azure Sentinel detection.
References:
https://msrc-blog.microsoft.com/2020/12/13/customer-guidance-on-recent-nation-state-cyber-attacks/
https://github.com/Azure/Azure-Sentinel/blob/master/Detections/AuditLogs/MailPermissionsAddedToApplication.yaml
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2042
'Shows the rarest processes seen running for the first time. (Performs best over longer time ranges - eg 3+ days rather than 24 hours!)
These new processes could be benign new programs installed on hosts;
However, especially in normally stable environments, these new processes could provide an indication of an unauthorized/malicious binary that has been installed and run.
Reviewing the wider context of the logon sessions in which these binaries ran can provide a good starting point for identifying possible attacks.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1038
Detects calls to WinAPI libraries from PowerShell scripts. Attackers can often leverage these APIs to avoid detection based on typical PowerShell function calls. Use this rule as a basis to hunt for interesting scripts.
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
006
This query helps you review all OAuth applications accessing user mail via Graph. It could return a significant number of results depending on how many applications are deployed in the environment.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0034
Detects different process creation events as described in Malwarebytes's threat report on Lazarus group activity
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
005
Detects actions caused by the RedMimicry Winnti playbook a automated breach emulations utility
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
005
Detects HandleKatz opening LSASS to duplicate its handle to later dump the memory without opening any new handles
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
005
Detects usage of "cdb.exe" to launch arbitrary processes or commands from a debugger script file
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
004
Detects actions caused by the RedMimicry Winnti playbook a automated breach emulations utility
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
004
Detects use of WinAPI functions in PowerShell scripts
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
004
Detects different process creation events as described in Malwarebytes's threat report on Lazarus group activity
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
004
Detects suspicious mshta process execution patterns
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
004
Detects usage of "cdb.exe" to launch arbitrary processes or commands from a debugger script file
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
004
Detects potential calls to NtOpenProcess directly from NTDLL.
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
004
Detects the creation of named pipes with specific names known to be used by the Turla APT group. These named pipes include '\atctl', '\comnap', '\iehelper', '\sdlrpc', and '\userpipe'. The rule relies on Sysmon Event ID 17 or 18 for named pipe creation events.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0023
Detects HandleKatz, a tool designed to duplicate the LSASS process handle with specific access rights (PROCESS_DUP_HANDLE, PROCESS_QUERY_LIMITED_INFORMATION, PROCESS_QUERY_INFORMATION) to later dump its memory without opening new handles. The detection logic focuses on the target image being 'lsass.exe', the specific granted access rights, and a suspicious call trace originating from ntdll.dll with an 'UNKNOWN' module.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0015
Detects the use of Windows API (WinAPI) functions being called directly via the command line. This technique is often used by threat actors, for example, with tools like winapiexec, to perform various malicious actions such as privilege escalation, process injection, or credential dumping by directly interacting with low-level operating system functions. The rule specifically looks for a wide range of sensitive WinAPI function names and DLLs in the command line arguments of newly created processes.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0014
This rule detects GET requests to the Microsoft Graph API's '/v1.0/groups' endpoint. This activity can indicate an adversary enumerating groups within an Azure Active Directory environment, potentially using tools like GraphRunner's 'Get-DynamicGroups' function or similar custom scripts. Successful requests (HTTP 200) are specifically targeted.
avatar
Google SecOps@GoogleSecOps
avatar
Google SecOps Detection Rules
2 years ago
1076
Detects the use of WinAPI Functions via the commandline. As seen used by threat actors via the tool winapiexec
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
002
This rule detects potential direct system calls to NtOpenProcess, specifically when the CallTrace starts with 'UNKNOWN'. This behavior can be indicative of advanced persistent threats (APTs) or malware attempting to evade detection by bypassing user-mode API hooks. The rule includes several filters to reduce false positives from legitimate applications and system processes.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
1013
Page 8 of 9