Hijacking Arbitrary NET Application Control F
summary
Demonstrates runtime hijack of any .NET process by DLL injection using Gray Frost to bootstrap a CLR and loading a C# payload Gray Storm that hooks the JIT, overwrites method stubs, edits machine code and scans the managed heap. Shows live bypasses: replacing a license check to export PDF without a key, injecting shellcode into PowerShell to pop calc, and extracting plaintext passwords from a laptop fingerprint app. Tools are open-sourced and automation scripts are provided; all attacks work reliably in demos across CLR v2 and v4.
AI-written summary · about
chapters (24)
- 0:00Intro
- 1:19Overview
- 3:15CLR Attacks Controlling the Common Language Runtime Accessing raw objects on Managed Heap
- 4:50Attack With ASM
- 5:43The Tools
- 6:23Gray Frost
- 7:44Round 1
- 8:35Pivoting Between runtimes
- 9:34Gray Storm
- 11:01Controlling the JIT
- 15:38Control Flow Attacks .NET uses far and relative calls
- 21:45Portable Environment Block
- 23:02Object Hunting in Memory
- 23:53Finding Objects at Runtime
- 25:09Construct an Object
- 26:42Signature instantiated type
- 27:25Scan Managed Heap Scan down incrementing by size of object
- 28:27Convert object ptr - raw obj
- 31:28Superpowers and Things?
- 33:42How to construct attack chains
- 35:34Hybrid .NET/ASM Attacks
- 36:39Payload System
- 37:52NET Hacking Space Small Few tools
- 39:01Questions?
