VMProtect changes some texts?

Issues related to VMProtect
Locked
discreet
Posts: 13
Joined: Tue Nov 30, 2021 2:35 am

VMProtect changes some texts?

Post by discreet »

Hi,

Seems like the path gets changed when using VMProtect:

Code: Select all

string assemblyPath = Path.Combine(folderPath + "/lib", new AssemblyName(args.Name).Name + ".dll");
I have to exclude text from memory protection. But isn´t that insecure, not want to do that for only one string.

Got another code which is working:

Code: Select all

var name = config["Account"]["VM_NAME"];
var apiKey = config["Account"]["API_KEY"];
i dont understand what´s the difference here.
Anyone got an idea how to fix the first code, so VMProtect not changing the String?
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect changes some texts?

Post by Admin »

Could you provide us more detailed information what was changed in the first code?
discreet
Posts: 13
Joined: Tue Nov 30, 2021 2:35 am

Re: VMProtect changes some texts?

Post by discreet »

I load my DLLS from another folder.
The folder is called lib and is located in the root folder of the program.

However, when I run VMP over it, the program expects the dll's to be in the root folder.

I need to exclude text from memory protection so that the dll's are still loaded from the /lib folder.

Code: Select all

string assemblyPath = Path.Combine(folderPath + "/lib", new AssemblyName(args.Name).Name + ".dll");
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect changes some texts?

Post by Admin »

I didn't understand anything. Could you provide the correct value of "assemblyPath" and its value after protection?
discreet
Posts: 13
Joined: Tue Nov 30, 2021 2:35 am

Re: VMProtect changes some texts?

Post by discreet »

Before i load my dlls from the folder /lib
After i use VMP it loads the dlls from root directory.

If i I exclude text from memory protection, the dlls got again loaded from /lib path.

No idea what VMP is doing here
discreet
Posts: 13
Joined: Tue Nov 30, 2021 2:35 am

Re: VMProtect changes some texts?

Post by discreet »

Well please give me a refund, seems like not getting any help.
Cant wait years to publish my project.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: VMProtect changes some texts?

Post by Admin »

We asked a test example that shows your problem, but haven't received anything yet. Unfortunately we can't help you with Anydesk, etc. because we need to reproduce your problems on our side. Anyway, we will refund your order right now.

P.S. The topic is closed.
Locked