Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Rename the name of a function directly into a DLL

Ok so... for example :

dll name : mydll.dll

Inside this dll there a funtion named AAAfunctionName

I would like to rename this function to BBBfunctionName

I'm not talking about changing a type def in my program, i mean changing the name directly inside the dll. I thought i could simply rename it into the dll (there is the string AAAfunctionName) as confirmed by IMAGE_EXPORT_DIRECTORY and then PDWORD *AddressOfNames, but... it seems it dosent work or i failed somewhere.. Any smart idea ? 🐱‍👤
lol, of course changing the string won't affect its name from the IAT. it's like changing your home address at an external entity but it's still the same at your local government interior office which doesn't affect where your mail goes to.

anyways, a "smart idea" would be to reconstruct the IAT, don't ask me how, just google.
(Jan 17, 2021 01:44 AM)riu41776 Wrote:  lol, of course changing the string won't affect its name from the IAT. it's like changing your home address at an external entity but it's still the same at your local government interior office which doesn't affect where your mail goes to.

anyways, a "smart idea" would be to reconstruct the IAT, don't ask me how, just google.


I know life can often be very rude, but maybe nobody here is responsible for what it made you live. If what i see in you is a remaining light, i'm sure you could make it grows for a better world.

Regarding the way it works, it's not completly stupid to think that simple string name changing could got a chance to work :

[Image: 8zBMu.gif]

BTW, thank you for suggesting to look into the import table for an exported function..
theoretically yes if you keep the new name length as the old one
if you change the length of the name you will need to update lots of other things (values)
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by FhackMar 2, 2022 03:52 AM 4 306 Mar 2, 2022 03:52 AM
Last Post: Fhack
[C#] by Memento_MoriJan 18, 2022 07:09 PM 2 261 Jan 18, 2022 07:09 PM
Last Post: DDDealer
[C#] by Clovis VApr 16, 2020 07:19 PM 2 233 Apr 16, 2020 07:19 PM
Last Post: ArcticSlay