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?

151 comments

  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 allo · · Score: 0

      RAID5 may help.

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

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

      --
      - http://www.milkme.co.uk
    4. 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.

    5. Re: Virtual Private Raid by Anonymous Coward · · Score: 0

      So frustrating and unfortunate that would be.

    6. 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.
    7. Re: Virtual Private Raid by Anonymous Coward · · Score: 0

      Using high RAID on a particular server will protect you from failing disks on that server, but not from failing servers. You wanted "a version of raid for use with servers".

    8. 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?

    9. Re: Virtual Private Raid by Anonymous Coward · · Score: 0

      Using high RAID on a particular server will protect you from failing disks on that server, but not from failing servers. You wanted "a version of raid for use with servers".

      Just create a software raid of iscsi drives.

    10. 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.

    11. 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/

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

      It's called vSphere. Learn about it.

    13. 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.
    14. 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.

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

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

    16. Re: Virtual Private Raid by Anonymous Coward · · Score: 0

      This just makes it sound like you don't know what you're doing. Also, ideally you'll have a battery backup for your hardware raid if you care about data integrity.

    17. Re:Virtual Private Raid by Anonymous Coward · · Score: 0

      RTFM

    18. 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
    19. Re: Virtual Private Raid by dougdonovan · · Score: 1

      RAID5 may help...agreed.

    20. Re: Virtual Private Raid by Anonymous Coward · · Score: 0

      Don't use a random kbd, use a verified one. Keyboards are not hard to make, make one and keep the electronics visible.

    21. Re:Virtual Private Raid by Anonymous Coward · · Score: 0

      You're making me want to try this:
      1. Setup file shares between multiple servers.
      2. Create a raidz array from file-level block devices
      3. Encrypt the resulting volume

      Main problem I see is that the other servers would remain online and accessible to the seized server, so you would need to take down the file share asap. You might also be compelled to provide the encryption keys.

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

      Sounds like Tahoe-LAFS.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    23. 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).

    24. Re: Virtual Private Raid by Anonymous Coward · · Score: 0

      Correct. All the points are secure. So what. The 4th point - the point thats puts it together to be used is you. And your cracked fingers and toes and fractured jaw and burned skin and...

      Yeah. Just give it to them. And if you really needed this, you wouldn't be asking here and would have it. So grow up child mind.

    25. 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.
    26. 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.
    27. Re: Virtual Private Raid by Anonymous Coward · · Score: 0

      https://en.m.wikipedia.org/wiki/Shamir's_Secret_Sharing is what you want.

      Pick k and n so that you don't lose all your data from one dead hard drive but require the collusion of at least a few local cops to seize enough pieces.

      Of course if you work with the data in some place, it can be trivially siezed right there. You'll have to wait for fast, trusted fully homomorphic encryption if you want to store and process your data secure against seizure.

    28. 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
    29. Re:Virtual Private Raid by Anonymous Coward · · Score: 0

      This is the opposite of what the OP asked for. Tahoe-LAFS stores multiple copies of data on multiple servers for redundancy, admittedly the data is encrypted at the client side, but that's not what the OP asked for.

    30. 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).

    31. 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.
    32. 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
    33. 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
    34. Re:Virtual Private Raid by Anonymous Coward · · Score: 0

      Glusterfs has had historically abysmal multi-datacenter performance due to locking and lack of locality pinning; a client will use the first server to respond, even if that server is at a remote site over a low speed link. This is easy to trigger if the local site is moderately busy. Additionally (it used to be) every write is replicated to every associated brick from the selected master; the write log isn't distributed as a tree, it is directly propagated to each peer brick synchronously, which can eat a lot of bandwidth.

    35. Re:Virtual Private Raid by Anonymous Coward · · Score: 0

      This has been used for decades in PKI management for the administration of keys. It's referred to as K of N or M of N in many places. The mathematics of key overlap are fairly straightforward and easy to implement.

      Also for actual key management, Fornetix has a good key management system that supports automated key rotation and controlled key access. You could even script a check to some innocuous and unrelated dead-man's switch which, when triggered, caused all the keys to be rotated and/or deleted.

    36. 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. Re:Virtual Private Raid - sure! by Anonymous Coward · · Score: 0

    ...and uhm, just how do you plan to sync between these in a realistically usable data valume? -also the question was specifically about "site-wide" not some across the legalities of the world data privacy strategy.

  3. How about some clarity on wanted functions? by Anonymous Coward · · Score: 0

    The post here doesn't say very well what is wanted. Is the desire to have possibly a large number of servers, a huge number of files, and a huge number of users, so that every file is encrypted but every authorized user of every file can access the file? In other words is the idea to replace all access control with encryption? That is going to be hard. Or is the idea to possibly encrypt whole servers and somehow have all users able to access the servers, but the server is only encrypted once? Encrypted-hardware disks kinda do this, but have to have some way to get set up and they only protect data in the case of someone stealing a disk drive. The problem of allowing access is still hard.
    I once implemented a partial system in which an init process that checked that it was running at boot time by the boot process would start keying everything else. Some of the new "secure boot path" tech is a similar approach. But this is not completely bullet-proof. Disassembly is hard to resist, whatever you do to a piece of code. Wasn't as common ~30 years ago.
    A police function would probably want to take entire systems. That suggests that the keys to a disk-crypt system might want to be in someone's mind, possibly requiring several people to cooperate to each load part of the secret. Lotsa luck. Rubber-hose crypto, "duress" keys, decisions when to have the data get lost irrevocably, or how if at all you will have backups, all need to be thought about. The problem stated says nothing.

    Let's start simple: what threat are you worried about?

  4. First, I'd start with files. by Anonymous Coward · · Score: 0

    The first thing I'd do is start with files. Then I would add data to said files. Then I would use cryptography to encrypt all of those files containing data. There you have it: site-wide file encryption.

  5. 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 Anonymous Coward · · Score: 0

      In addition to all the items listed above, keep in mind that encryption only helps if the decryption keys are not available.

      self-encrypting drives only help if someone steals the drives while they are powered down. If they can access the drives from an authorized server after they have been powered up and unlocked, they provide zero protection. If the system the drives are in gets connected to a UPS, unracked and carted away, it's still unlocked and available.

      The bottom line is that you can't use encryption to protect data from the systems that need to access it for your business purposes. The most that you can do is to work to limit how many systems that is and protect them.

    2. 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.

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

      What about immediate shutdown on tamper?

    4. 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.

    5. Re:Full Spectrum Problem by Anonymous Coward · · Score: 0

      how do you detect tampering? do you put motion sensors inside the servers (and have to restart everything when there's a mild earthquake)?

      do you depend on switches detecting when the case is opened? what happens when they cut a hole in the case?

      FIPS140 compliant hardware (for sufficiently high levels) has the chips encased in epoxy with case switches to dump keys from ram, but it's still possible to defeat the protections.

      we know it's possible to pull memory out of a computer and hook it in another computer and not loose all the data in it.

      when you do need to restart things and enter your credentials, how many people are you going to require be in the room to do so? too few and they can easily be convinced to hand over their passwords, too many and you end up with so many people having the credentials that they can leak as well.

      It all depends on what level of effort you are willing to go to to secure your stuff, and how much downtime you are willing to accept under 'normal' conditions to keep that security vs how much effort whoever is targeting you is willing to go to to get your data.

      We know that the police are using mouse jigglers and UPS systems that they clamp into the power supplies so that they can seize computers and not have them go to sleep while they truck them away. You have got to assume that the more serious agencies have even neater tricks.

    6. 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
    7. 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.

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

      About your ddr4 comment:

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

    9. Re:Full Spectrum Problem by Anonymous Coward · · Score: 0

      The application creators aren't doing all they could to protect data. Microsoft Office should have an option where it checks to see if you're logged into one of the approved Microsoft accounts or an approved system on an approved network when you open an encrypted Office data file, and if not, give you the option to have Office automatically delete the file. Any company could do this kind of thing, but they don't seem interested in helping to make their products more secure.

    10. Re: Full Spectrum Problem by Anonymous Coward · · Score: 0

      Usb devices? The os, and therefore you, decides what happens when usb devices connect. Usb is not a magic backdoor, unless your os is seriously flawed. Most oses will not autoexec something on an usb stick, for example.

    11. 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]
    12. Re: Full Spectrum Problem by Anonymous Coward · · Score: 0

      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.

      You're wrong. I used to write drivers for USB 2.0 host controllers. A controller might have DMA support, but it still need to be directed where to write and when.

      I haven't touched USB 3, but AFAICT the following is still true:

      • There's no device to device communication, devices are slaved to the host and can't initiate transactions
      • The USB standard says nothing about DMA
      • A xHCI controller can probably access memory, but only as directed by the drivers. (Unless your USB controller is malicious, but then you probably have hostile hardware attached to your primary bus, at which point USB isn't really your problem.)

      I suspect you might be confusing USB with Firewire that had that particular misfeature (i.e device initiated DMA), or possibly with Thunderbolt, when allowing PCI Express extension

      You might also want to read This answer on security.stackexchange, though note that the answer confuses USB 3.0/USB 3.1 with a specific xHCI implementation.

  6. PKI based works but by Anonymous Coward · · Score: 0

    The solutions I have help implement are based upon using an internal CA with an HSM device for the master key storage. BUT, there are gotchas on any solution. You have to have a "master key" available for all devices. This can be multiple master keys for each type. You then need the skill and resources to manage the various keys (Certificates).
    The other gotcha which is just as complex is there is no one overall solution which fits everything. Sure you can have solutions for each, MDM, Notebook/Desktop Servers, clouds and NAS. You will need skills within each group to manage, maintain, implement and support.
    In the end it is a gordian knot of its own. Examples which use PKI for the encryption; Bitlocker, Thales, NetApp, Airwatch.
    And don't forget Backup encryption options as well. That and removable devices are a prime source for loss.

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

    I assume no. Then WTF do you need site-wide encryption for? The majority of the content on your network is boring shit. I'd consider selective encryption for documents that matter, like HR data, contracts, C-level email (unless there are legal requirements for any of those categories to be in the clear).

    Did you just say "nothing to hide, nothing to fear" ?

    CAPTCHA: infamy

  8. 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 Anonymous Coward · · Score: 0

      what about making a raw copy of the running open containers.

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

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

    4. 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.
  9. But how should sys-admins implement site-wide fil by ACE209 · · Score: 0

    But how should sys-admins implement site-wide file encryption?

    I guess I would start with a search for "full disk encryption"

    Or with raising the middle finger and telling to encrypt that.

    Depends on the day.

    --
    "we are all atheists about most of the gods that societies have ever believed in. Some of us just go one god further."
  10. 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...

  11. 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.

  12. If Windows... by Anonymous Coward · · Score: 0

    Where I work, all laptops are using BitLocker, with a policy being set by the IT group. Keys are managed by IT, just in case anything happens. Laptops have dedicated HW that make encryption not feel slower than without.

    By the way, I am sure there is another better place to ask these questions.

    1. Re: If Windows... by Anonymous Coward · · Score: 0

      That sounds both easy and commercial and as such you will be ignored.

  13. 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.
  14. Re:Is your company's business illegal? by Anonymous Coward · · Score: 0

    Because when you encrypt just the important bits, suddenly all the bad guys know just which parts to go after.

  15. 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.

  16. Wat? by Anonymous Coward · · Score: 0

    I really don't understand the question. It is very nonsensical.

    Slashdot will hate me for saying this, but Microsoft does a really good job with this issue. Bitlocker, their (AES128 or 256) whole disk encryption system stores keys in the TPM chip and Active Directory. Bitlocker is used on servers and workstations alike. It is very nearly seamless for users during daily use, but once the machine is off the network, there's no getting in without the correct password and PIN or 48 character decryption key.

    The decryption key is stored in Active directory, by I also maintain a printed list in a secure location, along with important passwords.

    On the Linux side, there's no easy way to accomplish the same functionality, at this time. If you use whole disk encryption on these systems you have to maintain a list of passwords or/and keys and manually enter them at boot, unless you leave the USB key plugged in at all times, which kind of defeats the purpose of encryption.

  17. Is there a repository by Anonymous Coward · · Score: 0

    Was wondering if there is a site or blog that has tried to respond or negate each of the findings of the CIA dump?

  18. 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.

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

    An LDAP server handling authentication and authorisation while a separate PKI server or similar handling the encryption keys lifecycle management with all file servers encrypted using a system-level encryption key and any individual user files further seamlessly encrypted with their private key.

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

    You name one innocent person who's been fucked over by the government in the 10 years since PRISM was started, and I'll name a hundred million people directly harmed every day by Facebook/Google/Apple/etc. through the magic of data hoarding. Sure, hypothetically getting shipped off to Gitmo because the NSA misinterpreted your emails to mom would be terrible, but averaged out by the actual probability of that happening comes to much less damage than constant daily immersion in targeted advertising does to your pocketbook (And I know, I know, we're all much too smart to fall for ads (or to not block them). But clearly *someone's* clicking them or it wouldn't be a trillion dollar business.)

    Just because Zuckerberg isn't officially a member of government doesn't disqualify him from being Big Brother.

  21. Cool... by Anonymous Coward · · Score: 0

    It looks like we know where Marines United is going to be hosted next. :)

  22. Lemur or Venafi by Anonymous Coward · · Score: 0

    This has been bubbling to the surface for years and it really comes down to central key and certificate management; the only optionions that scale and work with both internal and external CA's I've seen are Lemur (Netflix tool that's open sourced) or Venafi, which has support for something crazy like 300 different OS and Appiance combinations and is used by the majority of the Fortune 500.

    1. Re:Lemur or Venafi by Anonymous Coward · · Score: 0

      This has been bubbling to the surface for years and it really comes down to central key and certificate management; the only optionions that scale and work with both internal and external CA's I've seen are Lemur (Netflix tool that's open sourced) or Venafi, which has support for something crazy like 300 different OS and Appiance combinations and is used by the majority of the Fortune 500.

      There is also CMS (shameless plug) for enterprise or IOT level central certificate management. Regardless of the tools you use, encryption always comes down to key management and if you have lots of keys, you will need some sort of central management system.

  23. Re:Is your company's business illegal? by Tokolosh · · Score: 0

    We don't know how many have been fucked over, because the Deep State is not telling and refuses oversight, using FISA gag orders, etc.

    Anyone who tries to sue is out of luck because the courts conveniently say they lack legal standing. Even if you have knowledge of malfeasance, it does not count, because you are not allowed to have that knowledge. Good luck if you are in Gitmo, some black site, or been targeted for some light-hearted rendition.

    Combined with enthusiastic "Three Felonies a Day" and parallel construction, we have absolutely no idea how many have been fucked over.

    The fact that we are not allowed to know, means that it is >>0. My guess would start with Congress, the Judiciary and the military brass. But there are also plenty of luckless dope dealers and Arabs whose fate has been outsourced to an "ally".

    --
    Prove anything by multiplying Huge Number times Tiny Number
  24. 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.

  25. 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...
    1. Re:It depends what you mean by 'site wide' by Anonymous Coward · · Score: 0

      Good well-thought-out answer. -pete

    2. Re:It depends what you mean by 'site wide' by Anonymous Coward · · Score: 0

      ...as if millions of ops guys suddenly cried out in terror, and were suddenly silenced...

  26. "You done goofed" encryption by hackwrench · · Score: 1

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

    1. Re: "You done goofed" encryption by Anonymous Coward · · Score: 0

      Well, if people would deal with the sources of problems, like requested, then there wouldn't be any proxies...

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

    So in other words, you have nothing? Thanks.

  28. 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...
    2. Re:hire someone by Anonymous Coward · · Score: 0

      Yeah, as someone who works with this stuff, the submission and the responses feel so nubile. The majority of responses read like they are from very knowledgeable application developers that don't even have the base knowledge in security to pass the Sec+. Custom solutions with obvious drawbacks, extreme expense, uninsurable, and otherwise against best practices.

      Any discussion on security here really shows the poor state of the industry, or perhaps the ignorance and lack of skill is limited to programmers or just slashdot.
      Very disappointing, as usual.

    3. Re:hire someone by Anonymous Coward · · Score: 0

      I'd assume the goal is to protect offline images for production environments from being easily pilfered/altered. Same kind of strategy can work for offline data storage - e.g., you want to protect against lost/stolen drives. A good HSM environment can be very effective here - there are several good vendors with solutions in this space, so it's not recommended to invent one from scratch.

      The real problem is data in the application tier on running boxes - e.g., you want to protect against a malicious terminal or injection. You can wrap your connections in TLS, encrypt your volumes and databases, but all that is meaningless once they can execute code on your server. Since most data centers aren't designed for multi-tenancy, it's very difficult to cover all the bases... ultimately the problem is outside the scope of encryption - the right solution is based on compartmentalization and access controls.

  29. 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.
  30. 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...
    1. Re:I would tell them by Anonymous Coward · · Score: 0

      Then I would randomly beat an employee or two ...

      You must be a native of Yakima, WA.

  31. Re:Trying to draw the specification for this or no by Anonymous Coward · · Score: 0

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

    Yeah, this is particularly frustrating - the fella gets his question out in front of the community but then forgets to ask a question we can answer.

    Protecting the drives from junk salvagers upon decommissioning is such a different problem than protecting the data on the system from the CIA. Your two-layer solution is clever, but it's going to be slow if you have each one in a different jurisdiction. Having the keys in various jurisdictions may protect from a large class of problems without requiring manual intervention or additional cost.

  32. The word is "ensure", "insure" involves insurance by Anonymous Coward · · Score: 0

    If you decide to implement server-level encryption across all your servers, how do you manage the necessary keys/passwords/passphrases to ensure 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?

    ensure: make certain that (something) will occur or be the case.

    insure: arrange for compensation in the event of damage to or loss of (property), or injury to or the death of (someone), in exchange for regular payments to a company or to the state

    If you're writing something, it is presumably with the intent of convincing the reader of whatever it is you have to say. But when a practised reader sees a grammar (or spelling) mistake, it temporarily distracts them as they re-read your writing to ensure they correctly understand what you were trying to say, distracting them from your actual message.

  33. LUKS across all systems, done. by Anonymous Coward · · Score: 0

    LUKS across all systems, done.

    Solves 2 issues.
    a) no more Windows.
    b) no more Microsoft Updates.

    Been running LUKS encryption on almost all our systems for years. Use 2FA to unlock the encrypted partitions - a short-ish passphrase (only 20 characters) + HW token input.

    No passphrase (there are 8 different slots for multi-user systems), no unlock.
    No HW token, no unlock.

    Of course, you need to be there physically during boot to make it work - or have remote USB passthru working.

    Check out OnlyKey https://www.amazon.com/OnlyKey... to get started.

  34. 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.

  35. 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.

  36. 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.

  37. 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...

  38. 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.

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

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

    1. Re:Thank you by Anonymous Coward · · Score: 0

      Never call yourself OP. Everyone knows that OP is a bundle of sticks. You're the submitter, not OP.

  40. 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.
  41. Tahoe-LAFS by cpghost · · Score: 1

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

    --
    cpghost at Cordula's Web.
  42. 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
  43. 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?

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

    Classic stack overflow retardation.
    "You don't need the thing you asked for, do it my stupid way."

  45. 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.

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

    There's that, but there's also the issue of having to decide what should and shouldn't be encrypted and if you accidentally copy something that should have been encrypted to an unencrypted disk there's a slight possibility of it either still being there when an adversary breaks into the system or it being recoverable if you later delete it. Neither case is particularly desirable.

  47. Native American language by Trachman · · Score: 0

    Designate Navajo a designated language for classified documentation. Or select some other tribe.
    Basically hire entire tribe and make a designated record keeper. Worked as a quasi encryption during ww2, will work now.

    And, yes. Go paper. Old secrets can be safely be burned, when no longer relevant.

  48. 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.

  49. Excluding unauthorized access by Anonymous Coward · · Score: 0

    The whole point of a system like this is to exclude those who are unauthorized,

    To do this, passwords that may be re-used provide a strong enough security problem to make it unworkable.

    The best solution is to use some aspect of the people that is unique to them to provide access.
    We have seen that retain and fingerprint are far to easy to beat.
    It will likely have to be either chemical (DNA?) or electrical ( brain waves or other aspects of the body?) to be secure enough.

    One time us password systems help, but are a bear to maintain and support.

  50. Re: But how should sys-admins implement site-wide by Anonymous Coward · · Score: 0

    I'm curious what Full Disk Encryption is going to help on a running system.

    Are you people retarded?

  51. Trusted middle men by Anonymous Coward · · Score: 0

    Basic metric of success is removal of the highest possible portion of overall system from trust path as possible.

    The best approach I know of is for all writers to have their data turned into encrypted blobs by means of transmission to separate security server. Writers then store subsequent blob output on the appropriate file or application servers.

    All readers present blobs obtained from these systems to security server. Security server authenticates reader and uses blob metadata to check access policy before decrypting content.

    This allows for arbitrary complexity of application servers and data storage without compromising content should these systems be compromised.

    Security server must be physically secure and vigorously designed with a minimal defensible surface. It must be made as "dumb" as feasible.

  52. Define your threat model first by Anonymous Coward · · Score: 0

    The recent demonstration of a combination hack escaping from browser, OS, and VM hypervisor demonstrates how people put too much faith in these "container" abstractions. People who are serious about security have realized this since the beginning, always noting that things like VMs and VLANs are nice for resource management and time-sharing, but probably insufficient to really protect sensitive data. Even on non-virtualized hardware, serious people consider exfiltration by other paths such as compromised firmware, and have costly procedures to scrub and change hardware from one security class to another, e.g. you can't even be confident about wiping a system to redeploy it for a different purpose the next week or next year. Sometimes secure wiping ends with physical destruction as the only way to be sure.

    The recent news illustrates how encryption of messages can protect them in flight, but the endpoints can be compromised to snoop on data before/after it passes the encrypted path. Encryption at rest has a similar set of vulnerabilities depending on your threat model. An encrypted disk can save you from physical theft of an inactive disk, but not from the many server compromises which can steal data from inside the server software itself while it is in its normal operating mode. All your elaborate key management techniques are useless if the server can be tricked into serving up the plaintext to an attacker. One nice aspect of whole-disk encryption is that it can turn disk wipe/repurposing into a simple act of key destruction instead of requiring secure scrubbing of every persistent bit.

    Secure end systems can encrypt data before it gets to the server, and treat the server like a dumb file clerk. The server never has the keys and can at worst corrupt or lose the data from an availability standpoint (using cryptographic signatures to protect yourself from malicious tampering of data by the server). But a compromised server can still expose you to traffic analysis, potentially revealing data-sharing paths (communication) between clients and other temporal properties which might reveal weakness in the cryptography, e.g. the attacker gets multiple snapshots of the same file over time to see how ciphertext changes with common modification patterns.

    Concerns for efficiency, usability, high-availability and disaster recovery all oppose strong data security. If you expect a server fleet to recover from power loss or other failures and resume operation unattended, you make key material easier to steal. Hardware-based key managers seem to be the current best option here, as the key lives in the server but is about as tamper-proof as we know how to build. But having trusted humans (a two man crew?) restart servers and reintroduce keys might be safer. But how do they know the server wasn't tampered while it was off, in order to be confident to reintroduce the key material? Similarly, what about backups and offsite replicas? If you back up the encrypted cipher text, you could easily "erase" all backups by losing your key. If you back up the plaintext, you created many more points on a long path where data can be stolen. If you use the dumb file-clerk approach to storage servers, you risk that individual clients lose their keys and "erase" their data. The administrators cannot recover this data for the unlucky user, unless they also keep another key around which then makes the administrator or administrative systems the juicy target for attack to get the keys to the kingdom.

  53. Re:May not be popular, but windowsrm is a pretty s by Anonymous Coward · · Score: 0

    That is what DAC is for. Automate away your problems...

  54. 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.

  55. ZFS GELI PFS FreeBSD by Anonymous Coward · · Score: 0

    ZFS has native encryption now so you can do some really sick shit with it... exporting encrypted ZVOL's and iSCSI's, per user / dataset encryption, encrypted replication, etc. PEFS is additional user based homedir encryption. On top of all the usual GELI full disk / block device encryption. Of course you can only get all these things with FreeBSD, because well, that's where it's at.

    Windows is what most slashdot users use and is a joke as far as security and surveillance goes.

  56. Let's Encrypt works great, mostly... by pepsikid · · Score: 0

    This may be slightly off-topic, but I use free Let's Encrypt certificates for my httpS websites. Personally, I have never had problems with them, however some browsers and mobiles throw up the same OMG WARNING HAXXXORS screen that you get when using a self-signed cert. This has forced me to turn off server-forwarding rules I had in place to direct folks to the httpS site when they used the http URL.

    The irony is that these ill-conceived browser warning messages are herding them to use the un-encrypted site, as supposedly being the "safe" one. Whether the cert is self-signed or LE, it's still ENCRYPTION. That's categorically safer! I know the warning is technically to prevent browsing to a site while being "man in the middle'd", but 9999 out of 10000 times, it's just a perfectly fine SS or LE cert. The browser warnings do nothing but scare people away from safer sites.

  57. This idea is not novel by Anonymous Coward · · Score: 0

    This idea isn't novel at all. What solutions have been put into place in places with high security requirements and very deep pockets?

    You need to keep in mind is the objective of an attacker is not to defeat the crypto, but to find a way around it and get the plaintext or keys.

  58. 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...

  59. 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.

  60. Hardware key vault by Anonymous Coward · · Score: 0

    Hardware key vault that wipe the keys if compromised. Even works for cloud based VM images

  61. 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
  62. There is a simple hardware solution. by Anonymous Coward · · Score: 0

    Wrap all of you servers in tinfoil. If you are worried about how to encrypt you entire existence, I'm sure you are very familiar with the stuff.

  63. 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 ]
  64. 4 issues by Anonymous Coward · · Score: 0

    I see four issues here:

    Encryption in storage: Technology and practices exist for this already. If there are multiple servers, they can have individual keys.

    Encryption in transit: Technology and practices exist for this already. If there are multiple servers, they will need to use the same key.

    Proviso: The above can be different systems, requiring a computer to decrypt the data from storage and then encrypt it for transmission. Or conversely, decrypt received data and then encrypt it for storage. It astounds me that no hardware has been built to do this given existing technology, such as GPUs, can perform the bulk of the work. For extra hardening, the keys can be flashed onto the hardware.

    Preventing leakage at workstations: There must be some way of preventing users making a local copy on their machines. This means software such as local email clients are disallowed, unless one implements encryption in storage on workstations too. To keep data off the workstation, an X-windows-type terminal needs to implemented via Java and browsers.

    Preventing theft of the server: With a well-funded thief able to keep power and RAM alive during a robbery, the server needs to be location aware so it shuts down when it leaves the server room. This can be as simple as a simple ping program on the server: If the server doesn't receive the correctly numbered echo from the network, it shuts down.

  65. 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.

  66. 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"
  67. 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
  68. 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!

  69. 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.
  70. HSM by Anonymous Coward · · Score: 0

    Use a hardware security module, like a Safenet KeySecure, to manage your keys. Use different keys for different aspects of your systems so that if one key is compromised only some data is compromised. Use versioned keys to allow frequent key rotation without downtime. Separation of concerns is also important. No one person should know how to get all the keys.

  71. 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
  72. 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.
  73. 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.

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

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

  75. 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).

    1. Re:step back and think by Anonymous Coward · · Score: 0

      Heaven forbid you might want to learn and maybe try a few things out and just want a bit of "best practice" advice.

    2. Re:step back and think by Anonymous Coward · · Score: 0

      there is no just learning when it comes to encryption on your business, you don't get a second chance if you do it wrong, you simply lose EVERYTHING. It is something that needs to be planned and executed by professionals that understand it intimately and designed specifically for your threat scenarios, there is only one piece of right advise here and that is find someone that knows what they are doing. if you think you can get some best practise advise and tips and just try it out you are about to create a clusterfuck.

    3. Re:step back and think by Anonymous Coward · · Score: 0

      The question needs to be treated in the same manner of someone asking about heart surgery on themselves. "Hey I just want some best practise advise about how I would do bypass surgery", the only advise is this should be done by a suitably qualified professional.

  76. 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.

  77. Wouldn't you like to know... by Anonymous Coward · · Score: 0

    Very sneaky NSA, very sneaky, but you'll have to get up pretty early in the morning to fool this woke fox. I {retracted} my {retracted} with {retracted} {retracted], you yellow bellied sons of {retracted} {retracted}!

  78. 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
  79. It's bitztream by Anonymous Coward · · Score: 1

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

  80. How's life in the hypocrite lane?