Script heuristics

32 detection rules

← All detection heuristics

Hidden PowerShell command decoded info DECODED_POWERSHELL_COMMAND
A command in the file starts PowerShell with its real command hidden in Base64. The decoded command is shown, with any address it contacts.
Hidden script strings decoded info SCRIPT_CHARSHIFT_STRINGS_DECODED
The script hides its text by shifting every character by a fixed amount; the decoded strings are shown.
Known webshell marker string medium WEBSHELL_MARKER
A distinctive named-webshell marker (c99shell/r57/WSO/b374k/Locus7s/…) was found without surrounding script context.
ASP webshell / backdoor source high WEBSHELL_ASP
The file contains ASP webshell code (eval/Execute over Request input, or WScript.Shell.Run of request data).
Heavy JavaScript string-decoder obfuscation high SCRIPT_HEAVY_STRING_DECODER_OBFUSCATION
A large near-single-line script hides behavior behind rotated string tables and character-code decoding.
JSP webshell / backdoor source high WEBSHELL_JSP
The file contains JSP webshell code (Runtime.exec / ProcessBuilder driven by a request parameter).
Script decrypts a .NET program and runs it in memory high SCRIPT_INMEMORY_DOTNET_LOAD
The script decodes, decrypts or unpacks a hidden Windows .NET program and starts it from memory.
Script sets itself to start with a scheduled task high SCRIPT_SCHEDULED_TASK_PERSISTENCE
The script registers a Windows scheduled task so that it runs again at every sign-in.
The shortcut runs a program from a folder next to it, where the folder and program share the same random name. This is a payload bundle shipped with the shortcut.
A VBScript passes the output of an XOR / hex string-decoding function to Execute.
Windows Script Host masquerade high SCRIPT_WSH_MASQUERADE
File contains Windows Script Host code while masquerading as a document.
new ActiveXObject() is called with a computed ProgID in a script that never uses a browser document/window object. Critical when a WSH sink (Run, WMI Create, ShowWindow, GetObject) and obfuscation are both present.
LNK launches a script host with hidden or reduced-interaction flags.
Batch script decodes an embedded file with certutil and runs it critical WINDOWS_BATCH_CERTUTIL_DECODE_RUN
A script certutil-decodes a file to a program/script name (.cmd, .exe, .vbs, ...) and later starts or calls that same file.
Obfuscated WSH script critical SCRIPT_WSH_OBFUSCATED
Windows Script Host content includes execution or obfuscation indicators.
PHP webshell / backdoor source critical WEBSHELL_PHP
The file contains PHP code with the signature of a webshell/backdoor (request input fed to a command/code-exec sink, or a named-shell banner).
PowerShell Add-Type WinAPI tamper/injection scaffold critical WINDOWS_PS_ADDTYPE_WINAPI_TAMPER
PowerShell embeds C# P/Invoke code for suspicious WinAPI process/window/shell operations.
PowerShell bigint-obfuscated network endpoint critical LNK_POWERSHELL_BIGINT_NETWORK_ENDPOINT
A shortcut reconstructs a downloader endpoint from large integer arithmetic.
PowerShell captures and uploads desktop screenshots critical WINDOWS_PS_SCREENSHOT_UPLOAD_EXFIL
PowerShell captures the desktop and uploads saved screenshots with WebClient.
Constant-folding the script's string-variable concatenations yields WScript/ActiveX object creation, an XMLHTTP or ADODB.Stream download and a Run/.exe step, which the script hands to eval, Function or a computed this[...] call.
Script decodes a DLL and executes its export critical WINDOWS_SCRIPT_CERTUTIL_RUNDLL_CHAIN
Hidden PowerShell invokes certutil -decode and rundll32 on the result.
Script decodes a hidden program with XOR and runs it critical SCRIPT_XOR_ENCODED_LOADER
The script keeps its real program as an encoded blob, turns it back into code with an XOR loop and runs it with new Function or eval.
Script downloads a file and runs it critical SCRIPT_WSH_DOWNLOAD_RUN
A Windows script downloads a file, saves it to disk and starts it.
Script embeds a persistent native-memory Lua loader critical SCRIPT_EMBEDDED_PERSISTENT_LUA_LOADER
Literal decoding recovers both a valid LuaJIT PE and Lua code with scheduled persistence, hidden execution and native memory operations.
Script file named as a document critical SCRIPT_DOCUMENT_DOUBLE_EXTENSION
The uploaded script's name ends with a document extension followed by a script extension (e.g. invoice.pdf.js, FedEx_123.doc.js).
Script registers a DLL straight from a remote WebDAV share critical SCRIPT_WEBDAV_REGSVR32_LOADER
The script's hidden program maps a WebDAV share on a remote server and runs regsvr32 on a DLL stored there.
Script spells its code from a character table and executes it critical SCRIPT_CHAR_TABLE_FUNCTION_EXEC
A script assigns at least 40 one-character entries to one lookup table, concatenates table entries at least 30 times, and calls the result through the Function constructor (or a computed method call).
WSH stream-write-and-run chain critical SCRIPT_WSH_STREAM_WRITE_RUN_CHAIN
A Windows script creates COM objects, writes a file, and reaches a shell execution sink.
Windows Scheduled Task executes script host critical WINDOWS_SCHEDULED_TASK_SCRIPT_EXEC
Scheduled Task XML launches a script interpreter or LOLBin.
Windows script decodes and writes an embedded binary critical WINDOWS_SCRIPT_BASE64_BINARY_DROPPER
WSH/JScript uses XMLDOM Base64 conversion and ADODB.Stream with a large embedded blob.
Windows shortcut launches a script downloader critical LNK_SCRIPT_DOWNLOADER
Shell Link arguments launch a script host/LOLBin and retrieve a remote payload.
macOS zsh loader critical MACOS_ZSH_LOADER
File bytes contain a base64/gzip shell loader executed with zsh.