
Microsoft Menace Intelligence in December noticed a “menace actor” utilizing a publicly obtainable ASP.NET machine key to inject malicious code and fetch the Godzilla post-exploitation framework, a “backdoor” internet shell utilized by intruders to execute instructions and manipulate information. The corporate then recognized greater than 3,000 publicly disclosed ASP.NET machine keys—i.e., keys that had been disclosed in code documentation and repositories—that might be utilized in a majority of these assaults, known as ViewState code injection assaults.
In response, Microsoft Menace Intelligence is warning organizations to not copy keys from publicly obtainable sources and urging them to recurrently rotate keys. In a February 6 bulletin, Microsoft Menace Intelligence mentioned that in investigating and defending in opposition to this exercise, it has noticed an insecure observe whereby builders used publicly disclosed ASP.NET machine keys from code documentation, repositories, and different public sources that had been then utilized by menace actors to carry out malicious actions on course servers. Whereas many beforehand identified ViewState code injection assaults used compromised or stolen keys that had been bought on darkish internet boards, these publicly disclosed keys may pose the next threat as a result of they’re obtainable in a number of code repositories and will have been pushed into improvement code with out modification, Microsoft mentioned. The restricted malicious exercise Microsoft noticed in December included the usage of one publicly disclosed key to inject malicious code. Microsoft Menace Intelligence continues to observe the extra use of this assault method, Microsoft mentioned.
ViewState is the strategy by which ASP.NET internet types protect web page and management between postbacks, Microsoft Menace Intelligence mentioned. Knowledge for ViewState is saved in a hidden discipline on the web page and is encoded. To guard ViewState in opposition to tampering and disclosure, the ASP.NET web page framework makes use of machine keys. “If these keys are stolen or made accessible to menace actors, these menace actors can craft a malicious ViewState using the stolen keys and ship it to the web site through a POST request,” Microsoft Menace Intelligence mentioned within the bulletin. “When the request is processed by ASP.NET Runtime on the focused server, the ViewState is decrypted and validated efficiently as a result of the precise keys are used. The malicious code is then loaded into the employee course of reminiscence and executed, offering the menace actor distant code execution capabilities on the goal IIS internet server.”