PDA

View Full Version : Keygenning target on Linux?


Fritz
09-18-2004, 07:43 AM
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

kw
09-19-2004, 11:04 AM
I'm not quite sure I understand the question.. Could you rephrase?

rous
09-20-2004, 03:21 AM
I don't understand the question either, Fritz. But, I am pretty sure you don't want to be messin' wit da kernel...:)

rous

rous
09-20-2004, 03:33 AM
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

Fritz
11-26-2004, 08:37 PM
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 :)

rous
12-05-2004, 04:23 AM
"Ah," he says, as the fog clears from his eyes.

rous

zyzygy
12-06-2004, 02:22 PM
www.linice.com ,should give u the answer for softice in linux