Hello! I want to create a program which modify it's own code at runtime. I need advices and, if possible, sources from where I can learn how to do it.
Self modifying code |
|
Mar 25, 2017 04:46 PM
(This post was last modified: Mar 25, 2017 04:49 PM by suffixor.)
In windows use the function VirtualAlloc to allocate a Read Write Execute memory page, write your shellcode to this page, modify it, and then call this code.
In *nix you'll use mmap to do the same. This isn't beginner stuff. |
|
|


![[Image: K5gvC2t.png]](https://i.imgur.com/K5gvC2t.png)