Skip to content

Commit f26a98d

Browse files
authored
Add WinRAR ADS Traversal detection rule
This rule identifies potential ADS traversal in RAR archives by checking for specific patterns and conditions.
1 parent febe623 commit f26a98d

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
rule WinRAR_ADS_Traversal
2+
{
3+
meta:
4+
id = "7Eg0fdIJ67bBekR1rpUlNJ"
5+
fingerprint = "v1_sha256_7c52c7e31793540231f5a317dfc6b1cbcc40dc78a4084bf9271ea7c7da8e5e33"
6+
version = "1.0"
7+
date = "2025-08-12"
8+
modified = "2025-08-12"
9+
status = "RELEASED"
10+
sharing = "TLP:WHITE"
11+
source = "BARTBLAZE"
12+
author = "@bartblaze"
13+
description = "Identifies potential ADS traversal in RAR archives."
14+
category = "INFO"
15+
reference = "https://www.welivesecurity.com/en/eset-research/update-winrar-tools-now-romcom-and-others-exploiting-zero-day-vulnerability/"
16+
17+
strings:
18+
$rar= { 52 61 72 21 }
19+
$ads_traversal = ":..\\..\\..\\..\\..\\..\\..\\..\\" ascii wide nocase
20+
$zone_identifier = "Zone.Identifier" ascii wide nocase
21+
$lnk = "lnk" ascii wide nocase
22+
$bat = "bat" ascii wide nocase
23+
$vbs = "vbs" ascii wide nocase
24+
$js = "js" ascii wide nocase
25+
$exe = "exe" ascii wide nocase
26+
27+
condition:
28+
$rar at 0 and $ads_traversal
29+
and not $zone_identifier
30+
and any of ($lnk, $bat, $vbs, $js, $exe)
31+
}

0 commit comments

Comments
 (0)