
Deserialization Insecure
When you're staring at a `rememberMe` cookie that starts with `rO0AB` or a POST body with `O:8:"ClassName"`, this is the playbook you load. It walks through traffic fingerprinting for Java, PHP, and Python deserialization, then covers the actual exploit chains: ysoserial for Java gadgets (CommonsCollections, Spring, the whole roster), PHPGGC for PHP magic methods, Shiro rememberMe with hardcoded keys, WebLogic T3, and Phar wrapper tricks. The URLDNS probe for safe confirmation is smart. The gadget chain version matrix saves you from trial and error hell. It knows the JDK 8u191 cutoff where remote class loading dies and you pivot to serialized gadgets over LDAP. This is the difference between finding `readObject()` and actually popping a shell.
- skills.sh installs
- 3.8K
- GitHub stars
- 2.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yaklang/hack-skills --skill deserialization-insecure --agent claude-codeInstalls into .claude/skills of the current project.
Files
SKILL: Insecure Deserialization — Expert Attack Playbook
AI LOAD INSTRUCTION: Expert deserialization techniques across Java, PHP, and Python. Covers gadget chain selection, traffic fingerprinting, tool usage (ysoserial, PHPGGC), Shiro/WebLogic/Commons Collections specifics, Phar deserialization, and Python pickle abuse. Base models often miss the distinction between finding the sink and finding a usable gadget chain.
0. RELATED ROUTING
- jndi-injection when deserialization leads to JNDI lookup (e.g., post-JDK 8u191 bypass via LDAP → deserialization)
- unauthorized-access-common-services when the deserialization endpoint is an exposed management service (RMI Registry, T3, AJP)
- ghost-bits-cast-attack when a WAF blocks your BCEL ClassLoader or Fastjson
@typepayload — Ghost Bits wraps each bytecode byte in a Unicode char whose low 8 bits match, yielding a payload the WAF cannot fingerprint
Advanced Reference
Sponsors
Details
- Repository
- github.com/yaklang/hack-skills
- Categories
- Python, Sales & Marketing, Java & JVM, PHP & Laravel
- First seen
- May 16, 2026
More from yaklang/hack-skills
All 102- Request Smuggling3.8K
- File Access Vuln3.8K
- Format String Exploitation3.8K
- Http Parameter Pollution3.8K
- Csp Bypass Advanced3.8K
- Browser Exploitation V83.8K
- Open Redirect3.8K
- Symbolic Execution Tools3.8K
- Crlf Injection3.8K
- Insecure Source Code Management3.8K
- Mobile Ssl Pinning Bypass3.8K
- Http Host Header Attacks3.8K
- Web Cache Deception3.8K
- Subdomain Takeover3.8K
- Dependency Confusion3.8K
- Expression Language Injection3.8K
- Csv Formula Injection3.8K
- Active Directory Acl Abuse3.8K
- Linux Privilege Escalation3.8K
- Clickjacking3.8K
- Active Directory Kerberos Attacks3.8K
- Jndi Injection3.8K
- Http2 Specific Attacks3.8K
- Saml Sso Assertion Attacks3.8K