ArticleslgStudy

computer science

AMD Platform Security Processor

AMD Platform Security Processor is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand AMD Platform Security Processor rather than just read about it. In short: The AMD Platform Security Processor (PSP), officially known as AMD Secure Technology, is a trusted execution environment subsystem incorporated since about 2013 into AMD microprocessors. According to an AMD developer's guide, the subsystem is "responsible for creating, monitoring and maintaining the security environment" and "its functions include managing the boot process, initializing various security related mech…

AMD Platform Security Processor — main illustration
AMD Platform Security Processor — illustration

Key takeaways

  • AMD Platform Security Processor belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect AMD Platform Security Processor to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of AMD Platform Security Processor from memory before moving on to harder problems.

Reference excerpt

The AMD Platform Security Processor (PSP), officially known as AMD Secure Technology, is a trusted execution environment subsystem incorporated since about 2013 into AMD microprocessors. According to an AMD developer's guide, the subsystem is "responsible for creating, monitoring and maintaining the security environment" and "its functions include managing the boot process, initializing various security related mechanisms, and monitoring the system for any type of activity or events and implementing an appropriate response". Critics worry it can be used as a backdoor and is a security concern. AMD has denied requests to open source the code that runs on the PSP. The equivalent part of PSP on Intel processors is the Intel Management Engine (IME).

Details The PSP itself represents an ARM core (ARM Cortex-A5) with the TrustZone extension which is inserted into the main CPU die as a coprocessor. The PSP contains on-chip firmware which is responsible for verifying the SPI ROM and loading off-chip firmware from it. The PSP also includes a boot processor, which is responsible for some hardware initialization tasks (such as DRAM initialization) in the boot process. In 2019, a Berlin-based security group discovered the off-chip firmware in ordinary UEFI image files (the code that boots up the operating system), which meant that it could be easily analyzed. By using a few hand-written Python-based tools, they found that the off-chip firmware from the SPI ROM contained an application resembling an entire micro operating system. Investigation of a Lenovo ThinkPad A285 notebook's motherboard flash chip (stores UEFI firmware) revealed that the PSP core itself (as a device) is run before the main CPU and that its firmware bootstrapping process starts just before basic UEFI gets loaded. They discovered that the firmware is run inside in the same system's memory space that user's applications do with unrestricted access to it (including MMIO) raising concerns over data safety. Because PSP is the chip that decides whenever the x86 cores will run or not, it is used to implement hardware downcoring, specific cores on the system can be made permanently inaccessible during manufacturing. The PSP also provides a random number generator for the RDRAND instruction and provides TPM services. The OEM/ODM can OTP fuse its PSB public key into the AMD CPU, make digital signing of the UEFI firmware obligatory, and make tampering with the UEFI firmware impossible.

Boot process The PSP is an integral part of the boot process, without which the x86 cores would never be activated.

On-chip phase Firmware ROM integrated directly on the PSP chip sets up the PSP, do early hardware initialization tasks such as system memory (DRAM) initialization, and verifies the integrity of the SPI ROM, using various data structures locates the off-chip firmware (AGESA) from the SPI ROM, and loads it into PSP memory. Off-chip phase The PSP will do further hardware initialization tasks such as reinitialize DRAM. The PSP may perform additional verification steps and if the system is deemed secure, the PSP will find and load UEFI firmware within the SPI ROM, thus starting x86 cores. While UEFI firmware and x86 cores is started, the PSP still do some hardware initialization tasks (such as I/O subsystem initialization) and collaborate with UEFI firmware in the boot process.

Reported vulnerabilities In September 2017, Google security researcher Cfir Cohen reported a vulnerability to AMD of a PSP subsystem that could allow an attacker access to passwords, certificates, and other sensitive information; a patch was rumored to become available to vendors in December 2017. In March 2018, Israeli computer security firm CTS Labs claimed to have discovered major vulnerabilities in Zen chipset PSPs, affecting Epyc, Ryzen, Ryzen Pro, and Ryzen Mobile. Independent security experts agreed that the flaws were genuine, but that they were not as severe as claimed, requiring local administrator access to exploit. AMD announced firmware updates to handle these flaws. CTS Labs publicized the findings after giving AMD only 24 hours to respond, leading to claims that the flaws were published for the purpose of stock manipulation.

See also Intel Management Engine

References

External links AMD Pro Security at AMD

Illustrations

AMD Platform Security Processor: AMD Platform Security Processor settings in an UEFI configuration screen
AMD Platform Security Processor settings in an UEFI configuration screen

Worked examples

Example 1 — a first encounter with AMD Platform Security Processor

Start with the simplest possible case. Write down what AMD Platform Security Processor claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to AMD Platform Security Processor before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about AMD Platform Security Processor ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of AMD Platform Security Processor

In research
AMD Platform Security Processor appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses AMD Platform Security Processor in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
AMD Platform Security Processor is common in secondary-school and first-year university syllabi. It links to neighbouring topics AMD, BIOS, Firmware, so understanding it makes those chapters shorter.
In everyday life
Look for AMD Platform Security Processor outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “AMD Platform Security Processor” →

How to study AMD Platform Security Processor in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what AMD Platform Security Processor means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain AMD Platform Security Processor out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is AMD Platform Security Processor in simple terms?

The AMD Platform Security Processor (PSP), officially known as AMD Secure Technology, is a trusted execution environment subsystem incorporated since about 2013 into AMD microprocessors. According to an AMD developer's guide, the subsystem is "responsible for creating, monitoring and maintaining th…

Why does AMD Platform Security Processor matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study AMD Platform Security Processor?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on AMD Platform Security Processor.

Tags

  • AMD
  • BIOS
  • Firmware
  • Remote administration software
  • Unified Extensible Firmware Interface

Keep exploring