Git Product home page Git Product logo

mfoc-hardnested's Introduction

MFOC is an open source implementation of "offline nested" attack by Nethemba. Later was added so called "hardnested" attack by Carlo Meijer and Roel Verdult.

This program allow to recover authentication keys from MIFARE Classic card.

Please note MFOC is able to recover keys from target only if it have a known key: default one (hardcoded in MFOC) or custom one (user provided using command line).

This is a port to win32 x64 platform using native tools (Visual Studio 2019 + LLVM clang-cl toolchain). This tree was also reworked for gnu toolchain (autotool + gcc like the original).

Based on the idea by vk496 to integrate mylazycracker into mfoc, forked from his tree.

For credits (there are many) just look at the AUTHORS file.

Uses libnfc https://github.com/nfc-tools/libnfc/ libusb-win32 https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/ pthreads4w https://sourceforge.net/projects/pthreads4w/ liblzma https://tukaani.org/xz/

pthreads4w and liblzma are static linked. All these libs are precompiled and included in src\lib

Build from source

Windows: Make sure you have Visual Studio 2019 with Desktop developement with C++, C++ Clang Compiler for Windows and C++ Clang-cl for v142 build tools installed. Open the solution and start compile. The compiled zip package will be in dist.

Linux:

autoreconf -vis
./configure
make && sudo make install

Usage

Needs libusb0.dll and nfc.dll in the path, better on the same directory. Needs to install libusbK v3.0.7.0, using Zadig https://zadig.akeo.ie/, go to Option, List All Devices, select your reader, select libusbK(v3.0.7.0) and click on replace driver. Put one MIFARE Classic tag that you want keys recovering; Lauching mfoc, you will need to pass options, see

mfoc-hardnested -h

mfoc-hardnested's People

Contributors

neomilium avatar vk496 avatar earthnuker avatar doegox avatar smortex avatar kirelagin avatar gelotus avatar iceman1001 avatar adamlaurie avatar xchwarze avatar ceres-c avatar agebhar1 avatar samueloph avatar unkernet avatar

Watchers

James Cloos 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.