offensive-shellcode
Fail
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONOBFUSCATIONPERSISTENCEDYNAMIC_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill contains a Python implementation using the
keystonelibrary to perform runtime assembly of x64 instructions. It then utilizesctypesto invokeVirtualAllocandCreateThread, enabling the direct execution of this dynamically generated machine code in memory.- [REMOTE_CODE_EXECUTION]: The provided Python script functions as a shellcode loader that implements a reverse shell. It resolves Windows API functions manually via PEB traversal and connects to a hardcoded remote IP address to execute a command shell (cmd.exe), providing an attacker with remote command execution capabilities.- [OBFUSCATION]: The instructions detail techniques intended to bypass static and dynamic analysis, including manual Process Environment Block (PEB) walking to avoid detection of imported functions, null byte avoidance in shellcode, and the use of 'DripLoader' techniques which write shellcode in randomized chunks.- [DATA_EXFILTRATION]: The reverse shell payload is configured to establish an outbound connection to an external C2 server (IP:172.31.6.49, Port:443), which is the primary mechanism for exfiltrating data and receiving commands.- [PERSISTENCE]: The documentation includes methods for achieving persistence on macOS systems through the creation of launch agents and the use of dylib hijacking in system directories.- [COMMAND_EXECUTION]: The skill is designed to facilitate the execution of arbitrary system commands through shellcode that targetsCreateProcessAand redirects standard input/output to a network socket.
Recommendations
- AI detected serious security threats
Audit Metadata