Keygens, how do they work?

Discussion in 'Application Software' started by Hustle910, Sep 8, 2010.

  1. Hustle910

    Hustle910 MDL Member

    Nov 12, 2009
    Hi, I'm starting this thread because there is or was a thread somewhere on MDL which showed how a windows key was decrypted to create a keygen, but before I go any further, I'm not asking for a keygen or any cracks, I'm asking how do these keygens work, somehow keygens popup allover the internet and are able to generate keys for countless programs, not including Windows XP/Vista/7 as I never have seen 1. I must state again I'm not asking for a keygen, just how do they work, If this breaks the forum rules I'm sorry as I couldn't find "talking about keygens" against forum rules.

    Thank You :)
  2. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kdo2milger

    kdo2milger MDL Senior Member

    Jan 5, 2010
    heres an older, but pretty accurate explanation:

  4. unknownzd

    unknownzd MDL Member

    Jul 28, 2008
    Actually there are 2 basic ways to create a working keygen ...... the first one is to extract the validation algorithm from an app and then make pseudo-random data into it and test whether they can pass the validation process ........

    And for the second method ........ you have to reverse the way to generate a key by the app maker ........ this is most likely achieved by leaked information or debug info carried inside an app ..........

    btw about the MS product key ........ it is using ECC / ECDSA to generate a key so it is not a easy goal for u to make a keygen for MS product (as ECC has been inclued in Suite 2) ........ so if u want to break the algorithm that used to generate a key in MS ......... first you need to grab some useful things from Internet such as big num library and ec library (but I will not tell u how to do that as that can violate this forum rule) ......... anyway u won't be easy to get them working on Windows unless you know how to configure them for Windows compilers (such as MinGW gcc and VS / VC++ compiler) .........
  5. technews

    technews MDL Novice

    Oct 2, 2010
    heard dat each key is generated according to the software's version & id of the computer/laptop?..

    right? or wrong???
  6. Dislikeyou

    Dislikeyou MDL Novice

    Oct 2, 2010
    My question is why does almost all keygens get detected as trojan/virus/malware? And how do i know if i dare to use that keygen, probably to trust the one who shared it/made it.
  7. sonomazr2

    sonomazr2 MDL Novice

    Oct 28, 2009
    because most keygens you find in the wild are trojans. they may be actual keygens, cracks, and installers, but have malware injected into them.
  8. pix

    pix MDL Member

    Nov 3, 2008
    Most keygens are packed with something like UPX to obscure the algorithm from other groups. Viruses are also packed so anti-virus packages often get them confused. And as sonomazr2 says lots of them do have viruses...

    Programs like Kaspersky allow you to 'safe run' programs by putting them in a sandbox but the best way is to run them inside a virtual machine and then revert to a snapshot made before the keygen was run. That way if there is a virus, any changes it makes to the virtual machine are undone.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...