Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 857 Bytes

File metadata and controls

19 lines (14 loc) · 857 Bytes

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