scattrbrain
Darshan Patil's personal blog
Cracking software on the mac 7
Cracking software on the MacOSX is easy. Once you install XCode you pretty much have everything you need to crack software. Software you need:
gdb - Debugger
otool - Disassembler
otx - GUI for otool
nm - Displays symbols in a binary
Hex Fiend - Hex editor
If you've done any kind of hacking on linux, using gdb should be familiar to you.
gdb commands you would use:
set disassembly-flavor intel
This sets the disassembled output to intel syntax from the default att syntax.
disassemble functionname
This returns the assembly listing for a function
stepi/nexti
Step into/next instruction
info registers
Displays the registers and their contents
x/FMT ADDRESS
Examine memory. Run help x in the gdb for details.
example: x/10xb 0x989b
displays 10 bytes in hex starting at 0x989b
break
Set a breakpoint. Run help break for details
bt/where
Displays the stack trace
up/down
Move up and down the stack frames
How to crack ?
Cracking is illegal and you should only be doing this to check how easy it is for someone to crack your application. I could give you step by step instructions on how to crack a commercial application but that would be both illegal and unfair to the app.
To crack an application:
1 - Run nm & otool on the application to get the list of symbols and the disassembled output. You can look at the disassembled output to get a grip on the code flow.
2. Run the application under the debugger and set breakpoints in functions you think are interesting. Or better yet, when the registration/unlock screen pops up, hit ctrl-c in the debugger and get a stack trace to find out functions you should be looking at.
3. Once you find the function you need to tweak, see the instructions that you need to modify. You NEED to know assembly for this. Once you find the instructions you need to replace, find the machine code equivalent. Once you get the machine code, you can use a hex editor to replace the current instructions with the new ones. This is the basic premise, but there are some caveats to this that you need to know about. Sometimes, you will need to replace x bytes of machine codes with y bytes where x > y. This is the easy case, you can put nop instructions for the unused bytes. Things get considerably harder the other way around. You need to find an equivalent instruction that does the same thing or sometimes rewrite the complete function.















THANKS a lot! Crack forever! :)
Can you recommend equivalent tools for Windows? I’m sure there are many options, but are there generally agreed upon “best tools”? Are there any integrated tools that have many of the tools (debugger, disassembler, hex editor, etc) in one package? Thanks again, very imformative article.
There are a lot of tools available for windows.
Debuggers – SoftIce, rasta ring
Disassemblers – Win32dasm, PEExplorer
Reflector – To disassemble .NET code
hey can you tell me where i will find the osx tools who are listed in this post… thx
Hey, hiv! So you wanna be a cracker or just a wannabe?
By reading the post you would have found that most tools are included in Xcode.
Finding the other tools is a bit more difficult. You need to use something called a Search engine.
Here are the instructions: In your favourite Browser (Web Browsing Tool) Type: http://www.google.com
There you will find a Search field for you to enter your query.
Enter otx osx and you will get: http://otx.osxninja.com/
Enter Hexfiend and you will get: http://ridiculousfish.com/hexfiend/
Now get crackin` !
hey can u tell me how can i hack on people pc ? or gettin people’s password ? or watchin people’s webcam ?
do you know of any software available which will allow you to copy mpegs from websites eg news articles, movie clips which are in a window on the web page?