Skip to content

Instantly share code, notes, and snippets.

@kategray
Created April 24, 2019 00:08
Show Gist options
  • Save kategray/a37d8c1e1ad5027973864420aad08e66 to your computer and use it in GitHub Desktop.
Save kategray/a37d8c1e1ad5027973864420aad08e66 to your computer and use it in GitHub Desktop.
NXP J2A040 Fusing
# Information in this script was obtained from public sources, and not under NDA with NXP.
# GPShell style APDU commands, but you should be able to adapt it to anything that can send raw APDU's to the card
# Our TK Key
00A4040010C238E449F725B1510EAA699550CABA16
# Reset card to factory defaults - THIS WILL WIPE OUT ALL APPLETS INSTALLED
00F00000
# Set the Card to use T=1 transmission mode
C0D6012301DA
C0D6014601DA
# Set default Information Field Size Interface
C0D6012201FE
# Make the Card identify as SLEEPMODE/NEGOTIABLE/T=1 on both cold and warm states
C0D60124010F
C0D60147010F
# Set speed to 11 for cold and warm
C0D601250111
C0D601480111
# Set the card's historical ATR bytes to display as J2A040
# Cold
c0d601360908FF4A324130343000
# Warm
c0d601590908FF4A324130343000
# Set the auth key to a the default value 404142434445464748494a4b4c4d4e4f
c0d6030510404142434445464748494a4b4c4d4e4f
c0d6032110404142434445464748494a4b4c4d4e4f
c0d6033D10404142434445464748494a4b4c4d4e4f
# Protect the Card
00100000
# Fuse it
# 00000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment