Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ViewState Analyzer for Caido

A Caido plugin that analyzes ASP.NET ViewState to detect encryption and MAC signatures.

Features

  • Automatic ViewState Detection: Automatically extracts __VIEWSTATE parameters from requests
  • Encryption Detection: Identifies if ViewState is encrypted
  • MAC/HMAC Detection: Determines if ViewState has integrity protection (signature)
  • Multiple ViewState Support: Handles requests with multiple ViewState parameters
  • Detailed Analysis: Shows version byte, entropy analysis, and decoded length

Installation

  1. Clone this repository
  2. Install dependencies:
    pnpm install
  3. Build the plugin:
    pnpm build
  4. Load the plugin in Caido from the dist folder

Development

Watch mode

pnpm watch

Build

pnpm build

Lint

pnpm lint

Usage

  1. Open a request in Caido that contains ASP.NET ViewState
  2. Click on the "ViewState" tab in the request viewer
  3. View the analysis results:
    • ✓ Valid: ViewState is valid base64 and parseable
    • 🔏 Signed (MAC): ViewState contains HMAC signature
    • 🔒 Encrypted: ViewState appears to be encrypted

Technical Details

The plugin uses entropy analysis and pattern matching to determine:

  • Encryption: High entropy (> 7.5) throughout the data suggests encryption
  • MAC/HMAC: High entropy (> 7.5) in the last 20-32 bytes suggests HMAC signature
  • Version: First byte indicates ViewState version

License

MIT

Author

Serizao - GitHub

Thank's

Thank's for the work:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages