Coder Social home page Coder Social logo

unicorn-crack-me-patcher's Introduction

Unicorn-Crack-Me-Patcher

A patcher wrote for the Unicorn Crack-Me

I was bored and I decided to write a patcher for the Unicorn Crack-Me from https://reverse.put.as/wp-content/uploads/2010/05/2-Unicorn.zip

Normally, I'd bother to reverse engineer the key generation (MD5-based in this case), but I found it less time-consuming to simply patch the instructions that deal with the verification.

Normally the instructions that decide whether you get the "Wrong serial" message are in the "validate" method:

...
00002b41         test       al, al
00002b43         jnz        0x2b6e                                 ; Here's the conditional jump based on the previous comparison
00002b45         mov        dword [ss:esp+0x10], 0x0               ; The afore "JNZ" isn't executed so we go here and here's the Fail case
00002b4d         mov        dword [ss:esp+0xc], 0x0
00002b55         mov        dword [ss:esp+0x8], 0x3054             ; @"Try again"
00002b5d         mov        dword [ss:esp+0x4], 0x3064             ; @"The serial is not valid."
00002b65         mov        dword [ss:esp], 0x3074                 ; @"Error!"
00002b6c         jmp        0x2b95
00002b6e         mov        dword [ss:esp+0x10], 0x0               ; We're on the good scenario theritory
...
00002b76         mov        dword [ss:esp+0xc], 0x0               
imp___symbol_stub__NSRunAlertPanel
00002b7e         mov        dword [ss:esp+0x8], 0x3084             ; @"OK"
imp___symbol_stub__NSRunAlertPanel
00002b86         mov        dword [ss:esp+0x4], 0x3094             ; @"The serial is valid."
imp___symbol_stub__NSRunAlertPanel
00002b8e         mov        dword [ss:esp], 0x30a4

All we have to do is to pretty much change the JNZ instruction, which is a conditional jump, to a JMP which will always jump regardless of the test al,al. All the rest of the program is arhitecture detection, structures in the FAT Mach-O and verbose stuff.

Contact me

Twitter: GeoSn0w (@FCE365) WWW: https://idevicecentral.com

unicorn-crack-me-patcher's People

Contributors

geosn0w avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.