GithubHelp home page GithubHelp logo

crackme's Introduction

CrackMe Source Code (C++)

This repository offers source codes for CrackMes with modern GUI forms written in C++ with VCL by Embarcadero. The main target of this repository is CTF organizers or Computer Science students who would like to develop small CrackMe with modern GUI or anyone interested in Software Reverse Engineering.

Since Microsoft Visual Studio doesn't offer Design View for C++ Desktop applications without .Net Framework, we used Embarcadero C++Builder to design the GUI easily. (You can use Design View for Visual C++ with CLR on Visual Studio but it's using .Net Framework.)

You can find a compiled EXE binary in Win32/Release folder for each CrackMe.

Sample

For CrackMe Creators

Indeed I provide some simple key evaluation functions, you can edit it and make your CrackMe harder as much as you want. All CrackMe here can popup information dialog. So you can put some information about your CTF, author, deadline, or instructions with just replacing some sentences.

For Computer Science Students

If you are studying Software Reverse Engineering, reversing CrackMe is a good way to start your practical exercise. If you don't feel you are ready for CrackMes out there on GitHub, you could start coding your own CrackMe and analyze it. It will be much easier to play around with because you are the creator of the CrackMe. Additionally, it's good for learning Reverse Engineering to observe the consequence of your code/implementation of obfuscation in reversed form.

Contents

CrackMe01

One user input is required.

This CrackMe compares user input with a plain text key.

CrackMe

Key for the sample binary:

FASTCALL

Requirements

  • Embarcadero C++Builder
  • C++ with VCL
  • Target Platform: Windows Desktop 32Bit/64Bit

Embarcadero offers free edition of C++Builder for uncommercial usage. Register an Embarcadero account to get an installer and its product key. Make sure to check the option "C++Builder Windows 32-bit Community" during installation.

C++Builder Community Edition - Embarcadero

VS2017

How to Build

Clone the entire repository first and open project file (.cbproj) on C++Builder.

To build a stand-alone executable, make sure to disable dynamic linking.

Navigate to "Project -> Options" on C++Builder toolbar and set "false" on these two options:

  • Building -> C++ Linker -> Link with Dynamic RTL (detail)
  • Packages -> Runtime Packages -> Link with runtime packages (detail)

Then, hit "Project -> Build CrackMe" on toolbar to build the project!

Notes

I will update/add new CrackMe source codes or templates occasionally.

The "ClaimToFame CTF" is an imaginary competition. Replace it to whatever you want.

crackme's People

Contributors

d4ichi 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.