> For the complete documentation index, see [llms.txt](https://docs.enclaive.cloud/confidential-cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enclaive.cloud/confidential-cloud/technology-in-depth/intel-sgx/technology/threat-model.md).

# Threat Model

SGX operates assuming that adversaries have physical or remote access to a computer, allowing them to gain control over various components including boot firmware, System Management Mode, host operating system, hypervisor, guest operating system, user-space applications, and peripheral devices. Specifically, we assume that adversaries can access the main memory and conduct physical and hardware attacks, such as probing buses or accessing main memory through malicious Direct Memory Access (DMA).

In this context, SGX-enclaved programs extend the security perimeter against rootkits, return-oriented programming, Meltdown, Rowhammer, cold boot memory attacks, and DRAM probing attacks.

The primary trust assumption is that the CPU is trusted, specifically the SGX security processor extension. SGX incorporates built-in countermeasures against side-channel attacks to prevent the extraction of key material. However, only limited public documentation is available regarding these countermeasures.

<img src="/files/LLHK3WQYPB6PSrgsdU8f" alt="Summary of the threat model" class="gitbook-drawing">

The adversaries' primary objective is to obtain confidential data or disrupt the execution of an enclave. It is important to note that SGX does not guarantee availability since adversaries have control over all computational resources and can launch Denial of Service (DoS) attacks.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.enclaive.cloud/confidential-cloud/technology-in-depth/intel-sgx/technology/threat-model.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
