Reverse Engineering RET Homepage RET Members Reverse Engineering Projects Reverse Engineering Papers Reversing Challenges Reverser Tools RET Re-Search Engine Reverse Engineering Forum Reverse Engineering Links

Go Back   Reverse Engineering Team Board > Reverse Engineering Board > Reverse Code Engineering
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 09-18-2004, 07:43 AM
Fritz Fritz is offline
Junior Member
 
Join Date: Sep 2004
Posts: 2
Send a message via ICQ to Fritz
Default Keygenning target on Linux?

Hello!
I'm tryin' to keygen some target on Linux. I've got pretty good dead-listing, but there are (ofcourse) some arguments that I need to identify. How can i debug it and find it out?
Target is compiled as LKM (linux kernel module).

For dead-listings I'm using Ida Pro under Winblows.

I'm not very newbie at debugging 'usual' programs under Linux (gdb power!, but I dont know how would i 'put breakpoint' on this and grab info that I need.


I gotta find out arguments like this:
.text:0800341C var_12 = byte ptr -12h
.text:0800341C var_11 = byte ptr -11h
.text:0800341C var_10 = dword ptr -10h
.text:0800341C var_C = dword ptr -0Ch
.text:0800341C arg_0 = dword ptr 8
.text:0800341C arg_4 = dword ptr 0Ch
.text:0800341C arg_8 = dword ptr 10h
.text:0800341C arg_C = dword ptr 14h
.text:0800341C arg_10 = dword ptr 18h
Reply With Quote
  #2  
Old 09-19-2004, 11:04 AM
kw kw is offline
Administrator
 
Join Date: Dec 2002
Location: The Netherlands
Posts: 116
Send a message via Yahoo to kw
Default

I'm not quite sure I understand the question.. Could you rephrase?
__________________
"It's people like this that make you realize how little you've accomplished. It is a sobering thought, for instance, that when Mozart was my age, he had been dead for two years." - Tom Lehrer
Reply With Quote
  #3  
Old 09-20-2004, 03:21 AM
rous rous is offline
Member
 
Join Date: Jan 2004
Posts: 38
Default

I don't understand the question either, Fritz. But, I am pretty sure you don't want to be messin' wit da kernel...

rous
Reply With Quote
  #4  
Old 09-20-2004, 03:33 AM
rous rous is offline
Member
 
Join Date: Jan 2004
Posts: 38
Default

Just out of curiosity, what type of protection are you analyzing? If you simply need a serial number algorithm for your keygen, then I doubt the kernel is directly involved.

Is it hardware related...like a dongle or something?

rous
Reply With Quote
  #5  
Old 11-26-2004, 08:37 PM
Fritz Fritz is offline
Junior Member
 
Join Date: Sep 2004
Posts: 2
Send a message via ICQ to Fritz
Default sorry for being away so much

Hello ppl!

I've solved problem with patching the target.
Anyway, still did'nt keygenned the target.

Based on your serial(doesnt matter what exactly, right now), u must enter a key. I've wanted to figure out that algorithm, but I've could'nt cuz I can't debug the target. Algorithm is coded into LKM (linux kernel module), so I can't debug it with gdb.

No, it's not dongle or anything hardware related.

If you are wondering why LKM, well, it's because application is driverloader...

I'm really sorry that there isnt SoftIce-LIKE tool on *nix platform
Reply With Quote
  #6  
Old 12-05-2004, 04:23 AM
rous rous is offline
Member
 
Join Date: Jan 2004
Posts: 38
Default

"Ah," he says, as the fog clears from his eyes.

rous
Reply With Quote
  #7  
Old 12-06-2004, 02:22 PM
zyzygy zyzygy is offline
Member
 
Join Date: Oct 2004
Location: !nfern0
Posts: 9
Send a message via Yahoo to zyzygy
Default

www.linice.com ,should give u the answer for softice in linux
__________________
Never hold up farts-They go upto your spine , enter your brain and thats where the shitty ideas come from
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump





Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.