Script XOR-decodes base64 into eval

HTML_XOR_BASE64_EVAL_INJECTION

← All detection heuristics · HTML

high HTML_XOR_BASE64_EVAL_INJECTION

What it means

Inline script base64-decodes a blob, XORs it byte-by-byte, and evals the result.

Why it fires

The rule fires only when all three appear together: an atob() base64 decode, a byte-by-byte XOR loop (charCodeAt(i) ^ key), and a dynamic-execution sink (eval, new Function, or indirect (0,eval)). This self-decrypting execution primitive has no legitimate purpose in page-embedded inline script — benign minifiers and packers never XOR-decrypt a blob into eval — so requiring the full triad keeps false positives near zero. It is the signature of the compromised-CMS (typically WordPress) JavaScript injector family: card skimmers, malicious redirectors, and drive-by loaders that hide the real payload from static scanners.

Other HTML heuristics

HTML_HTA_VBSCRIPT_DOM_EXECUTE HTML_THIRD_PARTY_CREDENTIAL_HARVEST HTML_ACTIVEX_OBJECT HTML_WINDOWS_SCRIPTING_OBJECT HTML_VBSCRIPT HTML_CREDENTIAL_PHISH_DYNDNS HTML_SCRIPTED_COM_EXECUTION HTML_SMUGGLED_PAYLOAD HTML_LONG_BASE64_SCRIPT_PAYLOAD HTML_OBFUSCATED_STRING_BUILDER HTML_AD_FRAUD_CLOAKING HTML_BASE64_PAYLOAD_URL