Any questions? Ask us: support@enigmaprotector.com

Clock reversal issue

Post here messages if you have any problems with working of Enigma Protector

Clock reversal issue

Postby Ajax » Tue Jul 11, 2017 9:28 pm

Hello,

I'm having an issue with Enigma's clock reversal protection feature.

When testing this feature, I set the clock to a time before the license generation. Enigma correctly triggered the clock reversal protection and prevented the application from opening. However, after resetting the clock back to the correct date and time, Enigma continued detecting clock tampering.

I confirmed that the reported BIOS time is correct. I also tried uninstalling a reinstalling the application, but the problem persists.

Is this an Enigma bug? What do you recommend to do?
Ajax
 
Posts: 10
Joined: Tue May 27, 2014 1:36 am

Re: Clock reversal issue

Postby ilya01 » Wed Jul 12, 2017 3:51 am

This is clock reversal protection. You can't set back time since it is considered as a manipulation with the clock. You can reset project data to remove app watermark.
ilya01
 
Posts: 83
Joined: Tue Oct 07, 2014 2:31 am

Re: Clock reversal issue

Postby Enigma » Wed Jul 12, 2017 11:53 am

Ajax wrote:Is this an Enigma bug? What do you recommend to do?


Let me explain how it works.

Imagine, today is 12 July and you are testing the trial. You reversed clock forward to 12 August, program works fine. Then you reversed clock back to 12 June - program does not work. If you set the clock to the correct date - 12 July, it still won't work, because program checks for a maximum detected date, and it thinks that 12 August is the correct one.

What to do?

1. If you are testing it on own local computer then you can open your project in Enigma Protector and click main menu - Tools - Reset All Local Info.

2. If it is on a user computer you can use the Enigma API function EP_TrialClockReversedDays, it returns the number of days that protection detected the clock are reversed. So for the protection, the correct date would be Today + EP_TrialClockReversedDays days. Otherwise, if date is OK this function returns zero.

Hope this helps!
Enigma
Site Admin
 
Posts: 2157
Joined: Wed Aug 20, 2008 2:24 pm

Re: Clock reversal issue

Postby Ajax » Mon Jul 17, 2017 9:22 pm

Thanks both for the quick reply, I'll use EP_TrialClockReversedDays
Ajax
 
Posts: 10
Joined: Tue May 27, 2014 1:36 am

Re: Clock reversal issue

Postby Priyanshu » Mon Sep 04, 2017 3:14 am

how to use this api function EP_TrialClockReversedDays
Please help me, i have the same problem.
Priyanshu
 
Posts: 1
Joined: Sun Sep 03, 2017 5:35 am

Re: Clock reversal issue

Postby Enigma » Mon Sep 04, 2017 1:45 pm

Priyanshu wrote:how to use this api function EP_TrialClockReversedDays
Please help me, i have the same problem.


This is possible to do only if you have sources of your application and can re-compile the application.

Please check Examples folder of installed Enigma Protector to view examples of Enigma API usage for different programming languages.
Enigma
Site Admin
 
Posts: 2157
Joined: Wed Aug 20, 2008 2:24 pm

Re: Clock reversal issue

Postby Ajax » Thu Sep 07, 2017 10:31 pm

When calling EP_TrialClockReversedDays to compute the actual trial days left in case of reversal, or when using other API functions to control the way protection is handled, is it required to disable the corresponding functionality from the Enigma project to override with the API the way the protection works?
Ajax
 
Posts: 10
Joined: Tue May 27, 2014 1:36 am

Re: Clock reversal issue

Postby Enigma » Mon Sep 11, 2017 2:52 pm

Ajax wrote:When calling EP_TrialClockReversedDays to compute the actual trial days left in case of reversal, or when using other API functions to control the way protection is handled, is it required to disable the corresponding functionality from the Enigma project to override with the API the way the protection works?


You should disable the option "Terminate execution" for clock reversing, otherwise protection shut down the execution before it reaches your code.

Do you have any problem with this?
Enigma
Site Admin
 
Posts: 2157
Joined: Wed Aug 20, 2008 2:24 pm


Return to Problems

Who is online

Users browsing this forum: rusquimsumup and 5 guests