Joe Rozner
73799a6c69
Raise simaid selectaid_response cap to 256
...
The selectaid_response buffer in `hf 14a simaid` was capped at 100
bytes, which is well below the ISO 14443A frame maximum of 256 bytes
and prevents users from emulating tags whose SELECT AID response is
larger than a trivial status word.
This bumps selectaid_response from 100 to 256 in all three locations
(ARM packet handler, client locals, client payload struct) along with
the argparse help text. getdata_response is left at 100. The payload
struct overlays PM3_CMD_DATA_SIZE (512) via packet->data.asBytes;
with the new sizes it totals 435 bytes, so it still fits.
Pairs with the earlier tosend bounds check / DYNAMIC_MODULATION_BUFFER2
fix, which raised the actual transmit ceiling to the 256-byte frame
limit — this change lets callers supply a response up to that limit.
2026-04-22 23:38:18 -07:00
iceman1001
d3b7cbb3ff
remove debug statements
2026-04-22 07:25:50 +07:00
iceman1001
5b3a6387ee
annoyed
2026-04-21 11:14:23 +07:00
Philippe Teuwen
88d20bd4f2
make style
2026-04-13 09:35:02 +02:00
Iceman
fc3dbe56bd
Merge pull request #3208 from R4H33M/iclass-page-support
...
Add --page flag to hf iclass dump
2026-04-13 08:18:07 +07:00
iceman1001
aa1c1510fd
remove debug text
2026-04-05 22:30:54 +07:00
Raheem Idowu
22dae554c7
hf iclass dump --page support
2026-04-04 17:15:13 -04:00
iceman1001
d8d221bc81
add reference to blacktears
2026-04-03 12:20:59 +07:00
iceman1001
c33f10f56b
style
2026-04-03 11:46:58 +07:00
Antiklesys
519884aa01
Added secc support to jam custom payload values
2026-04-02 21:02:15 +08:00
kormax
753eb0737a
Display a message when automatic field timeout is turned on
2026-03-31 20:49:03 +03:00
kormax
6c4b995e21
Introduce 'GetTickCountLabel' for detecting RTCC reconfigurations
2026-03-31 20:42:15 +03:00
kormax
b443fc7723
Add 'hf.field.timeout' to prefs
2026-03-31 12:02:23 +03:00
Antiklesys
5236a13066
SECC Part 2 (fixed)
2026-03-30 23:50:58 +08:00
iceman1001
0d63e53a77
apply sanity checks for "smart upload"
2026-03-24 13:52:13 +07:00
xNovyz
52676ebbd4
style: whitespace fixes
2026-03-11 22:41:21 +01:00
xNovyz
286df8f4eb
feat(14b): add interactive hf 14b tearoff command
...
Add an interactive command for performing tear-off attacks on ST25TB/SRx
monotonic counter blocks. This exploits EEPROM tearing to increment
counters that normally can only be decremented, based on the
near-field-chaos project by SecLabz.
The command sweeps tear-off timing from --start downward in --adj
microsecond steps, automatically consolidates partial writes, verifies
stability across multiple reads, and reports progress in real-time with
color-coded output.
Performance optimizations:
- One-time full iso14443b_setup() at start; subsequent field cycles use
lightweight tearoff_field_on()/tearoff_field_off() that skip FPGA
bitstream reload and buffer reallocation
- Periodic CMD_WTX keepalives to prevent USB timeouts during long attacks
- Calls FpgaResetBitstream() on exit to ensure clean FPGA state
Usage: hf 14b tearoff -b <block> -d <target> [--start <us>] [--adj <us>]
2026-03-11 21:43:37 +01:00
Philippe Teuwen
118652bd90
CMD_HF_DECAY: factor with structs, remove cast align warning
2026-02-21 23:54:51 +01:00
michael
fe878be492
Added a new command (hw decay [which monitors the decay rate of the hf antenna cap]) and updated hw tune to detect booster boards and if the pm3 easy is on a metal surface
2026-02-18 15:51:08 -08:00
Philippe Teuwen
9f70011fee
hf mfu setkey: supports ulc/ulaes auth and ulaes schann
2026-02-09 01:08:23 +01:00
Philippe Teuwen
c00e4801b7
make style
2026-02-06 13:43:41 +01:00
Philippe Teuwen
a26892a891
Add hf mfu cchk/aeschk and options to hf mf cauth/aesauth
2026-01-19 21:47:49 +01:00
Philippe Teuwen
faca1550b8
hf mfu sim: add support to inject card replies
2026-01-19 21:47:49 +01:00
dxl
213c134bdc
staticnested faild to find a KeyB
...
Fixes #2938
2025-12-24 20:02:43 +08:00
Aaron Tulino (Aaronjamt)
c0e82539f2
[hf seos] Simulate support
2025-12-21 04:26:44 -07:00
kormax
34f18a0002
Add polling loop annotation support for iso14443b
2025-12-19 09:29:31 +02:00
iceman1001
3595f42f6d
add secure messaging for UL_AES. Calculating CMAC on device side
2025-10-17 13:31:19 +02:00
Philippe Teuwen
11fe8f783a
Add --skip to hw tearoff, to cope with more complex commands. Example provided for hf mfu wrbl
2025-10-09 22:26:52 +02:00
Philippe Teuwen
4aac77aaa2
support for Ultralight AES auth in hf mfu info/rdbl/wrbl/dump/ndefread/wipe/setkey
2025-10-04 02:00:23 +02:00
Philippe Teuwen
ae6f2c1b4c
Ultralight AES basic DataProtKey emulation support
2025-10-03 22:43:49 +02:00
iceman1001
b097e10aa3
this commit refactors the signature checks. First we introduce a common pm3 generic private / public key pair in order to allow for users to self sign their own modded device. The verification checks now looks at both hard coded public keys. If a vendor wants to add their own public key thus allowing for a simple way for us to identify their devices they can now do so. The downside is that the firmware mismatch detection becomes a bit dodgy. mem info; mem info -v; mem info -s -p <filename.pem>; mem info -s -p <filename.pem> -w contains the changes. OBS! when -w be careful to not overwrite your genuine RDV4 signature. As always, with great power comes great responsibility
2025-09-25 19:44:36 +02:00
Philippe Teuwen
bde33711c7
style
2025-09-20 22:02:23 +02:00
iceman1001
45d869e87a
change "mem wipe" / "mem info" to use NG.\nsome more style changes
2025-09-12 22:06:37 +02:00
iceman1001
65607fc727
added Ultralight-C simulation. hf mfu sim -t 13. Use eload first. Also added support to upload UL-C dictionaries and UL-AES to spiffs memory. A lot of textual reworked across client. Unifiy texts and a bit more color ;)
2025-06-19 17:26:20 +02:00
iceman1001
804acfbefa
the device side of iclass tear off is implemented. The base was done by @antiklesys. This version differs by the concept of trying to stabilize weak bits by performing a write operation in conjuction with the detected tear. Its untested but I can replicate most of the tears we performed client side. You will need to call the proxmark3 client with -f , ./pm3 -f to force flush out text which is needed for the inplace printing. I thought this was done automatically but it wasnt. hf iclass tear --arm + all the normal params to run on device side
2025-05-30 01:37:13 +02:00
iceman1001
4e07fc2b31
if enabled but no delay, then disable tear off just in case. enforce user to set a delay. if not this function will be triggered over and over which might confuse users normal operation
2025-05-27 09:43:11 +02:00
iceman1001
74f1936132
convert to our calloc instead since we prefer to know allocated shared memory is empty. Also removed a malloc(1) which is just a waste of bytes just like @NVX said a year ago at DefCon
2025-05-25 09:55:32 +02:00
iceman1001
b6a39768a1
text
2025-05-24 21:30:23 +02:00
iceman1001
c716467a7e
fixed output for hf iclass trbl to not have tear off debug message and its more compact now
2025-05-23 10:52:09 +02:00
iceman1001
c847896a15
fix #2835 due to wrong variable used to calculate the size of the emulator memory to download , all get memory from emulator memory failed with a block no larger that 30-ish
2025-05-01 08:34:39 +02:00
iceman1001
42cdd34e59
fix #2834 refactored to use local pointer, no modification of input polling_parameters pointer is done. The compilation error error: initializer element is not constant .frames should be fixed. Using defines and removed some global vars
2025-04-30 18:55:07 +02:00
iceman1001
cb4a0e2333
rename struct to follow code style
2025-04-30 13:27:41 +02:00
Philippe Teuwen
49521078e5
fix mf aes key length and typo in make help
2025-04-20 11:20:14 +02:00
iceman1001
875b3c44b4
unify text - step 1
2025-03-25 10:12:16 +01:00
iceman1001
12ba14fa58
text
2025-03-22 13:04:18 +01:00
douniwan5788
4bde83b89d
Added lf hitag htu support for Hitag µ/8265
2025-03-19 18:56:23 +08:00
douniwan5788
3d0c8cab5c
Refactor Hitag low-level functions into hitag_common
2025-03-19 17:05:39 +08:00
leecher1337
0e2a02bdf0
Implement new command hf 15 slixprotectpage to do ISO15693_PROTECT_PAGE on slix tags
2025-03-09 11:54:51 +01:00
iceman1001
cef07dedf6
code style, code clean up of redundant functions, comments, its many minor fixes across the platform. Sorry for not making 20 commits
2025-02-21 15:38:33 +01:00
Philippe Teuwen
1acc030fd4
rework simaid & rename few vars
2025-02-12 08:44:42 +01:00