Hacking Spoofing an amiibo using Android+NFC?

fiveighteen

Distractible Dabbler
Member
Joined
Jun 30, 2008
Messages
1,768
Trophies
2
XP
1,930
Country
United States
I found a product (unrelated to Wii U/Android) that shows:
Communication Interfaces: RS232 / RS485 ciphered with AES-128bits (SX2 / SX3)

So it seems like SX3 is for security? RS232 works for ISO14443A (Amiibo chips).

Someone has created an Amiibo Decryption Service, where you send your encrypted amiibo.bin file to a server and it decrypts it for you. I made a bash script that runs through Cygwin (requires nc; netcat) so you can easily decrypt a single file or decrypt all files in a folder. Open with Notepad++ or similar and change your location folder and your decrypted location folder (where the .bin files are, and where you want the decrypted .bin files to go). Double-click it to run from anywhere.
 

Attachments

  • Amiibo-Decrypt.zip
    936 bytes · Views: 505
  • Like
Reactions: NWPlayer123

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
I found a product (unrelated to Wii U/Android) that shows:
Communication Interfaces: RS232 / RS485 ciphered with AES-128bits (SX2 / SX3)

So it seems like SX3 is for security? RS232 works for ISO14443A (Amiibo chips).

Someone has created an Amiibo Decryption Service, where you send your encrypted amiibo.bin file to a server and it decrypts it for you. I made a bash script that runs through Cygwin (requires nc; netcat) so you can easily decrypt a single file or decrypt all files in a folder. Open with Notepad++ or similar and change your location folder and your decrypted location folder (where the .bin files are, and where you want the decrypted .bin files to go). Double-click it to run from anywhere.
Well that makes my life easier, may as well translate the full including what's on the servers to python now.
 

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
Well, with amiiqo (the "q" is a reversed "b", have you ever noticed it ;) ) everyone can have a full load of virtual toys...
But with socram888 service it will be fun to see how data is stored inside toys !

Are amiibo useful for online gaming or are they totally unuseful ?
 

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
Well, with amiiqo (the "q" is a reversed "b", have you ever noticed it ;) ) everyone can have a full load of virtual toys...
But with socram888 service it will be fun to see how data is stored inside toys !
Using @golden45's Cafiine dump I dumped the NFP backup loaded in Splatoon, which contains the raw decrypted data now (I know since it's the same format as the stuff in @socram8888's thread)
SplatoonAmiiboBackup.png
 
  • Like
Reactions: asper

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
Using @golden45's Cafiine dump I dumped the NFP backup loaded in Splatoon, which contains the raw decrypted data now (I know since it's the same format as the stuff in @socram8888's thread)
SplatoonAmiiboBackup.png

What's an "NFP" backup ? You mean NFC ? Can you tell us where in memory the decrypted dump is stored ?

Anyway if you change the data in memory then the game will write them re-encrypted for you ! Great finding man !!!!
 

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
NFP was the code name for the amiibos. Nintendo Figurine Platform.
Yes, and that's also what the library's called. The Wii U has like 3 different libraries, a very low level NFC library, a higher level NTAG library, and then their specialized nn_nfp (Nintendo Network Nintendo Figurine Platform) library that needs C++. I haven't looked to see where it's loaded yet.
 
  • Like
Reactions: asper

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
Yes, and that's also what the library's called. The Wii U has like 3 different libraries, a very low level NFC library, a higher level NTAG library, and then their specialized nn_nfp (Nintendo Network Nintendo Figurine Platform) library that needs C++. I haven't looked to see where it's loaded yet.

So there is a file called nfp_backup.dat somewhere in memory during the game... really good finding man !
 

socram8888

Well-Known Member
Newcomer
Joined
Apr 6, 2009
Messages
81
Trophies
1
Age
29
Location
Valencia, Spain
Website
orca.pet
XP
560
Country
Spain
Well, with amiiqo (the "q" is a reversed "b", have you ever noticed it ;) ) everyone can have a full load of virtual toys...
But with socram888 service it will be fun to see how data is stored inside toys !

Are amiibo useful for online gaming or are they totally unuseful ?
Actually they would be even more suitable, given you could use them as simple keys and store data on a remote server, protected from cheating and replay attacks, and without using the scarce tag memory, which would mean you could use them with several games also. You would need permanent internet connection to use these amiibos, though.
So there is a file called nfp_backup.dat somewhere in memory during the game... really good finding man !
I can't speak for the Wii U, but on 3DS that file is stored on NAND, not on RAM, so it'll be there when not playing too.
 

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
Actually they would be even more suitable, given you could use them as simple keys and store data on a remote server, protected from cheating and replay attacks, and without using the scarce tag memory, which would mean you could use them with several games also. You would need permanent internet connection to use these amiibos, though.

A kind of "virtual Amiibo" ! Cool ! Even if spoofing the simple UID/key will make a real-time perfect clone without needing to know the algos... so this will not be a great idea at last... anyway this is a new world to explore ! :)
 

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
Last edited by asper,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • RedColoredStars @ RedColoredStars:
    There is zero instacart delivery to here. No door dash. No Uber. Notta. Its a small farming community
    +1
  • Sicklyboy @ Sicklyboy:
    eagerly awaiting 4x 8TB HDDs to get delivered today
  • RedColoredStars @ RedColoredStars:
    So I drive the 30 miles there, spend $100-$150 on groceries, and drive back home. Still saved $$$ after gas over shopping locally.
    +1
  • K3Nv2 @ K3Nv2:
    You'd think you could make deals with local farmers
  • AncientBoi @ AncientBoi:
    :unsure::unsure::unsure: I could make a killing there doing instcart there :D @RedColoredStars
  • RedColoredStars @ RedColoredStars:
    It makes the trip even more worth it if I'm out of my medication and need to stop by the medical dispensary. I try to line the two up to avoid extra trips.
    +1
  • RedColoredStars @ RedColoredStars:
    @AncientBoi, Except the town is pretty MAGA infested. People still flying TRUMP 2016 flags all over. They didnt get the memo the year changed since then. lol.
    +1
  • RedColoredStars @ RedColoredStars:
    They passed a city ordinance last month. No smoking cannabis in public. Not even eating gummies. $300 fine and misdemeanor charge if caught. People can walk down the street smoking cigs and tossing the butts all over, but God forbit someone take a couple puffs of their medication.
    +1
  • RedColoredStars @ RedColoredStars:
    First off, it's recreationally legal here. Secondly, I have a prescription from my doctor and approved by the state. But still a fucking criminal.
    +1
  • RedColoredStars @ RedColoredStars:
    Like at bars. Cant sit outside even in the smoking section and take a few puffs. Yet I have to breath the cig smoke from 20 people chain smoking all night in every direction around me.
  • K3Nv2 @ K3Nv2:
    Honestly I feel like Trump is going to crush Biden just because of the trial
  • RedColoredStars @ RedColoredStars:
    They cite
    public health and safety concerns" LMAO!!! Yet they do nothing about the poison drinking water quality.
  • K3Nv2 @ K3Nv2:
    The look at how they treated me card is powerful within dumb voters
  • RedColoredStars @ RedColoredStars:
    A Trump win is certainly a possibility. If he's reelected, 4 more years then no one has to worry about him being president ever again. I survived last time, I'll survive it if there's a next time. Don't know how anyone could vote for the guy, but I'm also not anyone else but me.
    +1
  • K3Nv2 @ K3Nv2:
    Honestly things were cheaper with Trump but that's tounge and cheek could be exactly the same outcome if he won reelection
  • RedColoredStars @ RedColoredStars:
    All of the fake "Christians" vote for him even though he's broken like 8 of the 10 commandments... that we know of. Maybe all 10. LOL
    +1
  • K3Nv2 @ K3Nv2:
    A president is just a public figure within America
  • K3Nv2 @ K3Nv2:
    South park put it will there's always a bite between a turd sandwhich or a giant douce
    +1
  • RedColoredStars @ RedColoredStars:
    I like when he says stuff like "They are preventing me from talking!!!" Wait. What? You mean the person that is literally talking right now.. is being prevented from talking? LOL! Gag order also does not apply to taking the stand. He's free to say whatever he'd like. lolol
    +1
  • NinStar @ NinStar:
    holy fuck this discsussion sucks, where are my sisters
  • K3Nv2 @ K3Nv2:
    Well if it sucks stop blowing turd sandwhich
    +1
  • Xdqwerty @ Xdqwerty:
    @NinStar, convince your parents to make a sister for you
  • NinStar @ NinStar:
    parents? what parents?
  • K3Nv2 @ K3Nv2:
    People who screwed each other to make you
    +1
    K3Nv2 @ K3Nv2: People who screwed each other to make you +1