Skip to main content
Mallory
Malware3 associated actors1 associated CVE

ysoserial.net

Tracked since Jan 23, 2026 · Updated 8 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days4 mentions · peak 3 in a dayToday
Vulns1Associated
Actors3Associated
ATT&CK22Techniques
IOCs0Tracked
Capabilities
Initial accessDefense evasion
Platforms
Windows

ysoserial.net is an open-source .NET deserialization payload generator used for security testing and abused in intrusions against vulnerable applications. It aggregates known gadget chains that cause code execution when malicious serialized objects are processed by unsafe deserialization routines. It is an exploitation utility rather than a standalone malware family.

Its View State plugin supports constructing malicious ASP.NET ViewState payloads. When attackers possess an application's validation key and any required decryption material, they can generate authenticated payloads that pass integrity checks and execute within the application. Gadget chains can support loading .NET assemblies into memory, while ActivitySurrogateDisableTypeCheck payloads disable runtime restrictions affecting the ActivitySurrogateSelector gadget.

Observed abuse includes ViewState exploitation against Windows IIS and Microsoft Exchange environments. Obstinate Mogwai used ysoserial.net-style gadget payloads during an intrusion against a Russian telecommunications organization. Shedding Zmiy incorporated its XamlAssemblyLoadFromFile gadget into a customized loading chain used by BADSTATE. Command execution, file operations, tunneling, and data theft in these intrusions are functions of the resulting payloads and frameworks, not inherent capabilities of the generator.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2026-45659via resecurity otherAuthenticated Remote Code Execution in Microsoft SharePoint Server“With the stolen keys, the attacker crafts a malicious ViewState payload using ysoserial.net or a custom serializer.”View vulnerability →Source ↗
Threat actors

Associated threat actors

3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
APT41

The structure of the observed VIEWSTATE payloads indicated that the attackers generated them using ysoserial.net.

via rt solarrt-solar.ru
Obstinate Mogwai

The structure of the observed VIEWSTATE payloads indicated that the attackers generated them using ysoserial.net.

via rt solarrt-solar.ru
Shedding Zmiy

«...Shedding Zmiy используют самописный гаджет, который распаковывает и вызывает гаджет XamlAssemblyLoadFromFile из набора ysoserial.»

via rt solarrt-solar.ru
MITRE ATT&CK

Techniques & procedures

22 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

1 technique
T1588.002ToolEvidence2

The content repeatedly states that threat actors 'obtained,' 'acquired,' or 'used' publicly available, open-source, legitimate, or modified tools such as Mimikatz, Cobalt Strike, PsExec, Empire, Impacket, and many others.

Initial Access

2 techniques
T1190Exploit Public-Facing ApplicationEvidence13

Obstinate Mogwai эксплуатирует уязвимости десериализации VIEWSTATE для повторного возвращения.

T1566.002Spearphishing LinkEvidence1

It is also possible to send the __VIEWSTATE parameter in the URL via a GET request. The only limiting factor is the URL length that limits the type of gadgets that can be used here.

Execution

6 techniques
T1059Command and Scripting InterpreterEvidence6

So we generated a payload with ysoserial.net ... -c "whoami > C:\x.txt".

T1059.001PowerShellEvidence2

ysoserial.exe -g ObjectDataProvider -f Json.Net -c "powershell -enc ..." ... PowerShell with -EncodedCommand, -enc, -ec, bypass, or unrestricted.

T1059.003Windows Command ShellEvidence7

The provided ysoserial payload executes `cmd /c nslookup yuwewp90p365hx64wh7rumz8kzqxem.burpcollaborator.net`.

T1059.005Visual BasicEvidence1

Instead of calling Process.Start() now we move on eval JScript. With JScript, we can do many things with scripting instead of spawning cmd.exe / powershell.exe.

T1203Exploitation for Client ExecutionEvidence14

ysoserial .net TypeConfuseDelegate gadget fires → Process.Start("cmd /c ...") ← LocalSystem identity

T1574Hijack Execution FlowEvidence2

With TypeConfusedDelegate we can invoke the method arbitrarily ... How about XamlReader.Parse() ? XamlReader.Parse is a public/static also, so we can easily call it with TypeConfusedDelegate

Persistence

1 technique
T1505.003Web ShellEvidence1

2: Creating a virtual file (ghost file) by abusing the Virtual Path Provider in .NET... This solution has minimal complexity for the tester as a web shell can be directly embedded within the initial exploit code.

Privilege Escalation

1 technique
T1068Exploitation for Privilege EscalationEvidence4

A low-privileged local attacker can send YSoSerial.NET-generated BinaryFormatter payloads to the localhost-bound endpoint to achieve code execution as NT AUTHORITY\SYSTEM.

Stealth

5 techniques
T1211Exploitation for StealthEvidence2

# TTP # T1211 — Exploitation for Defense Evasion (Defense Evasion)

T1218System Binary Proxy ExecutionEvidence3

TypeConfuseDelegate depends on System.Configuration.Install.dll / System.Management.dll ... all available on the target.

T1497.001System ChecksEvidence1

As the targeted box might not send any requests externally, automated scanners should use a payload that causes a short delay on the server-side. This can be achieved by executing the following ASP.NET code as an example to create a 10-second delay: System.Threading.Thread.Sleep(10000);

T1574Hijack Execution FlowEvidence2

With TypeConfusedDelegate we can invoke the method arbitrarily ... How about XamlReader.Parse() ? XamlReader.Parse is a public/static also, so we can easily call it with TypeConfusedDelegate

T1620Reflective Code LoadingEvidence1

gadget ActivitySurrogateSelector can use to load a DLL via Assembly.Load() function. | The patch almost patching for Deserialization Sink inside Exchange, so we can be sure that this time it’s a deserialization vulnerability.

Defense Impairment

1 technique
T1222File and Directory Permissions ModificationEvidence1

This blog post attempts to give insights into its features, security measures, and especially its weaknesses/vulnerabilities that often result in remote code execution.

Credential Access

2 techniques
T1003OS Credential DumpingEvidence1

"deserialization vulnerabilities can affect a wide variety of languages and libraries..."; "we will limit our scope to attacks that occur over HTTP."; "common languages/object types exploited... serialized Java objects, .NET ViewStates, pickled Python objects, and serialized PHP objects."

T1649Steal or Forge Authentication CertificatesEvidence8

Abuse of Deserialization for RCE: With the sysadmin API token, the attacker interacts with application API endpoints, targeting a deserialization function. By injecting a malicious payload into this process, arbitrary code execution is achieved on the server.

Discovery

2 techniques
T1033System Owner/User DiscoveryEvidence2

The executed command was "whoami," and the resulting file showed "iis apppool\sitecoresc.dev.local."

T1497.001System ChecksEvidence1

As the targeted box might not send any requests externally, automated scanners should use a payload that causes a short delay on the server-side. This can be achieved by executing the following ASP.NET code as an example to create a 10-second delay: System.Threading.Thread.Sleep(10000);

Lateral Movement

1 technique
T1210Exploitation of Remote ServicesEvidence1

This repository contains a vulnerable C# application (client/server) that uses .NET Remoting over HTTP... It also includes a copy of ysoserial.net... changed to work with .NET Framework 2.0... this project can be used to exploit applications that use .NET Framework v2.0

Impact

2 techniques
T1499Endpoint Denial of ServiceEvidence2

Tại đây, method này gọi tới EntitySerializer.Deserialize(), EntitySerializer.Deserialize() gọi tiếp tới DataContractSerializer.ReadObject() ... hoàn toàn có thể RCE với DataContractSerializer ... kiểu dữ liệu được deserialize quá lỏng lẻo

T1565Data ManipulationEvidence1

Sign ysoserial.net payload with an HMAC using RCEvil.NET: RCEvil.NET.exe -u /Default.aspx -v 000102030405060708090a0b0c0d0e0f10111213 -m SHA1 -p /wEyxBEAAQAAAP////8...

Activity feed

Recent activity

9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
malware newsNews · Nov 5, 2026The SOC Files 5: Ghost in the pipeline, or a fileless SharePoint breach by Storm-2603 - Malware News - Malware Analysis, News and IndicatorsOffensive tooling referenced as a catalog of gadget types and structures useful for defensive detection in serialized streams, memory, and generated assemblies. Its use by the attacker in this incident is not established.Read more ↗securelist ruNews · Nov 5, 2026Как обнаружить бесфайловые атаки через ToolShell: разбираем кейс Storm-2603 | SecurelistOffensive tooling referenced as a catalog of gadget types and structures useful for detecting deserialization exploitation. The article does not establish that the attackers used this tool in the investigated incident.Read more ↗securelistNews · Nov 5, 2026How to detect fileless attacks exploiting ToolShell: analyzing the Storm-2603 incident | SecurelistOffensive tooling referenced as a catalog of deserialization gadget types and structures useful for defensive detection. The report does not establish that the attacker used it in this incident.Read more ↗resecurity otherNews · Jul 18, 2026Resecurity | From Web Request to Domain Compromise: Understanding the July 2026 SharePoint AttacksA named offensive tool used in the described attack chain to generate .NET deserialization payloads. The fictional breach simulation also uses it to construct a payload for CVE-2026-45659. It is exploitation tooling, not a standalone infection payload.Read more ↗
+4 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actors3Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping22Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.