-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Rule: Malware Bazaar hash in archive (#1160)
Co-authored-by: ID Generator <[email protected]> Co-authored-by: Josh Kamdjou <[email protected]>
- Loading branch information
1 parent
c3f3811
commit cdc4f46
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
detection-rules/attachment_malwarebazaar_hash_in_archive.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: "MalwareBazaar: Malicious attachment hash in archive (trusted reporters)" | ||
description: "Detects if an arhive attachments contains a file that matches a SHA256 hash reported as malware on MalwareBazaar by trusted reporters from unknown senders." | ||
type: "rule" | ||
severity: "high" | ||
source: | | ||
type.inbound | ||
and any(attachments, | ||
.file_extension in~ $file_extensions_common_archives | ||
and any(file.explode(.), | ||
.scan.hash.sha256 in $abuse_ch_malwarebazaar_sha256_trusted_reporters | ||
) | ||
) | ||
and ( | ||
not profile.by_sender().solicited | ||
or ( | ||
profile.by_sender().any_messages_malicious_or_spam | ||
and not profile.by_sender().any_false_positives | ||
) | ||
) | ||
and not profile.by_sender().any_false_positives | ||
attack_types: | ||
- "Malware/Ransomware" | ||
tactics_and_techniques: | ||
- "Evasion" | ||
detection_methods: | ||
- "Archive analysis" | ||
- "File analysis" | ||
- "Sender analysis" | ||
- "Threat intelligence" | ||
id: "9d734281-3111-5bed-a192-9ae0e1ad6b9d" |