primody / CLR_Heap_encryption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLR Heap encryption

This is a POC for a CLR sleep obfuscation attempt. It use IHostMemoryManager interface to control the memory allocated by the CLR. Turns out you can use both ICorRuntimeHost and ICLRRuntimeHost at the same time, so we can still use ICorRuntimeHost to run an assembly from memory while having all the benefits from ICLRRuntimeHost.

Without CLR Heap encryption:

With:

Code is poorly written, this is just a POC for fun.

References

About


Languages

Language:Rust 100.0%