Encoding, Obfuscation & Evasion

Detects obfuscated payloads, encoded commands, and evasion techniques designed to bypass security scanners

9 rules in obfuscation_evasion.yml

HIGH: 8 | MEDIUM: 1

Rule IDSeverityTitleDescriptionRefs
base32_encoded_payloadHIGHBase32/Base16 Encoded Payloadbase32 / base16 -d output is piped into sh/bash/python/perl. Encoding hides the payload from string-based detection until it reaches the interpreter.
curl_output_executionHIGHDownloaded File ExecutionDownloads a file and immediately executes it, bypassing inspection
env_var_constructed_commandHIGHEnvironment Variable Constructed CommandConstructs a command from multiple environment variables to evade detection
gzip_compressed_payloadHIGHCompressed Payload ExecutionDecompresses and executes a payload to evade pattern detection
hex_encoded_payloadHIGHHex-Encoded Payload ExecutionDecodes and executes hex-encoded payloads to evade pattern detection
perl_obfuscated_execHIGHObfuscated Perl Code Executionperl -e expression mixes eval with pack/unpack/chr or MIME::Base64::decode_base64. The shape decodes a hidden payload at runtime - a textbook AV evasion idiom.
python_obfuscated_execHIGHObfuscated Python Code ExecutionExecutes obfuscated Python code using exec(), compile(), or import tricks
variable_indirection_evasionHIGHVariable Indirection for Command EvasionUses shell variable concatenation or indirection to construct commands at runtime, evading static detection
rev_string_evasionMEDIUMReversed String EvasionUses the rev command to reverse obfuscated strings at runtime