YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_Claude_Refusal_Magic_String_Jan26
Detects 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
- 75 / 83
What this rule detects
Detects 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_SUSP_Claude_Refusal_Magic_String_Jan26
{
meta:
= "Detects 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"
= "7a164817-9e90-52f6-a3cb-e6965ee1cc54"
= "2026-01-29"
= "2026-05-15"
= "https://x.com/williballenthin/status/2014687699165135150"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/susp_claude_magic_strings.yar#L1-L14"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "ffa48ed4b7b48897f6756c4222b2606399de0bca627cedfddf61e69986580430"
= "ae5b451168d03440f84b89d96db2688f828e5dcbcdd1121edf3fb973571d2dbd"
= 75
= 83
= ""
strings:
$x1 = "ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_" ascii wide nocase
condition:
$x1
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_" | ascii wide nocase |
Condition
$x1In 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.
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)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 7a164817-9e90-52f6-a3cb-e6965ee1cc54
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-03-31
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-06-15
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-06-15
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2025-11-24
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2025-11-24
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29
- MalwareSignature Base (Florian Roth / Nextron)· Marius Benthin· 2026-01-29