Menu

  • Alerts
  • Incidents
  • News
  • APTs
  • Cyber Decoded
  • Cyber Hygiene
  • Cyber Review
  • Cyber Tips
  • Definitions
  • Malware
  • Threat Actors
  • Tutorials

Useful Tools

  • Password generator
  • Report an incident
  • Report to authorities
No Result
View All Result
CTF Hack Havoc
CyberMaterial
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
Hall of Hacks
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
No Result
View All Result
Hall of Hacks
CyberMaterial
No Result
View All Result
Home Alerts

Microsoft Warns of ViewState Code Injection

February 7, 2025
Reading Time: 2 mins read
in Alerts
Microsoft Warns of ViewState Code Injection

Microsoft has issued a warning about an emerging threat involving ViewState code injection attacks. These attacks exploit ASP.NET machine keys, which are meant to protect ViewState data from tampering and unauthorized disclosure. Developers sometimes use machine keys that are publicly available through code documentation or repositories, which attackers can use to craft malicious payloads. When attackers acquire these machine keys, they can inject malicious message authentication codes (MACs) into ViewState data, allowing the ASP.NET runtime to decrypt and execute it on targeted servers.

Once the malicious ViewState data is processed, attackers gain remote code execution (RCE) capabilities on the web server, specifically those running Internet Information Services (IIS).

This opens the door for further exploitation, including the deployment of malicious frameworks such as Godzilla, which offers command execution and shellcode injection capabilities. Microsoft highlighted a specific case from December 2024, where an attacker leveraged a publicly known machine key to compromise a targeted IIS web server.

The company has identified over 3,000 publicly disclosed machine keys that could be used in these attacks. Unlike previously known attacks that used stolen or compromised keys sold on dark web forums, the keys found in public repositories pose a more significant risk. These keys are accessible by anyone and may have been unknowingly integrated into development code, increasing the likelihood of exploitation. The widespread availability of these keys makes them a highly accessible resource for attackers, thus intensifying the threat landscape for organizations that have not properly safeguarded their machine keys.

To mitigate the risk of these attacks, Microsoft recommends several best practices for developers. These include securely generating unique machine keys, avoiding default or publicly disclosed keys, and encrypting key elements to block access to plaintext secrets. Furthermore, upgrading to ASP.NET 4.8 to enable Antimalware Scan Interface (AMSI) capabilities and hardening Windows Servers with attack surface reduction rules can help reduce vulnerability. If a publicly disclosed key is suspected to have been exploited, Microsoft advises comprehensive investigation and, in some cases, reformatting and reinstallation of compromised servers to prevent long-term persistence of threats.

Reference:
  • Microsoft Warns of ViewState Injection Attacks Exploiting Exposed ASP.NET Keys
Tags: Cyber AlertsCyber Alerts 2025CyberattackCybersecurityFebruary 2025
ADVERTISEMENT

Related Posts

Hackers Target Libraesva Email Flaw

Hackers Target Libraesva Email Flaw

September 30, 2025
Hackers Target Libraesva Email Flaw

ShadowV2 Botnet Targets Misconfigured AWS

September 30, 2025
Hackers Target Libraesva Email Flaw

Cisco Warns Of IOS Zero Day Bug

September 30, 2025
Fake Microsoft Teams Installers Spread

Fake Microsoft Teams Installers Spread

September 30, 2025
Fake Microsoft Teams Installers Spread

Cybercriminals Use Facebook Google Ads

September 30, 2025
Fake Microsoft Teams Installers Spread

CISA Warns Of Critical Sudo Flaw

September 30, 2025

Latest Alerts

Hackers Target Libraesva Email Flaw

ShadowV2 Botnet Targets Misconfigured AWS

Cisco Warns Of IOS Zero Day Bug

CISA Warns Of Critical Sudo Flaw

Cybercriminals Use Facebook Google Ads

Fake Microsoft Teams Installers Spread

Subscribe to our newsletter

    Latest Incidents

    Ukrainian Hackers Breach Crimean Servers

    Ransomware Gang Claims Maryland Breach

    Arizona School District Data Breach

    Attackers Take Down Asahi Brewer

    Harrods Alerts Customers To Breach

    Hackers Steal Photos From Kido Nursery

    CyberMaterial Logo
    • About Us
    • Contact Us
    • Jobs
    • Legal and Privacy Policy
    • Site Map

    © 2025 | CyberMaterial | All rights reserved

    Welcome Back!

    Login to your account below

    Forgotten Password?

    Retrieve your password

    Please enter your username or email address to reset your password.

    Log In

    Add New Playlist

    No Result
    View All Result
    • Alerts
    • Incidents
    • News
    • Cyber Decoded
    • Cyber Hygiene
    • Cyber Review
    • Definitions
    • Malware
    • Cyber Tips
    • Tutorials
    • Advanced Persistent Threats
    • Threat Actors
    • Report an incident
    • Password Generator
    • About Us
    • Contact Us
    • Advertise with us

    Copyright © 2025 CyberMaterial