How can i Combine protection Virtualize/(RISC) and Registration Check Marker?

Post here messages if you have any problems with working of Enigma Protector
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: How can i Combine protection Virtualize/(RISC) and Registration Check Marker?

Post by Enigma »

louemusic123 wrote: Mon Jan 15, 2024 4:30 pm I read manual in section "Markers Reg_Crypt" and see "after the module is protected, the code inside the begin/end markers will be encrypted and the ...", my interpretation is all markers not only vm(risc) can auto encrypted not only Reg_Crypt, is it?
VM/VMRISC markers are not encrypted, they are processed into PCODE that runs on a virtual processor. This is a different kind of protection, which provides the maximum security for protected code.

Reg_Crypt code is encrypted, that's right. It is being decrypted only if there is a valid license key and key unlocks necessary section.

Unreg_Crypt also encrypts the code, and protection decrypts it at start if conditions are met.
louemusic123
Posts: 10
Joined: Sun Jan 14, 2024 2:10 am

Re: How can i Combine protection Virtualize/(RISC) and Registration Check Marker?

Post by louemusic123 »

Got it. but i wish my code section first in virtualized processing, then encrypt it again, can i complete it?
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: How can i Combine protection Virtualize/(RISC) and Registration Check Marker?

Post by Enigma »

louemusic123 wrote: Tue Jan 16, 2024 3:14 pm Got it. but i wish my code section first in virtualized processing, then encrypt it again, can i complete it?
This is how it really does, if I've understood you correctly.

Protection first virtualizes markers/functions from map files, removes them from a code and then compresses/encrypts this code section.
louemusic123
Posts: 10
Joined: Sun Jan 14, 2024 2:10 am

Re: How can i Combine protection Virtualize/(RISC) and Registration Check Marker?

Post by louemusic123 »

Thankyou for patience!

I met a error, a new blanked form application , and add code below
......
implementation
uses
Registry;

const
SubKey = '\SOFTWARE\';

procedure TForm1.Button1Click(Sender: TObject);
var
Reg: TRegistry;
SubPath: string;
begin
Reg := TRegistry.Create;
try
Reg.RootKey := HKEY_LOCAL_MACHINE;
SubPath := SqlKeyRoot + 'MySoftKeys';
Reg.OpenKey(SubPath, True);
Reg.WriteString('MyStringKey', 'valu100');
finally
Reg.Free;
end;
end;

Then compile this project with X64 platform in XE12. I use enigma X64 with a new project, simple select virtual box and select registry virtualize then
Process file. when click button event, it popup an error :
---------------------------
proj1_protected
---------------------------
Failed to set data for 'MyStringKey'
---------------------------
OK
---------------------------


It is good in X86 version. TEP is 7.4 X64 demo version
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: How can i Combine protection Virtualize/(RISC) and Registration Check Marker?

Post by Enigma »

Just curious why is it needed?

Virtual registry has some disadvantage, all the changes you make to virtual registry keys are being discarded after application restart. So even if you write something in this key, this value will be saved only during protected process works, after restart it won't exist. Apart of that, files virtualization allows to store changes using Storage function, just for your information. Registry virtualization does not have Storage function yet.

If possible, please attach your non protected exe file to this post, I will check it out.
louemusic123
Posts: 10
Joined: Sun Jan 14, 2024 2:10 am

Re: How can i Combine protection Virtualize/(RISC) and Registration Check Marker?

Post by louemusic123 »

emm.. it's not essential..
I eccount this error is in chance up just had a requirement, read and write some registry key / values but not present it to real registry, thuses may prevent some sniffers, and can keep system clean.

It's not important , byt the x64 virtual registry eccounter an error , so i report for this information

i run this code also in 32, 64bit, none protect, and protected process in times, only 64 protected file has a popup.

Because of forum upload restriction, you will delete the last ".7z" extention when files downloaded
Attachments
proj1.7z.003.7z
(25.59 KiB) Downloaded 46 times
proj1.7z.002.7z
(400 KiB) Downloaded 43 times
proj1.7z.001.7z
(400 KiB) Downloaded 47 times
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: How can i Combine protection Virtualize/(RISC) and Registration Check Marker?

Post by Enigma »

Hi, thank you for the sample!

The problem had been identified, confirmed and already successfully fixed.

It affected both x86 and x64 versions.

Please write us back at support@enigmaprotector.com, we will provide you fixed versions.
Post Reply