News for hackers. Stuff that matters.
Re:Engineering Dropbox Transfer: Making simple even simpler by dguido on Friday June 26, 2020 @02:54PM (#23655572)
Firefox Send, SendSafely, and Magic Wormhole are all end-to-end encrypted.

https://send.firefox.com/

https://www.sendsafely.com/

https://github.com/warner/magic-wormhole

https://webwormhole.io/ (magic wormhole over WebRTC!)

This seems like table-stakes for a modern file transfer system. Accepting unencrypted files and storing them temporarily in the clear on your own servers seems like it only introduces tons of additional risks without much gain.

Re:Engineering Dropbox Transfer: Making simple even simpler by greenbush on Friday June 26, 2020 @09:02PM (#23658663)
I've been using croc for a few months and it works perfectly: https://github.com/schollz/croc . End to end encryption, command line only, and claims to be "faster than wormhole, rsync, scp through compression and multiplexing (speedups 1.5x to 4x)".
Re:Engineering Dropbox Transfer: Making simple even simpler by terrywang on Friday June 26, 2020 @11:55PM (#23659407)
I've been using croc (as alternative for for a while, it's fast and reliable. Personally I think it's better than magic-wormhole in the way that it can be statically linked as a standalone Go binary which is easier to distribute in an environment that one does not have root / administrator priviledge, especially when one has to use a Windows machine with domain/AD login but not a member of local Administrators...
Re:Engineering Dropbox Transfer: Making simple even simpler by psanford on Saturday June 27, 2020 @12:17PM (#23662696)
Just FYI, there's a go implementation of magic-wormhole that satisfies the requirements you've listed: https://github.com/psanford/wormhole-william
Re:Engineering Dropbox Transfer: Making simple even simpler by cryo on Friday June 26, 2020 @05:53PM (#23657474)
cryo a new file manager also supports end-to-end encrypted file transfers.

https://cryonet.io

For confidential content OnionShare is another good option.

https://onionshare.org/

Re:Engineering Dropbox Transfer: Making simple even simpler by zaroth on Friday June 26, 2020 @05:12PM (#23657105)
If I might ask a lazy question - do any of these work with basic (e.g easily available on a lightweight container) command line tools on the terminal? I assume not since they must all be Javascript-based.
Re:Engineering Dropbox Transfer: Making simple even simpler by pezdeath on Friday June 26, 2020 @05:21PM (#23657189)
Re:Engineering Dropbox Transfer: Making simple even simpler by timvisee on Friday June 26, 2020 @06:08PM (#23657620)
Thanks for linking, dev here. Yes, perfectly usable for automation!
Re:Engineering Dropbox Transfer: Making simple even simpler by prakis on Saturday June 27, 2020 @03:25AM (#23660110)
ffsend excellent tool. Ffsend is inspiration for me to make 'ele'

https://github.com/prakis/helloele

Ele is a command line tool works with your own cloud. Main difference from ffsend and other cmd tools is no need to share links, files are referred by file-indexes.

Re:Engineering Dropbox Transfer: Making simple even simpler by timvisee on Saturday June 27, 2020 @04:04AM (#23660263)
Sounds cool! Will check it out later today.
Re:Engineering Dropbox Transfer: Making simple even simpler by ColanR on Friday June 26, 2020 @05:27PM (#23657259)
magic wormhole is a command line tool.
Re:Engineering Dropbox Transfer: Making simple even simpler by zaroth on Friday June 26, 2020 @07:24PM (#23658147)
Neat tool. Just read the documentation, for others interested, it is a command line tool where you enter a send command on one machine, it generates a 16-bit one time code, then you type a receive command on another machine (which includes the one-time code) which is used to negotiate a strong shared key that is then used to transfer the file.

The initial handshake uses the 16-bit code with an interactive PAKE algorithm to generate a shared key. An attacker would need to MITM the initial connection and guess the one time code on their first guess. So this gives a network privileged attacker a 1-in-65k chance of breaking into the connection, or if they fail you would see an error message on the sender side. Offline attacks on the one-time code are not possible.

The pre-built program uses a hard-coded server for assisting in making the network connection in order to setup the initial connection (discovery, key negotiation) as well as a TURN server to assist in the file transfer. You can setup and use your own servers for discovery and transit with command line arguments.

Looks like this;

  % wormhole send README.md
  Sending 7924 byte file named 'README.md'
  On the other computer, please run: wormhole receive
  Wormhole code is: 7-crossover-clockwork
 
  Sending (<-10.0.1.43:58988)..
  100%|=========================| 7.92K/7.92K [00:00<00:00, 6.02MB/s]
  File sent.. waiting for confirmation
  Confirmation received. Transfer complete.
And on the receiver side;

  % wormhole receive
  Enter receive wormhole code: 7-crossover-clockwork
  Receiving file (7924 bytes) into: README.md
  ok? (y/n): y
  Receiving (->tcp:10.0.1.43:58986)..
  100%|===========================| 7.92K/7.92K [00:00<00:00, 120KB/s]
  Received file written to README.md
I believe the "7" in the wormhole code is what's used so that the two peers can find each other when connecting to the "Rendezvous Server" which forwards messages between the two machines to facilitate the key generation.
Re:Engineering Dropbox Transfer: Making simple even simpler by psanford on Friday June 26, 2020 @10:34PM (#23659070)
Very nice summary!
Re:Engineering Dropbox Transfer: Making simple even simpler by nicksundin on Friday June 26, 2020 @07:38PM (#23658218)
Dropbox Transfer follows the same encryption protocols as the rest of Dropbox. While at rest, all Dropbox files are encrypted, but end to end encryption would severely limit the functionality of heavily used features like previews and search.

We're always looking to improve and certainly open to suggestions (we have a feedback form on the Transfer page just for these kind of suggestions that the Transfer team actively monitors!).

Re:Engineering Dropbox Transfer: Making simple even simpler by cryo on Friday June 26, 2020 @09:06PM (#23658686)
Not using end to end encryption for personal files in 2020 is fail by design. It's not only a problem that people at Dropbox can read the content, numerous data breaches have shown that this is not a good choice and never will be.

The sad truth is that users usually don't understand the implications until it's too late.

Features like search and preview can be implemented at the client side as well and synchronized between trusted peers. This might be harder to do but it's possible.

Please don't get me wrong, I admire the technological achievements done at Dropbox and their excellent engineers. But sooner or later they need to switch to a secure model as more and more people gain awareness of the security and privacy implications.

Re:Engineering Dropbox Transfer: Making simple even simpler by windthrown on Saturday June 27, 2020 @12:51AM (#23659592)
Tresorit Send is another good end-to-end encrypted option (free, files up to 5GB):

https://send.tresorit.com/