Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_Claude_Redacted_Thinking_Magic_String_Jan26_1

Detects redacted thinking magic string that cause Claude sessions to be terminated. This might indicate that a file tries to prevent being analyzed by LLM agents.

Suspicious / huntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Marius Benthin
Date
2026-01-29
Modified
2026-05-15
Score / Quality
65 / 83

What this rule detects

Detects redacted thinking magic string that cause Claude sessions to be terminated. This might indicate that a file tries to prevent being analyzed by LLM agents.

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

Summary generated from the rule's metadata and condition.

Rule source

susp-claude-redacted-thinking-magic-string-jan26-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_Claude_Redacted_Thinking_Magic_String_Jan26_1
{
	meta:
		description = "Detects redacted thinking magic string that cause Claude sessions to be terminated. This might indicate that a file tries to prevent being analyzed by LLM agents."
		author = "Marius Benthin"
		id = "623de3f9-ea03-5b6a-bb24-14b4a6d4a7c9"
		date = "2026-01-29"
		modified = "2026-05-15"
		reference = "Internal Research"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/susp_claude_magic_strings.yar#L30-L43"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "ffa48ed4b7b48897f6756c4222b2606399de0bca627cedfddf61e69986580430"
		logic_hash = "02b85e9df893d6be91f8053ac67884e5a24893ef225ca0e7b3878b38afb79420"
		score = 65
		quality = 83
		tags = ""

	strings:
		$x1 = "ANTHROPIC_MAGIC_STRING_TRIGGER_REDACTED_THINKING_" ascii wide nocase

	condition:
		$x1
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$x1text"ANTHROPIC_MAGIC_STRING_TRIGGER_REDACTED_THINKING_"ascii wide nocase

Condition

$x1

In plain words (Heuristic)

  • Pattern $x1 must be present.

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

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • ffa48ed4b7b48897f6756c4222b2606399de0bca627cedfddf61e69986580430

Licence & attribution

Author: Marius Benthin

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

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

Rule id: 623de3f9-ea03-5b6a-bb24-14b4a6d4a7c9