Detections

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

11 detections

This rule detects the download of a file over HTTP that contains the string "=cmd|" (case-insensitive) within its data. This pattern is indicative of a DDE (Dynamic Data Exchange) formula injection attempt, often used in Office documents to execute commands.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
005
Detects Dynamic Data Exchange formula injection in Office documents for code execution
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
002
This rule detects the download of a CSV file that contains a Dynamic Data Exchange (DDE) attack payload. Specifically, it looks for HTTP responses delivering a file with a '.csv' extension and the string '=HYPERLINK(' within the file data, indicating a potential DDE exploit attempt.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
001
Detects the PipeMagic backdoor, a modular framework used by Storm-2460. The rule identifies specific hardcoded keys, configuration artifacts, and strings related to its C2 communication and module management.
avatar
Matt Brady@mbrady5299
avatar
Detections.ai Community
1 year ago
2030
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
10063
Enable Dynamic Data Exchange protocol (DDE) in all supported editions of Microsoft Word or Excel.
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
0013
Enable Dynamic Data Exchange protocol (DDE) in all supported editions of Microsoft Word or Excel.
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
1010
This query was originally published in the threat analytics report, MailSniper Exchange attack tool.
MailSniper is a tool that targets Microsoft Exchange Server. The core function is to connect to Exchange Server and search through emails. In support of this, it can perform reconnaissance, collection, exfiltration, and credential theft. MailSniper is used both by red teams running penetration tests, and by malicious actors.
Microsoft Defender Security Center may record the following alerts during and after an attack:
1. Global mail search on Exchange using MailSniper
2. Exchange mailbox or mail folder search using MailSniper
3. Enumeration of Active Directory usernames using MailSniper
4. Enumeration of the Exchange GAL using MailSniper
5. Access to Exchange inboxes using MailSniper
6. Password spraying using MailSniper
7. Enumeration of domains and user accounts using MailSniper
The following query detects activity commonly associated with attacks run with MailSniper.
Reference - https://github.com/dafthack/MailSniper
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0039
Identifies anomalous increases in Exchange mail items accessed operations.
The query leverages KQL built-in anomaly detection algorithms to find large deviations from baseline patterns.
Sudden increases in execution frequency of sensitive actions should be further investigated for malicious activity.
Manually change scorethreshold from 1.5 to 3 or higher to reduce the noise based on outliers flagged from the query criteria.
Read more about MailItemsAccessed- https://docs.microsoft.com/microsoft-365/compliance/advanced-audit?view=o365-worldwide#mailitemsaccessed
Query insprired by Azure Sentinel detection https://github.com/Azure/Azure-Sentinel/blob/master/Detections/OfficeActivity/MailItemsAccessedTimeSeries.yaml
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0038
This rule detects modifications to registry keys that enable the Dynamic Data Exchange (DDE) protocol in Microsoft Word or Excel. Specifically, it looks for changes to 'AllowDDE' in Word or 'DisableDDEServerLaunch'/'DisableDDEServerLookup' in Excel to a value that enables DDE. Adversaries may enable DDE to execute arbitrary commands, often as part of phishing campaigns or through embedded files, to bypass macro-based defenses.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0023
Enable Dynamic Data Exchange protocol (DDE) in all supported editions of Microsoft Word or Excel.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
001