callidus2000 Posted July 9, 2012 Share Posted July 9, 2012 Hi,I need some help/an idea for a challenge/response solution (I miss the forrest for the trees).I've got to develop a programm which installs some license information onto an computer (a MAK Key for Win7). The installation is not the problem, but I don't want this MAK installer to be missused, so I want tocreate some machine specific challenge codecreate a text file [sysinfo] which contains the challenge and some information about the computer (e.g. brand, modell, network configuration)encrypt the sysinfo with gnupg to a specific destination key (identified by the fingerprint)let the user send the sysinfo to a service teamthe service team decrypts the sysinfochecks all dataputs the challenge into a secondary programmthis creates a response code which is send to the original userwith the correct response code the MAK installer does it's magicIs there any existing aproach which my forum searches did not uncover? Especially for the Challenge/Response.-Callidus2000 Link to comment Share on other sites More sharing options...
twitchyliquid64 Posted July 9, 2012 Share Posted July 9, 2012 It appears like you want to use public key cryptography. Take a look at the OpenSSL library, or look at the windows crypto API. The program needs to have a hard coded public key, and your service team needs to have the private key. Your response needs to be encrypted with the private key. The client will decrypt it with the public key, and thus knows that the signal to activate the software is valid. This is not simple, and there is no established autoit code for doing this. ongoing projects:-firestorm: Largescale P2P Social NetworkCompleted Autoit Programs/Scripts: Variable Pickler | Networked Streaming Audio (in pure autoIT) | firenet p2p web messenger | Proxy Checker | Dynamic Execute() Code Generator | P2P UDF | Graph Theory Proof of Concept - Breadth First search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now