Bitcoin Forum
May 10, 2024, 01:20:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Introduce EROAS Electrum wallet running from USB drive securely and conveniently  (Read 192 times)
julian_sun (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 1


View Profile
November 03, 2020, 07:00:53 PM
Merited by ABCbits (1)
 #1

I bought some bitcoins and quickly realized the responsibility of being own banker.  I found existing solutions are either complex, costly or need to trust someone else.  So I rolled my sleeves and come up with EROAS, Electrum running on a stick (USB) ( https://github.com/monkey-jsun/eroas)

The system is secure
  • Immutable ISO system image with no root user or sudoer
  • Firewall is configured to allow only minimum outgoing ports/IPs
  • Multi-layer encryption (encrypted file system and wallet file)
I personally also use fingerprint-protected USB drive for additional protection.

It is simple to use.
  • It does depend on interfere with your normal PC. Everything, including OS, apps and data, are self-contained from USB drive.
  • It runs Electrum directly online for transactions.  No split transaction type hassles.

Check it out!
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715304033
Hero Member
*
Offline Offline

Posts: 1715304033

View Profile Personal Message (Offline)

Ignore
1715304033
Reply with quote  #2

1715304033
Report to moderator
1715304033
Hero Member
*
Offline Offline

Posts: 1715304033

View Profile Personal Message (Offline)

Ignore
1715304033
Reply with quote  #2

1715304033
Report to moderator
dkbit98
Legendary
*
Offline Offline

Activity: 2226
Merit: 7147



View Profile WWW
November 04, 2020, 01:56:27 PM
 #2

Whats the difference if I just use regular Electrum wallet installed on my own USB linux OS?


I personally also use fingerprint-protected USB drive for additional protection.

I would never use this.
Just imagine how many things you touch with your fingers every day.
Fingerprint is something anyone can duplicate very easy, and I don't consider this to be better security.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
November 04, 2020, 04:22:15 PM
 #3

I wouldn't trust any project from someone who has typos in the readme file.

The idea itself definitely is better than a regular software wallet on an online pc, but it lacks protection in an evil maid scenario compared to a hardware wallet.
It's a nice idea, but i doubt anyone will check the code to actually use it. The advantages are too small compared to a self-made bootable USB.

igor72
Legendary
*
Offline Offline

Activity: 1834
Merit: 2019


Crypto Swap Exchange


View Profile
November 04, 2020, 08:42:49 PM
 #4

I would prefer Tails.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6382


Looking for campaign manager? Contact icopress!


View Profile
November 05, 2020, 08:30:22 AM
 #5

I would prefer Tails.

Exactly. What makes this EROAS better than the already established Tails OS that already has Electrum on it (or you can install yours) and has passed the test of time?
From what I've seen until now EROAS would run on smaller stick than Tails. On the other hand Tails has more apps pre-installed (which may or may not be useful). Anything else?

I don't mean to "attack" this project. I would indeed like to see a proper comparison between the two. It could actually help this project (else it would be a shame for the time invested in it)

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
julian_sun (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 1


View Profile
November 15, 2020, 06:49:12 AM
Last edit: November 15, 2020, 04:30:27 PM by julian_sun
 #6

I would prefer Tails.

Exactly. What makes this EROAS better than the already established Tails OS that already has Electrum on it (or you can install yours) and has passed the test of time?
From what I've seen until now EROAS would run on smaller stick than Tails. On the other hand Tails has more apps pre-installed (which may or may not be useful). Anything else?

I don't mean to "attack" this project. I would indeed like to see a proper comparison between the two. It could actually help this project (else it would be a shame for the time invested in it)

For some reason I never received notifications for the follow-up responses.  Sorry for the late responses here.

Here is a quick recap of EROAS vs TailOS+Electrum on USB: (disclaimer: I have not used TailOS.  But I read about it and extrapolated certain points from there)

  • EROAS only allows /home directory persistency, while I believe TailOS allows / level persistent changes.
  • EROAS does not have root user or any sudoer.  So unless there is a bug in system software, there is no way to modify system settings (including firewalls)
  • EROAS stores electrum data file in cryptomount encrypted partitions, offering an additional of security (e.g. in the case when someone obtained your USB drive)
  • Strict firewalling.  Only outgoing DNS port is open, plus a couple of more depending on the networking mode you choose.  For example, in Tor mode, port 9001 is also open.  And that is it.

For a competent hacker, one can set up all above with TailOS and exercise caution during normal usage.  EROAS basically reduces the OS to a bare minimum running only Electrum, and also makes it impossible to alternate or deviate from that.

I was able to manually do all above by myself.  However, my friends cannot easily do that.  Also, I don't trust myself doing the right thing all the time and trust my system is immune from any attacks.  Make root partition non-modifiable persistently gives me a lot of comfort.  Same goes with cryptomount partition and fingerprint protected USB drive.  They are additional layers of security.  That was my motivation to actually clean the code up and share with others.
julian_sun (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 1


View Profile
November 15, 2020, 07:03:31 AM
 #7

Any reason you chose to use Ubuntu 20.04 as "base" OS rather than other linux distro aimed for security/privacy such Tails?

Well, the main reason is that I found an excellent document on how to make bootable USB, and it uses Ubuntu. Smiley  The project is at https://github.com/mvallim/live-custom-ubuntu-from-scratch.  I ended up contributing back my script to that project as well.

Given the end state where EROAS does not have / level persistency, no root user, etc, I personally feel secure enough to store my own money there.  But I will probably take another look of Tails later. 

Is there a good link on make bootable USB with Tails?
julian_sun (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 1


View Profile
November 15, 2020, 07:10:21 AM
 #8

I wouldn't trust any project from someone who has typos in the readme file.

The idea itself definitely is better than a regular software wallet on an online pc, but it lacks protection in an evil maid scenario compared to a hardware wallet.
It's a nice idea, but i doubt anyone will check the code to actually use it. The advantages are too small compared to a self-made bootable USB.

Let us see - an evil maid would have all 4 things together to steal my money
  • Have my usb drive (easy)
  • Fake my fingerprint to unlock USB (doable with strong will)
  • Know the password of cryptomount partition (hmm, probably get me drunk?)
  • Know the password to my wallets (same as above)

Not sure how hardware wallet would fair better here?

BTW, what is the typo in my README?  Would really appreciate your pointing it out.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
November 15, 2020, 12:02:12 PM
 #9

Let us see - an evil maid would have all 4 things together to steal my money
  • Have my usb drive (easy)
  • Fake my fingerprint to unlock USB (doable with strong will)
  • Know the password of cryptomount partition (hmm, probably get me drunk?)
  • Know the password to my wallets (same as above)

Not sure how hardware wallet would fair better here?

The thing is, an evil maid wouldn't even need these things to compromise your wallet setup.
It would be enough to have hardware access to your computer used. That's more than enough to compromise your wallet and to exfiltrate the secret data even without network access.

While a hardware wallet also doesn't provide perfect security against evil maid scenarios (at least one concrete scenario to steal the coins is possible with hardware access to the hardware wallet and the computer), it provides more security.



BTW, what is the typo in my README?  Would really appreciate your pointing it out.

Here:

Networking modes:

EROAS supports 4 networking modes:

    Connect to Electrum open network directly (default)
    Use Tor to connect to Electrum open netowrk for privacy

And further, i wouldn't call it "warm wallet". The term you are looking for is hot wallet:

EROAS stands for "Electrum Running On A Stick". It runs Electrum wallet, the best open source bitcoin wallet, on cheap USB drives, with cold-wallet level security and warm-wallet like convenience.

julian_sun (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 1


View Profile
November 15, 2020, 04:26:49 PM
 #10

The thing is, an evil maid wouldn't even need these things to compromise your wallet setup.
It would be enough to have hardware access to your computer used. That's more than enough to compromise your wallet and to exfiltrate the secret data even without network access.

That is fascinating.  How can an affected host (presumably a persistent attack) get USB live OS sessions exposed? Can you elaborate more or paste some pointers?
 
While a hardware wallet also doesn't provide perfect security against evil maid scenarios (at least one concrete scenario to steal the coins is possible with hardware access to the hardware wallet and the computer), it provides more security.

I looked into HW wallet before I rolled my sleeves on EROAS.  There were a couple of things that stopped me from going down that path:

  • Most of them use PC to upgraded the wallet firmware.  That is my biggest concern.  If you leave a door, hacker can and will get in.  And the wallet software is squarely targeted.
  • A lot of them (majority?) don't open source the software and hardware, which makes biz sense but makes me nervous
  • Just wanted some fun in hacking  Grin

BTW, thanks for pointing out the typos.  Really appreciate it.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!