# Active Exploitation of Idunno.AntiCsrf ASP.NET Insecure Deserialization RCE (CVE-2026-131914 / MNDT-2026-0048)

> Mandiant reports in-the-wild exploitation of an unauthenticated insecure deserialization flaw (CWE-502) in Idunno.AntiCsrf.dll 0.9.1.0, an unmaintained third-party CSRF module for ASP.NET WebForms. A Base64 .NET gadget chain in the __CSRFTOKEN form field is deserialized via ObjectStateFormatter, giving code execution in the IIS worker process (w3wp.exe). No patch exists because the upstream project is defunct.

- **Published:** 2026-11-23T12:36:34Z
- **Last reviewed:** 2026-11-23T12:36:34Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6694
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-6694.png
- **ID:** TL-2026-6694
- **Severity:** CRITICAL (CVSS 9.3)
- **Category:** VULNERABILITY
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 13 (3 shown free below)
- **CVEs:** CVE-2026-131914

## Description

Idunno.AntiCsrf is a third-party double-submit-cookie CSRF protection module for ASP.NET WebForms, originally published on CodePlex; its last official build (0.9.1 Beta / 0.9.1.0) dates from December 2008 and the project has no maintainer. Mandiant advisory MNDT-2026-0048 (CVE-2026-131914, CWE-502, CVSS 4.0 base 9.3 Critical) documents a pre-authentication deserialization sink in Idunno.AntiCsrf.AntiCsrfModule.

Mechanics: the module hooks PreRequestHandlerExecute, which runs before the Page lifecycle (including Page_Load). On a POST to a System.Web.UI.Page endpoint it only checks that the CSRF cookie (default __CSRFCOOKIE) and the form field (default __CSRFTOKEN) are non-empty, then passes the form field to a parameterless new ObjectStateFormatter().Deserialize(...). The parameterless constructor applies no MAC, signature, encryption or machineKey validation and no SerializationBinder restrictions, and the deserialization occurs before the token is compared with the cookie. A single POST with a non-empty cookie (for example __CSRFCOOKIE=1) and a Base64-encoded .NET ObjectStateFormatter gadget chain in __CSRFTOKEN therefore executes attacker-controlled code as the IIS worker process w3wp.exe. No authentication or valid CSRF token is needed. Any anonymously reachable .aspx page is exposed, as are pages that rely on session checks inside Page_Load, unless they implement ISuppressCsrfCheck or carry [SuppressCsrfCheck]; the page does not need a <form runat="server">. The server then returns HTTP 302 or 500 depending on detectionResult and customErrors settings. Unlike earlier ViewState attacks that depended on leaked ASP.NET machine keys, this sink needs no cryptographic material.

Exploitation and impact: Mandiant states active exploitation in the wild has been observed; no actor, victim count, malware family or network infrastructure has been published. Per the secondary reporting, code execution lets an attacker drop web shells and read secrets from Web.config and applicationHost.config (machineKey values, encryption keys, database credentials), and attackers at this stage commonly install persistent IIS modules such as SessionManager. The root cause was identified by Google Cloud FLARE on 2026-11-04 during a Mandiant incident response investigation; the advisory and CVE were published 2026-11-18.

Remediation: there is no vendor or maintainer patch. Mandiant advises discontinuing use: remove the Idunno.AntiCsrf.AntiCsrfModule entries from httpModules/modules, remove the csrfSettings section and element from Web.config, remove ISuppressCsrfCheck/[SuppressCsrfCheck] references, delete Idunno.AntiCsrf.dll from bin/, and replace it with a supported mechanism (System.Web.Helpers.AntiForgery, Page.ViewStateUserKey with MAC-verified or encrypted ViewState, or ASP.NET Core IAntiforgery). If exploitation is suspected, rotate secrets in Web.config and applicationHost.config and inspect webroots for unauthorized files. Internally recompiled copies will have different hashes but keep the vulnerable sink, so hunt by name (Idunno.AntiCsrf, AntiCsrfModule) rather than hash alone.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1059 Command and Scripting Interpreter
- T1505.003 Web Shell
- T1505.004 IIS Components
- T1552.001 Credentials In Files
- T1005 Data from Local System

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**w3wp.exe Spawning Command Shell or Script Interpreter (Post-Exploitation of CVE-2026-131914)** (`TL-2026-6694-SPL-002`)

TL-2026-6694: Detects the IIS worker process w3wp.exe launching cmd.exe, powershell.exe, pwsh.exe, wscript/cscript, mshta, rundll32 or regsvr32. After the Idunno.AntiCsrf deserialization gadget chain runs, attacker code executes inside w3wp.exe and typically starts a shell to drop web shells or read Web.config secrets. Tags the ATT&CK technique per interpreter and keeps the app pool command line for scoping.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1059, T1059.001, T1059.003
- **Data sources:** sysmon, microsoft_defender_endpoint, windows_security
- **Severity:** critical
- **Confidence:** high

### Splunk SPL

```spl
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 ParentImage="*\\w3wp.exe" earliest=-24h (Image="*\\cmd.exe" OR Image="*\\powershell.exe" OR Image="*\\pwsh.exe" OR Image="*\\wscript.exe" OR Image="*\\cscript.exe" OR Image="*\\mshta.exe" OR Image="*\\rundll32.exe" OR Image="*\\regsvr32.exe")
| eval technique=case(like(lower(Image), "%powershell.exe") OR like(lower(Image), "%pwsh.exe"), "T1059.001", like(lower(Image), "%cmd.exe"), "T1059.003", true(), "T1059")
| stats count min(_time) AS first_seen max(_time) AS last_seen values(CommandLine) AS command_lines values(User) AS users BY host, ParentCommandLine, Image, technique
| convert ctime(first_seen) ctime(last_seen)
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName =~ "w3wp.exe"
| where FileName in~ ("cmd.exe", "powershell.exe", "pwsh.exe", "wscript.exe", "cscript.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe")
| extend Technique = case(FileName in~ ("powershell.exe", "pwsh.exe"), "T1059.001", FileName =~ "cmd.exe", "T1059.003", "T1059")
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessCommandLine, Technique, ReportId
```

### Sigma

```yaml
title: IIS Worker Process w3wp.exe Spawning Script Interpreter or LOLBin (Idunno.AntiCsrf RCE)
id: 2b9d4f60-1a7c-4e35-8c52-d06e7a1f9b24
status: experimental
description: Detects the IIS worker process w3wp.exe spawning cmd.exe, PowerShell, script hosts or common proxy-execution binaries. This is the post-exploitation signature of code execution via the Idunno.AntiCsrf ObjectStateFormatter deserialization (CVE-2026-131914) and of web shells.
references:
    - https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0048.md
    - https://www.cve.org/CVERecord?id=CVE-2026-131914
author: Threadlinqs Team
date: 2026-11-23
tags:
    - attack.execution
    - attack.t1059
    - attack.t1059.001
    - attack.t1059.003
    - attack.initial-access
    - attack.t1190
    - cve.2026.131914
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\w3wp.exe'
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\wscript.exe'
            - '\cscript.exe'
            - '\mshta.exe'
            - '\rundll32.exe'
            - '\regsvr32.exe'
    condition: selection
falsepositives:
    - Legacy applications that intentionally shell out from IIS (report generators, deployment hooks)
    - Administrative maintenance scripts triggered via web endpoints
level: high

```

**Known false positives:**

- Legacy ASP.NET applications that intentionally invoke cmd.exe or PowerShell
- Deployment or health-check scripts launched through IIS

**Tuning notes:** Baseline legitimate w3wp.exe children per app pool (ParentCommandLine contains the pool name) and allowlist exact Image plus CommandLine pairs. Never allowlist by parent alone. Escalate immediately if the child runs as an app-pool identity and the command line contains whoami, encoded PowerShell, or download cradles.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Vulnerable [indicator] Assembly Present or Deployed (Exposure for CVE-2026-131914) (locked: unlock with TL Creds)
- w3wp.exe Writing Web Shell or Server Component Files (Post-Exploitation of CVE-2026-131914) (locked: unlock with TL Creds)
- IIS Config Secret Access - machineKey, connectionStrings, [indicator] (CVE-2026-131914 Post-Exploitation) (locked: unlock with TL Creds)
- ASP.NET Event 1309 Exception from Idunno.AntiCsrf Deserialization Sink (locked: unlock with TL Creds)
- w3wp.exe Spawning Recon or Download Utilities (Post-Exploitation of CVE-2026-131914) (locked: unlock with TL Creds)
- Unsigned or Staged DLL Loaded into w3wp.exe (Malicious IIS Module Persistence, CVE-2026-131914) (locked: unlock with TL Creds)
- Idunno.AntiCsrf CVE-2026-131914 Exploitation - Large Anonymous POST to ASPX with __CSRFCOOKIE (IIS) (locked: unlock with TL Creds)
- IIS Module Installation via appcmd or PowerShell (SessionManager-Style Persistence after CVE-2026-131914) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 13)

Defanged, TLP:CLEAR.

- File hash: `da1efcfed182597ee946a9ef2895dfdfeab2bdff16855aeef01656d8158ead06`
- File hash: `61c3b6250dd83b2ab018d01975b9123e09c0843f`
- File hash: `dba68f9a091242b70b31f12caf90fdf3`

Full set of 13 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [Mandiant Vulnerability Disclosure MNDT-2026-0048](https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0048.md)
- [Hackers Actively Exploit Critical ASP.NET Vulnerability to Execute Remote Code and Compromise Web Servers (GBHackers)](https://gbhackers.com/hackers-actively-exploit-critical-asp-net-vulnerability/)
- [CVE-2026-131914 CVE Record](https://www.cve.org/CVERecord?id=CVE-2026-131914)
- [AntiCSRF project archive (CodePlex Archive)](https://codeplexarchive.org/project/AntiCSRF)
- [AntiCSRF CodePlex project page (Wayback Machine, 2010 snapshot)](https://web.archive.org/web/20100129114934/http://anticsrf.codeplex.com/)
- [CVE-2026-131914 tracker entry (threatint)](https://cve.threatint.com/CVE/CVE-2026-131914)
- [GBHackers: ASP.NET machine keys (earlier ViewState attacks)](https://gbhackers.com/asp-net-machine-keys/)
- [GBHackers: SessionManager IIS malware](https://gbhackers.com/sessionmanager-iis-malware/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6694
