Giter VIP home page Giter VIP logo

flippernested's Introduction

Mifare Nested Attacks for Flipper Zero

Ported Nested attacks from Proxmark3 (Iceman fork)

Download

FlipC.org

Currently supported attacks

  • nested attack
  • static nested attack
  • hard nested attack

Warning

App is still in early development, so there may be bugs. Your Flipper Zero may randomly crash/froze. Please create issue if you find any bugs (one bug = one issue).

Disclaimer

The app provided for personal use only. Developer does not take responsibility for any loss or damage caused by the misuse of this app. In addition, the app developer does not guarantee the performance or compatibility of the app with all tags, and cannot be held liable for any damage caused to your tags/Flipper Zero as a result of using the app. By using this app you confirm that the tag belongs to you, you have permission to preform the attack and you agree to hold the app developer harmless from any and all claims, damages, or losses that may arise from its use.

I need your help!

To successfuly recover keys from nested attack we need to correctly predict PRNG value. But we have a problem with that. Due to lack of my knowlege of Flipper Zero NFC HAL, PRNG can jump by quite large values (not like Proxmark3). So app is trying to find a delay where PRNG can be predicted accurately enough. This is not the best option, because we have to try to recover a bunch of unnecessary keys, which takes a lot of time and RAM and also spend a lot of time on timings. I don't know how to fix it.

UPD: Chameleon Ultra devs faced same issue. They seems to use same method: nested.c (better know from the beginning of development...)

How to use it?

Detailed guide: EN, RU.

FAQ

For frequently asked questions, please refer to the FAQ: EN, RU.

Contacts

Telegram: @libertydev

flippernested's People

Contributors

aloneliberty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flippernested's Issues

Update the Flipper Nested app for the SDK version 0.101 f7

Hello!

Your Flipper Nested app version 1.5.2 fails to build with the SDK version 0.101.0-rc f7. Please update the app in your repository and create a new pull request to the catalog repository with the updated manifest file.

IMPORTANT: Don’t forget to update the app version and commit version in the manifest file.

View logs

Flipper Team

Multi-protocol cards support

Hi,
i have a new type of card, flipper identifies it as "multi-protocol card".

Screenshot-20240218-170846
Screenshot-20240218-170929
Screenshot-20240218-184052

I can read it as Mifare classic 4k and Mifare ultralight with latest flipper version, and as expected i can perform a dict attack if i choose the mifare classic 4k option.

As always, i use your awesome app to perform the nested attack and recover the keys. But in this case, the app can't read the multiprocotol card. I think it doesn't expect this kind of card with 2 protocols.

Same happens if i perform the "mfoc" in the computer. The program can't guess the card type.

Can you add support for this kind of "multi-protocol cards" ?

Thanks!

No module named 'nested'

Hi,

I have install the FlipperNested tool, it's ran when i connect my flipper. But When i try to ran the key recovery i have this error message : "ModuleNotFoundError: No module named 'nested'"

I try with normal install and venv in python3.8

Best regards

NestedRecovery save keys in uppercase format

I have found an issue, that when the recovery script found the keys, it will be saved in the user dictionary in UPPERCASE format. But upon re-scanning the NFC card again, it will be missing a few nonces despite of the keys have already been found.

The solution I did is to manually edit the keys in user dictionary to be saved in lowercase format. Then the Flipper can read all the NFC nonces completely. Maybe you can change the recovery script to save the keys in lowercase format. Thank you.

Silent failure of filesystem

Currently the application does not create the .nested directory if it's missing and instead proceeds to run the attack without saving nonces to disk

Feature Request - serial over TCP for Android/Chromebook devices

Could we please get an option to use a TCP connection for the serial access to the Flipper?
That way we can use "Communications Bridge Pro" to conect the Flipper to Linux container on a Chromebook or Termux on an Android device.
Something like FlipperNested tcp:localhost:4321

Update the Flipper Nested app for the SDK version 0.98.2-rc f7

Hello! Your Flipper Nested app version 1.5.2 fails to build with the SDK version 0.98.2-rc f7. Please update the app in your repository and create a new pull request to the catalog repository with the updated manifest file.

IMPORTANT: Don’t forget to update the app version and commit version in the manifest file.

View logs

Update the Flipper Nested app for the SDK version 0.100 f7

Hello!

Your Flipper Nested app version 1.5.2 fails to build with the SDK version 0.100.0-rc f7. Please update the app in your repository and create a new pull request to the catalog repository with the updated manifest file.

IMPORTANT: Don’t forget to update the app version and commit version in the manifest file.

View logs

Flipper Team

Skip sectors

I've try to crack an specific card in different opportunities. The script crack lot of keys, but each time I start over it's starts from the 1st sector which key I already have. Is there any chance to skip sectors??

Mifare Classic 4k one key not enough

I tried to read Mifare Classic 4k card with Flipper main app using dictionary and it found just 1 key (out of 80) and 1 sector (out of 40). I tried to run FlipperNested on the same card but got "No keys found" error.

  • Does FlipperNested support 4K cards?
  • Do I need more than one key to run Nested attack? (get some more via "Detect reader" and Mfkey32)

Or is there another problem?

Re-layout scenes

Well, they look bad.

Current scenes are built with FontPrimary, I don't think I should write all the text with it.
Maybe I should also add some additional text where the space appears.

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.