defensive-deserialization

Detect deserialization abuse and gadget-chain indicators in Java and .NET applications.

1|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/riparino/Claude-Cyber --skill defensive-deserialization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defensive-deserialization
Source: https://github.com/riparino/Claude-Cyber/tree/main/Claude-Blue/Skills/defensive-deserialization
Command: npx skills add https://github.com/riparino/Claude-Cyber --skill defensive-deserialization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deserialization attacks exploit insecure object serialization to execute code, access data, or take control of applications; this skill provides detection and triage guidance to identify such patterns and explain remediation.

Core Features & Use Cases

  • Detects Java and .NET deserialization patterns and gadget-chain indicators (e.g., ysoserial, ViewState tampering).
  • Guides incident response and threat-hunting workflows with platform-specific hardening recommendations.
  • Use Case: SOC teams triage alerts for deserialization activity and deploy mitigations across Java and .NET services.

Quick Start

Load the defensive-deserialization skill into Claude and run the detection checks against your application logs to surface deserialization indicators.

Frequently Asked Questions about defensive-deserialization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect Java and .NET deserialization gadget-chain attacks in application logs?

You can detect insecure deserialization by running checks against your application logs to surface gadget-chain indicators such as ysoserial patterns and ViewState tampering. This provides real-time triage for security operations and threat hunting workflows.

What is a deserialization vulnerability and how do gadget chains exploit it?

Deserialization vulnerabilities exploit insecure object serialization to execute code, access data, or take control of applications. Attackers use gadget chains to chain together existing code blocks and achieve execution during the deserialization process.

Can I use KQL, YARA, and Sigma rules for incident response triage of deserialization threats?

Yes, this skill provides Sigma, KQL, and YARA artifacts to detect deserialization abuse and guide incident response. These artifacts help identify gadget-chain indicators and support threat-hunting workflows across Java and .NET environments.

How do I mitigate Java deserialization risks and disable BinaryFormatter in .NET?

To mitigate deserialization risks, follow platform-specific hardening guidance such as disabling .NET BinaryFormatter and addressing Java deserialization vulnerabilities. This skill provides these recommendations alongside detection artifacts for immediate remediation.

Does this detection approach work for both Java and .NET threat hunting workflows?

Yes, this detection approach works for both Java and .NET threat hunting workflows. It identifies platform-specific deserialization patterns and gadget-chain indicators, providing security operations centers with real-time triage and remediation capabilities.