VMProtect doesn't see the vm markers

Issues related to VMProtect
Locked
Mahmoudnia
Posts: 10
Joined: Mon May 07, 2018 7:51 pm

VMProtect doesn't see the vm markers

Post by Mahmoudnia »

Hello, I am using VMProtect 3.1.2 Build 917

I have many functions that I want to use VM markers but VMProtect doesn't see some of them.
I use VS2015 in windows 10 and I use the virtualization marker, not mutation or ultra.
I use same name in VMProtectBegin input parameter for all my functions.

What is my problem ?

Thank you.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect doesn't see the vm markers

Post by Admin »

Could you send us a test example (original EXE file) that shows your problem?
Mahmoudnia
Posts: 10
Joined: Mon May 07, 2018 7:51 pm

Re: VMProtect doesn't see the vm markers

Post by Mahmoudnia »

Hello, Admin

is there a difference between debug or release compiling mode for VMProtect ?
I send you in private chat, because it's a commercial product.

Thank you.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect doesn't see the vm markers

Post by Admin »

We have received your examples but I don't understand what is the problem. Only VMProtect-TEST-Release.dll has no markers because our SDK wasn't used in this file.
Mahmoudnia
Posts: 10
Joined: Mon May 07, 2018 7:51 pm

Re: VMProtect doesn't see the vm markers

Post by Mahmoudnia »

The problem is
I have many function in our DLL file that we use VMProtect macros in functions but if I have 7 macros, VMProtect recognize just 6 macros.
In DLL VMProtect-TEST.dll I have 2 functions that compiled with release and debug mode. in debug mode VMProtect recognize all of them but in Release mode VMProtect recognize nothing.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect doesn't see the vm markers

Post by Admin »

VMProtect-TEST-Release.dll has no markers because our SDK wasn't used in this file. I don't know how you compile your DLLs :))
Mahmoudnia
Posts: 10
Joined: Mon May 07, 2018 7:51 pm

Re: VMProtect doesn't see the vm markers

Post by Mahmoudnia »

I will never had this problem :D
Please check your inbox I made a quick video.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect doesn't see the vm markers

Post by Admin »

Please read my latest message more carefully. Here is the screeshot that shows import functions:
Attachments
screen.png
screen.png (22.93 KiB) Viewed 10628 times
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect doesn't see the vm markers

Post by Admin »

As you can see VMProtect-TEST-Release.dll doesn't use VMProtectSDK32.dll
Mahmoudnia
Posts: 10
Joined: Mon May 07, 2018 7:51 pm

Re: VMProtect doesn't see the vm markers

Post by Mahmoudnia »

I checked the import table with VMProtect and CFF Explorer and You are right.
But what about count of VM macros ?
I use seven VM macros but VMProtect recognize just six macros.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect doesn't see the vm markers

Post by Admin »

I use seven VM macros but VMProtect recognize just six macros.
Because your release version doesn't containt the "MessageDecrypt" function.
Mahmoudnia
Posts: 10
Joined: Mon May 07, 2018 7:51 pm

Re: VMProtect doesn't see the vm markers

Post by Mahmoudnia »

it's impossible because debug or release mode is not code modifier they are same code editor .
I think it's about compiler or something in VMProtect.
I show you in videos I use 7 macros in SecureByteKit.dll
VMProtect recognize all of theme but in release mode not.

is there any solution for this case ?
What can I do ?
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect doesn't see the vm markers

Post by Admin »

What isn't clear in the following sentence?
Because your release version doesn't containt the "MessageDecrypt" function.
Mahmoudnia
Posts: 10
Joined: Mon May 07, 2018 7:51 pm

Re: VMProtect doesn't see the vm markers

Post by Mahmoudnia »

Because I see my codes right now.

in release mode configuration:
I set the path of VMProtectSDK32.lib in additional library directories and additional dependencies.
I set Optimization to disable or anything exist in parameters.

But the problem still exist.
Attachments
VMProtect.png
VMProtect.png (146.25 KiB) Viewed 10608 times
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect doesn't see the vm markers

Post by Admin »

It seems you don't know what is "dead code elimination".

P.S The topic is closed.
Locked