Jump to content
Tuts 4 You

Adding 'free' bytes to an existing file.


zerith

Recommended Posts

Hello, i would like to add some bytes to an existing program, so i can execute them later in the reversed program.

how would i do such a thing?

would i have to mess with the file system? the root directory? or can i just modify the size of the file with a tool like OLLYDBG?

thanks in advance.

Link to comment

You can simply open the file in a hex editor and add a string of zeros to the end of the file until you have the space you need for your extra bytes.

Sub Xero

Link to comment
You can simply open the file in a hex editor and add a string of zeros to the end of the file until you have the space you need for your extra bytes.

Sub Xero

Thank you for your reply, but how does an Hex editor do it? i also want to know how.

Link to comment

^ Hello. Zero_Add seems pretty useful for ASProtect inlines (MapViewOfFile + wipe the added section details from PE header) ;-) I usually use CFF Explorer.

Cheers!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...