NTAG215 AUTHLIM BRUTE FORCE LIMIT

huangapple go评论101阅读模式
英文:

NTAG215 AUTHLIM BRUTE FORCE LIMIT

问题

I need to protect my NTAG215 from bad password after ten incorrect attempts.

First protected page 04 to 81:

RAW COMMAND: A2 83 04 00 00 04

After to enable brute force protection:

RAW COMMAND: A2 84 82 00 00 00

HEX 82 = BIN 10000010

  • PROT = 1
  • CFGLCK = 0
  • RFUI = 0
  • NFC_CNT_EN = 0
  • NFC_CNT_PWD_PROT = 0
  • AUTHLIM = 010 (10 attempts)

But after 3 incorrect attempts my NTAG215 seems dead.

NTAG213-216 data sheet:
https://www.nxp.com/docs/en/data-sheet/NTAG213_215_216.pdf

I'm doing something incorrectly?

Thanks for help.

#SOLVED (Thanks to @nanofarad)

英文:

I need to protect my NTAG215 from bad password after ten incorrect attempts.

First protected page 04 to 81:

RAW COMMAND: A2 83 04 00 00 04

After to enable brute force protection:

RAW COMMAND: A2 84 82 00 00 00

NTAG215 AUTHLIM BRUTE FORCE LIMIT
NTAG215 AUTHLIM BRUTE FORCE LIMIT

HEX 82 = BIN 10000010

  • PROT = 1
  • CFGLCK = 0
  • RFUI = 0
  • NFC_CNT_EN = 0
  • NFC_CNT_PWD_PROT = 0
  • AUTHLIM = 010 ( 10 attempts )

But after 3 incorrect attempts my NTAG215 seems dead.

NTAG213-216 data sheet:
https://www.nxp.com/docs/en/data-sheet/NTAG213_215_216.pdf

I'm doing something incorrectly?

Thanks for help.

#SOLVED ( Thanks to @nanofarad )
NTAG215 AUTHLIM BRUTE FORCE LIMIT

答案1

得分: 0

authlim 是一个三位数字 - 010 不是十次尝试,它是 二进制 10 次尝试(表示 2 次尝试),所以很可能在第三次尝试时会锁定自己。

如果 AUTHLIM 只能表示从零(二进制 000)到七(二进制 111)的数字,那么就无法设置 10 次尝试。

英文:

authlim is a three-bit number - 010 is not ten attempts, it's binary 10 attempts (meaning 2 attempts), so presumably on the third it locks itself.

You cannot set 10 attempts using AUTHLIM if AUTHLIM can only represent numbers from zero (binary 000) to seven (binary 111).

huangapple
  • 本文由 发表于 2023年2月16日 11:55:48
  • 转载请务必保留本文链接:https://go.coder-hub.com/75467710.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定