Fabricked: Misconfiguring Infinity Fabric to Break AMD SEV-SNP

(xca-attacks.github.io)

51 points | by negura 22 hours ago

5 comments

  • eggnet 19 hours ago
    There are microcode updates for this already https://www.amd.com/en/resources/product-security/bulletin/a...
  • nine_k 21 hours ago
    I wonder how much more expensive it is to rent the whole physical machine at all times for confidential computing purposes, compared to the losses incurred by a breach.
    • AnthonyMouse 19 hours ago
      The premise of attestation is supposed to be that you can use hardware even though it's in the physical possession of someone you don't trust. It's a terrible idea, because vulnerabilities are found on a regular basis and the party you're not supposed to be trusting is then already in possession of your sensitive data when the next one is published. The premise should be abandoned and the parties attempting to get anyone to rely on it should be lampooned and run out of town.

      Not having a multi-tenant system is something else. There you're trying to be protected from other customers, not the provider. Excluding other tenants still wouldn't protect you against the provider, especially on systems with proprietary and potentially exploitable ring -1 hardware they could already be silently in control of even when the entire machine is allocated to you.

      Meanwhile for anything on the scale of an organization, having physical possession of the machine yourself isn't that expensive. People got hoodwinked when virtualization first came around because they compared the cost of having a mostly-idle physical server for each of their applications to having that many cloud VMs, and the cloud VMs were cheaper, but that isn't the right comparison. You don't compare having 100 physical machines to having 100 VMs, even if people used to use 100 physical machines for that in 2005. You compare it to having three physical machines that can each run 100 VMs, and then having physical possession of your own hardware is frequently less expensive.

    • tardedmeme 16 hours ago
      It's actually several times cheaper to rent a whole physical machine than to rent a single Amazon VM of equivalent compute power.
      • wmf 16 hours ago
        Unless you want that whole machine to support IAM/VPC/EBS/etc and have proximity to your other VMs.
        • nullpoint420 16 hours ago
          Yeah I mean sunk cost fallacy, right? If you’ve already hit critical mass in AWS of course you’re going continue investing in it.

          If I were to be CTO of a brand new company today, I’d probably just colocate my own servers with K8S. Much cheaper and much lower latency. 2x 1TB RAM servers with 3x 8TB high speed U.2/U.3 drives each would last years.

          • nine_k 3 hours ago
            What is your plan when one of the machines needs to be taken offline for repairs? The probability is low, but the downside may be large.
            • tardedmeme 1 hour ago
              How would you do that on AWS? They can shut down your VM due to hardware failures on the host. The probability is low, but the impact may be large.
            • throawayonthe 2 hours ago
              have three of them
    • oakwhiz 16 hours ago
      With sufficiently defined lease contracts it should be possible to price out the used machine risk from a new machine... Hmm
    • UltraSane 20 hours ago
      A lot more expensive and this is required for any classified data. I honestly don't think you can truly securely share a CPU with a hostile tenant because their are just too many side-channels.
      • vlovich123 20 hours ago
        A hostile tenant is insufficient if you read the summary. You need a malicious hypervisor (ie your cloud provider) or a way to escape the sandbox and attack the hypervisor. Both attacks are highly unlikely in practice
  • edelbitter 20 hours ago
    What purpose does the "news" of finding another way to break "confidential computing" serve, other than proliferate the incorrect assumption that there even was a working concept beforehand?
    • stingraycharles 18 hours ago
      I guess the reason you provided is the answer to the question.
  • userbinator 20 hours ago
    More evidence that "confidential computing" is just a trick to convince people to hand over control of their computing to "someone else's machine". Never trusted the clown, and never will.
    • 7e 20 hours ago
      A vulnerability is a trick? All complex systems have them, but eventually they will all be formally verified and secure. Progress marches on. Unless you’d rather make your own processors along with the moonshine in your shed, of course.
      • AnthonyMouse 19 hours ago
        If there is a vulnerability in a system you control, you can mitigate it until it can be patched, or if necessary disable access to it until it can be patched.

        If there is a vulnerability in a system controlled by an untrusted party that already has your sensitive data on it, you're pwned.

  • procone 18 hours ago
    Requires an already compromised hypervisor / UEFI. Yawn.
    • Borealid 18 hours ago
      The only purpose of SEV is to protect a guest against the person who controls the hypervisor.

      So this is a threat against SEV.

    • crest 11 hours ago
      That's exactly what SEV is supposed to protect against. If you trust the hypervisor you don't have to encrypt your virtual machine's main memory.