Skip to content

Commit 40d09f6

Browse files
Create CVE -2024-21413.yar
1 parent 00fe067 commit 40d09f6

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
rule EXPL_CVE_2024_21413_Microsoft_Outlook_RCE_Feb24 {
2+
3+
meta:
4+
5+
description = "Detects emails that contain signs of a method to exploit CVE-2024-21413 in Microsoft Outlook"
6+
7+
author = "X__Junior, Florian Roth"
8+
9+
reference = "https://github.com/xaitax/CVE-2024-21413-Microsoft-Outlook-Remote-Code-Execution-Vulnerability/"
10+
11+
date = "2024-02-17"
12+
13+
modified = "2024-02-19"
14+
15+
score = 75
16+
17+
strings:
18+
19+
$a1 = "Subject: "
20+
21+
$a2 = "Received: "
22+
23+
24+
25+
$xr1 = /file:\/\/\/\\\\[^"']{6,600}\.(docx|txt|pdf|xlsx|pptx|odt|etc|jpg|png|gif|bmp|tiff|svg|mp4|avi|mov|wmv|flv|mkv|mp3|wav|aac|flac|ogg|wma|exe|msi|bat|cmd|ps1|zip|rar|7z|targz|iso|dll|sys|ini|cfg|reg|html|css|java|py|c|cpp|db|sql|mdb|accdb|sqlite|eml|pst|ost|mbox|htm|php|asp|jsp|xml|ttf|otf|woff|woff2|rtf|chm|hta|js|lnk|vbe|vbs|wsf|xls|xlsm|xltm|xlt|doc|docm|dot|dotm)!/
26+
27+
condition:
28+
29+
filesize < 1000KB
30+
31+
and all of ($a*)
32+
33+
and 1 of ($xr*)
34+
35+
}

0 commit comments

Comments
 (0)