![]() |
|
|
|
#1
|
|||
|
|||
|
Quote:
With the techniqe described above, I get the 128bit AES in asm. Now the limit is length of the crypt key you input and crypt data must <= 16 byte.(due to my lazy) You know, Cpu not know function, procedure, S_Boxes..., it just know dword, address. So S_Boxes is a relative address map of dword data for Cpu view and asm. |
|
#2
|
|||
|
|||
|
MS detours
the microsoft's tools maybe help you.
|
|
#3
|
|||
|
|||
|
The position independent code is the general solution. Your code shouldn't contain any relocations and imported function calls, such as OS API. Organizing code in the single section and avoiding global variables resolves the problem with relocations. If you need to make a call to OS API function you should allocate a structure in the target process and fill it in with pointers to API required or patch your code with these addresses.
|
|
#4
|
|||
|
|||
|
I know this.I always inject codes myself...
But my main reson was that is there any tool that for example can automatically abstract an exported function from a dll and completely correct its relocations to an brusted code or not? sincerely yours
__________________
I should look out my posts,or JMI gets mad on me!
|
|
#5
|
|||
|
|||
|
I dont think a tool exists publicly but TMGRipper does do a nice job handling local vars and global vars, last time I used it.
-Lunar |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Possible to inject new menus into GUIs? | binarylaw | General Discussion | 8 | 03-06-2020 17:51 |
| How to inject code into a process? | jonwil | General Discussion | 7 | 06-01-2005 23:23 |
| Very Easy way to Inject a Dll | Rhodium | General Discussion | 9 | 10-28-2004 16:52 |