Sign in to follow this  
Followers 0
acidman

application security...

4 posts in this topic

#1 ·  Posted (edited)

I've made this udf here for people who wants the clients who use their software package to enter a serial number for application validation...

#cs
Author: Ryno Labuschagne
Forum: ac1dm4n
Functions:
_CreatetokenKey($Keyencode)
Description:
Set encoding value for the token to be generated.
1 - 4 The higher the value the more complex the encoding will be
_ValidateTokenKey($SetprocID)
Will validate the token key i.o.w will check if the ini file exists if true
then the key from the ini will be read and be compared with the key in the registry
if they're equal application will start else if the evaluation is false the application will be terminated
if a token key has been modified in either the ini file or the registry the application will exit
DeletetokenEntry()
Will delete the ini file and the registry value, can be called manually when an application is uninstalled
Details:
You can modify this script by all means add stuff to make it more complex
I thought it'd be a good idea to create a base for uniquely validating of an application on a machine
every token is generated randomly and should be executed only once, then deleted so the user can't
use your application on another machine...
remember you must call a function on autoitstartregister to execute the validation

Legend:
_CreateTokenKey($Keyencode)
$KeyEncode - Value 1 to 4 The higher the Value the more complex the encoding Will be
_ValidateTokenkey
$Procid - Processidentifier(PID) Scriptname by defualt it AutoIt3.exe Or compiled Name(must be compiled)
#ce

please see the attachment

Tokenidentifier.rar

Edited by ac1dm4n

[u]My dream is to have a dream...[/u]

Share this post


Link to post
Share on other sites



sounds interesting, but it doesn't seem to offer much security. i also don't see the value in comparing an ini with the registry (at least with this implementation). I'd consider adding some sort of encryption as it is very easy to convert string to binary and vice versa.

Share this post


Link to post
Share on other sites

now i am downloading my own file to get familiarized with autoit again lol im out of practise, but i know how to create a good method of encryption


[u]My dream is to have a dream...[/u]

Share this post


Link to post
Share on other sites

_HWID() Protect Your Script.

Require a Serial

Bind Program To Computer

Obfuscator (make your script hard to read)

_GetUniqueHardwareID

application security...

...

Best of all, AutoIt continues to be FREE & OPEN !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0