advanced-persistence-techniques
Fail
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONPERSISTENCEPRIVILEGE_ESCALATIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructs the agent to download and execute scripts from an untrusted remote server (http://c2.server/) using methods like piping curl output to bash and using PowerShell's Invoke-Expression (IEX) on downloaded strings.
- [DATA_EXFILTRATION]: Contains explicit commands to steal and exfiltrate private SSH keys from the host system to an external server via HTTP POST requests.
- [CREDENTIALS_UNSAFE]: Instructions specifically target the discovery and extraction of sensitive credentials, including private SSH keys (id_rsa, id_dsa, etc.).
- [PERSISTENCE]: Provides exhaustive methods for establishing persistent access, such as modifying Windows Registry Run keys, hijacking system services, creating cron jobs, and deploying rootkits.
- [PRIVILEGE_ESCALATION]: Includes techniques for gaining higher privileges, such as the sethc.exe (Sticky Keys) debugger hijack and replacing system-level DLLs.
- [DYNAMIC_EXECUTION]: Demonstrates runtime compilation of C code for kernel modules and shared library hijacking via LD_PRELOAD.
- [COMMAND_EXECUTION]: The skill is primarily composed of dangerous shell commands and scripts designed to modify system behavior and maintain unauthorized access.
- [INDIRECT_PROMPT_INJECTION]: 1. Ingestion points: The SKILL.md file serves as a repository of malicious commands and scripts. 2. Boundary markers: Absent. 3. Capability inventory: Subprocess execution, file system modification, and network communication capabilities are used throughout the skill. 4. Sanitization: Absent.
Recommendations
- CRITICAL: 1 infected file(s) detected - DO NOT USE
- HIGH: Downloads and executes remote code from: http://c2.server/beacon.sh, http://c2.server/check.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata