diff --git a/docs/index.html b/docs/index.html index 21b86a6..9616128 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,32 +1,153 @@ - + - TinyLoad - PE packer for Windows + + + + + + + + TinyLoad — PE packer for Windows @@ -37,14 +158,61 @@ simple PE packer with LZ77 compression and custom VM encryption for Windows executables.

-

Home | Blog

-
+

← Back to Home

Development Blog

+

v7 is live — VEH Page-Fault Decryption & Overlay Hardening

+

+ v7 adds runtime memory encryption, overlay structural obfuscation, and tamper detection. The payload is never fully decrypted in memory at any point — pages are decrypted on first access and re-encrypted after 200ms of idle time. +

+ +

what changed

+ + +

why this matters

+

+ Previous versions protected the payload at rest and wiped imports on load. v7 ensures the payload is never fully decrypted in memory at any given moment — even if an analyst dumps the process, most pages are encrypted XOR noise. The watchdog re-encrypt cycle means the window to capture decrypted code is at most 200ms per page. +

+

+ The overlay hardening means finding where the payload starts requires extracting and hashing the stub's .text section to derive stubKey. The chunk splitting, interleaving, and encrypted metadata make static overlay carving impractical. +

+ +

v6 is live — Control Flow Obfuscation & Deep Hardening

+

+ v6 doesn't just hide the payload — it hides the stub itself. Every major function is now flattened through indirect dispatch tables, the VM interpreter has no recognizable switch statement, and the opcode decoder is split across four independently-keyed tables. +

+ +

what changed

+ + +

why this matters

+

+ v5 protected the payload. v6 protects the protector. Every major code path in the stub now runs through indirect function calls — the control flow graph is a web, not a tree. The VM interpreter has no switch statement to fingerprint. String decryption calls that used to be precise markers for "here's where the stub reads encrypted data" are now indistinguishable from noise. An analyst can't tell which sdec2 call is real and which is a decoy without executing every path. +

+

+ The split opcode decoder means even if you recover one subtable key — perhaps by guessing that HLT always maps to opcode 0 — you only get 8 opcodes. The remaining 20 are behind three different keys derived from different data. +

+

v5 is here — Anti-Dump & Stealth

v5 doubles down on anti-analysis. The payload is now worthless without the stub at runtime — dumping from memory gets you a broken executable with no import table. @@ -72,12 +240,12 @@

what changed

@@ -109,10 +277,11 @@
 TinyLoad.exe --i app.exe --c
 TinyLoad.exe --i app.exe --o packed.exe --vm --c
-TinyLoad.exe --i game.exe --vm
-            
+TinyLoad.exe --i app.exe --vm --c --veh + - +
@@ -136,6 +305,10 @@ TinyLoad.exe --i game.exe --vm + + + +
Flag What it does--c compress with LZ77
--vehVEH page-fault decryption

@@ -154,7 +327,7 @@ TinyLoad.exe --i game.exe --vm

How VM encryption works

a custom 28-opcode VM interpreter is embedded in the stub. at - pack time the opcode table is split into four 8-entry subtables, each XOR-encrypted with an independent key. + pack time the opcode table is split into four 8-entry subtables, each XOR-encrypted with an independent key — so every packed file has a different instruction set spread across multiple decode layers. the decryption program is stored as bytecode with 128-bit keys embedded as immediate values. v6 replaces the switch-based dispatch with a computed-goto jump table built from encrypted label offsets. @@ -162,16 +335,9 @@ TinyLoad.exe --i game.exe --vm


-

Control Flow Obfuscation

+

VEH Page-Fault Decryption

- v6 flattens every major function through indirect dispatch tables. the self-extraction entry point (tryRun) is 6 stages called through a function pointer array. the PE loader (runInMem) is 5 stages using the same pattern. string decryption is pre-loaded once and then re-triggered as noise at scattered points. -

- -
- -

Anti-Dump

-

- v6 redirects critical payload imports through stub-resident wrappers and wipes the import directory after loading. a dumped payload has no import table and IAT entries pointing into dead addresses. automated reconstruction is impossible — every slot must be manually reversed. + --veh maps all PE section pages as PAGE_NOACCESS. A vectored exception handler decrypts pages on first access and restores their original section protection (PAGE_EXECUTE_READ for .text, PAGE_READONLY for .rdata). A watchdog thread re-encrypts pages after 200ms of inactivity with a 256-slot LRU cache. Memory dumps capture only recently-accessed pages — cold pages remain encrypted XOR noise.