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

C# 

Rename entry point dll

Hi, I'm coding my own malware, and I'm tryin to remove some detections.
I'm focusing on two "TR/Dropper.Gen" detections, and I noticed that both are removed when I rename a function name I import like this :

Code
[DllImport("kernel32.dll")]
public static extern IntPtr LoadLibrary(string dllFilePath);

Renaming LoadLibrary do the job, but of course the program can not find the entry point in the dll and raise a "EntryPointNotFoundException".

I don't know how I can easily change this and keep it workin as before, if you have any idea :)

Thanks
you can use EntryPoint option but av still can catch it

[DllImport("kernel32.dll", EntryPoint="LoadLibrary")]
public static extern IntPtr Ll(string dllFilePath);

or search the section for call api by name
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
Bump for reading later on when you find an update please post!


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by audeJan 17, 2021 06:29 AM 3 198 Jan 17, 2021 06:29 AM
Last Post: HFDone
[C] by SecurifierJan 17, 2020 07:20 AM 12 416 Jan 17, 2020 07:20 AM
Last Post: SIM-3602340
[Shell] by Nick™Jun 8, 2018 07:34 PM 3 160 Jun 8, 2018 07:34 PM
Last Post: Mr Meeseeks