Skip to content

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_XML_OLE_Autoload_Document

detects AutoLoad documents using OLE Object

Suspicious / huntingditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-09-06
Score / Quality
75 / 75

What this rule detects

detects AutoLoad documents using OLE Object

It defines 3 patterns (3 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

indicator-xml-ole-autoload-document.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_XML_OLE_Autoload_Document : FILE
{
	meta:
		description = "detects AutoLoad documents using OLE Object"
		author = "ditekSHen"
		id = "b3d682c3-641a-554a-8607-e99d07e9a57d"
		date = "2020-11-06"
		modified = "2024-09-06"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_office.yar#L596-L606"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b262a9f8e82dea55afc26acac731827b64f52069a2bf314f716832b3dfc2c04f"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "autoLoad=\"true\"" ascii
		$s2 = "/relationships/oleObject\"" ascii
		$s3 = "Target=\"../embeddings/oleObject" ascii

	condition:
		uint32( 0 ) == 0x6d783f3c and all of ( $s* )
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$s1text"autoLoad=\"true\""ascii
$s2text"/relationships/oleObject\""ascii
$s3text"Target=\"../embeddings/oleObject"ascii

Condition

uint32( 0 ) == 0x6d783f3c and all of ( $s* )

In plain words (Heuristic)

  • All 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.

Open in editor

References

Licence & attribution

Author: ditekSHen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: b3d682c3-641a-554a-8607-e99d07e9a57d

Tags:FILE