New advertisers: 50% off your first month with code FIRSTMONTHSee slots
yaklang avatar

Deserialization Insecure

Deserialization attack playbook covering Java, PHP, and Python gadget chains, traffic fingerprints, and exploitation tooling.

skills.sh installs
3.9K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers Java ObjectInputStream, PHP unserialize with Phar, and Python pickle abuse, from traffic fingerprinting through gadget chain selection
  • Includes ysoserial, PHPGGC, and URLDNS as a safe DNS-only confirmation probe before escalating to RCE chains
  • Documents Apache Shiro rememberMe (SHIRO-550) key-based exploitation and JDK 8u191 constraints that block RMI and LDAP remote class loading
  • Designed for security testers who have confirmed a deserialization sink and need usable gadget chains for Java, PHP, or Python targets

Install

$ npx -y skills add yaklang/hack-skills --skill deserialization-insecure -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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 @type payload — Ghost Bits wraps each bytecode byte in a Unicode char whose low 8 bits match, yielding a payload the WAF cannot fingerprint

Advanced Reference

Details

Repository
github.com/yaklang/hack-skills
Categories
Security, Debugging
First seen
May 16, 2026

More from yaklang/hack-skills

All 102

Similar to Deserialization Insecure

More Security