YARA · elceef yara-rulz
ELCEEF_Winrar_CVE_2023_38831_Exploit
Detects ZIP archives exploiting CVE-2023-38831 in WinRAR
- Author
- marcin@ulikowski.pl
- Date
- 2023-09-23
- Modified
- 2023-09-28
- Score / Quality
- 75 / 75
What this rule detects
Detects ZIP archives exploiting CVE-2023-38831 in WinRAR
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule ELCEEF_Winrar_CVE_2023_38831_Exploit : CVE_2023_38831 FILE
{
meta:
= "Detects ZIP archives exploiting CVE-2023-38831 in WinRAR"
= "marcin@ulikowski.pl"
= "7d592eb7-b344-59ed-adf8-fe69ebb1e43f"
= "2023-09-23"
= "2023-09-28"
= "https://www.group-ib.com/blog/cve-2023-38831-winrar-zero-day"
= "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/WinRAR_CVE_2023_38831.yara#L1-L17"
= "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE"
= "00175d538cba0c493e397a0b7f4b28f9a90dd0ee40f69795ae28d23ce0d826c0"
= "ca8ca67df7853b86b6a107c8fd7f73b757de9143ea8844d0e6209249e8377885"
= "06f1d807429fb175831cf333b05b44b6ce33b4ae981e16c03e36ec7564a4fdd1"
= 75
= 75
= "CVE-2023-38831, FILE"
strings:
$ = { 50 4b 03 04 [24] 00 00 [3-64] 2e ?? ?? ?? 20 2f [3-64] 2e ?? ?? ?? 20 2e ( 626174 | 636d64 | 707331 ) }
condition:
uint16be( 0 ) == 0x504b and all of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | hex | { 50 4b 03 04 [24] 00 00 [3-64] 2e ?? ?? ?? 20 2f [3-64] 2e ?? ?? ?? 20 2e ( 626174 | 636d64 | 707331 ) } |
Condition
uint16be( 0 ) == 0x504b and all of themIn plain words (Heuristic)
- All patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 00175d538cba0c493e397a0b7f4b28f9a90dd0ee40f69795ae28d23ce0d826c0
- ca8ca67df7853b86b6a107c8fd7f73b757de9143ea8844d0e6209249e8377885
Licence & attribution
Author: marcin@ulikowski.pl
Source repository: elceef yara-rulz @ 5683b294a1
Licence: MIT License (repository licence)
Copyright notice: Copyright (c) 2022 Marcin Ulikowski
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 7d592eb7-b344-59ed-adf8-fe69ebb1e43f
Tags:CVE_2023_38831FILE
Related rules
- Exploitelceef yara-rulz· marcin@ulikowski.pl· 2025-08-18
- Genericelceef yara-rulz· marcin@ulikowski.pl· 2024-04-10
- Genericelceef yara-rulz· marcin@ulikowski.pl· 2023-05-05
- Suspicious / huntingelceef yara-rulz· marcin@ulikowski.pl· 2023-05-01
- Genericelceef yara-rulz· marcin@ulikowski.pl· 2023-04-17
- Genericelceef yara-rulz· marcin@ulikowski.pl· 2023-03-08
- Genericelceef yara-rulz· marcin@ulikowski.pl· 2022-10-25
- Genericelceef yara-rulz· marcin@ulikowski.pl· 2022-12-02