![]() |
CodeCave in x64
Hello, I did 12 years ago redirecting the flow of execution was easy on a 32bit PE Executable, Change EP, to the code cave saving registers status executing code and then restoring them. In x64 i searching the way to.
Code:
hxxs://www.codeproject.com/Articles/20240/The-Beginners-Guide-to-CodecavesCode:
x32 |
Quote:
Intel x86/x64 assembly reference: Code:
https://cdrdv2-public.intel.com/774494/325462-sdm-vol-1-2abcd-3abcd.pdf |
Thanks @chessgod101 for your reply. So I have to try this but , reading some of intel arch manual,
PUSH RAX-R15 > PUSHAD PUSHFQ > PUSHFD <<Shellcode>> POP RAX - R15 POPFQ ? Where can I start learning Assembly and coding by practice? And always, Thanks. |
Quote:
Quote:
|
Quote:
|
@RAMPage, In the context of "code caves" I have found this piece of art from the depths of internet; you are welcome my friend:
Quote:
|
Quote:
Friend thats a great post, I really enjoy it. What I was saying is something like this: Code:
hxxs://dl.packetstormsecurity.net/papers/general/manual-backdooring.pdf |
Another example from the Interneto:
hxxps://pastebin.com/34xCSrL2 |
Did something like this just recently with a friend.
We added a Section to the PE and patched the entry point with a jump to our entry code. In case youre interested, the code is easy to read you can find it on my friends github; https://github.com/XaFF-XaFF/CaveCarver |
Quote:
Didnt have the chance to see it , too much things in the house to do. Im looking foward to finishing this work , I have to see how to disable ASLR in a binary too |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
https://www.mirrored.to/files/INNBTOA9/flumy.zip_links
|
| All times are GMT +8. The time now is 08:54. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX