Slashdot Mirror


Ask Slashdot: How Would You Implement Site-Wide File Encryption?

Recently-leaked CIA documents prove that encryption works, according to the Associated Press. But how should sys-admins implement site-wide file encryption? Very-long-time Slashdot reader Pig Hogger writes: If you decide to implement server-level encryption across all your servers, how do you manage the necessary keys/passwords/passphrases to insure that you have both maximum uptime (you can access your data if you need to reboot your servers), yet that the keys cannot be compromised... What are established practices to address this issue?
Keep in mind that you can't change your password once the server's been seized, bringing up the issue of how many people know that password. Or is there a better solution? Share you suggestions and experiences in the comments. How would you implement site-wide file encryption?

83 of 151 comments (clear)

  1. Virtual Private Raid by Zemran · · Score: 2, Interesting

    I wish that someone would develop a version of raid for use with servers. Have 3 VPSs in Switzerland, Russia and Holland and each one gets only a 3rd of each file. The chances of any government seizing all 3 is zero.

    --
    I love stacking my barbecues in the shed at the end of summer - you can't beat a bit of grill on grill action.
    1. Re: Virtual Private Raid by Anonymous Coward · · Score: 1

      But the chance of losing your data is triple.

    2. Re:Virtual Private Raid by djsmiley · · Score: 1

      However the chances of your kneecaps giving way is very high.

      --
      - http://www.milkme.co.uk
    3. Re:Virtual Private Raid by Anonymous Coward · · Score: 1

      Hmm...
      3x Linux Network Block Devices through device mapper
      1 RAID-0 array through the device mapper with nbd members
      Make an ext4 filesystem...
      Let's see:
      # mount /dev/md4 /mnt/vpraid
      # ls -a /mnt/vpraid
      . .. lost+found

      It works, so I think it already exists. Personally I'd probably use RAID-5 or RAID-6 if I wanted to use this regularly.

    4. Re: Virtual Private Raid by Zemran · · Score: 2

      It can be RAID as high as you like as RAID 10 could still be hosted on 3 servers. The idea is to make any one site irrelevant but the data secure.

      --
      I love stacking my barbecues in the shed at the end of summer - you can't beat a bit of grill on grill action.
    5. Re: Virtual Private Raid by Anonymous Coward · · Score: 1

      How do you ensure you are not being keylogged when you enter the passphrase on reboot?

    6. Re: Virtual Private Raid by flargleblarg · · Score: 3

      But the chance of losing your data is triple.

      I was about to say, "That's not how probability works!" but it turns out that you are actually correct.

      If each site has a 1% chance of being seized, then it means each site has a 99% chance of not being seized. Multiplying these probabilities together gives .99^3 = .970299 or about a 97.03% chance that no site will be seized — which means that you've got about a 3% chance of having one or more site seized.

      The key here is that 1 – (1 – x)^3 is very close to 3x for small x.

    7. Re:Virtual Private Raid by Anonymous Coward · · Score: 4, Informative

      I wish that someone would develop a version of raid for use with servers. Have 3 VPSs in Switzerland, Russia and Holland and each one gets only a 3rd of each file. The chances of any government seizing all 3 is zero.

      GlusterFS supports striping across volumes that can be hosted on different servers: https://gluster.readthedocs.io/en/latest/Quick-Start-Guide/Architecture/

    8. Re: Virtual Private Raid by macsimcon6500 · · Score: 1

      It's called vSphere. Learn about it.

    9. Re: Virtual Private Raid by fluffernutter · · Score: 2

      That can end badly unless you are very, very careful. At the least you need a battery backup so the raid can write out in the event of a power outage. I had my mdadm raid kick a drive out of the array when another one failed and it couldn't be brought back in again. Fortunately I was able to revive the drive and get back all but a handful of files but it was scary enough that I wouldn't use software raid again. Hardware raid is worrisome because you need to be able to purchase the same hardware you had before so not wise to do without a support contract.

      --
      Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    10. Re: Virtual Private Raid by Thor+Ablestar · · Score: 2

      1. You could boot the system from the flash drive that is removed after boot. The part of the key resides on the same flash, the second part is entered. It's quite possible to do, at least for FreeBSD. THEY need both a keylogger in a keyboard or bios and a seizure of the boot flash. Additionally there is no place on the disk where THEY could implant a child pornography if THEIR other efforts fail.
      2. You could setup the security system that signals the systems to erase the keys and shutdown on intrusion so you can be sure that your keyboard is not compromised after you buy it.
      3. I've read somewhere (maybe on Slashdot or Habrahabr.ru) that there exists an open source utility to check the authenticity of your BIOS. So BIOS keyloggers can also be caught.

    11. Re:Virtual Private Raid by ckatko · · Score: 2

      I used to run a secure, encrypted server... until I took an arrow to the knee...

    12. Re: Virtual Private Raid by AmiMoJo · · Score: 1

      The best way to secure the BIOS:

      1. Remove BIOS chip and discard
      2. Burn your own BIOS chip
      3. Enable write protect if available
      4. Physically remove the write enable pin, or even better apply high voltage until the FET fails
      5. Replace chip and test
      6. Glue chip into motherboard

      You have to make sure you have a CPU without backdoor features though, or sabotage them somehow.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    13. Re: Virtual Private Raid by dougdonovan · · Score: 1

      RAID5 may help...agreed.

    14. Re:Virtual Private Raid by GameboyRMH · · Score: 3, Informative

      Sounds like Tahoe-LAFS.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    15. Re:Virtual Private Raid by PhunkySchtuff · · Score: 2

      What you want for this is some variation on Shamir's Secret Sharing algorithm. Yes, he's the Shamir in RSA.
      https://en.wikipedia.org/wiki/...
      What this does is break a secret up into n different parts, but unlike raid, you can break it up in such a way that there is a threshold for the number of parts required to reconstruct the secret. So, for example, you could break a secret up into 6 parts and specify that any 4 parts will reconstruct the original data. If you have only 3 parts, then the secret is completely unknown (not just partially known).

    16. Re: Virtual Private Raid by fluffernutter · · Score: 1

      Hardware raid usually comes with cache batteries built in so I didn't feel it worth mentioning.

      --
      Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    17. Re:Virtual Private Raid by buss_error · · Score: 1

      In the SAN/NAS world, this is called bay redundancy. A few vendors have geo separation options that would meet your criteria, but network latency would be a factor just as it is with layer 2 tunneling.
      Openstack SWIFT has something via zones, but the complete copy is present on all three redundancy nodes as it's mirroring so that's not what you want unless you use a disk adapter that supports encryption, but that's still the full copy in one place.
      However, you can also set up DRBD with this, but the encryption is at the file system, not file, level. EG: Each file is encrypted with the same key/passphrase.

      I would suggest looking into madm and jacking in something at the scsi device level to drive encryption.

      The chances of any government seizing all 3 is zero.
      With RAID 5, they only need two of the three, not all three.

      Also look to see if someone would be willing to be your encryption key escrow along the lines of a National Security Letter canary site. If they remove the post they have not received an NSL or a warrant, have another system that monitors that page delete the key.

      The best course is to not be on the radar of law enforcement in the first place. EG: they can't seize what they don't know exists. There are many ways to hide things as small as encryption keys. DNS data exfiltration for the retrieval, using a inode marked in use but with a null directory entry, hiding it in a NVAM area, using RAID 5 with USB keys and split the custody of the USB drive, a HSM (be aware that any made in the USA or for a company in the USA will very likely have back doors), and many others.

      --
      Necessity is the plea for every infringement of human freedom. It is the argument of tyrants; it is the creed of slaves.
    18. Re:Virtual Private Raid by rtb61 · · Score: 1

      Would it not be simpler just to go with parrallel networks. One purely internal with all data secured and encrypted and the other open to the internet for internet communications. The secure network has only one point of digital data input, by network security staff. Who take in new data, scan and validate it, prior to loading onto the internal secure network. Smart terminals on the secure network with only manual data input, no possibility of adding data digitally to the secure network.

      The comms network open to the internet, meh, who cares (just needs to be set up so it can be rebuilt quickly and easily. Need banking access via computer, than that is all that computer does, nothing else what so ever and physically disconnected from the network when not it use.

      If it does not absolutely need to be connected to the internet, do not connect it. If it does need to be connected to the internet make sure it only does what it needs to do with that internet connection, do not use it for anything else. Fuck the cloud. Want secure, sneaker net, locked doors and physically restricted access are the only way to go. To secure digital infrastructure you must try to force direct physical access, safer for you and enormously harder and more riskier for them. Never forget your third network an alarmed honey pot, they will always look for the easiest way in and that should always be a honey pot so you can know when you are being targeted.

      --
      Chaos - everything, everywhere, everywhen
    19. Re:Virtual Private Raid by shatteredsilicon · · Score: 1

      This already exists. It is called "dispersed storage", and is developed by a company called Cleversafe (which has since, IIRC, been bought by IBM. Version 1.x was open source and you can still get the source from here: https://fossies.org/linux/misc... (the dsnet-* archives).

    20. Re:Virtual Private Raid by jeek · · Score: 1

      I think this is a major part of TAHOE-LAFS. https://tahoe-lafs.org/trac/ta...

      Tahoe-LAFS is a system that helps you to store files. You run a client program on your computer, which talks to one or more storage servers on other computers. When you tell your client to store a file, it will encrypt that file, encode it into multiple pieces, then spread those pieces out among multiple servers. The pieces are all encrypted and protected against modifications. Later, when you ask your client to retrieve the file, it will find the necessary pieces, make sure they haven't been corrupted, reassemble them, and decrypt the result.

      --
      If you want to be seen, stand up. If you want to be heard, speak up. If you want to be respected, sit down and shut up.
    21. Re:Virtual Private Raid by budgenator · · Score: 1

      It's not hugely hard, all of the code is out there, just graft the raid-5 code onto XtreemFS, throw some money there way and they may even do it for you.

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
    22. Re:Virtual Private Raid by GameboyRMH · · Score: 1

      Tahoe-LAFS can be configured to distribute data in a RAID-0-like manner such that there is no redundancy.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    23. Re: Virtual Private Raid by nullchar · · Score: 1

      But the chance of losing your data is triple.

      [because] each one gets only a 3rd of each file

      I think the meaning was if you spread your data across 3 nodes, but you need 3/3 nodes to access the data then the chance of losing all your data is times three.

      If you used a parity system like RAID 5 across 3 nodes, then you could lose 1 node but still access your data. Losing 2 or more nodes means all data is lost, but also means the party performing the seizure needs 2/3 servers to recover the data.

  2. Full Spectrum Problem by packrat0x · · Score: 3, Insightful

    The choices include encrypting files (tar/gz/bz archives), directories, whole user directories, whole physical volumes, whole logical volumes, etc. One large enrypted volume means single point of failure: One key/password gives access to every file. More divisions means more keys/passwords, but less access if one is compromised. Therefore, server level encryption is appropriate if one person is responsible for the entire contents on the server(s).

    --
    227-3517
    1. Re:Full Spectrum Problem by currently_awake · · Score: 2

      Ensure that ONLY the users of the data have the keys, with all encryption/decryption done on the users computer. If the users computer is compromised they already have full access, but there is no reason to give the server farm maintainers access. Have different keys for each user of the system. A shared drive/folder with shared keys can allow easy file transfers between users, because if you don't make it easy they will use sneakernet or email to transfer unencrypted files.

    2. Re:Full Spectrum Problem by Thor+Ablestar · · Score: 1

      What about immediate shutdown on tamper?

    3. Re:Full Spectrum Problem by Pig+Hogger · · Score: 2

      I’ve been thinking about a “tilt” switch for servers; as soon as you move the server, bang! it shuts down at once.

    4. Re:Full Spectrum Problem by AmiMoJo · · Score: 1

      Many servers have a case open switch already. Combine with a script that triggers when USB devices are connected.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    5. Re:Full Spectrum Problem by Ramze · · Score: 1

      With DDR3, one used to be able to read the RAM within about 15 minutes of shutting off a PC. DDR4 took that down to only a few seconds to where it's not really practical anymore (as if immediately moving RAM sticks to a machine to analyze them and figure out which bits are the encryption keys was ever very practical). Each time they increase the speed and lower the voltage, the possibility of using this as an exploit goes down exponentially as the power leaks out of the cells too quickly.

      It may fire back up as an issue with future RAM replacements like memristers, though.

    6. Re: Full Spectrum Problem by valdezjuan · · Score: 1

      About your ddr4 comment:

      https://web.eecs.umich.edu/~taustin/papers/HPCA17-coldboot.pdf

    7. Re: Full Spectrum Problem by Aaron+B+Lingwood · · Score: 2

      Usb devices? The os, and therefore you, decides what happens when usb devices connect.

      Nope. USB operates at a lower level than the OS. USB is capable of talking to other pieces of hardware without the OS's involvement (or knowledge). USB even has Direct Memory Access.

      Usb is not a magic backdoor, unless your os is seriously flawed.

      Yes it is. Many OSes even cooperate by providing APIs for forensic/diagnostic/recovery tools that operate via USB.

      Most oses will not autoexec something on an usb stick, for example.

      Most oses will not autoexec something on a valid USB stick. The BIOS will though. And just because something is connected via USB doesn't mean it has to tell the truth about what it is. The stick could present as a drive AND a keyboard, with the keyboard inputting commands to run a file on the drive.

      The USB can be used to dump memory (and keys) using various methods, the simplest but least effective method is the Cold Boot Attack. DMA Attacks have become more straightforward with USB 3.1 as the controller now has DMA instead of just the PCI it is connected to.

      --
      [Rent This Space]
  3. LUKS by Anonymous Coward · · Score: 2, Interesting

    - Linux servers
    - LUKS full-disk encryption
    - All network traffic tunneled tunneled through some form of SSL (e.g. SSH or OpenVPN) with client authentication, and a decent IDS.
    - Tiny custom binary in the initramfs that loads the "password" (a random 1024 bit binary string) from a USB serial device
    - BIOS boot options locked down (no removable media boot, password required to change settings)
    - Arduino with 6x AA batteries for power backup, a 3-axis accelerometer/gyro, an ambient light sensor & the sensor from an optical mouse, riveted to the inside of the chassis' outer shell, with a small hole in the bottom of the case for the optical sensor.
    - As long as the Arduino is undisturbed (i.e. registers no movement or sudden change in lighting level) it will provide the decryption key on request, so the server can boot up unattended.
    - As soon as the Arduino registers a disturbance (e.g. somebody moves or opens the computer case to reset the BIOS) it wipes the key from RAM and for the next boot you need to fetch a non-volatile copy of the key from a safety deposit box.

    You can seize the servers, but by doing so you effectively render the data inaccessible, and nobody's going to remember the random 1024-bit binary string you need to decrypt one of them.

    1. Re: LUKS by johnwallace123 · · Score: 2

      That sounds really complex, and potentially expensive as the number of devices scales. Also, fragile and difficult to maintain.

      The easiest way is just use LUKS and a secure passphrase.

      If you want to restrict knowledge of the passphrase to admins but allow users to reboot, that's a harder problem. However, If you have a TPM chip, you can use it to secure a random LUKS passphrase that unlocks only in a verified clean boot. You'll need trustedGRUB and tpm-luks, but it does secure against fairly sophisticated attacks. It even allows someone to have physical access to the machine WITHOUT having total access.

      If you're concerned about the CIA/NSA/FBI/TLA coming into your space and performing a cold boot attack, this won't help, but then again, there are very few technological defenses against a determined nation state adversary.

    2. Re: LUKS by valdezjuan · · Score: 1

      This reminds me of the HSM appliances we've used to store credit cards.

    3. Re: LUKS by Lehk228 · · Score: 1

      they'll just take you to an overseas black site and torture you until you remember the passphrase.

      --
      Snowden and Manning are heroes.
  4. Re:Is your company's business illegal? by Anonymous Coward · · Score: 1

    boring shit must be encrypted to be protected, boring shit like customers data from hackers, company documents from competition, etc.. etc...

  5. Nothing useful in standard system directories by Dorianny · · Score: 1

    Why would you want to encrypt the entire filesystem, there isn't anything of interest in /usr/bin or other standard system directories. Encrypt /home , /var and wherever else you have sensitive data. the decryption key should be kept on a off-site server that hands your init.d script (or system.d whatever you are using) the key once it passes a IP address lookup and ssh authentication. If moved off site, the servers will not be able to receive the decryption key because the ip's won't match (you could simply drop connections from anywhere but your ip-block straight from iptables or do something more granular) or you could just shut off the authentication server alltogether

    1. Re:Nothing useful in standard system directories by EmeraldBot · · Score: 3

      Because by encrypting everything, you A. prevent an attacker from knowing the layout and structure of the filesystem and B. prevent anybody from tampering with your binaries without knowing the password. For example, you don't have to worry a police agent alters /bin/ls or so behind your back, and nuking just the bootloader is much easier than trying to replace the entire unencrypted filesystem afterwards.

      --
      "Set a man a fire, he'll be warm for the rest of the night. Set a man afire, he'll be warm for the rest of his life."
    2. Re:Nothing useful in standard system directories by Dorianny · · Score: 1

      If you ever manage to get your systems back, you would have to be pretty stupid to trust they haven't been tampered with, whole disk encryption or not. They could have modified the Bios, Raid controllers or even the firmware on the drives themselves.There is no chance I would ever plug in those systems back to a network connection ever again. Take the data and start over, is the only way to be safe!

    3. Re:Nothing useful in standard system directories by Thor+Ablestar · · Score: 2

      Because the file /usr/bin/child_pornography.jpg could magically appear out of nowhere if your filesystem is in wrong hands.

    4. Re:Nothing useful in standard system directories by Dare+nMc · · Score: 1

      You cannot assume the system was shutdown before the attack occurs. You would still want to protect the integrity of the entire file system. The goal of this encryption would be so that any part of the system that doesn't have the encryption key cannot get to the encrypted data. So if I can attack at the bios of the HD, or HD controller, I could re-write /usr/bin/passwd... if those were not encrypted, to then allow the running system to give up encrypted data once that program is accessed by any process running with the keys. If encrypted data is written through a compromised data path, all the compromised component could do is corrupt the file, it would not be able to make precise changes.

  6. Re:Is your company's business illegal? by Zemran · · Score: 1

    Your company may be 100% legit but that does not mean that your expectation of privacy is 0%. I would not trust unknown government agencies with my data regardless of how legit it is. I would find it easier to trust the mafia, at least their intentions are clear.

    --
    I love stacking my barbecues in the shed at the end of summer - you can't beat a bit of grill on grill action.
  7. Trying to draw the specification for this or not . by burni2 · · Score: 5, Interesting

    If you decide to implement server-level encryption across all your servers,

    This is basically simple you can build a server that does all encryption in ram, meaning the OS is loaded once then the encryption key is used to have it decrypt the content for the outside.

    To stop tempering you could setup such a server yourself and equip it with various sensors that detect presence of people or tempering, and if detected it could shut down not compromising the encryption key to forensics.

    Firewire(because of its DMA) needs to be disabled and unkown devices need to trigger a shut down event and must otherwise be ignored

    con:
    However this type of server would still emit the key data as radio spectrum.

    con2:
    The requesters question is quite sketchy, I suggest writting a specification first with the neccessary "must haves" and possible use cases.

    my iscsi-encryption approach
    So I can only explain my private approach, I got a root server with big harddrives and those harddrives are exported via iscsi that iscsi-connection is tunneled through ssh.

    I de-/encrypt & mount the drives only on my home server and sync the directories with rsync. The harddrives are double encrypted meaning I have two encryption devices and two dependend keys.

    This sounds slow, but it isn't I get nearly the full upload bandwith of my connection.

    Meaning my root server never "knows" what data is backed up on it - its a "dumb" server

    I would suggest a similar approach for the requesters situation, because it solves a first step, separating the encryption key from the encrypted data.

    And a second step having two encryption keys making it more difficult to get all two if separated (which is contrary to my use case)

    I would expand my approach there to have a "data" server, a level1 encryption server and a level2 encryption server.

    level1 decryptes the first encryption layer and level2 does it with the data provided by level1

    Usecase:
    If only the data server is seized, shut down at least one of the intermediate servers along with its key and the data is inaccessible. And it doesn't matter which "key keeper" server you kill, its a fail-one-fail-all system.

    The drawback is however the level2 encryption server shall not be compromised, because there all pure data is accessible.

    encrypted backup
    With todays highspeed connectivity the servers can be backed up by just cloning the harddrives over iscsi for example, that works quite well.

    another idea
    Most encryption providers from linux and bsd provide the possiblity of having more than one master key.

    Iscsi can also work on image files so you can provide many independed iscsi-volumes and encrpytion can be outsourced to the users computers.

  8. May not be popular, but windowsrm is a pretty slic by dremspider · · Score: 1

    Its biggest issue is to my knowledge it omly works with windows, but for making life had for leakers this is probably the best bet. When you open documents your computer requests the key for ad, the benefit here is if the user cant connect to AD (i.e. They are at home) the whole process wont work. You can also define users who can decrypt data before emailing if they do meed to share the info. It works well as long as you are tied to the windows ecosystem.

  9. Simple way... by Anonymous Coward · · Score: 1

    Implement a blind-password vault. To access data, everyone supplies the vault password. This password, however, does not decrypt data. The vault retains a randomly generated key and the vault software retrieves and decrypts the file. If data is stolen, even those with passwords cannot access it. Further, the vault keys can be backuped and restored on-demand.

  10. It depends what you mean by 'site wide' by Assmasher · · Score: 2

    If you want your files encrypted 'at rest' so that if someone comes and pulls your HDD (or software equivalent) then you can implement a strategy similar to:

    (a)Encrypt all content with individual symmetric keys (one key per piece of content) - prefix each piece of content with a key ID (for key lookup on exit) - there are many ways to associate content with a key - prefixing is just the simplest
    (b)Encrypt those keys (which you'll need stored locally for performance reasons) with a randomly generated one-time pad stored on a removable hardware device (HSM/USB for example)
    (c)Decrypt files as appropriate as they exit your webserver - observe the key ID of the content, ask a process on your machine to give you the symmetric key for that ID, decrypt the content, send it back to the requesting connection.

    Don't store the master key and/or one time pad locally, simply have a daemon/service/long running process on your web server require (at startup) you to plugin your hardware device (e.g. read a file from a mount that is only there when you plug the thing in.) This means that stealing the content doesn't do them much good (if they crack a key it's only for that particular piece of content, they'll have to crack lots of keys), and if they get the locally stored symmetric key file it doesn't do them much good either because you're protecting that with a VERY strong key and/or cipher which is stored air-gapped - they'd have to not only steal all the files involved, they'd have to inject into the service/daemon that issues symmetric keys.

    This type of approach has performance implications of course, and to make it truly close to unbreakable requires more specifics (process injection prevention, signing and impersonation attack prevention, both on the key request side and the service/daemon unlocking scheme, et cetera) - this would be quite a discouraging system to attempt to break.

    My $0.02, YMMV

    --
    Loading...
  11. "You done goofed" encryption by hackwrench · · Score: 1

    Put it behind 7 proxies. I hear that works. https://m.youtube.com/results?...

  12. hire someone by ooloorie · · Score: 4, Insightful

    How Would You Implement Site-Wide File Encryption?

    Hire someone who knows what they are doing. Seriously, if this is for a business, there are lots of complex issues with compliance and audits in addition to availability and the possibility of sabotage. And this causes enough work that you'll probably need to hire someone anyway, so it might as well be someone who knows this stuff.

    Dealing with those requires experience. And the very first thing you need to come to terms with is: what risks are you actually trying to protect against? What tradeoffs are you willing to make and what risks (mainly of data loss) are you willing to accept? How much are you willing to spend on this?

    1. Re:hire someone by JustAnotherOldGuy · · Score: 1

      How Would You Implement Site-Wide File Encryption?

      Hire someone who knows what they are doing.

      Stop with the crazy talk! This is slashdot- we have standards and we expect you not to exceed them.

      --
      Just cruising through this digital world at 33 1/3 rpm...
  13. Illegal? Could be medical records ... by fygment · · Score: 2

    ... or any other personal confidential data. Or maybe company IP. There's a pretty broad legal use-case if you think about it.

    --
    "Consensus" in science is _always_ a political construct.
  14. I would tell them by JustAnotherOldGuy · · Score: 1

    I would tell them to use encryption for everything all the time or they would be beaten like a rented mule. Then I would randomly beat an employee or two just to drive home the point.

    Note that the directive would apply to ALL communication, including asking a coworker where he/she wanted to go to lunch. For example:

    Coworker #1: "aZqk jhwf89 489c32r8934 hfh7 246eg6sd17?"

    Coworker #2: "KSJED894nc&HE#%32jhdi."

    Coworker #1: "$R^WJFC8ewm4f8u(Y3em90r4c987!!"

    --
    Just cruising through this digital world at 33 1/3 rpm...
  15. Network HSM by Nkwe · · Score: 1

    While encryption itself is an issue to be worked out, the real question is key/encryption password management: How do you keep the keys off of a server that you worry about being stolen or physically compromised? Specialized hardware exists specifically for this. There are network versions of hardware security modules and you would put one of these in a secure location, apart from your server, but available to your server over a network so if you need to restart the server, it can access its encryption keys (probably with human intervention on the HSM side.)

    HSM equipment comes in all sorts of shapes and sizes with the smallest being the chip in your credit card or a TPM chip in your laptop, to big ones which are rack mounted and require multiple key cards to activate.

  16. There are already mature tools to do this.... by slacklinejoe · · Score: 1

    The fact you mention disk passwords leads me to believe that you are familiar with consumer grade encryption, but probably not enterprise grade encryption management. Microsoft offers some good tools for this, so do many of the other security vendors. Most of these tools have complex, rolling recovery keys for whole disk encryption and assigned users are still able to log in with their normal AD, but you can go the route of additional factors or ways of protecting the identities. If you have need of an additional layer item level file encryption goes a very long way of securing email and documents that might be sensitive. That said, you have to equally protect the user accounts that can decrypt the system with tools like Privileged Access Management, Additional login Factors and threat detection tools. I'd suggest hiring an expert for this endeavor, it's pretty specialized and if you get it wrong, you only make it harder to manage, not more secure. Consulting organizations do this all the time, and depending on what you need, it doesn't have to be insanely expensive.

  17. Re:May not be popular, but windowsrm is a pretty s by swb · · Score: 1

    I really wouldn't want to ever implement and manage WinRM site-wide though until it was super mature.

    Some kind of key management fuckup and you're left with a pile of encrypted gibberish.

  18. a bot by Humbubba · · Score: 1

    Do what CryptoLocker did - bots can do the site-wide encryption. Have triggers on servers and local devices, as needed. You can pick the type of files to encrypt, which cryptography to use, and where to store the key(s) - hopefully in a safe place off site. Users will be the most vulnerable part of the process. They have to be clear about the techniques to access and save the files. Which brings to mind another can of worms...

  19. What is lacking by DaMattster · · Score: 1

    The problem with encryption software is that most of it isn't designed to be centrally managed. I am an OpenBSD user and I use full disk encryption which is slick as owl shit but there is no way to centrally manage, say, several OpenBSD machines. In order to change the passphrase or key I have to go to each and every machine. There are some commercially available software packages that will implement central management tools but I do not trust them. When it comes to encryption, if I cannot see the source code, I do not trust it.

  20. Thank you by Pig+Hogger · · Score: 1

    Thanks to everyone who took the time to suggest their ideas. — OP

  21. What type of attack? by Midnight+Thunder · · Score: 1

    What type of attack is being mitigated against and how does the risk of failure of the encryption solution compare to that of the attack vector? There are many ways encryption can fail, including loss of keys or too much exposure to the passwords for these keys.

    For example, are we talking about hardware theft or software based intrusion?

    For hardware theft, then you would probably want to find a solution where no one needs to know the keys, but it is part of the local infrastructure. This would mean that once hardware is taken out of said infrastructure then it can't access the keys it needs to make sense of the data. Just like anything there are still scenarios where this could fail or be a hinderance.

    For software there are so many variables and use cases, I am not going to try to list them, but remember there are both internal vectors of attack and external vectors of attack. Sometimes the hardest one to defend against is social engineering.

    --
    Jumpstart the tartan drive.
  22. Tahoe-LAFS by cpghost · · Score: 1

    Just one word: Tahoe-LAFS. Deploy, use, relax.

    --
    cpghost at Cordula's Web.
  23. Enterprise solution by Minupla · · Score: 1

    I see a number of good ideas already for home-brew solutions so here's one for an enterprise out of the box solution. (usual crypto caveats apply, if you don't build it yourself, how do you know there's no backdoors... otoh, if you do build it yourself, assuming your not Bruce Schneier, how do you know you got it right? Take as directed, evaluate your risks before using)

    I've had good success with Gemalto's protectfile product in this space. The NAE device handles the master key storage, temporal keys are stored in the device driver, encrypted by the master key. Accesses can be controlled by user through any of the usual authentication mechanisms, including saying "This is my backups user, it can read only encrypted data" which is a nice feature I don't see often enough on enterprise level encryption. Saves me from having to trust the sketchy encryption on the backup solution which is almost always backed by the "trust us" guarantee.

    Min

    --
    On the whole, I find that I prefer Slashdot posts to twitter ones because I don't get limited to 140 chars before
  24. Re: Is your company's business illegal? by Anonymous Coward · · Score: 1

    So in other words, you have nothing? Thanks.

    A realistic threat model based on bad laws, the easily observed security/terrorism hysteria that drives them, the steady stream of fear-porn ("news") making that worse, and the (minimal) lack of naivete it takes to know that governments always abuse extraordinary new secret powers (seriously, read any decent history book about the 20th century) ... that is NOT "nothing". That's an honest assessment of the environment in which you operate.

    There's a reason so many businesses have become more nervous about operating in the US ever since Snowden made it much harder to be in denial (and before him, that's what it was - denial). In the past you'd have to really do something suspicious to get that kind of attention as a "person of interest", to cause them to bother with you. It just wasn't cost-effective to apply widespread surveillance. Now it's easy and cheap to spy on everybody.

    So what are you arguing against, really? Taking technical measures against an event that might not happen? Isn't it better to make reasonable preparations and wind up not needing them? Isn't that better than later wishing you had? Does the way other people configure their systems really bother you enough to speak out against it? Or were you one of those people in denial, and now you're uncomfortable because people are openly talking about how they won't be joining you?

  25. Re: Is your company's business illegal? by Anonymous Coward · · Score: 1

    Having no evidence because the courts refuse to allow subpoenas for records is hardly the same thing as there being no evidence in existence. Just look at all the things that we learned when Snowden leaked all those documents, much of that had been considered conspiracy theory stuff by many people.

    Now, if the courts would allow subpoenas and there was still no evidence, that's the time when we should be considering the possibility that there just hasn't been any abuse. But, given that things like NSL are subject to a gag order and much of this is happening in secret proceedings, we can safely assume that it's being abused as there's no sunshine to disinfect the proceedings.

    The relevant question is whether it's being abused a little bit or a lot.

  26. Erm these are all KISS violating suggestions by X86BSD · · Score: 1

    The best solution is simply ZFS with encryption which is live now. Or VERY soon. Easy peasy. Everything is convoluted, difficult, and will end in tears.

  27. Re:May not be popular, but windowsrm is a pretty s by laughingskeptic · · Score: 1

    14 years and a solid v4.2 on the SDK ... what exactly is your definition of mature? Microsoft's big failure wrt RMS is their inability to automate roll-outs. It is way too painful to get set up the first time, but once you have done it a few times, it can be done on a demo network in less than 4 hours. RMS is the only solution that covers your entire corporate data and security stack from authentication to network transport to data-at-rest. Adoption success rate is less than stellar though, not inherently because of the product but because IT shops have a tendency to apply controls beyond those necessary. RMS allows an IT shop to do to your entire network what they normally do to a SharePoint server: lock it down until it is useless.

  28. Clevis & Tang by npmccallum · · Score: 2

    Disclaimer: I am the author of the following projects. At Red Hat, we have been researching this problem for the last few years. This has resulted in the creation of the Clevis[1] & Tang[2] projects for automating decryption. This currently ships in Fedora and we plan to ship it in a future RHEL release. This project currently supports both root volumes and removable storage, as well as any other data you want to encrypt and then automatically decrypt. We are working on adding support for non-root volumes as well. For a video on the problem of automated decryption and the architecture of Clevis & Tang, see my recent talk at FOSDEM: Securing Automated Decryption[3]. [1]: https://github.com/latchset/cl... [2]: https://github.com/latchset/ta... [3]: https://fosdem.org/2017/schedu...

  29. Re:Is your company's business illegal? by __aaclcg7560 · · Score: 1

    [...] because the Deep State is not telling and refuses oversight [...]

    You mean the "Deep State" that Trump accused of wiretapping his personal communications at Trump Tower? Let's think about... If the wiretap was true, the FBI was doing it illegally on Obama's orders or Trump implicated himself in a criminal investigation authorized by the courts. Everyone is denying that the wiretap and Trump is refusing to provide evidence. That's quite a pickle barrel for Trump to put himself in. Eight weeks into his administration, he's already on his tenth golf game for the year.

  30. Re:Is your company's business illegal? by Tokolosh · · Score: 1

    Don't hijack this. It's not about Trump, Obama, Bush, Clinton, Republicans, Democrats.... It's about the whole damned captured establishment.

    --
    Prove anything by multiplying Huge Number times Tiny Number
  31. DRBD / Mars by DrYak · · Score: 1

    You wanted "a version of raid for use with servers".

    Which is exactly what DRBD and Mars datablock devices are doing.
    But they only to RAID1 (replication) accross servers.

    For RAID5/6 (1/2 parity out of N-total) isn't supported yet by any direct approach.

    Doing software RAID5/6 over iSCSI seems the closest doable with current technologies.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  32. Re:Is your company's business illegal? by __aaclcg7560 · · Score: 1

    I'm not hijacking anything. You made a comment about the so called "Deep State" and I replied to that comment with the most obvious reference that I know of. The only "Deep State" that exist is in the minds of delusional people in the White House. Until the Trump Administration came along, I've never heard of the term "Deep State" before.

  33. Cant fix what the NSA and GCHQ created by AHuxley · · Score: 1

    Its their web, the world wide wiretap. From a smart phone to a Room 641A https://en.wikipedia.org/wiki/...
    So be aware of how the security services seek out your data.
    The NSA and GCHQ will try and add their hardware your hardware as a brand imports hardware.
    One at a hardware level in a company any network belongs to the security services.

    CIA, MI5 also understand the human dimension. Social engineering or a new relationship, new staff.
    The amazing new friend, skilled new staff member, potential client who wants a site tour.
    Expect devices that will be part of the existing hardware (smart phone) and will pass any expected network usage detection efforts. The security services will alter your hotels networked TV. Staff will have their smart phone, tablet, computer packed with gov malware.
    Data might be stored locally for another human to pick up. No use of any network to remove data. The hardware might be altered by a human and then a network is used to collect later. So not always expect to see a new unexpected upload. A human might place the malware and then collect any results. No litter to find.
    So a company watching its networks and devices might not see any network changes at all or just "expected" user/staff data going out later.

    How to keep your patents ideas, inventions, banking, designs secure from the USA and UK?
    Use a one time pad for that very important message. Don't reuse the one time pad code, consider sending staff out to deliver an important message in person.
    Only use the internet network for reaching consumers. Don't allow smart phones or other devices near advanced product development.
    Be aware of offers of random friendship at a gym, bar, club, art gallery, business or sports event, cult, faith by very friendly strangers.
    The distraction could be used to add malware to your smartphone physically so no network trace will show any changes in usage.
    Secure your internet servers that interact with consumers to the best new standards that users can still access.
    Get any emerging product work away from computers, return to paper and secure face to face meetings for creative ideas.
    Don't allow smart phones or watch devices to secure meetings.
    Keep all new friends or random staff with consumer electronics from wondering around any secure areas.
    Once all that is in place and working, get your legal team ready for a NSL. Understand that a lot of malware can be networked or can be entered by a human.

    --
    Domestic spying is now "Benign Information Gathering"
  34. Re:Is your company's business illegal? by Tokolosh · · Score: 1

    I guess you did not read the message at the top of the Wikipedia page "This article or section might be slanted towards recent events. Please try to keep recent events in historical perspective. (February 2017)"

    Try this from three years ago: http://billmoyers.com/2014/02/...

    Yes, the current administration is completely delusional. But so is the opposition, which previously was happy to give power to the Leviathan without considering what would happen if that power were to fall into the hands of less congenial folk.

    It is telling that you only heard about the Deep State once Trump came along.

    --
    Prove anything by multiplying Huge Number times Tiny Number
  35. Re:Is your company's business illegal? by __aaclcg7560 · · Score: 1

    It is telling that you only heard about the Deep State once Trump came along.

    Not even my lily white, tea party-loving relatives in Idaho knew what the "Deep State" was. They send me all kinds of clippings from the right wing echo chamber. If they had heard about the "Deep State" I would have known — and laughed. Thank God I live in California!

  36. Re:Trying to draw the specification for this or no by complete+loony · · Score: 1

    I'd like to suggest something like trevisor, a hypervisor for a single guest VM. Where the user enters a passphrase on boot, and the encryption keys are only stored in debug registers. Though this probably needs some additional work to be production ready.

    --
    09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
  37. Re:Is your company's business illegal? by Tokolosh · · Score: 1

    I sincerely hope you recognize that you also live in an echo chamber.

    --
    Prove anything by multiplying Huge Number times Tiny Number
  38. Turn off IPS/IDS etc. by Drishmung · · Score: 2

    Just turn off all IPD/IDS, firewall and anti-virus. In an hour or so the ransomware should have the entire site thoroughly encrypted.

    --
    Protoplasm. Quiet Protoplasm. I like quiet protoplasm.
  39. Re:Is your company's business illegal? by __aaclcg7560 · · Score: 1

    I sincerely hope you recognize that you also live in an echo chamber.

    So say we all.

  40. Client-side by manu0601 · · Score: 1

    Enforce encryption client-side. Server just hosts encrypted files and has no way to decipher them.

  41. step back and think by gravewax · · Score: 1

    If this is for a serious business and you need to ask /. how it is done then back the fuck away from the keyboard and hire someone that understands this or you will be walking into a world of pain. First check what you are really doing justifies encryption, remembering encryption does not protect you from people installing malware, people social engineering access, unsecured buildings, unpatched systems etc etc and this is usually what is being exploited. First you need to get your businesses tech security in order otherwise all you are doing is adding more complexity with very minimal security improvements (basically you solve the issue of someone stealing a harddrive).

  42. Re:Trying to draw the specification for this or no by dknj · · Score: 1

    This sounds slow, but it isn't I get nearly the full upload bandwith of my connection.

    So you 6gb/s ssd drives are limited to a whooping 100mbps. That's slow, bruh. Unless your drives are all IDE this does not scale.

  43. Re:Is your company's business illegal? by budgenator · · Score: 1

    Only the catchy name is new. It is more like an Anonymous, than an illuminati; more a herd of cats than a hierarchy. Vonegut wrote about it in "Catch 22".

    --
    Apocalypse Cancelled, Sorry, No Ticket Refunds
  44. It's bitztream by Anonymous Coward · · Score: 1

    The autism-hating, custom EpiPen-hating, Musk-hating Slashdot troll!

  45. How's life in the hypocrite lane?