Krippenreiter Profile picture
πŸ‡©πŸ‡ͺ πŸ‡ΊπŸ‡Έ | Not financial advice | Perpetual education on all #DLT-related topics | Technician at 🧑 | Linktree: https://t.co/ZjX7oDXuZT

May 21, 2023, 25 tweets

[1/🧡] You've heard of @XummWallet but aren't sure if you can #trust its #security?

You'll learn about @cossacklabs' most recent security assessment and why the #XUMM #wallet strives to maintain the highest security standards.

Follow along in this "all-in-one security 🧡" πŸ‘‡

[2/24] β€” Outline β€”
πŸ”Έ Basic Introduction
πŸ”Έ Hot #Wallet Fundamentals
πŸ”Έ #XUMM Wallet Security
πŸ”Έ #Security Audit (18.05.2023)
πŸ”Έ XUMM @Tangem Cards
πŸ”Έ #Tangem Card Facts

[3/24] β€” Basic Introduction β€”

After hearing the news of #Ledger willingly integrating a πŸ”‘-extraction mechanism into their FW if opted-in, I decided it was time to review #XUMM + @Tangem

This 🧡 is not sponsored in any way, & all of my praise comes from the bottom of my ❀️

[4/24] β€” 1⃣ Hot Wallet Fundamentals β€”

▢️ #XUMM is a hot, self-custodial ("unhosted") mobile-only #cryptocurrency wallet designed exclusively for the XRPL ecosystem, allowing users to securely store their private keys, make payments, and engage with the #XRPL via #xApps.

[5/24] β€” 2⃣ Hot Wallet Fundamentals β€”

Regardless of how secure the app is, "hot" desktop & mobile apps have access to the internet & are only as secure as their weakest link.

Keep the following in mind:
πŸ”Έ Update your smartphone
πŸ”Έ Don't use public WiFis
πŸ”Έ Use strong passwords

[6/24] β€” #XUMM Wallet Security β€”

❓ How long would it take an attacker to successfully exploit the app?

πŸ”Έ ~99 quadrillion years β†’ secret number
πŸ”Έ ~228 years β†’ 6 digit passcode
πŸ”Έ There is basically no pw-length restriction for the signing password β†’ 200+ years (16 chars)

[7/24] β€” 1⃣ #Security Audit β€”

@XRPLLabs had a security assessment performed by #Cossacklabs that required over 240 person-hours of work and was publicly disclosed on 18.05.2023

The main takeaway was:
β˜‘οΈ "No critical vulnerabilities or immediate exploits were identified"

[8/24] β€” 2⃣ #Security Audit β€” BEFORE β€”

During the 1st evaluation, #Cossacklabs noticed that "only" 28 of the relevant 65 standards had been met.

Sounds worse than it is since #XUMM users were never at risk as long as their πŸ“± were updated and their passwords were kept safe. 🫑

[9/24] β€” 3⃣ #Security Audit β€” AFTER β€”

Following the implementation of the solutions, #Cossacklabs verified that 58 of the necessary 65 criteria were met, significantly reducing the number of unresolved issues.

Consider how much effort went into resolving all of that. πŸ”₯

[10/24] β€” 4⃣ #Security Audit β€”

Many cryptographic flaws and weaknesses, according to #Cossacklabs, were caused by insufficient security controls that were already in place but did not meet the highest criteria.

[11/24] β€” 5⃣ #Security Audit β€”

As a result, @XRPLLabs opted to re-implement the whole cryptographic layer, thereby building on existing solid foundations to combat certain sophisticated edge cases.

[12/24] β€” 6⃣ #Security Audit β€”

Key takeaways:
πŸ”Έ Even #XUMM is not foolproof
πŸ”Έ No secrets were ever compromised
πŸ”Έ Security has been upgraded based on WASP MASVS v1.5
πŸ”Έ @XRPLLabs team is capable of fixing code related security issues
πŸ”Έ Hot wallets will inevitably be attacked

[13/24] β€” 1⃣ XUMM Tangem β€” Firmware β€”

There are @Tangem cards and #XUMM branded Tangem cards that both use one firmware that has been reviewed by #Kudelskisecurity with one exception:

The XUMM-branded #Tangem cards are not designed to sync the keys πŸ‘‡

[14/24] β€” 2⃣ XUMM Tangem β€” Firmware β€”

Not only can the firmware not be upgraded by design, but the #firmware can never give out your #privatekey because it is physically only feasible to communicate through #NFC while keeping the secret truly offline at all times.

[15/24] β€” 1⃣ XUMM Tangem β€” Best Practice β€”

Here are some guidelines to make your cold storage genuinely secure:
πŸ”Έ Create a #PIN / Password on your card using #XUMM
πŸ”Έ Purchase 2 cards and configure your "Plan B" using the "Tangem Backup" #xApp within XUMM

[16/24] β€” 2⃣ XUMM Tangem β€” Best Practice β€”

Additional suggestions:
πŸ”Έ Use 4 cards (2 #XRPL accounts) to separate your hot & cold wallets
πŸ”Έ Do not 'root' or jailbreak your phone and use your cards on it
πŸ”Έ Less is more, so use your cold storage to save your funds in the long run

[17/24] β€” 1⃣ XUMM Tangem β€” Hardware Chip β€”

The "SE" within the card, which is practically indestructible, is the #S3D350A microchip from #Samsung

Entropy is created from the chip's inherent physical noise source via thermal noise amplification πŸ‘‡

[18/24] β€” 2⃣ XUMM Tangem β€” Hardware Chip β€”

Now that we know the source of genuine randomness utilized to generate the secrets, what about the #CPU? πŸ€”

#Tangem employs the "#Arm #SecurCore SC000 Core," one of the most extensively licensed 32-bit smartcard processors in the world

[19/24] β€” 3⃣ XUMM Tangem β€” Hardware Chip β€”

The #Tangem microchip passed the "Common Criteria #EAL6+ Assurance Level," which is required if your chips are to be used in passports.

Fun fact: #Ledger also reached that level.

[20/24] β€” 1⃣ Tangem Card β€” Facts β€”

Here are some mind-blowing #Tangem facts:
πŸ”Έ Tangem offers a 25+ year replacement warranty
πŸ”Έ Withstands environmental extremes
πŸ”Έ Withstands occasional mechanical deformation
πŸ”Έ Withstands electromagnetic pulse (#EMP)
. . .

[21/24] β€” 2⃣ Tangem Card β€” Facts β€”
. . .
πŸ”Έ Withstands electrostatic discharge (#ESD)
πŸ”Έ Withstands X-rays
πŸ“ Within limits defined in #ISO7810.

Further:
πŸ”Έ #Tangem App, an open-source in-house development, is capable of verifying the installed firmware on the card
. . .

[22/24] β€” 3⃣ Tangem Card β€” Facts β€”
. . .
πŸ”Έ Works from -25Β°C up to 85Β°C
πŸ”Έ Works even underwater πŸ˜…
πŸ”Έ #IP68 certified
πŸ”Έ An Access Code may be set and even adjusted to prevent it from being removed from the card after it is set.
πŸ“ If you lose this code, you lose everything.

[23/24] β€” TL;DR β€”

πŸ”Έ XUMM security upgraded (MASVS v1.5)
πŸ”Έ XUMM Tangem account backup via xApp
πŸ”Έ Tangem cards β€” simple secure offline cold wallet
πŸ”Έ Literally indestructible
πŸ”Έ XUMM branded cards w/o key-sync
πŸ”Έ Cutting-edge certified hardware security
πŸ”Έ @XRPLLabs rocks!

[24/24] Hopefully, this gave you a solid introduction of #XUMM and #Tangem cards in terms of security.
Rest assured, there is more to come. πŸ”₯

Please follow me here:
@krippenreiter πŸ™

Feel free to contribute by sharing here: πŸ‘‡

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling