From fc89ac1ce355ff6109d6e5b77abbec01b6cdacbb Mon Sep 17 00:00:00 2001 From: midas Date: Wed, 22 Jan 2025 17:34:00 +0100 Subject: [PATCH] start threat modeling section --- opsec/cloud_provider_adversary/index.html | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/opsec/cloud_provider_adversary/index.html b/opsec/cloud_provider_adversary/index.html index 6eec2ea..ebc4ee8 100644 --- a/opsec/cloud_provider_adversary/index.html +++ b/opsec/cloud_provider_adversary/index.html @@ -133,6 +133,31 @@ in this post we are going to do a threat modelling exercise:

+

Alice's threat model

+ Alice is very happy with her new deployment. The platform runs great and her team has started using it in earnest. Still, the bond of implicit trust that now exists between her and Bob bothers here. She decides to do a quick threat modelling exercise to calm her mind: instead of wondering about whatifs, she is going to identify the risks associated with her current setup and find ways to mitigate them. + +

Threats to Confidentiality

+ If Bob was dishonest (or compelled into acting dishonestly), he would be able to harvest information directly from her server's memory! (She doesn't know Leo is already hard at work)

+ Impacted assets
+
    +
  • decryption keys (eg: her https private key, allowing for complete decryption of her team's traffic)
  • +
  • sensitive data (ephemeral private messages on her forum that arer only kepy in RAM in an unencrypted form)
  • +
  • software state (session cookies, metadata)
  • +
+ +

+ Bob could also use side-channel attacks by monitoring the underlying server's power usage or run cache timing attack to find the value of her cryptographic secret keys even if Bob's hardware allows her to store them in a dedicated secure chip! + +

Threats to integrity

+ Someone with Bob's level of access (he is the administrator of the hypervisor - the software that runs Alice's virtual server) could also: + +
    +
  • Run an evil maid attack: inject thir own code in the bootloader, in Alice's OS image or inside the hypervisor which Alice can't monitor
  • +
  • Through the hypervisor, tamper with Alice's virtual machine to compromise it
  • +
+ +

Threats to availability

+