YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_Crime_Ole_Loadswf_Cve_2018_4878
Detects CVE-2018-4878
- Author
- Vitali Kremez, Flashpoint
- Date
- 2026-01-01
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects CVE-2018-4878
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
crime-ole-loadswf-cve-2018-4878.yarDetection Rule License 1.1
rule SIGNATURE_BASE_Crime_Ole_Loadswf_Cve_2018_4878 : PURPORTED_NORTH_KOREAN_ACTORS CVE_2018_4878 FILE
{
meta:
= "Detects CVE-2018-4878"
= "Vitali Kremez, Flashpoint"
= "44797bbc-693b-5fcb-a4a4-4ebf3f4da725"
= "2026-01-01"
= "2023-12-05"
= "hxxps://www[.]krcert[.]or[.kr/data/secNoticeView.do?bulletin_writing_sequence=26998"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_ole_loadswf_cve_2018_4878.yar#L2-L31"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "716cad0c5a12cc360522e2649c7870a493bef4bec3d55c3a3e235f3a85c02a56"
= 75
= 85
= "PURPORTED NORTH KOREAN ACTORS, CVE-2018-4878, FILE"
= "Remote Code Execution"
= "Use-after-free"
= "Adobe Flash 28.0.0.137 and earlier versions"
= "Implement Protected View for Office documents"
= "Disable Adobe Flash"
= "Embedded in Microsoft Office first payloads"
= "Purported North Korean actors"
strings:
$header = "rdf:RDF" wide ascii
$title = "Adobe Flex" wide ascii
$pdb = "F:\\work\\flash\\obfuscation\\loadswf\\src" wide ascii
$s0 = "URLRequest" wide ascii
$s1 = "URLLoader" wide ascii
$s2 = "loadswf" wide ascii
$s3 = "myUrlReqest" wide ascii
condition:
filesize < 500KB and all of ( $header* ) and all of ( $title* ) and 3 of ( $s* ) or all of ( $pdb* ) and all of ( $header* ) and 1 of ( $s* )
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $header | text | "rdf:RDF" | wide ascii |
| $title | text | "Adobe Flex" | wide ascii |
| $pdb | text | "F:\\work\\flash\\obfuscation\\loadswf\\src" | wide ascii |
| $s0 | text | "URLRequest" | wide ascii |
| $s1 | text | "URLLoader" | wide ascii |
| $s2 | text | "loadswf" | wide ascii |
| $s3 | text | "myUrlReqest" | wide ascii |
Condition
filesize < 500KB and all of ( $header* ) and all of ( $title* ) and 3 of ( $s* ) or all of ( $pdb* ) and all of ( $header* ) and 1 of ( $s* )In plain words (Heuristic)
- The file must be smaller than 500KB (a cheap guard that skips large files).
- All patterns in ( $header* ) must match.
- All patterns in ( $title* ) must match.
- All patterns in ( $pdb* ) must match.
- At least 3 patterns in ( $s* ) must match.
- At least 1 patterns in ( $s* ) 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
Licence & attribution
Author: Vitali Kremez, Flashpoint
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 44797bbc-693b-5fcb-a4a4-4ebf3f4da725
Metadata
| vuln_type | Remote Code Execution |
|---|---|
| vuln_impact | Use-after-free |
| affected_versions | Adobe Flash 28.0.0.137 and earlier versions |
| mitigation0 | Implement Protected View for Office documents |
| mitigation1 | Disable Adobe Flash |
| weaponization | Embedded in Microsoft Office first payloads |
| actor | Purported North Korean actors |