Page 1 of 2

Bound to an exe

Posted: Tue Jul 03, 2012 9:09 pm
by Unc3nZureD
Hi guys,
Is that possible any way to bound the protected exe to an other one?
Okay, here's an example:

I've got an exe like game.exe. I would like to protect only this one. There's an other exe: shield.exe. I won't be protected. Now I would like to bound the game.exe to shield.exe. When the user starts game.exe then it automatically start the shield.exe and if the shield stops, the game stops too! Is it possible with enigma?

(Ok, I know there's a running process function but that check the process, but it's a double fail. 1st it won't start the shield.exe at startup, 2nd, can be easily bypassed by starting another exe with shield.exe name and easily stop the original one)

~ Thanks for your support.

Re: Bound to an exe

Posted: Wed Jul 04, 2012 6:29 am
by Enigma
Hi Unc3nZureD, it is possible to do, but it requires a customization of protection.

You should use plugins system for that and need to write two plugins:

1st plugin for shield.exe will create a mutex object with some unique name
2nd plugin for game.exe which will run shield.exe and check if the mutex object exists (if object is found, then shield.exe is running)

Re: Bound to an exe

Posted: Wed Jul 04, 2012 7:01 pm
by Unc3nZureD
Maybe a noob idea, but isn't it possible to simply get the md5 of the running shield.exe (if it's running), and if it's different than the given it stops.

The only Problem is that I can't protect the Shield with enigma because it's written and it's compiled a special way, that means if I modify the exe, it crashes instantly.

Re: Bound to an exe

Posted: Thu Jul 05, 2012 7:02 am
by Enigma
Why not, this is also a good way. Just checking of crc is enough long process compared to the checking of the mutex.

Anyway, this also can be done with plugins. In the plugin for the game.exe you need to run a thread object that will endless check if the shield.exe is present in processes list and if it's control sum is correct.
If process is not found, or control sum is invalid, then game.exe should close.

Re: Bound to an exe

Posted: Thu Jul 05, 2012 6:09 pm
by Unc3nZureD
"Just checking of crc is enough"
CRC can be changed easily :)
___________________________________

Now the only problem is that I can'T make plugins :) Hmm... I have to find some tutorials. By the way is there any at this forum?

Re: Bound to an exe

Posted: Fri Jul 06, 2012 2:05 pm
by Enigma
Unc3nZureD wrote: CRC can be changed easily :)
Sure, and if the crc is changed then application should stop to work! This is what you require.
___________________________________
Unc3nZureD wrote: Now the only problem is that I can'T make plugins :) Hmm... I have to find some tutorials. By the way is there any at this forum?
You need a development skills to do that. Everything I can help is to advise you to use Enigma API functions (eg, EP_CryptHashFileA http://enigmaprotector.com/en/help/manu ... 62fb17f5d1) in the plugin that allows to calculate the control sum of the file.

Re: Bound to an exe

Posted: Fri Jul 06, 2012 7:03 pm
by Unc3nZureD
Okay, Is it possible to help me writing this simple plugin?

As a plot:

Code: Select all

Run(ExeDir & "\shield.exe")
While 1
   If ProcessExists(shield.exe) Then
      asd = CheckCRC(shield.exe)
   EndIf

   If asd <> "asd123zu" Then Exit
   Wait 2000
WEnd
Could you make me a working code? I will download the language you're programming with, so later I can change the CRC is shield.exe is updated.

I hope you can help me :)

Thanks a lot:
~Unc3nZureD

Re: Bound to an exe

Posted: Sun Jul 08, 2012 9:24 pm
by Enigma
Can you please let me know (by Private Message) the name of your license for Enigma Protector for future help?

Re: Bound to an exe

Posted: Tue Jul 10, 2012 6:14 pm
by Unc3nZureD
Dear enigma,
This is the keyword - and I know I won't get any support from here but I don't want to lie :) I haven't bought it. Currently I'm using a DEMO version.

Okay, I know you can ask: "Why is this noob asking for help with a demo version"
The answer is easy. A single licence costs $149, which is not that value I want to waste. I mean I want to choose the BEST protection for my software. I don't say your product is not good. I say I'm just choosing currently. Main point for me is the support level, and the protection level. Currently I'm deciding between Themida or Enigma (maybe ASProtect but it seems to be a noob one). Armadillo and other small companies even seems to be a weak protection.

--------------------

Okay, If you can't answer my plugin question (cause of the licence), then I've got a last question. Our protection will be solved using an AutoIT file. As well I know it's exe is very sensitive. I've read a topic about it here:
http://enigmaprotector.com/forum/viewto ... ?f=6&t=500

It was written in 2010. I think it's engine developed a lot. (both enigma and autoit). Do you think that the enigma still able to handle it's compiled exe without crashing it? If yes, is there any special options I shoud deactivate or I have to activate?

--------------------

I Hope the bests.

Re: Bound to an exe

Posted: Thu Jul 12, 2012 4:29 pm
by Enigma
No, I do not tell nothing, I just would like the people to be honest.

You may contact us at support@enigmaprotector.com, I hope we may help you. These programs (plugins) itself are very simple, so it won't take too much time to help.

Regarding AutoIt protection. As far as I know, few customers are using it successfully. And they are also using Enigma API inside it to control licensing, for protection integration etc. So I believe there is no problems to use Enigma Protector with AutoIt.