Skip to content

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_SUSPICOIUS_RTF_Encodedurl

Detects executables calling ClearMyTracksByProcess

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 executables calling ClearMyTracksByProcess

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

Summary generated from the rule's metadata and condition.

Rule source

indicator-suspicoius-rtf-encodedurl.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_SUSPICOIUS_RTF_Encodedurl : FILE
{
	meta:
		description = "Detects executables calling ClearMyTracksByProcess"
		author = "ditekSHen"
		id = "6b3f0434-24b2-5ae8-a6fc-c0fdded4996f"
		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#L930-L941"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "cb791bb5e2af46ff9f1f07cef33bbd51edc44b2394d6f3eff31d39eaa5ff2a33"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "\\u-65431?\\u-65419?\\u-65419?\\u-65423?\\u-" ascii wide
		$s2 = "\\u-65432?\\u-65420?\\u-65420?\\u-65424?\\u-" ascii wide
		$s3 = "\\u-65433?\\u-65430?\\u-65427?\\u-65434?\\u-" ascii wide
		$s4 = "\\u-65434?\\u-65431?\\u-65428?\\u-65435?\\u-" ascii wide

	condition:
		uint32( 0 ) == 0x74725c7b and any of them
}

Strings (4 patterns)

IdentifierTypeValueModifiers
$s1text"\\u-65431?\\u-65419?\\u-65419?\\u-65423?\\u-"ascii wide
$s2text"\\u-65432?\\u-65420?\\u-65420?\\u-65424?\\u-"ascii wide
$s3text"\\u-65433?\\u-65430?\\u-65427?\\u-65434?\\u-"ascii wide
$s4text"\\u-65434?\\u-65431?\\u-65428?\\u-65435?\\u-"ascii wide

Condition

uint32( 0 ) == 0x74725c7b and any of them

In plain words (Heuristic)

  • The file must start with “{\rt” — an RTF document.
  • At least one pattern 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.

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: 6b3f0434-24b2-5ae8-a6fc-c0fdded4996f

Tags:FILE