Cryptopup is a live Linux distribution that fits on a CD (it's only 539MiB) but also can be burned on a DVD or recorded on a USB flash drive. It contains useful crypto tools: Doubleslow, Doublerandom, RFC1751-encoding-decoding, Mnemonic hashes, Electrum, Bitaddress, BIP39 tool and others.
When text mode is selected (with "do not copy in RAM") it requires very low RAM (assuming you will use frugal settings on Doubleslow). I tested it with 192MB RAM and Doubleslow was able to work with 64MiB RAM requirement for the first stage of hashing.
For ideas how to use Cryptopup securely: How Jason Bourne Stores His Bitcoin in 2021
In the following example it works with only 192MB RAM (in Linux console mode, selected as shown in the above screenshot).
In this example the salt is my horse eats batteries
, the password is 123
, the number of iterations on the first stage is 5
, there is no second stage. These are very weak settings, do not use it like this.
Cryptopup is based on BionicPup64 8.0.
The best way to use this distro is to burn it on a DVD or CD and run it on an air-gapped computer without a hard drive, without wireless network controllers, without USB devices (especially USB memory sticks, printers, scanners, etc). Ideally the computer must contain only the most important components: power supply, motherboard (with integrated video controller and microphone input), RAM, processor, optical drive. And of course monitor, keyboard and mouse. Also it would be good to have a microphone or a noise generator attached to the microphone input. Connecting an USB printer may compromise your security. Connecting the computer to other computer after using if for sensitive cryptographic stuff is not recommended (what if there is a crypto keys stealing malware hidden inside the BIOS/UEFI?).
If you want to transfer data to/from the computer you can use RFC1751 encoding/decoding. If you want to print data - use a pencil.
Please be aware that I am a very trustworthy pseudonymous stranger on the Internet, but nevertheless I can't guarantee that there is no malware on this ISO. If we assume that there is no malware in Ubuntu and BionicPup64, it's very probable that there is no malware in Cryptopup.
If you plan to use crypto tools for critical applications - make your own live distro, do not trust a random stranger on the Internet to make it for you. This type of software (wallet generators, BIP39 tools, etc) is a magnet for criminals.
- Looking for BIP39 tools? Beware of phishing!
- Just saw this suspicious advertisement on Facebook for www.ethpaperwallet.net - phishing website
- Example of "phishing" Bitcoin wallet generator - walletgenerator.org
- Suspicious website cryptocurrencysecurityadvice.com - probably hosting malware
- Stealing Bitcoin "is nothing illegal, but morally wrong" - WTF?
The most interesting stuff is in the /opt directory:
- /opt/my-apps/doubleslow
- /opt/my-apps/doublerandom
- /opt/my-apps/RFC1751-encoding-decoding-master
- /opt/my-apps/mnemonic-hashes ...
If you make sure to seed the PRNG with randomness from the sound input, mouse movements, etc. before using anything crypto-related - maybe it will be ok.
There is a clipboard manager enabled by default:
If you run the OS from a hard drive - bad news. Your secrets you are copy/pasting are in cleartext on the hard drive (unless you use full disk encryption, including encrypted swap). And it's difficult to wipe the secrets, especially when the hard drive's firmware decided to mark the area as corrupted - it will not be deleted or overwritten with the usual disk wiping tools.
Since you are using the OS from an optical disk on a read-only optical device (not using it on a CD/DVD burner?) and there is no hard drive - nothing could go wrong, right? Or maybe not? If we assume there is no malware hidden in the BIOS/UEFI, inside the processor...
Please read the code of the randomness mixers before using them. Be skeptical to any BIP39 mnemonic generator, wallet generator, etc. Does it produce really random output? Or it's rigged in a way someone can abuse? Does it transmit the generated seeds and keys to the mothership?
For ideas how things could go wrong - read the README.md from the Doubleslow project.
Mostly my changes are installing dependencies of the crypto-tools I added in the /opt directory. I had difficulties with compiling software on the Puppy, so I compiled the software on my Ubuntu system ($ make
, $ python3 setup.py build
) and then installed it (i.e. # python3 setup.py install
) on the Puppy system. This way I installed VeraCrypt and the Python modules pynput
and argon2
.
I added a new entry in the isolinux.cfg
menu "without graphical desktop, do not copy in RAM". It's useful on old computers with low RAM.
I made changes in the keyboard settings in the text mode (Linux console) - with Ctrl+Shift a Bulgarian phonetic layout can be selected. The default is US layout.
I did not liked how xvcbd
beeps when keys are pressed (it's using the system speaker for this) and not showing cyrillic letters when I change the keyboard layout, so I installed onboard
(Gnome's onscreen keyboard). Virtual keyboards are useful to reduce the risk of keylogging attacks.
Your keyboard or BIOS/UEFI can be infected with a hardware or a software keylogger.
It's more difficult to steal secrets by recording the mouse movements than by recording the pressed keys on the physical keyboard.
The hypothetical malware can write your secrets on the memory of your USB devices in a way you can't read them, but the attacker can. This is why I suggest to avoid USB keyboards (you may accidentally attach the same keyboard on an online computer, and - it's_gone_meme.jpg - if we assume the malware on the online computer cooperate with the malware on the keyboard's controller).
On Cryptopup 12 I updated doubleslow
and Electrum
.
- Google Drive
- IPFS: QmPxVVpRp1VhJLtuJQkpYT7KgNn8bbdKkBhA1pGydewmNM
- IPFS gateways: localhost, 1, 2, 3, 4
- IPFS bafybeibbdvx33o6pukgspnkgge7z3izlj5x7ienko5uvwamokmt3fqw5ay Fleek, dweb
- Direct link to cryptopup_12-uefi.iso (bafybeib6eaaklnd4uco24o7exexjzyxi3u6d3jxshpvxceq3nnlh2ynw6m): Fleek, dweb
cryptopup_12-uefi.iso.sha512sum:
b755e5cd4f10ce1007930463b29c256de1fb831ac21d398b13c4857bb572932727038f2c5f67d51c9b38814c11132855aaaa40389b16ec3c2e292d4d7028df26 cryptopup_12-uefi.iso
For ideas how to use Cryptopup securely: How Jason Bourne Stores His Bitcoin in 2021