View Single Post
  #14  
Old 03-26-2009, 17:57
OHPen's Avatar
OHPen OHPen is offline
Friend
 
Join Date: Aug 2003
Location: lost in code...
Posts: 92
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
OHPen Reputation: 0
It is not that difficult to write an own vm based protector. as the others explained read papers about commercial products. but you can also start with a minimum set of requirements.

- C/C++
- Disassembler Library

And there you go. First step could be just to virtualize only a single type of instruction, for example an arithmetic one like

add eax, 0x12345678

This will keep your code very small. There is no need to support hundereds of different opcodes if you just want to understand the concept.

Regards,
OHPen
Reply With Quote