GustavoHMA 15 Report post Posted February 15, 2017 Can anyone make a guide on how to increase the code caves to be able to insert new function into assembly? Thank you in advance and apologize for English. Quote Share this post Link to post Share on other sites
Totoka 152 Report post Posted February 15, 2017 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) 2 Quote Discord: andresc Share this post Link to post Share on other sites
GustavoHMA 15 Report post Posted February 15, 2017 (edited) I want to create new asm lua functions using this new space. Many thanks to @Totoka for the help. Edited February 16, 2017 by GustavoHMA Quote Share this post Link to post Share on other sites