All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Security
Security
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

How to Decrypt ASP.NET View State Messages Using Auto-Generated Machine Keys from the Windows Registry

By

@zeroedtech

7h ago· 18 min readen

Summary

This article explains how to decrypt encrypted view state messages from compromised ASP.NET web applications. It covers the process of extracting automatically generated machine keys from the Windows registry, locating the web.config file from a disk image, and using those keys to decrypt view state data found in Windows application event logs (event ID 1316). The article provides a technical walkthrough for incident responders and security professionals dealing with malicious view state attacks where the keys were auto-generated rather than explicitly configured.

Source

Hacker NewsHow to Decrypt ASP.NET View State Messages Using Auto-Generated Machine Keys from the Windows Registryzeroed.tech

Key quotes

· 3 pulled
They had found a 1316 event in their Windows application logs that contained a likely malicious view state.
After extracting the web.config file for the affected site, they found the compromised site had been configured with automatically generated keys.
They were able to dump the autogen keys from the Windows registry, however they didn't know how to use these to decrypt their view state.
Snippet from the RSS feed
Investigating how IIS machine keys are generated and how to decrypt a view state.

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.