Shellcode heuristics

32 detection rules

← All detection heuristics

CreateRemoteThread API reference critical SC_STR_CREATEREMOTETHREAD
String 'CreateRemoteThread' found in file bytes.
Metasploit bind_tcp critical SC_MSF_BIND
Byte signature matching Metasploit Framework bind_tcp shellcode.
Metasploit reverse_tcp critical SC_MSF_REVERSE
Byte signature matching Metasploit Framework reverse_tcp shellcode.
Metasploit stager C2 recovered critical SC_MSF_C2
The Metasploit reverse/bind-TCP connect-back address (host:port) was recovered from the stager's on-stack sockaddr.
URLDownloadToFile API reference critical SC_STR_URLDOWNLOAD
String 'URLDownloadToFile' found in file bytes.
WriteProcessMemory API reference critical SC_STR_WRITEPROCESSMEMORY
String 'WriteProcessMemory' found in file bytes.
XOR-encoded Windows strings critical SC_XOR_ENCODED
Windows DLL or API names found XOR-encoded with a single-byte key.
CreateProcess API reference high SC_STR_CREATEPROCESS
String 'CreateProcess' found in file bytes.
Egg-hunter shellcode high SC_EGG_HUNTER
Egg-hunter pattern that searches process memory for a marker ('egg').
GetProcAddress API reference high SC_STR_GETPROCADDRESS
String 'GetProcAddress' found in file bytes.
Heap-spray pattern high SC_HEAP_SPRAY
Repeated byte pattern typical of heap-spray payloads.
LoadLibrary API reference high SC_STR_LOADLIBRARY
String 'LoadLibrary' (or LoadLibraryA/W/Ex) found in file bytes.
PEB API-hash resolver high SC_API_HASH_RESOLVER
PEB access combined with nearby ROR13-style API hashing.
PEB access (x64) high SC_PEB_ACCESS_X64
Access to the Process Environment Block via GS:[0x60].
PEB access (x86) high SC_PEB_ACCESS
Access to the Process Environment Block via FS:[0x30].
PowerShell reference high SC_STR_POWERSHELL
String 'powershell' found in file bytes.
ShellExecute API reference high SC_STR_SHELLEXEC
String 'ShellExecute' found in file bytes.
WinExec API reference high SC_STR_WINEXEC
String 'WinExec' found in file bytes.
Windows Script Host reference high SC_STR_WSCRIPT
String 'wscript' or 'cscript' found in file bytes.
XOR decoder loop high SC_XOR_DECODER
XOR-based decoder stub that decrypts shellcode at runtime.
XOR-hidden downloader network configuration high SC_XOR_DECODED_NETWORK_CONFIG
A known shellcode XOR key decoded one or more network destinations.
bitsadmin reference high SC_STR_BITSADMIN
String 'bitsadmin' found in file bytes.
certutil reference high SC_STR_CERTUTIL
String 'certutil' found in file bytes.
cmd.exe reference high SC_STR_CMD
String 'cmd.exe' followed by an execution switch (/c, /k, or /r) — i.e. an actual invocation, not just a bare reference.
mshta.exe reference high SC_STR_MSHTA
String 'mshta' found in file bytes.
x86 GetPC stub (FSTENV) high SC_GETPC_FSTENV
x86 FSTENV-based instruction sequence to obtain the instruction pointer.
NOP-equivalent sled medium SC_NOP_EQUIV_SLED
Long run of NOP-equivalent instructions (e.g. INC, DEC, POPA).
VirtualAlloc API reference medium SC_STR_VIRTUALALLOC
String 'VirtualAlloc' found in file bytes.
VirtualProtect API reference medium SC_STR_VIRTUALPROTECT
String 'VirtualProtect' found in file bytes.
x86 push-string-call medium SC_PUSH_STRING
Two or more consecutive PUSH imm32 instructions whose decoded bytes spell a Windows API or shell-keyword string.
NOP sled low SC_NOP_SLED
Long run of 0x90 (NOP) bytes detected in the file.
x86 GetPC stub (CALL $+5) info SC_GETPC_CALL
x86 CALL $+5 instruction sequence that obtains the current instruction pointer.