Link to home
Start Free TrialLog in
Avatar of miladyyy
miladyyy

asked on

How to prevent a program from monitoring changes to the registry?

Dear Masters

I know that a program by using RegNotifyChangeKeyValue API function can monitor registry changes.
but suppose that i want to create a registry key containing my program expire date, so this program can monitor it and then this key can be removed so my software can be used without limitations in time or date. so it seems that i should prevent such monitors from working. my question is that how i can prevent a program (which is monitoring registry) from monitoring registry?

Thank you in advance for your information.
===================================
Sincerely, Yours
Milad
Avatar of William Elliott
William Elliott
Flag of United States of America image

if they have 'read' access to the key, then you can't stop them from monitoring the registry key.

your question should be 'how can i put an expiration on my demo program'

why not try having your software expire after a specific number of uses, not days and encrypt the data within the exe itself,. or for that matter you can hash the date within there as well.
Avatar of miladyyy
miladyyy

ASKER

Dear Master (weellio)

Thank you for lightening-speed response, to some extent you are right but when putting information in the exe users can backup original unsed exe in a safe place and then overwrite used exe with the original one. so expire does not mean in that way, do you know EXECryptor software?
it stores information in registry but another software called Trial-Reset can delete its registry entries.
although EXECryptor is the strongest protector for Win32 applications i think a monitor program has detected EXECryptor's registry keys. so delete is available and possible whenever we want. but only this API can monitor registry changes, without it there is nearly no way to detect registry changes.
so i wanted to know if there is a way of killing this monitoring.

Please help me with it.
Thank you in advance for your information and guidance.

Sincerely, Yours
================
Milad
one possibility is not creating the expiration data in the registry during the install, but after the first or second opening of the program.  normally this isn't monitored as closely.


check out activelock
http://www.activelock.com/download.html


or these other EE options
https://www.experts-exchange.com/questions/21486786/Software-Distribution-Set-Expiration-Date-for-my-software.html?
https://www.experts-exchange.com/questions/10054037/Expiration.html?

Dear weellio

Thank you for your response, but even ActiveLock expire date or its registry entries can be deleted by Trial-Reset, and if someone runs a registry monitor program before running the application for the first time or before setup, they can detect any registry changes, by the way it seems that there is no way and i should try to find a solution by myself. Again thank you for your guidance.

Sincerely, yours
==============
Milad
ASKER CERTIFIED SOLUTION
Avatar of William Elliott
William Elliott
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forced accept.

Computer101
EE Admin