OpenProcess fails.

Post here messages if you have any problems with working of Enigma Protector
Post Reply
191
Posts: 12
Joined: Wed Mar 26, 2014 7:54 pm

OpenProcess fails.

Post by 191 »

Hello,

I've just spotted a problem. I am using OpenProcess to gain access to a secondary process my application needs, but somehow, ONLY when the file is protected, this call ALWAYS fails. Process ID is correct, and so is everything else. Without protection it works fine.

I've tried pretty much everything, like using the original import table or disabling the VM. Nothing seems to work.

Thanks in advance.
Enigma
Site Admin
Posts: 3085
Joined: Wed Aug 20, 2008 2:24 pm

Re: OpenProcess fails.

Post by Enigma »

Hi, difficult to say what could be wrong there. Can you please provide us small sample?

Also, please try the following:
1. Disable Virtual Box feature at all, do you use it?
2. Disable all options on Protection Features - Import Protection
3. Do you try to open external process, or it is a child process also created by a target?
191
Posts: 12
Joined: Wed Mar 26, 2014 7:54 pm

Re: OpenProcess fails.

Post by 191 »

Okay, I'll provide an sample application as soon as I can.

The problem is the RISC VM. Without protecting the code area with the RISC VM it works fine.

I'll try to figure out what exactly causes the problem to provide you more detailed information. I hope this can speed up the patch.

Generally, I have to say that the RISC VM has a lot of bugs. Crashes happen often (Especially in Dlls), Code does not do what it is supposed to do (like in this case) etc...

I'd really appreciate a new update!
Alec
Posts: 82
Joined: Thu Feb 20, 2014 9:35 am

Re: OpenProcess fails.

Post by Alec »

Did you try to determinate on which exact regions of your code RISC VM does this ? You can use markers in order to find it. We are looking forward resolving this issue as quickly as possible. Please write about whatever your tests will show.
Post Reply