redis-attack
Fail
Audited by Gen Agent Trust Hub on Aug 12, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill contains multiple detailed procedures for achieving RCE on a target host. This includes:
- Crontab injection using Redis
CONFIG SETcommands to write reverse shell payloads into system cron directories (e.g.,/var/spool/cron/). - Master-Slave replication exploitation (redis-rogue-server) to force the target to load malicious
.somodules. - Lua script injection exploiting CVE-2022-0543 (Debian/Ubuntu specific) to break out of the Redis sandbox.
- Webshell injection by writing PHP or JSP payloads into web directories.
- [DATA_EXFILTRATION]: The skill provides targeted strategies for stealing sensitive information from Redis databases. It includes specific commands to search for keys containing
password,token,secret,api_key, andsession. It also details how to useMONITORto capture real-time authentication credentials andSYNCto dump the entire database for offline analysis. - [COMMAND_EXECUTION]: The instructions direct the agent to execute a variety of external security tools, including
redis-cli,nmap(with NSE scripts),hydra,medusa, andssh-keygen. It also involves direct shell manipulation, such as piping formatted keys intoredis-cliand setting up listeners for reverse shells. - [EXTERNAL_DOWNLOADS]: The documentation references and encourages the use of several third-party exploitation tools hosted on GitHub, such as
n0b0dyCN/redis-rogue-server,n0b0dyCN/RedisModules-ExecuteCommand, andsripathikrishnan/redis-rdb-tools. - [PERSISTENCE_MECHANISMS]: The skill outlines techniques for maintaining long-term access to a compromised system by injecting attacker-controlled RSA public keys into the
authorized_keysfile of the Redis or root user, and by establishing recurring reverse shells via crontab.
Recommendations
- AI detected serious security threats
Audit Metadata