mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-01-08 22:48:23 +03:00
8427ec0098
* Initial structure for nonce collection * Nonce logging * Dictionary attack structure * Fix compilation * Identified method to reduce candidate states * Use EXT_PATH instead of ANY_PATH * Use median calibrated distance, collect parity bits * Modify parity collection * Fixed parity bit collection * Add note to fix nonce logging * Fix nonce logging * Clean redundant code * Fix valid_nonce * First attempt disambiguous nonce implementation * FM11RF08S backdoor detection * Initial accelerated dictionary attack for weak PRNGs * Refactor to nested dictionary attack * Renaming some variables * Hard PRNG support for accelerated dictionary attack * Update found keys, initial attempt * Update found keys, second attempt * Code cleanup * Misc bugfixes * Only use dicts in search_dicts_for_nonce_key if we have them * Collect nonces again * Should be detecting both backdoors now * Relocate backdoor detection * Hardnested support * Fix regression for regular nested attack * Backdoor read * Backdoor working up to calibration * Backdoor nested calibration * Don't recalibrate hard PRNG tags * Static encrypted nonce collection * Update TODO * NFC app UI updates, MVP * Bump f18 API version (all functions are NFC related) * Add new backdoor key, fix UI status update carrying over from previous read * Clear TODO line * Fix v1/v2 backdoor nonce collection * Speed up backdoor detection, alert on new backdoor * Add additional condition to backdoor check * I'll try freeing memory, that's a good trick! * Do not enter nested attack if card is already finished * Do not reset the poller between collected nonces * Clean up various issues * Fix Hardnested sector/key type logging * Add nested_target_key 64 to TODO * Implement progress bar for upgraded attacks in NFC app * Typo * Zero nested_target_key and msb_count on exit * Note TODO (malloc) * Dismiss duplicate nonces * Fix calibration (ensure values are within 3 standard deviations) * Log static * No nested dictionary attack re-entry * Note minor inefficiency * Uniformly use crypto1_ prefix for symbols in Crypto1 API * Fix include paths * Fix include paths cont * Support CUID dictionary * Fix log levels * Avoid storage errors, clean up temporary files * Handle invalid key candidates * Fix memory leak in static encrypted attack * Fix memory leak, use COUNT_OF macro * Use single call to free FuriString * Refactor enums to avoid redefinition * Fix multiple crashes and state machine logic * Fix inconsistent assignment of known key and known key type/sector * Backdoor known key logic still needs the current key * Larger data type for 4K support * Fix typo * Fix issue with resume logic * Mark TODOs for next PR * Remove redundant assignment * Fix size_t format specifier * Simplify auth_passed condition Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com> Co-authored-by: gornekich <n.gorbadey@gmail.com> |
||
---|---|---|
.. | ||
bit_lib | ||
ble_profile | ||
cmsis_core | ||
datetime | ||
digital_signal | ||
drivers | ||
fatfs | ||
flipper_application | ||
flipper_format | ||
FreeRTOS-glue | ||
FreeRTOS-Kernel@def7d2df2b | ||
heatshrink@7398ccc916 | ||
ibutton | ||
infrared | ||
lfrfid | ||
libusb_stm32@6ca2857519 | ||
mbedtls@edb8fec988 | ||
microtar@1e921369b2 | ||
mjs | ||
mlib@62c8ac3e5d | ||
music_worker | ||
nanopb@6cfe48d6f1 | ||
nfc | ||
one_wire | ||
pulse_reader | ||
signal_reader | ||
stm32wb_cmsis@d1b860584d | ||
stm32wb_copro@133182d558 | ||
stm32wb_hal@cfd0dd258c | ||
subghz | ||
toolbox | ||
u8g2 | ||
update_util | ||
err.h | ||
freertos.scons | ||
heatshrink.scons | ||
libusb_stm32.scons | ||
mbedtls_cfg.h | ||
mbedtls.scons | ||
microtar.scons | ||
mlib.scons | ||
nanopb.scons | ||
ReadMe.md | ||
SConscript | ||
stm32wb.scons |
Structure
app-scened-template
- C++ app librarybit_lib
- library for working with bits/bytes directlyble_profile
- BLE Profiles source codecmsis_core
- CMSIS Core package, contain cortex-m core headerscxxheaderparser
- C++ headers parser, used by SDK bundlerdatetime
- DateTime librarydigital_signal
- Digital signal library: used by NFC for software implemented protocolsdrivers
- Various flipper driversfatfs
- FatFS file system driverflipper_application
- Flipper application library, used for FAPsflipper_format
- Flipper File Format libraryFreeRTOS-glue
- Extra glue to hold together FreeRTOS kernel and flipper firmwareFreeRTOS-Kernel
- FreeRTOS kernel source codeheatshrink
- Heatshrink compression libraryibutton
- ibutton library, used by iButton applicationinfrared
- Infrared library, used by Infrared applicationlfrfid
- LF-RFID library, used by LF RFID applicationlibusb_stm32
- LibUSB for STM32 series MCUmbedtls
- MbedTLS cryptography librarymicrotar
- MicroTAR librarymjs
- MJs, javascript engine librarymlib
- M-Lib C containers librarymusic_worker
- MusicWorker library for playing midi and RTTTL filesnanopb
- NanoPB library, protobuf implementation for MCUnfc
- NFC library, used by NFC applicationone_wire
- OneWire library, used by iButton applicationprint
- Tiny printf implementationdigital_signal
- Digital Signal library used by NFC for software implemented protocolspulse_reader
- Pulse Reader library used by NFC for software implemented protocolsstm32wb_cmsis
- STM32WB series CMSIS headers, extends CMSIS Corestm32wb_copro
- STM32WB Copro library: contains WPAN and radio co-processor firmwarestm32wb_hal
- STM32WB HAL library, extends STM32WB CMSIS and provides HALsubghz
- Subghz library, used by SubGhz applicationtoolbox
- Toolbox library, contains various things that is used by Flipper firmwareu8g2
- u8g2 graphics library, used by GUI subsystemupdate_util
- update utilities library, used by updater