Commit graph

11786 commits

Author SHA1 Message Date
Philippe Teuwen 9842416f30 fix hf mf nested output for extended auths 2024-08-02 23:37:14 +02:00
Philippe Teuwen 02af12723c hf mf isen: forgot some checks 2024-08-02 23:21:14 +02:00
Philippe Teuwen f8ed473aec words 2024-08-02 21:04:23 +02:00
Philippe Teuwen c47578c048 sort mfc tools 2024-08-02 00:10:23 +02:00
Philippe Teuwen 18a3d04de1 hf mf isen incblk2 increment to the next sector 2024-08-01 14:28:00 +02:00
Philippe Teuwen 34bfaa7d32 saving files: do not prepend with default path if given path is an absolute path 2024-07-31 15:49:09 +02:00
Philippe Teuwen 3ef3c98a1d cosmetic 2024-07-31 00:49:13 +02:00
Philippe Teuwen fb0b448c4f hf mf isen: add nt indexes 2024-07-31 00:41:50 +02:00
Philippe Teuwen 153064ddfa Fix a bunch of potential buffer overruns with CLIGetStrWithReturn :
Most prominent one was "lf pac clone --cn 123456789" causing garbage on the terminal
Some changed code was valid before but as ppl tend to copy-paste to new code,
better to uniformize and document usages of CLIGetStrWithReturn.

Exceptions left are when filling real buffers (bin, raw,...), not strings.
2024-07-30 22:23:04 +02:00
Philippe Teuwen 036fa47703 trace list -t mf: some info about nt 2024-07-29 23:59:20 +02:00
Philippe Teuwen e7c4ae2b1e hf mf isen for analyzing some static encrypted nonces MFC 2024-07-29 23:19:18 +02:00
Philippe Teuwen de326fc772 hf mf rdbl/wrbl/rdsc/nested: support extended AUTH 2024-07-29 22:38:30 +02:00
Philippe Teuwen 98273d00ae hf mf fchk: allow to crack a single key and show progress info 2024-07-29 22:24:46 +02:00
Philippe Teuwen 29c180285e trace list -t mf: add support for extended auths 2024-07-29 22:24:30 +02:00
Philippe Teuwen 9d66c11ac4 Fix output_grabber.py to allow several calls 2024-07-29 22:24:18 +02:00
Clement be7a1ccf5a
Add key for hotel in Greece
Signed-off-by: Clement <storck.clement@gmail.com>
2024-07-28 11:49:29 +02:00
Nathan N 8b2040ec5e
Allow static encrypted nonces to be collected via trace
Signed-off-by: Nathan N <noproto@users.noreply.github.com>
2024-07-22 17:45:07 -04:00
iceman1001 f8db7b185d added support for --ns the nosave flag in hf iclass dump 2024-07-21 16:24:18 +02:00
iceman1001 4de7b7d6b9 style 2024-07-21 16:19:21 +02:00
iceman1001 2887cb5211 text 2024-07-21 16:13:00 +02:00
iceman1001 5effb4f886 added dorma kaba mobile wallet AID 2024-07-21 11:09:43 +02:00
Iceman d9d272e5f7
Merge pull request #2431 from ry4000/master
R&Y: Re-Added Gallagher AIDs and Added Transact Campus AIDs
2024-07-21 10:57:32 +02:00
Antiklesys f8fbcc2754 Bugfixes and code improvements for hf iclass legrec
1- Inlined functions related to hf iclass legrec within util.c for marginal performance gains.
2- Fixed bug preventing errors to be displayed properly and the process from interrupting on an error or on completion.
3- Fixed code indentation of the while loop in iclass.c
4- Fixed bug in the while cycle (was missing index++)
5- Improved ways to display hex results by using dbhexdump
2024-07-21 13:55:17 +08:00
ry4000 469e9d875b
R&Y: Re-Added Gallagher AIDs and Added Transact Campus AIDs
**Re-Added Gallagher AIDs**
- The alternative endian Gallagher AIDs have been re-added out of an abundance of caution.

**Added Transact Campus AIDs**
- The AIDs were retrieved from an Institution's Guest Card via NXP TagInfo and PM3; a Google search revealed that `Transact Card, Inc.` are the ID Card provider for said Institution, so the Institution has not been explicitly named.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-07-21 12:04:35 +10:00
Antiklesys ef2c372380 Update cmdhficlass.c 2024-07-20 01:35:03 +08:00
Antiklesys 1347dd9e74 Update cmdhficlass.c
Removed timeout as we'll definitely go above the timeout timer
2024-07-20 01:26:52 +08:00
Antiklesys ed8a2d330e Update cmdhficlass.c 2024-07-19 18:46:27 +08:00
Antiklesys a127a38cb6 Updated some as per iceman's comments
Made multiple changes as per iceman's comments.
Removed redundant/unused function i forgot into cmdhficlass.c
Moved conversion functions in util.c for now but haven't yet check if it's possible to reuse the current fuctions already there. Will do that in a moment.
2024-07-19 18:27:36 +08:00
Antiklesys 1832997ccb Iclass Legacy Raw Key Recovery Function
Based on the work described in Dismantling iClass whitepaper.
hf iclass legbrute is tested working
hf iclass legrec is partially working: logic of operations and sequence seems to be in order and was tested on simulated data to be effective. The privilege escalation part is still not successful, but the logic should be correct.
2024-07-19 14:47:13 +08:00
dandri dbd4e98d15
Update mfc_default_keys.dic
Correct source of cards and spelling
2024-07-18 22:09:14 +00:00
dandri 244dec3523
Update mfc_default_keys.dic
Add key for Atlantsolía keyfobs
2024-07-17 15:02:39 +00:00
Vasil Petrov 29937d39c6 Lua script for cloning new ELECTRA tags or EM410x to T5577 tag 2024-07-15 12:42:08 +03:00
dandri edb2bcb288
Update mfc_default_keys.dic
Add key for Orkan keyfobs/cards
2024-07-14 19:58:45 +00:00
iceman1001 8fc63c4156 clean 2024-07-13 22:29:26 +02:00
dandri 0495cc1086
Update mfc_default_keys.dic
Add keys for Laugardalslaug in Iceland
2024-07-13 19:53:28 +00:00
iceman1001 3461b6f803 fixed type confusing error when trying to load none supported .picopass files. Thanks to Jump for the suggested fixes 2024-07-12 15:06:08 +02:00
Antiklesys fbacd60e41 Implemented VB6 rng for iclass chk elite key search
Implemented VB6 rng for iclass chk elite key search based on @bettse implementation on Flipper Zero Picopass app
2024-07-12 14:46:23 +08:00
Antiklesys 96e3e07faa Implemented VB6 rng for iclass lookup elite key search
Ported @bettse work from the Flipper Zero Picopass repository to use the lookup function with the VB6 rng
2024-07-12 11:18:17 +08:00
Iceman 11484252bb
Merge pull request #2398 from tiagotriques/master
Updated mfc_default_keys
2024-07-10 17:26:46 +02:00
iceman1001 2a86a86a06 updated format 2024-07-10 11:04:23 +02:00
Jean-Michel Picod 06203a8c5f Fix invalid Wiegand format flags.
Some formats were declared with not adequate flags resulting in
the format being filtered out for encoding/decoding unless explictly
setting it.
2024-07-09 14:02:20 +02:00
Iceman 810f085aae
Merge pull request #2388 from CountParadox/patch-1
Update mfc_default_keys.dic
2024-07-09 09:16:41 +02:00
ry4000 1f74f80de1
Update aid_desfire.json
Corrected the IST Istanbul name.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-07-08 08:14:26 +10:00
ry4000 e5f1487804
Update mfc_default_keys.dic
Corrected a typing error that resulted in two 13-hexadecimal character access keys.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-07-08 08:11:24 +10:00
ry4000 5319432445
Update aid_desfire.json
Formatting fixes.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-07-07 10:40:33 +10:00
ry4000 d1e76d90cb
Update aid_desfire.json
Restored Disney MagicBand AID, noting that NXP TagInfo claimed that this AID is an unknown application instead of a Disney MagicBand.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-07-07 10:38:32 +10:00
ry4000 ba6b070584
Update mfc_default_keys.dic
Added static guest access keys for various cashless prepaid arcade payment cards.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-07-07 10:19:55 +10:00
ry4000 6f80b5ac2f
Update mfulc_default_keys.dic
Added additonal sample keys based on how a company decided to modify the sample key as the basis for theirs; it stands to reason that if one company did that, then another company very well could have done the same.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-07-07 08:51:53 +10:00
ry4000 9d9a49f268
Update mfulc_default_keys.dic
Fixed typo.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-07-07 08:35:22 +10:00
ry4000 78c5ddf8d7
Added Sample ULC Access Key
Reference: https://fcc.report/FCC-ID/G7H-SPRFTR001/5047018.pdf

The third sample access key is added by me because the documentation placed a `00 [null]` as the last byte instead of `46 [F]`.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-07-07 08:34:33 +10:00
ry4000 42d6fcdcac
Merge branch 'RfidResearchGroup:master' into master 2024-07-07 08:08:45 +10:00
Iceman a907dc4b53
Merge branch 'master' into patch-1
Signed-off-by: Iceman <iceman@iuse.se>
2024-07-04 15:30:56 +02:00
Jean-Michel Picod 4124dcdce9 Fix a few mistaked in Wiegand encodings 2024-07-04 12:02:32 +02:00
ry4000 0847ec4819
Update aid_desfire.json
Updated GWR touch IATA code; SWI is apparently a closed airport.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-29 10:42:09 +10:00
ry4000 4da758adaa
Update aid_desfire.json
Added additional IST Istanbulkart AIDs

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-27 21:59:05 +10:00
ry4000 4b3afbfac4
Update aid_desfire.json
Added DEL Delhi Metro AIDs

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-27 21:37:50 +10:00
ry4000 d8d2aed2df
Update aid_desfire.json
Added ICT PACS AIDs and updated AID descriptions

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-27 10:22:52 +10:00
ry4000 7e109865ba
Update aid_desfire.json
Added ITSO AIDs
Removed Incorrect IST Istanbulkart AID
Made corrections to VIT BAT description
Made other formatting corrections

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-27 10:18:03 +10:00
ry4000 86fd5456e2
Update aid_desfire.json
Formatting updates.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-26 17:48:55 +10:00
ry4000 3ccf238616
Update aid_desfire.json
Interim Checks on NXP TagInfo.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-26 14:25:19 +10:00
ry4000 323414b2b0
Update aid_desfire.json
Interim checks made using NXP TagInfo.

Removed duplicate AID [Disney MagicBand], which had an entry with its AID bytes reversed.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-26 14:21:53 +10:00
ry4000 19defef18b
Update aid_desfire.json
Rearranged the pacs AID order.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-24 15:47:41 +10:00
ry4000 ca2dc02319
Update aid_desfire.json
Corrected Gallagher AIDs to the PM3/Flipper Zero / NXP TagInfo format.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-24 15:45:32 +10:00
ry4000 f705504863
Update aid_desfire.json
Added information via NXP TagInfo.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-22 14:08:15 +10:00
ry4000 1c42223c6c
Update aid_desfire.json
Added a new PACS AID.

Corrected minor formatting typo.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-22 10:19:05 +10:00
@tweathers-sec f80e8d0f85 Updated clone and sim handling for 48-Bit HID (C1k48s) 2024-06-19 13:41:37 -04:00
ry4000 7f2486a6be
Update aid_desfire.json
Minor typo correction.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-18 23:35:35 +10:00
ry4000 d2c5c99f05
Updated aid_desfire.json
Used Notepad++ to make offline edits to avoid making further unnecessary commits.

Duplicate AIDs were removed.

AID Country, Name, Description, and Type were clarified where publicly-available information existed.

AIDs are now in category order, then further sorted by hexadecimal order.

Style Guide adhered to where possible; some Descriptions may need truncating, however.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-18 23:34:53 +10:00
ry4000 dfe5ebbdd0
Merge branch 'RfidResearchGroup:master' into master 2024-06-18 22:20:17 +10:00
Benjamin DELPY ceddabcc98
Update intertic.py to support more USAGE parsing
Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
2024-06-14 22:23:15 +02:00
iceman1001 283a3e44ed remove missing usage of define 2024-06-12 12:28:02 +02:00
iceman1001 3e1bd8f50a the BT serial port setup on Windows didnt work properly. By adding the baud rate in the new termios settings the issue seem to be fixed. Also added some extra flushing calls and some more configuration settings for chars. 2024-06-11 14:32:35 +02:00
Benjamin DELPY 4bd41d3acf
Fix a lots of parsing errors
Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
2024-06-10 23:26:38 +02:00
Benjamin DELPY 0b54d146f4
Update intertic.py to try to parse Date & Time from UsageData in Reims
Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
2024-06-09 20:02:31 +02:00
David Beauchamp 4d4b2cb153 Add new t55xx password sniffed from cheap cloner 2024-06-07 10:19:09 -04:00
Tiago Esperança Triques 167151afa6 Updated mfc_default_keys
Keys from BusFácil card (Brazilian bus company)
2024-06-06 14:27:58 -03:00
ry4000 b6060f423b
Update aid_desfire.json
Made minor correction to CHC Metrocard

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-04 23:00:32 +10:00
ry4000 2f2b288624
Update aid_desfire.json
Corrected VIX typo.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-04 22:52:20 +10:00
ry4000 478dc9bc21
Merge branch 'RfidResearchGroup:master' into master 2024-06-04 22:49:32 +10:00
ry4000 b89b931bf8
Update aid_desfire.json
Style

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-04 22:05:07 +10:00
ry4000 741ebb94ce
Update aid_desfire.json
Corrected typo

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-04 21:52:35 +10:00
ry4000 6a323c1c94
Update aid_desfire.json
Corrected typo based on PM3 command: hf mfdes lsapp --no-auth

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-04 21:49:50 +10:00
ry4000 b7f5e5b9ac
Update aid_desfire.json
Minor updates.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-04 21:38:42 +10:00
ry4000 8206a7f014
Update aid_desfire.json
Formatting updates.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-04 20:12:13 +10:00
ry4000 97789db701
Update aid_desfire.json
Interim Updates.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-04 13:50:10 +10:00
ry4000 aacc6b9db0
Update aid_desfire.json
Interim changes.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-04 13:43:37 +10:00
Iceman e216744194
Merge pull request #2397 from sliceratwork/master
Update mfc_default_keys.dic
2024-06-03 21:27:04 +02:00
ry4000 231a503215
Update aid_desfire.json
Interim updates.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-03 18:02:35 +10:00
ry4000 a71ab3e6ab
Update aid_desfire.json
Interim edits 2

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-03 15:41:08 +10:00
ry4000 f6716c21a7
Update aid_desfire.json
Interim Changes

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
2024-06-03 10:32:36 +10:00
Andrei Stefan 55978431be Update mfc_default_keys.dic 2024-05-31 12:21:41 +03:00
Benjamin DELPY b5db711b9a
Update intertic.py to support FRA - Clermont-Ferrand (T2C)
Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
2024-05-29 20:48:09 +02:00
iceman1001 7329dcd3bf Revert "Release v4.18589 - Aurora"
This reverts commit aceed281e8.
2024-05-28 10:36:32 +02:00
iceman1001 aceed281e8 Release v4.18589 - Aurora 2024-05-28 10:36:32 +02:00
iceman1001 4a4e7bc27f wrong lib 2024-05-28 10:32:50 +02:00
iceman1001 d6356bd3f4 wrong file 2024-05-28 10:30:40 +02:00
iceman1001 9cc8f6a10b Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2024-05-28 10:27:33 +02:00
iceman1001 54644c6113 update cmakefile with changes from client cmake 2024-05-28 10:27:23 +02:00
iceman1001 adfbcbc193 miscchecks white space 2024-05-28 10:14:02 +02:00
iceman1001 6bdfe11c1a minor fixes 2024-05-28 10:00:11 +02:00