AMD Platform Security Processor
   HOME

TheInfoList



OR:

The AMD Platform Security Processor (PSP), officially known as AMD Secure Technology, is a
trusted execution environment A trusted execution environment (TEE) is a secure area of a Central processing unit, main processor. It helps the code and data loaded inside it be protected with respect to Information security#Confidentiality, confidentiality and integrity. Data ...
subsystem incorporated since about 2013 into
AMD Advanced Micro Devices, Inc. (AMD) is an American multinational corporation and technology company headquartered in Santa Clara, California and maintains significant operations in Austin, Texas. AMD is a hardware and fabless company that de ...
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 suspicious 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.


Details

The PSP itself represents an
ARM core This is a list of central processing units based on the ARM family of instruction sets designed by ARM Ltd. and third parties, sorted by version of the ARM instruction set, release and name. In 2005, ARM provided a summary of the numerous vendor ...
(
ARM Cortex-A5 The ARM Cortex-A5 is a 32-bit processor core licensed by ARM Holdings implementing the ARMv7-A architecture announced in 2009. Overview The Cortex-A5 is intended to replace the ARM9 and ARM11 cores for use in low-end devices. The Cortex-A5 of ...
) with the
TrustZone ARM (stylised in lowercase as arm, formerly an acronym for Advanced RISC Machines and originally Acorn RISC Machine) is a family of RISC instruction set architectures (ISAs) for computer processors. Arm Holdings develops the ISAs and lice ...
extension which is inserted into the main CPU die as a
coprocessor A coprocessor is a computer processor used to supplement the functions of the primary processor (the CPU). Operations performed by the coprocessor may be floating-point arithmetic, graphics, signal processing, string processing, cryptography or ...
. The PSP contains on-chip firmware which is responsible for verifying the SPI ROM and loading off-chip firmware from it. In 2019, a Berlin-based security group discovered the off-chip firmware in ordinary
UEFI Unified Extensible Firmware Interface (UEFI, as an acronym) is a Specification (technical standard), specification for the firmware Software architecture, architecture of a computing platform. When a computer booting, is powered on, the 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 Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (prog ...
-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 In general, bootstrapping usually refers to a self-starting process that is supposed to continue or grow without external input. Many analytical techniques are often called bootstrap methods in reference to their self-starting or self-supporting ...
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.


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 located directly on the PSP chip sets up the ARM CPU, verifies the integrity of the SPI ROM, using various data structures locates the off-chip firmware (AGESA) from the SPI ROM, and copies it over to internal PSP memory. ; Off-chip phase: The loaded off-chip modules will initialize DRAM and perform platform initialization. Using the previous data structures the off-chip firmware finds UEFI firmware within the SPI ROM and copies it over to DRAM, it may perform additional verification steps and if the system is deemed secure, it will release the x86 cores from their reset state, thus starting UEFI firmware.


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, an Israeli
IT security Computer security (also cybersecurity, digital security, or information technology (IT) security) is a subdiscipline within the field of information security. It consists of the protection of computer software, systems and networks from thr ...
company reported a handful of allegedly serious flaws related to the PSP in AMD's
Zen Zen (; from Chinese: ''Chán''; in Korean: ''Sŏn'', and Vietnamese: ''Thiền'') is a Mahayana Buddhist tradition that developed in China during the Tang dynasty by blending Indian Mahayana Buddhism, particularly Yogacara and Madhyamaka phil ...
architecture CPUs (
EPYC Epyc (stylized as EPYC) is a brand of multi-core x86-64 microprocessors designed and sold by AMD, based on the company's Zen microarchitecture. Introduced in June 2017, they are specifically targeted for the server and embedded system market ...
,
Ryzen Ryzen ( ) is a brand of multi-core x86-64 microprocessors, designed and marketed by AMD for desktop, mobile, server, and embedded platforms, based on the Zen microarchitecture. It consists of central processing units (CPUs) marketed for mai ...
, Ryzen Pro, and Ryzen Mobile) that could allow malware to run and gain access to sensitive information. AMD announced firmware updates to handle these flaws. Their validity from a technical standpoint was upheld by independent security experts who reviewed the disclosures, although the high risks claimed by CTS Labs were dismissed, leading to claims that the flaws were published for the purpose of
stock manipulation In economics and finance, market manipulation occurs when someone intentionally alters the supply or demand of a security to influence its price. This can involve spreading misleading information, executing misleading trades, or manipulating ...
.


See also

*
Intel Management Engine The Intel Management Engine (ME), also known as the Intel Manageability Engine, is an autonomous subsystem that has been incorporated in virtually all of Intel's processor chipsets since 2008. It is located in the Platform Controller Hub of m ...


References

{{Reflist, refs= {{cite web , author-last=Williams , author-first=Rob , date=2017-07-19 , title=AMD Confirms It Won't Opensource EPYC's Platform Security Processor Code , quote=This chip is found on most AMD platforms from 2013 on, and behaves much like Intel's Management Engine does ..The rather blunt realization that PSP wasn't being open sourced came out during a discussion with AMD top brass about EPYC. , url=https://hothardware.com/news/amd-confirms-it-will-not-be-opensourcing-epycs-platform-security-processor-code {{cite web , date=2016 , title=BIOS and Kernel Developer's Guide (BKDG) for AMD Family 16h Models 30h-3Fh Processors , publisher=
AMD Advanced Micro Devices, Inc. (AMD) is an American multinational corporation and technology company headquartered in Santa Clara, California and maintains significant operations in Austin, Texas. AMD is a hardware and fabless company that de ...
, page=156 , url=http://support.amd.com/TechDocs/52740_16h_Models_30h-3Fh_BKDG.pdf
{{cite web , author-last=Martin , author-first=Ryan , date=July 2013 , title=Expert Says NSA Have Backdoors Built Into Intel And AMD Processors , publisher=eteknix.com , url=https://www.eteknix.com/expert-says-nsa-have-backdoors-built-into-intel-and-amd-processors/ , access-date=2018-01-19 {{citation , author-last=Claburn , author-first=Thomas , date=2018-01-06 , title=Security hole in AMD CPUs' hidden secure processor code revealed ahead of patches , publisher=
The Register ''The Register'' (often also called El Reg) is a British Technology journalism, technology news website co-founded in 1994 by Mike Magee (journalist), Mike Magee and John Lettice. The online newspaper's Nameplate_(publishing), masthead Logo, s ...
, url=https://www.theregister.co.uk/2018/01/06/amd_cpu_psp_flaw/
{{cite web , author-last=Larabel , author-first=Michael , author-link=Michael Larabel , date=2017-12-07 , title=AMD Reportedly Allows Disabling PSP Secure Processor With Latest AGESA , quote=This built-in AMD Secure Processor has been criticized by some as another possible attack vector... , url=https://www.phoronix.com/scan.php?page=news_item&px=AMD-PSP-Disable-Option {{cite web , author-last=Millman , author-first=Rene , date=2018-01-08 , title=Security issue found in AMD's Platform Security Processor , url=https://www.scmagazineuk.com/security-issue-found-in-amds-platform-security-processor/article/735414/ {{cite web , author-last=Cimpanu , author-first=Catalin , date=2018-01-06 , title=Security Flaw in AMD's Secure Chip-On-Chip Processor Disclosed Online , url=https://www.bleepingcomputer.com/news/security/security-flaw-in-amds-secure-chip-on-chip-processor-disclosed-online/ {{cite web , author-last=Goodin , author-first=Dan , date=2018-03-13 , title=A raft of flaws in AMD chips makes bad hacks much, much worse , publisher=
Ars Technica ''Ars Technica'' is a website covering news and opinions in technology, science, politics, and society, created by Ken Fisher and Jon Stokes in 1998. It publishes news, reviews, and guides on issues such as computer hardware and software, sci ...
, url=https://arstechnica.com/information-technology/2018/03/a-raft-of-flaws-in-amd-chips-make-bad-hacks-much-much-worse/
{{cite web , author-last=Bright , author-first=Peter , author-link=Peter Bright , date=2018-03-20 , title=AMD promises firmware fixes for security processor bugs All bugs require administrative access to exploit , publisher=
Ars Technica ''Ars Technica'' is a website covering news and opinions in technology, science, politics, and society, created by Ken Fisher and Jon Stokes in 1998. It publishes news, reviews, and guides on issues such as computer hardware and software, sci ...
, url=https://arstechnica.com/gadgets/2018/03/amd-promises-firmware-fixes-for-security-processor-bugs/
{{cite web , author-last=Papermaster , author-first=Mark , author-link=Mark Papermaster , date=2018-03-21 , title=Initial AMD Technical Assessment of CTS Labs Research , publisher=AMD Community , url=https://community.amd.com/community/amd-corporate/blog/2018/03/21/initial-amd-technical-assessment-of-cts-labs-research {{cite web , author-last=Guido , author-first=Dan , title="AMD Flaws" Technical Summary , date=15 March 2018 , url=https://blog.trailofbits.com/2018/03/15/amd-flaws-technical-summary {{cite web , date=2017-06-27 , title=AMD Random Number Generator , publisher=
AMD Advanced Micro Devices, Inc. (AMD) is an American multinational corporation and technology company headquartered in Santa Clara, California and maintains significant operations in Austin, Texas. AMD is a hardware and fabless company that de ...
, url=https://www.amd.com/system/files/TechDocs/amd-random-number-generator.pdf


External links


AMD Pro Security
at AMD Remote administration software Firmware AMD BIOS Unified Extensible Firmware Interface