Page 1 of 1

OpenProcess fails.

Posted: Mon Jun 23, 2014 7:10 pm
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.

Re: OpenProcess fails.

Posted: Tue Jun 24, 2014 8:51 am
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?

Re: OpenProcess fails.

Posted: Tue Jun 24, 2014 3:56 pm
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!

Re: OpenProcess fails.

Posted: Wed Jun 25, 2014 7:20 am
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.