![]() |
|
#1
|
||||
|
||||
|
How to shuffle names in the PE import table?
Hi Guys.
As I tried, it does not matter how the order of functions and API calls is in my C/C++ source code. Microsoft Visual Studio Linker fills the import table in a specific way, which is not clear to me; but the order of API names is constant for my code. For instance, it does not matter I call ReadFile() before or after SetFilePointer(). In a compiled EXE file, SetFilePointer may come even before CreateFileA/W. Is there any way to change this order, literally shuffle the order of names at each compile? The hardest way is to rebuild the import table; but it needs searching and patching the code to point to new import table. I'm looking for a quick way. Any idea?
__________________
In memory of UnREal RCE... Last edited by Newbie_Cracker; 08-18-2019 at 16:19. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Add imports to DLL import table | jonwil | General Discussion | 5 | 09-07-2020 16:47 |
| Injective Code inside Import Table (Tutorial) | Franeppe | General Discussion | 1 | 06-08-2006 00:24 |
| Import Rebuilding Without Import Table | Kerlingen | General Discussion | 11 | 01-13-2005 10:24 |
| Can`t restore import table | thechatter | General Discussion | 9 | 11-14-2003 21:01 |
| Changing Import Table?? | magic | General Discussion | 3 | 09-14-2003 01:59 |