Problem after protect dll

Issues related to VMProtect
Locked
douglasruiz
Posts: 9
Joined: Mon Jul 30, 2018 4:13 pm

Problem after protect dll

Post by douglasruiz »

I'm have one issue after protecting my dll.
my current setup on vmprotect is:

memory protection: yes
import protection: no (since i use hooks, and if enabled it's impossible hook apis)
resource protection: yes
Pack the output file: yes
debugger: user mode + kernel mode
Virtualization tools: yes

I attached the image error on topic.
I believe is some string after protected my dll don't know what is, since on my dll i open .ini files.

Other thing is, after protected functions like MessageBox don't execute.
I'm using embarcadero delphi 10.1 berlin
Attachments
erro1.png
erro1.png (155.39 KiB) Viewed 13457 times
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Problem after protect dll

Post by Admin »

Do you use libraries like Detours, etc. that change your code at the startup?
douglasruiz
Posts: 9
Joined: Mon Jul 30, 2018 4:13 pm

Re: Problem after protect dll

Post by douglasruiz »

DDetours and MADCODEHOOK.
The memory protection from VMPROTECT cause this error, how use it with DDetours and MADCODEHOOK?

After protecting my dll my hooks stop working, how procede? if not i can't use VMPROTECT.
I've disabled all protections method of VMPROTECT and after protect my dll api hooks like on send (ws2_32) stop work, what's the solution?

---

I discovered i need load the dll again (on vmprotect) on every change, if not VMPROTECT load the old dll (maybe?) because if i don't load dll again the protected dll don't work correctly.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Problem after protect dll

Post by Admin »

You have to disable "Memory protection" for the ".text" segment like this:
Image
douglasruiz
Posts: 9
Joined: Mon Jul 30, 2018 4:13 pm

Re: Problem after protect dll

Post by douglasruiz »

I use lite version, he don't display this option (i) on left tab.

WAITING FOR A SOLUTION
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Problem after protect dll

Post by Admin »

You can edit your VMP project file with the demo version:
http://vmpsoft.com/files/VMProtectDemo.exe
douglasruiz
Posts: 9
Joined: Mon Jul 30, 2018 4:13 pm

Re: Problem after protect dll

Post by douglasruiz »

Admin wrote:You can edit your VMP project file with the demo version:
http://vmpsoft.com/files/VMProtectDemo.exe
If i can edit my project using the full demo why you don't enable this version on lite edition?
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Problem after protect dll

Post by Admin »

Because Lite and Ultimate versions have many differences
douglasruiz
Posts: 9
Joined: Mon Jul 30, 2018 4:13 pm

Re: Problem after protect dll

Post by douglasruiz »

Admin wrote:Because Lite and Ultimate versions have many differences
And this option who you said i can edit on demo version is'nt from lite version too? because if not why i can edit it on full demo and not on lite version?
or this option is the ""Expert" mode - an advanced user interface with the full set of features"?

And if only from ultimate why i can modify it on demo version and build on lite version?
if is a problem caused by vmprotect should have on lite version to fix too, not only on full.
douglasruiz
Posts: 9
Joined: Mon Jul 30, 2018 4:13 pm

Re: Problem after protect dll

Post by douglasruiz »

I have disabled the "Memory protection" for the ".text" segment and the problem continue.
Solve it or send my money back.


my application don't run on VMWARE after packed with VMPROTECT WITH ALL FEATURES DISABLED
Last edited by douglasruiz on Sat Aug 04, 2018 7:13 pm, edited 1 time in total.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Problem after protect dll

Post by Admin »

Please send us a test example (original EXE+MAp+VMP files) that shows your problem.
douglasruiz
Posts: 9
Joined: Mon Jul 30, 2018 4:13 pm

Re: Problem after protect dll

Post by douglasruiz »

ATTACHED ON TOPIC.

A QUESTION, I NEED PROTECT MY APPLICATION ON THE SAME FOLDER AS THEY .MAP FILE?
Attachments
Output.rar
(1.45 MiB) Downloaded 300 times
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Problem after protect dll

Post by Admin »

You forgot add EXE file in your archive.

P.S. Your order will be refunded soon. The topic is closed.
Locked