Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2012, 17:08
eAGLe_eYe eAGLe_eYe is offline
Family
 
Join Date: Aug 2012
Posts: 113
Rept. Given: 8
Rept. Rcvd 54 Times in 12 Posts
Thanks Given: 6
Thanks Rcvd at 20 Times in 11 Posts
eAGLe_eYe Reputation: 54
Custome Security

Hi guys, sorry for this stupid question !

For the customised security of Software..
1.a license file like .lic etc contains information about valid serials,activation code,installation code and subscription expiry date and software version typy like Standard,Pro,enterprize,ultimate etc.
2.The .lic also contains some functions code which is depend on version type,for example Pro version has more functions than Standard.
3.When initialising main exe is reads all info about software and software type from .lic file which is provided to customer by vender.

These are my little and stupid logic for preventing software.
If any guys has info or experience about this type of logic,your advise or comments is much appreciate.

Best Regards,
eAGLe_eYe
Reply With Quote
  #2  
Old 09-14-2012, 17:45
Kerlingen Kerlingen is offline
VIP
 
Join Date: Feb 2011
Posts: 338
Rept. Given: 0
Rept. Rcvd 278 Times in 100 Posts
Thanks Given: 0
Thanks Rcvd at 358 Times in 110 Posts
Kerlingen Reputation: 200-299 Kerlingen Reputation: 200-299 Kerlingen Reputation: 200-299
This is the way most modern software protection works. But you would probably find decryption keys for code already existing in the main exe in the license file instead of code missing from the software.
Reply With Quote
  #3  
Old 09-14-2012, 18:10
giv's Avatar
giv giv is offline
VIP
 
Join Date: Jan 2011
Location: Romania
Posts: 1,663
Rept. Given: 803
Rept. Rcvd 1,283 Times in 561 Posts
Thanks Given: 228
Thanks Rcvd at 567 Times in 241 Posts
giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299
The best custom protections are separate versions for each type of product each coded appropriately.
Reply With Quote
  #4  
Old 09-14-2012, 18:49
eAGLe_eYe eAGLe_eYe is offline
Family
 
Join Date: Aug 2012
Posts: 113
Rept. Given: 8
Rept. Rcvd 54 Times in 12 Posts
Thanks Given: 6
Thanks Rcvd at 20 Times in 11 Posts
eAGLe_eYe Reputation: 54
Quote:
But you would probably find decryption keys for code already existing in the main exe in the license file instead of code missing from the software.
Yes,this is most important part,but i want some functions code in the .lic file which can be write in exe instead.Is it possible that main exe execuite code from .lic file.
More foccus on this issue apppreciet.

Beast Regards,
eAGLe_eYe
Reply With Quote
  #5  
Old 09-14-2012, 19:56
Ghandi2006 Ghandi2006 is offline
VIP
 
Join Date: Jan 2006
Posts: 110
Rept. Given: 23
Rept. Rcvd 39 Times in 26 Posts
Thanks Given: 0
Thanks Rcvd at 28 Times in 23 Posts
Ghandi2006 Reputation: 39
Is it possible that main exe execuite code from .lic file.

Yes, read the file into memory and perform any modifications necessary then thunk with a call/jmp BUT being that it is modifying memory and then executing it, AV may flag it as malware.

For the customised security of Software..
1.a license file like .lic etc contains information about valid serials,activation code,installation code and subscription expiry date and software version typy like Standard,Pro,enterprize,ultimate etc.
2.The .lic also contains some functions code which is depend on version type,for example Pro version has more functions than Standard.
3.When initialising main exe is reads all info about software and software type from .lic file which is provided to customer by vender.


Problem: One leaked license file and the system is compromised, welcome to the cat and mouse game of protection,

HR,
Ghandi
Reply With Quote
The Following User Gave Reputation+1 to Ghandi2006 For This Useful Post:
Youtoo (10-03-2012)
  #6  
Old 09-14-2012, 21:35
Kerlingen Kerlingen is offline
VIP
 
Join Date: Feb 2011
Posts: 338
Rept. Given: 0
Rept. Rcvd 278 Times in 100 Posts
Thanks Given: 0
Thanks Rcvd at 358 Times in 110 Posts
Kerlingen Reputation: 200-299 Kerlingen Reputation: 200-299 Kerlingen Reputation: 200-299
Quote:
Originally Posted by eAGLe_eYe View Post
Yes,this is most important part,but i want some functions code in the .lic file which can be write in exe instead.Is it possible that main exe execuite code from .lic file.
The main idea is you put all code you ever need in the executable and encrypt the parts which should be only available in selected versions/editions with a secret key. Then you supply the customer with a license file, which only contains decryption keys for the parts he has a valid license for. The customers can then download updates and new versions from your homepage whenever they like and use their old license file without problems. You only need one version of you software, which you can put on a normal webserver for download and still have the best possible protection this method can offer.

Your idea is just bad, really really bad. To make it simple and short, executing code from the license file just isn't possible. It's ugly, messy, sloppy and shows everybody, that they should never buy software from you, since you haven't even understood the very basic principles of computers.

But even if you ignore that, you would get crazy maintaining your software. Every license file is valid for just one software, every customer needs his own version of the software, each update needs you to give new license files to all your customers, each new license file needs customers to update to the matching version, in multi-user environments they need to take care of which version is installed on which computer, what license file belongs to it, every computer needs his own local copy of the software, you can't run it on servers or terminal servers. Old versions don't work with new licenses, old licenses not with new versions. Upgrades need customers to install different versions.

In short: If you have 10 customers and your product offers 6 different features, you will have to compile and package 14400 individual builds of your software, for every single update you made and will ever make and always have them all accessible at all time, since you never know when and what customer would like to upgrade oder downgrade or redownload his software. Now imagine you don't have 10 customers, but 10000 customers...

And what's the result of this irremediably chaos? Absolutely nothing, since it doesn't offer any additional protection.
Reply With Quote
The Following User Gave Reputation+1 to Kerlingen For This Useful Post:
Youtoo (10-03-2012)
  #7  
Old 09-14-2012, 21:45
ReBirth's Avatar
ReBirth ReBirth is offline
Family
 
Join Date: Nov 2011
Posts: 79
Rept. Given: 12
Rept. Rcvd 39 Times in 20 Posts
Thanks Given: 19
Thanks Rcvd at 125 Times in 29 Posts
ReBirth Reputation: 39
The best protection:
- Give customer what they need no more no less.
- Being available to fix/Update what ever they need.
just my 2 cents
Reply With Quote
The Following User Gave Reputation+1 to ReBirth For This Useful Post:
Youtoo (10-03-2012)
  #8  
Old 09-14-2012, 22:44
eAGLe_eYe eAGLe_eYe is offline
Family
 
Join Date: Aug 2012
Posts: 113
Rept. Given: 8
Rept. Rcvd 54 Times in 12 Posts
Thanks Given: 6
Thanks Rcvd at 20 Times in 11 Posts
eAGLe_eYe Reputation: 54
Quote:
welcome to the cat and mouse game of protection.
I think crackers always wins game.

Quote:
The main idea is you put all code you ever need in the executable and encrypt the parts which should be only available in selected versions/editions with a secret key. Then you supply the customer with a license file, which only contains decryption keys for the parts he has a valid license for.
Yah,today in the market,mostly used this trick and reliable too.
No one is 100% safe and secuired for a long time.Developer is ahead and cracker walks behind it.Finally game goes to cracker site and everyone can see it day by day.

Best Regards,
eAGLe_eYe
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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedded Security CTF N0P General Discussion 0 04-18-2015 22:45
armadillo security.dll Av0id General Discussion 7 12-28-2008 05:31


All times are GMT +8. The time now is 20:00.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )