YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_Claude_Refusal_Magic_String_Jan26
Detects Base64 variations of refusal 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
- Date
- 2026-01-29
- Modified
- 2026-05-15
- Score / Quality
- 80 / 85
What this rule detects
Detects Base64 variations of refusal 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
rule SIGNATURE_BASE_MAL_Claude_Refusal_Magic_String_Jan26
{
meta:
= "Detects Base64 variations of refusal magic string that cause Claude sessions to be terminated. This might indicate that a file tries to prevent being analyzed by LLM agents."
= "Marius Benthin"
= "8f0351b7-56b8-5059-8c1e-e8d87fa0ca91"
= "2026-01-29"
= "2026-05-15"
= "Internal Research"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/susp_claude_magic_strings.yar#L16-L28"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "e1c070b77e3568966f605fa47a2b3be917065954bc157e3721ff2fb3ac4d72f7"
= 80
= 85
= ""
strings:
$xb1 = "ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_" ascii wide base64 base64wide
condition:
$xb1
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $xb1 | text | "ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_" | ascii wide base64 base64wide |
Condition
$xb1In plain words (Heuristic)
- Pattern $xb1 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.
Licence & attribution
Author: Marius Benthin
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: 8f0351b7-56b8-5059-8c1e-e8d87fa0ca91
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-03-28
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-03-31
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-03-28
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2025-11-24
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2025-11-24
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-03-31