Contribute  :  Web Resources  :  Past Polls  :  Site Statistics  :  Downloads  :  Forum  
    BiW ReversingThe challenge is yours    
 Welcome to BiW Reversing
 Tuesday, November 29 2022 @ 11:47 AM CET
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Making keygens
Goto page 1, 2  Next
 
Post new topic   Reply to topic    www.reversing.be Forum Index -> Code Reversing
View previous topic :: View next topic  
Author Message
SeRiALiZeR
Occasional Poster
Occasional Poster


Joined: 10 Oct 2005
Posts: 33

PostPosted: Sun Jan 08, 2006 8:56 pm    Post subject: Making keygens Reply with quote

how to make keygens,can anyone explain me,i'm totally n00b at this. Crying or Very sad
Back to top
View user's profile Send private message
Abe+!_D_Omni
Frequent poster
Frequent poster


Joined: 12 May 2005
Posts: 56
Location: London (No:WaRe$*)

PostPosted: Mon Jan 09, 2006 1:58 pm    Post subject: Reply with quote

Well, im stuck here too....

You need to get into the routine you wanna crack, then figure out how the routine changes the entered data (name + pass) then create a small c++ or asm program to immitate the actions of the routine.

There is a program that can help ALOT, think its called 'Keygen studio'
You point it to the entered data & modified data, and it rips the lot to a file for editing & testing, then all you need to do is build a small program to show the results etc

_________________
Back to top
View user's profile Send private message Visit poster's website
SeRiALiZeR
Occasional Poster
Occasional Poster


Joined: 10 Oct 2005
Posts: 33

PostPosted: Mon Jan 09, 2006 11:02 pm    Post subject: Reply with quote

Can i make keygen in VB.NET Question
Back to top
View user's profile Send private message
SeRiALiZeR
Occasional Poster
Occasional Poster


Joined: 10 Oct 2005
Posts: 33

PostPosted: Mon Jan 09, 2006 11:05 pm    Post subject: Reply with quote

Hm... i tried to search google for Keygen studio,but no success,looks like
it's hard to find this proggy Sad
Back to top
View user's profile Send private message
Immortal_One
Occasional Poster
Occasional Poster


Joined: 22 Nov 2005
Posts: 25

PostPosted: Tue Jan 10, 2006 12:48 pm    Post subject: Reply with quote

Quote:
SeRiALiZeR:how to make keygens,can anyone explain me,i'm totally n00b at this.


serial algo:

00401268 |. 33DB XOR EBX,EBX
0040126A |. 33D2 XOR EDX,EDX
0040126C |. 33C0 XOR EAX,EAX
0040126E |. 33C9 XOR ECX,ECX
00401270 |. 33F6 XOR ESI,ESI
00401272 |. 33FF XOR EDI,EDI
00401274 |> 0FBE81 7830400>MOVSX EAX,BYTE PTR DS:[ECX+403078]
0040127B |. 03D8 ADD EBX,EAX
0040127D |. 41 INC ECX
0040127E |. 390D C0304000 CMP DWORD PTR DS:[4030C0],ECX
00401284 |.^75 EE JNZ SHORT CRACKME_.00401274

basically you rip the serial algo and modify for your assembler.
Like so:

invoke GetDlgItemText,IDC_EDT1,addr Name,20
mov Length,eax

PUSH EBX
PUSH ECX
PUSH EDX

XOR EBX,EBX
XOR EDX,EDX
XOR EAX,EAX
XOR ECX,ECX
XOR ESI,ESI
XOR EDI,EDI
LEA EDX,DWORD PTR [NAME]

start:
MOVSX EAX,BYTE PTR [ECX+EDX]
ADD EBX,EAX
INC ECX
CMP DWORD PTR [Length],ECX
JNZ start

MOV EAX,EBX
POP EDX
POP ECX
POP EBX

invoke wsprintf, addr SERIAL, addr format,eax
invoke SetDlgItemText,IDC_EDT2,addr Serial


Regards,
Immortal_One


Last edited by Immortal_One on Wed Jan 11, 2006 10:12 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Falcon1
Frequent poster
Frequent poster


Joined: 17 Mar 2005
Posts: 88
Location: Hellas

PostPosted: Tue Jan 10, 2006 2:05 pm    Post subject: Reply with quote

SeRiALiZeR wrote:

Can i make keygen in VB.NET Question


Any programming language will suit for making a keygen.Even java Laughing

_________________
PLAY WITH THE BEST, LOSE LIKE THE REST
(I did...)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
SeRiALiZeR
Occasional Poster
Occasional Poster


Joined: 10 Oct 2005
Posts: 33

PostPosted: Wed Jan 11, 2006 2:39 pm    Post subject: Reply with quote

Forget keygenning,it's not for me.I have one more question,i i want to ask it
here cause i don't want to open a new topic.

How can i make patch in vb.net Question

thanks Smile
Back to top
View user's profile Send private message
Immortal_One
Occasional Poster
Occasional Poster


Joined: 22 Nov 2005
Posts: 25

PostPosted: Thu Jan 12, 2006 10:50 am    Post subject: Reply with quote

Quote:
SeRiALiZeR: Forget keygenning,it's not for me


Coding a keygen isn't that hard to do with a little practice and the right programme language (ASM Cool , C++). Smile

Quote:
SeRiALiZeR: How can i make patch in vb.net


Sorry... Crying or Very sad

Regards,
Immortal_One
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Falcon1
Frequent poster
Frequent poster


Joined: 17 Mar 2005
Posts: 88
Location: Hellas

PostPosted: Thu Jan 12, 2006 2:16 pm    Post subject: Reply with quote

Actually...about keygenning you can use any language that you know.
It is the serial generation algorithm that counts and this algorithm can be translated in any programming language(as long as you know one)...

Generally, in order to make a keygen, you have to find the place in the code where your target is creating the real serial (based on your username) in order to compare it later to the serial you entered.This is the serial generation algorithm...

_________________
PLAY WITH THE BEST, LOSE LIKE THE REST
(I did...)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Devoney
Regular
Regular


Joined: 12 Sep 2005
Posts: 110
Location: The Netherlands

PostPosted: Tue Jan 17, 2006 10:33 pm    Post subject: Reply with quote

SeRiALiZeR wrote:
Forget keygenning,it's not for me.I have one more question,i i want to ask it
here cause i don't want to open a new topic.

How can i make patch in vb.net Question

thanks Smile


I am busy with trying to patch stuf myself to. My problem is I dont know how to use the function precisly. I am familiar with the idea.

You need these api functions:
CreateFile
SetFilePointer
WriteFile
CloseHandle

Apis are supported in Visual Basic(.NET)

So I gues you could do it in Visual Basic as well. I keep this idea in the back of my head to, I can script quite well in Visual Basic. And if these api functions work in Visual Basic just like they do in Assembly code (which I presume they will) then you could.

A quiete good api site for Visual Basic.(NET) is http://www.mentalis.org/apilist/apilist.php

I hope I gave you a helping hand.

Grtrz Devoney
Back to top
View user's profile Send private message Visit poster's website
Abe+!_D_Omni
Frequent poster
Frequent poster


Joined: 12 May 2005
Posts: 56
Location: London (No:WaRe$*)

PostPosted: Mon Jan 23, 2006 10:33 pm    Post subject: Reply with quote

One problem with just making patches is having to unpack & beat other protections....

If you can, keygens would be the way to go

_________________
Back to top
View user's profile Send private message Visit poster's website
AR-q
New to the board
New to the board


Joined: 08 Dec 2005
Posts: 4
Location: Holland

PostPosted: Tue Jan 24, 2006 10:32 am    Post subject: Reply with quote

I agree with Abe+!_D_Omni about the problem of unpacking and other protections.

SeRiALiZeR wrote:
Can i make keygen in VB.NET Question

A patching process in VB.NET is like patching in any other programming language:

  • Open the file to patch.
  • Check version (e.g. compare some version-characteristic bytes/file length/crc or md5 check maybe)
  • Set the file pointer to the offset where the bytes to patch are located.
  • Write the bytes to the file
  • [optional]Repeat last 2 steps for all locations
  • Close the file handle
  • d0ne!
Some other steps may be additionally required for some proggies...

As you can see the patching process itself isn't that hard, but the real thing is about finding the bytes to patch Wink
Like Devoney said, you can use the kernel32.dll API functions to do this.

B.t.w.: Please correct me if i'm wrong, i never made a patching program myself, but i think this is the right way to do it...

Edit: Why did you gave up keygenning? Just try to find yourself some very good tutorials because keygenning is way more awesome to do and the result is often a more 'clean' solution Wink
Back to top
View user's profile Send private message Visit poster's website
SeRiALiZeR
Occasional Poster
Occasional Poster


Joined: 10 Oct 2005
Posts: 33

PostPosted: Sat Feb 04, 2006 2:54 pm    Post subject: Reply with quote

Thanks everybody for help Smile
Back to top
View user's profile Send private message
SeRiALiZeR
Occasional Poster
Occasional Poster


Joined: 10 Oct 2005
Posts: 33

PostPosted: Wed Apr 26, 2006 9:13 pm    Post subject: Reply with quote

Well.. I'm stuck here..If you guys can post some example on how to make patch in VB.NET it would be cool. Cool

SeRiALiZeR
Back to top
View user's profile Send private message
bLaCk.bytE
New to the board
New to the board


Joined: 28 Jan 2006
Posts: 9
Location: Iran :X

PostPosted: Thu Apr 27, 2006 7:31 am    Post subject: Reply with quote

Laughing KeyGen Studio Avalibe ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.reversing.be Forum Index -> Code Reversing All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
 Copyright © 2022 BiW Reversing
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.91 seconds