Live data from Hacker News

Ask HN: How Do You Maintain Security When Working Remotely?

news.ycombinator.com

11–20 of 55 posts

Re: Ask HN: How Do You Maintain Security When Working Remotely?

#11
The best approach here is multi-layered with each layer providing another level of protection.

The best way to think about it is to start with the protection of the end-user device, then work on protecting the access from that device to your external network, internal network etc and finally protection of 3rd party services you use as a company.

For the end-user device the important things are probably a secure password manager, full disk encryption, local firewall, antivirus, requiring a password to log in and locking the screen when you leave the machine.

We then move on to access to your external network (i.e. the user facing portion of your service which probably includes admin only tools). A good way to protect this is by requiring strong password + two factor authentication + access from a whitelisted range of IPs. The whitelisted range of IPs is either your VPN network or your network of ssh server hosts used as SOCKS proxy hosts.

To protect your internal network I think the best practice is to require all access to be via a limited set of bastion hosts again either over your VPN or over SSH.

Finally for all 3rd party services you should were possible require two factor auth be enabled and also educate your users on best practices around password strength etc.

Once you have all this setup the next layer is automated / human monitoring. This becomes easier if you require all elevated privilege access to happen via ssh socks proxies and bastion hosts because you can just implement monitoring of new /failed logins to those. You can the setup manual and automated rules to block users. For example, N failed logins block the source IP, login for an unexpected country manually disable the users public key until you verify it was them etc.

Overall the key idea is to help your users stay secure while still making it convenient for them to do there work.

Re: Ask HN: How Do You Maintain Security When Working Remotely?

#12

Having worked in an enviroment with people traveling all over the world to conferences, this has happened countless times, although it is much more likely something will be forgotten, or lost, rather than stolen when on the road. Nothing magical, and all common sense, just try to limit your exposure. Here is a quick list: - VPN (no split tunnel) - 2FA - loner laptop pool (with base OS and their presentation) - do not…

I guess the "forgotten" and "didn't think about it" part can't be underestimated. I work from coworking spaces and coffee shops in Asia. People do dev work and business related tasks from these places. The devs spin up servers and have databases with standard passwords exposed on the network. Sometimes they might have client or company data dumped into the DB's to work with. It's scary.

I agree with the above post--I can't even count all the times I've seen people bring in a corporate laptop (complete with an asset tag and call if lost sticker--that's just begging for theft attention) at a public coffee house left unattended. If you are going to bother using a VPN 2-factor token and privacy screen, please keep your laptop in your custody and view at all times. Ideally, work from a private executive or home office if you're a remote worker, or on-site at the company. If you must work at a coffee shop, please be sure you don't have PII easily accessible or valuable financial data waiting to be pried (that includes being on a VPN that can potentially have access to such data).

Re: Ask HN: How Do You Maintain Security When Working Remotely?

#13

Earlier quoted context omitted.

I guess the "forgotten" and "didn't think about it" part can't be underestimated. I work from coworking spaces and coffee shops in Asia. People do dev work and business related tasks from these places. The devs spin up servers and have databases with standard passwords exposed on the network. Sometimes they might have client or company data dumped into the DB's to work with. It's scary.

I agree with the above post--I can't even count all the times I've seen people bring in a corporate laptop (complete with an asset tag and call if lost sticker--that's just begging for theft attention) at a public coffee house left unattended. If you are going to bother using a VPN 2-factor token and privacy screen, please keep your laptop in your custody and view at all times. Ideally, work from a private executive…

re: "asset tag and call if lost sticker".

I think it's also a great idea to not have your user and hostname set to be "johnbigbucks@bestinvestconsulting" but something more generic or randomized. I use something like this to randomize my hostname.

  awk 'length==6' /usr/share/dict/words | grep -v '[^[:alpha:]]' | shuf -n 1 | tr '[:upper:]' '[:lower:]'

Re: Ask HN: How Do You Maintain Security When Working Remotely?

#14
I don't particularly have any security measures other than a secure password, full disk encryption and locking the screen after a few minutes. If you are taking a device outside of the office (e.g. to take home to work over the weekend) you should be using those anyway.

Pretty much all the services (even internal systems for staff only) I interact with are available publicly and have HTTPS, so using a VPN isn't really going to change much. Most of the company's (big multinational) chats happen over Skype, which is known to be monitored by governments so... :)

We don't deal with sensitive data like financial records or personal data, so there isn't really much to compromise. It's probably easier just to guess someone's password if you want to get access our systems as they are available publicly.

Re: Ask HN: How Do You Maintain Security When Working Remotely?

#17
I run a 2-3 person shop working on SAAS and iOS apps.

We don't use VPN, because most of the communication goes through HTTPS anyway (github, gmail). I just made sure that everyone has 2FA and strong passwords on key services.

Oh, and don't download user data to your machine.

Re: Ask HN: How Do You Maintain Security When Working Remotely?

#18
Can't speak for other OSes but OS X constantly phones home to Cupertino, sometimes not even using encryption, thus leaking data when you're booked into a public Wifi.

I literally spent weeks last year grepping the entire Mavericks base installation for hardcoded URLs, domain names and IP addresses and setting up entries in /etc/hosts and NAT rules to hardwire that stuff to 127.0.0.1. I also had to disable lots of LaunchServices/Agents to get the OS to shut up. Can put this up on Github if there is interest. It's only for Mavericks though, couldn't be bothered to upgrade to Yosemite as long as there are security updates for Mavericks.

Oh and another thing a lot of people don't know: The OS stores Wifi passwords in EFI boot variables. This is used for Internet Recovery. So if your device is stolen or just lent to someone else, consider your Wifi passwords compromised, regardless if the disk was encrypted.

Re: Ask HN: How Do You Maintain Security When Working Remotely?

#19

Can't speak for other OSes but OS X constantly phones home to Cupertino, sometimes not even using encryption, thus leaking data when you're booked into a public Wifi. I literally spent weeks last year grepping the entire Mavericks base installation for hardcoded URLs, domain names and IP addresses and setting up entries in /etc/hosts and NAT rules to hardwire that stuff to 127.0.0.1. I also had to disable lots of Lau…

I'd certainly be interested.
Post reply on HN