← Lab /Security & privacy

Shared ASP.NET machine keys let attackers achieve unauthenticated RCE on KnowledgeDeliver

Identical pre-shared ASP.NET machine keys across KnowledgeDeliver deployments enable any attacker with one key to execute remote code on any vulnerable instance.

Security & privacy Mandiant / GTIG 25 May 2026 Disclosure Real-world evidence

Published as “Exploitation of KnowledgeDeliver via ViewState Deserialization Vulnerability”

Why it matters

Organizations must generate unique machine keys for each KnowledgeDeliver instance to prevent cross-deployment compromise.

Summary

Mandiant investigated a compromised KnowledgeDeliver LMS server and discovered that the vendor shipped identical ASP.NET machineKey values to multiple customers. With a known key, the threat actor crafted a malicious ViewState payload that the server deserialized, achieving unauthenticated remote code execution. Post-exploitation, the attacker deployed the in-memory BLUEBEAM web shell, modified JavaScript files, and delivered a Cobalt Strike beacon to client machines. The write-up provides hunting guidance based on Windows event IDs, process activity, and anomalous User-Agent strings, and recommends rotating machine keys to mitigate the issue.

What they found 2

  1. Identical machine keys across deployments allowed remote code execution via ViewState deserialization.

    “Because these keys were identical across independent customer environments, a threat actor who obtained the keys from one deployment could compromise any other internet-facing KnowledgeDeliver instance.”

  2. The attacker deployed the BLUEBEAM in-memory .NET web shell after gaining access.

    “The threat actor deployed a .NET-based in-memory web shell called BLUEBEAM (also known as Godzilla).”

Caveats 2

  • Event code: 4009-++-Viewstate verification failed. Reason: Viewstate was invalid. Confirms integrity checks were passed. Deserialization of the payload was attempted and may have succeeded. The payload may or may not have been executed.
  • Only KnowledgeDeliver installations deployed before Feb. 24, 2026 used the vulnerable shared machineKey configuration.

What’s new here 4

  • Identifies a cross-deployment vulnerability caused by shared ASP.NET machineKey values.
  • Demonstrates unauthenticated RCE via crafted ViewState payloads on KnowledgeDeliver.
  • Documents use of the in-memory BLUEBEAM .NET web shell and subsequent Cobalt Strike infection.
  • Provides concrete hunting queries and indicators (Event ID 1316, specific User-Agent patterns).