View Single Post
  #1  
Old 09-14-2016, 12:05
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
Highly self modifying code

Greetings,

Is anyone aware of any resources regarding highly self-modifying code? I mean code that implements something like a cryptography algorithm but in an innovative and clever way where the self-modifications are vital to the algorithm and non-trivial. As such, flattening it would require unwrapping it using directed acyclic graph and not the more simpler temporal methods, as it would not depend on time but also how the program had modified itself previously based on input.

It would be interesting to see a practical example of this, if its ever been successfully done. It could be processor e.g. x86 centric. It is interesting to me that we have not seen models of how to look at the processor opcodes in terms of generating self-modifying algorithms. Compilers have not really focused much on it beyond overlays in the old days which is generally trivial to unwrap. I suppose the data-flow and code-flow analysis required would be very sophisticated. But as protection and anti-protection mechanisms advance, I predict this field of study will inevitably gain a lot of information at some point.
Reply With Quote
The Following 2 Users Say Thank You to chants For This Useful Post:
an0rma1 (09-21-2016), niculaita (09-14-2016)