Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Assembly 

[ASM] Adding Junk code?

Is there anyway to add some type of junk code to my ASM stub? I'm not sure what would be junk code in the language as I don't quite understand it just yet.
Are you talking about junk code that will get modified later or obfuscating your code? It's a yes for either, though you'd need to learn the language first.

If you want junk code so you will modify it later, it depends on how you will modify it. But you can just fill it with whatever bytes you want, unless it's going to be run while it's still junk, then you'd obviously make it so it will still execute successfully.

For obfuscation two simple techniques are to add the junk code throughout the real code and just not running them (most obvious way to do that is simply jumping them), or add code that will be run but does redundant things/changes. You could also do code morphing, to add another degree of complexity (though would need that section to be writeable).
I've gotten more of an understanding now, Thanks alot for the post ;)


Possibly Related Threads...
Thread / Author Replies Views Last Post
by code_g33kJan 30, 2026 06:49 AM 6 260 Jan 30, 2026 06:49 AM
Last Post: code_g33k
[Assembly] by SecuresSpyNov 20, 2018 09:01 AM 4 403 Nov 20, 2018 09:01 AM
Last Post: macheti228
[Assembly] by Joel LeaguesJan 14, 2018 11:40 AM 0 189 Jan 14, 2018 11:40 AM
Last Post: Joel Leagues