Live data from Hacker News

How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

blog.lessonslearned.org

91–100 of 179 posts

Re: How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

#91
I'm not sure how much extra "security" you're really getting out of staying strictly within ChromeOS. Yes, Secure Boot is disabled. However, the ChromeOS partition is still encrypted, and you can manually encrypt any of your crouton chroot environments, so someone looking at the thing still wouldn't be able to peek into the contents. If you're asked, "Why is this in Developer Mode?", you can answer, "I'm a developer."

Additionally, once Developer Mode is enabled, you must hit Ctrl+D to move past the warning screen every time. It is incredibly easy to inadvertently hit Enter or Spacebar, and then have the Chromebook wipe itself and restore to factory settings. I've done it inadvertently myself, and have heard multiple reports of a developer's spouse/child accidentally clicking it, too. Unless a Border Patrol agent knew exactly what they were doing, I'd be willing to bet they'd accidentally wipe it as well.

Finally, while I'm aware that disabling Secure Boot in theory opens you up to an Evil Maid attack, what is the likelihood that border patrol/customs would have a malicious OS on hand, and the know-how to flash it? Worst -case scenario, if you suspect they've tampered with the OS, simply hit Spacebar yourself as soon as you get it back, restore Secure Boot, and then start over from scratch!

As an aside, if you are confined to ChromeOS, I highly recommend Caret as an editor. It's a FOSS, Sublime clone chrome app that works swimmingly on Chromebooks.

Re: How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

#92
post #65

I've been running the Chromebook Pixel 2015 as my primary dev machine since it came out. Unlike the author however, I've opted for the less-secure "dev mode" on the laptop, and do everything in crouton. (Java web / Android, mostly). It may not be as secure, but it's hella convenient (still use 2FA). ChromeOS boot is Everything important on the laptop is backed up to some cloud service or another, but it's expensive e…

I've been doing the same thing, but as I work with Docker often I had to waste a bunch of time compiling a custom kernel[0], which I ended up trashing after about a week because who cares?

Instead, I just have my Chromebook and a VPC on Google Cloud that I SSH into for work. Theoretically I wouldn't be able to work if I didn't have internet access, but I've never actually run into that problem. I still have dev mode off, but I don't think turning it on is a huge risk.

Steam games though? I didn't know you could do that.

[0]: https://gist.github.com/christianbundy/ba62890a7c2f8128bcbb

Re: How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

#93
post #57

One of the BIGGEST drawbacks using a Chromebook with 11.6 inch screen that nobody here talks about yet, is the grainy and crappy 1366 x 768 screen resolution! I've been a long time Macs guy anything inferior than RetinaDisplay will considerably straining my eyes before I am used to it. Dell XPS 13 included.

1366 x 768 can look quite sharp on an 11". You were probably just looking at a bad screen.

AFAICT the reason than even expensive 11" laptops generally don't run higher resolutions is that at that size you can't tell the difference.

Re: How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

#94

I have a potential application for a U2F keys and I'm wondering why you recommend the $18 Yubikey on Amazon versus the $10 one that is also FIDO certified. Is there a difference in the function or some other important difference?

I have a cheap HyperFIDO from a company in British Columbia. https://www.hypersecu.com/products/hyperfido/

Works the same as my $18 Yubi key but the little cover over the USB prongs keeps falling off...

Re: How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

#95
post #65

I've been running the Chromebook Pixel 2015 as my primary dev machine since it came out. Unlike the author however, I've opted for the less-secure "dev mode" on the laptop, and do everything in crouton. (Java web / Android, mostly). It may not be as secure, but it's hella convenient (still use 2FA). ChromeOS boot is Everything important on the laptop is backed up to some cloud service or another, but it's expensive e…

I've been doing the same thing, but as I work with Docker often I had to waste a bunch of time compiling a custom kernel[0], which I ended up trashing after about a week because who cares? Instead, I just have my Chromebook and a VPC on Google Cloud that I SSH into for work. Theoretically I wouldn't be able to work if I didn't have internet access, but I've never actually run into that problem. I still have dev mode…

Awesome link, thanks! Docker is actually the one thing I was never able to get working properly in my chroot!

Re: Steam games, yup it's powerful enough to run most indie games that support linux (which is an increasing number, recently). The biggest constraints are GPU and disk space. I've had a few good runs of FTL (Faster than Light) on long-haul flights.

You just gotta make sure you keep an eye on the battery, since if it dies you accidentally wipe the system :/

Re: How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

#96
post #49

> When things get completely borked (which in two weeks of heavy use only happened a couple of times for me) how are people willing to live with this? I would be furious if I had to lose all my state and (for all intents and purposes) restart my machine multiple times in two weeks. And if this "borking" happens right before or during a presentation (the author was writing about using this setup for giving talks on),…

I reboot my laptop every day. I shut it down at night. It's all in what you're used to doing. There's no particular inconvenience, though it can seem that way if you're disorganized and don't ever close anything for fear of losing your place.

Re: How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

#97
post #49

> When things get completely borked (which in two weeks of heavy use only happened a couple of times for me) how are people willing to live with this? I would be furious if I had to lose all my state and (for all intents and purposes) restart my machine multiple times in two weeks. And if this "borking" happens right before or during a presentation (the author was writing about using this setup for giving talks on),…

>Just pure solid Does that actually exist?

You can get pretty close.

I've got three machines that I use regularly.

1) Mid-2010 MacBook Pro, with RAM and SSD upgrades. This is my main machine at home. It has never had to be wiped and reinstalled, and it gets rebooted about once a month.

2) Late-2013 MacBook Pro. This is my work machine and the story is similar to my home machine. It's never needed a reinstall and gets rebooted about once a month as well.

3) Lenovo ThinkPad x131e (Intel). This is my travel computer, serving a similar purpose as the Chromebook mentioned in this article (minus presenting stuff). I'm running OpenSUSE Tumbleweed on this - frequent updates lead to frequent reboots. There's also all the associated weirdness that comes with running a rolling release Linux on a machine that requires proprietary WiFi drivers (they tend to lag by a couple of days). When I ran OpenSUSE Leap it was almost as solid as the Macs.

I'd call the Macs "pure solid" machines, or as close as I can reasonably get. The ThinkPad is decent and the weirdness with it is really my fault.

Like everything else, your experience may vary.

Re: How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

#98

I'm not sure how much extra "security" you're really getting out of staying strictly within ChromeOS. Yes, Secure Boot is disabled. However, the ChromeOS partition is still encrypted, and you can manually encrypt any of your crouton chroot environments, so someone looking at the thing still wouldn't be able to peek into the contents. If you're asked, "Why is this in Developer Mode?", you can answer, "I'm a developer.…

Link to Caret Text Editor https://chrome.google.com/webstore/detail/caret/fljalecfjcio...

In doesn't show up in Chrome Extensions search as easily as I would hope.

Re: How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

#99
The chromeos security model praised in this article seems quite too conservative for devs to me, considering the inconvenience trade-offs:

- persistent state is discouraged, but not disallowed. in fact, when the browser is exploited, any/all internal state necessarily must be be accessable and modifiable. i'm taking an educated guess that persistent browser internal state is less guarded against exploitation than external inputs.

- once pwned, most of your important data can probably be captured and accounts taken over before you ever decide to reboot. it's a PITA to have to reboot before accessing anything sensitive; no one should have to think/remember to do that. (maybe if chromeos were serious about preventing persistent threats, they'd force a reboot every night?)

- yes, it's defense-in-depth, but security is a game of trade-offs, where convenience often trumps technical security mechanisms in terms of increasing security overall.

I enable dev mode, but I appreciate the "stateless" sentiment in terms of encouraging data backup. i think I end up backing up my data (git push, etc.) more often than I would on a non-chromeos laptop, because it "feels" like more a necessity; especially after my 2 yr-old son hit the spacebar during that god-awful dev-mode bootup warning screen, and proceeded to factory-reset my chromebook.

Re: How Chrome OS, Termux, YubiKey and Duo Mobile make for great usable security

#100
As a side point about Termux, Android 7 finally stopped hijacking the control+space combination, so you can use emacs efficiently.

Termux is really useful, giving you an almost complete linux environment in Android phones and tablets. You can install it via Google Play, no need for root or any modification to your device. Add an external keyboard and you can work on the go.

Post reply on HN