Jump to content
Sign in to follow this  
GustavoHMA

[HELP] increase the code caves

Recommended Posts

Hello @GustavoHMA,

 

What do you mean by?

8 hours ago, GustavoHMA said:

code caves

 

More space to write code ?

 

Create a new section on your executable/binary, then jump into it, and back within a conditional/jump.

If there is no space to create the jump(jmp 0x00XXYYZZ), cut the code and past it on your new section.

 

The new section can be created manually or just use a software like stud_PE

 Then: open > Sections > [ Right Click ] > New Section

 

RawSize:    the size that will be added into the file (static data/code).

VirtualSize: memory allocation to hold this new section ( should be equal/greater than the RawSize )

About the Characteristics, depends on how u gonna use it, if will be using it just for code:

[X] CODE

[X] MEM_EXECUTED

[X] MEM_READ ?

 

 

BTW, OllyDBG is kinda old, outdated and I think was discontinued ( not sure about this last part )

I'm currently using x64dbg (one that I can recommend, has also an x86/x32 version)

 

  • Like 2

Discord: andresc

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...