Indigo Rose Software
  #1  
Old 10-23-2008
GalacTekM's Avatar
GalacTekM GalacTekM is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Location: Spring Hill, FL
Posts: 28
EXE Expiration

I have an install that i have setup so that it expires 5 days after the first time it has been run. I read in the help file that is stores the first date run in the registry. My question is where in the registry is this information stored? Thanks
__________________
Matt Leach
GalacTek Corp.
www.galactek.com
Reply With Quote
  #2  
Old 10-23-2008
jassing's Avatar
jassing jassing is online now
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
Quote:
Originally Posted by GalacTekM View Post
I have an install that i have setup so that it expires 5 days after the first time it has been run. I read in the help file that is stores the first date run in the registry. My question is where in the registry is this information stored? Thanks
I could tell you but then the eval you have would be extended.... ;-)
__________________
Reply With Quote
  #3  
Old 10-24-2008
GalacTekM's Avatar
GalacTekM GalacTekM is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Location: Spring Hill, FL
Posts: 28
Not sure what you mean. I have a registered copy of Setup Factory, not an evaluation.

This is for a setup that i created for our clients. The purpose of it is to use a command line to bypass licensing on our medical billing software for a period of 5 days while they are having the licensing device (sentinel) serviced. If by chance it takes more than 5 days to service the device, i would like to be able to modify the registry entry to extend them by a few days.
__________________
Matt Leach
GalacTek Corp.
www.galactek.com
Reply With Quote
  #4  
Old 10-24-2008
jassing's Avatar
jassing jassing is online now
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
The SUF "expire install" security is for the INSTALLER only, not your application.

besides, the installer processes the security stuff before it hands off to "On Startup" so passing a parameter to it won't do you any good; the installer would never "see" your parameter.
__________________
Reply With Quote
  #5  
Old 10-24-2008
GalacTekM's Avatar
GalacTekM GalacTekM is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Location: Spring Hill, FL
Posts: 28
But it's not a "installer".

All my EXE does is start our program with a command line switch, nothing gets installed. So instead of going into the customers existing shortcut and adding the command line, all i did was create an EXE that runs our software with a command line so that our clients cannot right click on a shortcut and find our command line switch to bypass licensing.

So inessence i basically created a wrapper to run our EXE to hide our command line switch.
__________________
Matt Leach
GalacTek Corp.
www.galactek.com
Reply With Quote
  #6  
Old 10-24-2008
jassing's Avatar
jassing jassing is online now
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
the SUF exe's SECURITY (aka: 5 days) would process any command line switches if it's internal security passes...

also; it's so trivial to use readily available tools to determine a command line switch, the security itself is pretty low...

Just send them a new "wrapper" exe that has a different key...
if you tell them where the registry entry is; then all they have to do is instlal it on other machines & zap the registery every day...

So to recap: passing a command line switch to SUF won't help once SUF is expired; as suf will never "GET" the switch (to disable it)
I think you're best approach from an appearance of security would be to send them a new wrapper with a new GUID for the "Unique Product Identifier"
__________________

Last edited by jassing; 10-24-2008 at 10:56 AM. Reason: added more (hopefully helpful) information
Reply With Quote
  #7  
Old 10-24-2008
pww's Avatar
pww pww is offline
Forum Member
 
Join Date: Jun 2005
Posts: 343
if I correctly understand, you have a dongle protected software which can be started with a command line switch that makes possible to bypass the dongle protection. Is it so?
If yes, this looks quite insecure for me.
I would remove the option to bypass the dongle. As users know the software can be used without a dongle, they will quickly find how to do that. Probably in less than a day. Let them wait for the dongle, maybe offer an express delivery at extra cost.

As for finding where in the registry expiration data is stored, that's easy. Stop all running apps, make a registry snapshot, immediately afterwards run the time limited installer, and immediately afterwards make a second snapshot. Then compare both snapshots and you'll see what has changed. There are plenty of tools you can use for this
Reply With Quote
  #8  
Old 10-24-2008
jassing's Avatar
jassing jassing is online now
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
You're right; having a way to easily bypass the security is senseless. The idea of sending out a new "5 day use" shell would at least make the users feel like they were actually getting what they paid for...

But, since we're dishing out the info on how to find it....

one is HKCU\software\microsoft windows\currentversion\GUID

There's a couple of others depending on what type of security you picked...

Next -- how to find out the comamnd line -- go to sysinternals.com and grab cmdline.exe or ProcessExplorer.

For cmdline.exe
Wait until the "protected" application is runing -- then, from a dos box:
cmdline >cmd.txt
notepad cmd.txt

now search cmd.txt to find the apps executable -- it will show the command line parameters.

For Proccess Explorer (ProcExp)
Wait until your "protected" application is running; launch ProcExp
Drag the "Target" icon over to your application.
The application is now highlighted in the task lists; double click on it.
select "Image" tab
Note the "Command Line" box -- there you have the parameters to bypass the dongle security indefinately.

Getting around "screen door" type security is always trivial.
__________________
Reply With Quote
  #9  
Old 10-24-2008
GalacTekM's Avatar
GalacTekM GalacTekM is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Location: Spring Hill, FL
Posts: 28
Our client base is not tecnically inclined. It consists of doctors and office staff, most of which have limited computer skills.

You guys are digging way too deep into this. I know its not the most secure way in the world to go about it but it gets the job done. All i asked is if anyone knew what the registry key was.

As for having a way to bypass the security being senseless. How would you feel if you purchased some software with a dongle and for some reason the dongle failed and you were down until a new dongle was sent. This bypass was put into place so that clients can continue to run their practices while the dongle is being serviced. The command line we use gets changed frequently, all i am trying to achieve is hiding it. If someone wants to take the time to try and crack it, fine. It'll be changed within a month or two anyway.

Thanks for the assistance you provided, i sent a support ticket to Indigo Rose who supplied me with where in the registry it is set.

Cheers
__________________
Matt Leach
GalacTek Corp.
www.galactek.com
Reply With Quote
  #10  
Old 10-24-2008
jassing's Avatar
jassing jassing is online now
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
I thought I gave you where the key is --

look -- get your "Unique product identifer" from the security tab.
Now search the registry on a system you've installed it on.
Presto -- there is the registry key.

Not very difficult; especially when you knwo the key ahead of time.
__________________
Reply With Quote
  #11  
Old 10-24-2008
GalacTekM's Avatar
GalacTekM GalacTekM is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Location: Spring Hill, FL
Posts: 28
I apologize. I have not used this feature in SF before so i was not clearly understanding what you meant by the "Unique Product Identifier".

Thanks again
__________________
Matt Leach
GalacTek Corp.
www.galactek.com
Reply With Quote
  #12  
Old 10-24-2008
jassing's Avatar
jassing jassing is online now
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
But you have it now?
__________________
Reply With Quote
  #13  
Old 10-24-2008
GalacTekM's Avatar
GalacTekM GalacTekM is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Location: Spring Hill, FL
Posts: 28
Yes i have.
__________________
Matt Leach
GalacTek Corp.
www.galactek.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Close Exe during update VJ123 TrueUpdate 3.5 Discussion 3 09-05-2008 07:28 AM
Unable to overwrite the version of existing exe file stored in program files folder chakradhar MSI Factory 2.0 Discussion 2 07-31-2008 03:45 PM
Unable to overwrite the version of existing exe file stored in program files folder chakradhar Setup Factory 7.0 Discussion 3 05-20-2008 12:10 PM
How to Register ActiveX Exe using Setup (Vb6 Based ActiveX Exe) vazir786 Setup Factory 7.0 Discussion 1 12-14-2005 02:06 AM
Multiple directory structures within Autoplay exe Phil Merry AutoPlay Media Studio 5.0 11 05-19-2004 06:51 AM


All times are GMT -6. The time now is 07:00 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software