Skip to content

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_RTF_Ancalog_Exploit_Builder_Document

Detects documents generated by Phantom Crypter/Ancalog

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 documents generated by Phantom Crypter/Ancalog

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

Summary generated from the rule's metadata and condition.

Rule source

indicator-rtf-ancalog-exploit-builder-document.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_RTF_Ancalog_Exploit_Builder_Document : FILE
{
	meta:
		description = "Detects documents generated by Phantom Crypter/Ancalog"
		author = "ditekSHen"
		id = "01e7f949-8ced-5355-978c-34d6e639e61a"
		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#L551-L563"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "e458be78ca8975d067110dc38119437b3ffe55afdbfdab47468c9ed74bba9f9d"
		score = 75
		quality = 75
		tags = "FILE"
		snort2_sid = "910000-910001"
		snort3_sid = "910000"
		clamav_sig = "INDICATOR.RTF.AncalogExploitBuilderDocument"

	strings:
		$builder1 = "{\\*\\ancalog" ascii
		$builder2 = "\\ancalog" ascii

	condition:
		uint32( 0 ) == 0x74725c7b and 1 of ( $builder* )
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$builder1text"{\\*\\ancalog"ascii
$builder2text"\\ancalog"ascii

Condition

uint32( 0 ) == 0x74725c7b and 1 of ( $builder* )

In plain words (Heuristic)

  • The file must start with “{\rt” — an RTF document.
  • At least 1 patterns in ( $builder* ) 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: 01e7f949-8ced-5355-978c-34d6e639e61a

Metadata

snort2_sid910000-910001
snort3_sid910000
clamav_sigINDICATOR.RTF.AncalogExploitBuilderDocument

Tags:FILE