Keygens, how do they work?

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

  1. Hustle910

    Hustle910 MDL Member

    Nov 12, 2009
    132
    218
    10
    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. kdo2milger

    kdo2milger MDL Senior Member

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

     
  3. unknownzd

    unknownzd MDL Member

    Jul 28, 2008
    130
    19
    10
    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) .........
     
  4. technews

    technews MDL Novice

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

    right? or wrong???
     
  5. Dislikeyou

    Dislikeyou MDL Novice

    Oct 2, 2010
    5
    0
    0
    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.
     
  6. sonomazr2

    sonomazr2 MDL Novice

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

    pix MDL Member

    Nov 3, 2008
    136
    96
    10
    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.