WO2024257053A1 - Systems and methods for implementing secure performance counters for guest virtual machines - Google Patents
Systems and methods for implementing secure performance counters for guest virtual machines Download PDFInfo
- Publication number
- WO2024257053A1 WO2024257053A1 PCT/IB2024/055865 IB2024055865W WO2024257053A1 WO 2024257053 A1 WO2024257053 A1 WO 2024257053A1 IB 2024055865 W IB2024055865 W IB 2024055865W WO 2024257053 A1 WO2024257053 A1 WO 2024257053A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- circuitry
- performance counter
- guest
- architecture performance
- security
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/556—Detecting local intrusion or implementing counter-measures involving covert channels, i.e. data leakage between processes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/71—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45587—Isolation or security of virtual machine instances
Definitions
- FIG. 1 is a block diagram of an example system for implementing secure performance counters for guest virtual machines.
- FIG. 2 is a block diagram of an additional example system for implementing secure performance counters for guest virtual machines.
- FIG. 3 is a flow diagram of an example method for implementing secure performance counters for guest virtual machines.
- FIG. 4 is a block diagram of an example virtualization environment including a secure processor for implementing secure performance counters for guest virtual machines.
- FIG. 5 is a block diagram of example security settings for implementing secure performance counters for guest virtual machines.
- the present disclosure is generally directed to systems and methods for implementing secure performance counters for guest virtual machines.
- Architecture performance counters provide valuable information about CPU, caches, memory, input-output (IO), power, etc.
- these APCs can be selectively configured by a malicious hypervisor (HV) to track specific guest virtual machine (VM) activities.
- HV hypervisor
- I0MMU input-output memory management unit
- APCs can be configured to track specific bus/device/function (BDF) and domain identifiers (IDs) belonging to secure guests.
- the disclosed systems and methods can ensure that, in a trusted execution environment with a malicious HV, access to APCs can be enabled only by the secure processor, as opposed to the hypervisor, and pre-approved by the guest.
- the disclosed techniques can authorize a host circuitry to access an architecture performance counter for the virtual function, and performing, by the at least one processor, a security action based on the authorization.
- the disclosed techniques can thwart side-channel and covert-channel attacks on guest VMs due to unfettered access to APCs by a malicious hypervisor and/or malicious guests.
- a computing device includes guest circuitry configured to provide a virtual function, authorization circuitry configured to authorize a host circuitry to access an architecture performance counter for the virtual function, and security circuitry configured to perform a security action based on the authorization.
- Another example can be the previously described example computing device, wherein the security action includes providing, to the host circuitry, the architecture performance counter at least partly in response to a security setting indicating that the host circuitry is authorized to receive the architecture performance counter.
- Another example can be any of the previously described example computing devices, wherein the security circuitry is configured to receive a request for the architecture performance counter from the host circuitry and provide the architecture performance counter to the host circuitry further in response to the request.
- Another example can be any of the previously described example computing devices, wherein the request includes information indicating at least one of one or more intended uses of the architecture performance counter or at least one of a particular hypervisor corresponding to a physical function provided by the host circuitry or a particular type of the particular hypervisor corresponding to the physical function.
- Another example can be any of the previously described example computing devices, wherein the security setting includes at least one of at least one trusted hypervisor security setting authorizing at least one of the particular hypervisor or the particular type of the particular hypervisor to receive the architecture performance counter or at least one trusted use security setting authorizing the one or more intended uses of the architecture performance counter.
- Another example can be any of the previously described example computing devices, wherein the authorization circuitry is configured to authorize the host circuitry based on at least one of the at least one trusted hypervisor security setting or the at least one trusted use security setting.
- Another example can be any of the previously described example computing devices, wherein the security circuitry is configured to communicate a prompt, in response to the request, to a user interacting with the virtual function, wherein the prompt is configured to communicate, to the user, the information indicating at least one of the at least one of the particular hypervisor or the particular type of the particular hypervisor or the one or more intended uses of the architecture performance counter.
- Another example can be any of the previously described example computing devices, the security circuitry is configured to receive user input from the user interacting with the virtual function and the authorization circuitry is configured to modify the security setting based on the user input.
- the authorization circuitry is configured to maintain the architecture performance counter.
- Another example can be any of the previously described example computing devices, further including additional guest circuitry configured to provide an additional virtual function, wherein the security circuitry is configured to receive a request for the architecture performance counter from the additional guest circuitry, the authorization circuitry is configured to additionally authorize the additional guest circuitry to access the architecture performance counter, and the security circuitry is configured to provide the architecture performance counter to the additional guest circuitry based on the additional authorization.
- a server system can include host circuitry configured to provide a physical function and guest circuitry configured to provide a virtual function, authorize the host circuitry to access an architecture performance counter for the virtual function, and perform a security action based on the authorization.
- Another example can be the previously described example server system, wherein the security action includes providing, to the host circuitry, the architecture performance counter at least partly in response to a security setting indicating that the host circuitry is authorized to receive the architecture performance counter.
- Another example can be any of the previously described example server systems, wherein the guest circuitry is configured to receive a request for the architecture performance counter from the host circuitry and provide the architecture performance counter to the host circuitry further in response to the request.
- Another example can be any of the previously described example server systems, wherein the request includes information indicating at least one of one or more intended uses of the architecture performance counter or at least one of a particular hypervisor corresponding to a physical function provided by the host circuitry or a particular type of the particular hypervisor corresponding to the physical function.
- Another example can be any of the previously described example server systems, wherein the security setting includes at least one of at least one trusted hypervisor security setting authorizing at least one of the particular hypervisor or the particular type of the particular hypervisor to receive the architecture performance counter or at least one trusted use security setting authorizing the one or more intended uses of the architecture performance counter.
- Another example can be any of the previously described example server systems, wherein the guest circuitry is configured to authorize the host circuitry based on at least one of the at least one trusted hypervisor security setting or the at least one trusted use security setting.
- Another example can be any of the previously described example server systems, wherein the guest circuitry is configured to communicate a prompt, in response to the request, to a user interacting with the virtual function, wherein the prompt is configured to communicate, to the user, the information indicating at least one of the at least one of the particular hypervisor or the particular type of the particular hypervisor or the one or more intended uses of the architecture performance counter.
- Another example can be any of the previously described example server systems, further including additional guest circuitry configured to provide an additional virtual function, wherein the guest circuitry is configured to receive a request for the architecture performance counter from the additional guest circuitry, additionally authorize the additional guest circuitry to access the architecture performance counter, and provide the architecture performance counter to the additional guest circuitry based on the additional authorization.
- a computer-implemented method includes providing, by at least one processor, a virtual function, authorizing, by the at least one processor, a host circuitry to access an architecture performance counter for the virtual function, and performing, by the at least one processor, a security action based on the authorization.
- Another example can be the previously described example computer- implemented method, further including receiving a request for the architecture performance counter from an additional guest circuitry configured to provide an additional virtual function, additionally authorize the additional guest circuitry to access the architecture performance counter and provide the architecture performance counter to the additional guest circuitry based on the additional authorization.
- FIG. 1 is a block diagram of an example system 100 for implementing secure performance counters for guest virtual machines.
- example system 100 can include one or more modules 102 for performing one or more tasks.
- modules 102 can include a guest module 104, an authorization module 106, and a security module 108.
- modules 102 in FIG. 1 can represent portions of a single module or application.
- one or more of modules 102 in FIG. 1 can represent one or more software applications or programs that, when executed by a computing device, can cause the computing device to perform one or more tasks.
- one or more of modules 102 can represent modules stored and configured to run on one or more computing devices, such as the devices illustrated in FIG. 2 (e.g., computing device 202 and/or server 206).
- One or more of modules 102 in FIG. 1 can also represent all or portions of one or more special-purpose computers configured to perform one or more tasks.
- example system 100 can also include one or more memory devices, such as memory 140.
- Memory 140 generally represents any type or form of volatile or non-volatile storage device or medium capable of storing data and/or computer-readable instructions.
- memory 140 can store, load, and/or maintain one or more of modules 102.
- Examples of memory 140 include, without limitation, Random Access Memory (RAM), Read Only Memory (ROM), flash memory, Hard Disk Drives (HDDs), Solid-State Drives (SSDs), optical disk drives, caches, variations or combinations of one or more of the same, or any other suitable storage memory.
- example system 100 can also include one or more physical processors, such as physical processor 130.
- Physical processor 130 generally represents any type or form of hardware-implemented processing unit capable of interpreting and/or executing computer-readable instructions.
- physical processor 130 can access and/or modify one or more of modules 102 stored in memory 140. Additionally or alternatively, physical processor 130 can execute one or more of modules 102 to facilitate implementing secure performance counters for guest virtual machines.
- Examples of physical processor 130 include, without limitation, microprocessors, microcontrollers, Central Processing Units (CPUs), Field- Programmable Gate Arrays (FPGAs) that implement softcore processors, Application-Specific Integrated Circuits (ASICs), portions of one or more of the same, variations or combinations of one or more of the same, or any other suitable physical processor.
- CPUs Central Processing Units
- FPGAs Field- Programmable Gate Arrays
- ASICs Application-Specific Integrated Circuits
- example system 100 can also include one or more system resources, such as system resources 120.
- System resources 120 generally represents any type or form of circuits (e.g., hardware, software, firmware, digital circuits, analog circuits, or combinations thereof) and/or stored data, however stored (e.g., signal line transmissions, bit registers, flip flops, software in rewritable memory, configurable hardware states, combinations thereof, etc.).
- system resources 120 includes underlying hardware, firmware, processing blocks, major and/or minor operating systems, databases, spreadsheets, tables, lists, matrices, trees, or any other type of data structure. Examples of system resources 120 include, without limitation, guest circuitry 122, host circuitry 124, architecture performance counter 126, and security setting 128.
- Example system 100 in FIG. 1 can be implemented in a variety of ways.
- all or a portion of example system 100 can represent portions of example system 200 in FIG. 2.
- system 200 can include a computing device 202 in communication with a server 206 via a network 204.
- all or a portion of the functionality of modules 102 can be performed by computing device 202, server 206, and/or any other suitable computing system.
- one or more of modules 102 from FIG. 1 can, when executed by at least one processor of computing device 202 and/or server 206, enable computing device 202 and/or server 206 to implement secure performance counters for guest virtual machines.
- Computing device 202 generally represents any type or form of computing device capable of reading computer-executable instructions.
- computing device 202 can be and/or include a graphics processing unit having a chiplet processor connected by a switch fabric.
- Additional examples of computing device 202 include, without limitation, laptops, tablets, desktops, servers, cellular phones, Personal Digital Assistants (PDAs), multimedia players, embedded systems, wearable devices (e.g., smart watches, smart glasses, etc.), smart vehicles, so-called Internet-of-Things devices (e.g., smart appliances, etc.), gaming consoles, variations or combinations of one or more of the same, or any other suitable computing device.
- PDAs Personal Digital Assistants
- multimedia players e.g., Apple iPods, Samsung Galaxy Tabs, etc.
- wearable devices e.g., smart watches, smart glasses, etc.
- smart vehicles so-called Internet-of-Things devices (e.g., smart appliances, etc.)
- gaming consoles variations or combinations of one or more of the same,
- Server 206 generally represents any type or form of computing device that is capable of reading computer-executable instructions.
- computing device 202 can be and/or include a cloud service (e.g., cloud gaming server) that includes a graphics processing unit having a chiplet processor connected by a switch fabric.
- cloud service e.g., cloud gaming server
- Additional examples of server 206 include, without limitation, storage servers, database servers, application servers, and/or web servers configured to run certain software applications and/or provide various storage, database, and/or web services.
- server 206 can include and/or represent a plurality of servers that work and/or operate in conjunction with one another.
- Network 204 generally represents any medium or architecture capable of facilitating communication or data transfer.
- network 204 can facilitate communication between computing device 202 and server 206.
- network 204 can facilitate communication or data transfer using wireless and/or wired connections.
- Examples of network 204 include, without limitation, an intranet, a Wide Area Network (WAN), a Local Area Network (LAN), a Personal Area Network (PAN), the Internet, Power Line Communications (PLC), a cellular network (e.g., a Global System for Mobile Communications (GSM) network), portions of one or more of the same, variations or combinations of one or more of the same, or any other suitable network.
- WAN Wide Area Network
- LAN Local Area Network
- PAN Personal Area Network
- PLC Power Line Communications
- GSM Global System for Mobile Communications
- EIG. 1 and/or system 200 in EIG. 2 can be connected to system 100 in EIG. 1 and/or system 200 in EIG. 2. Conversely, all of the components and devices illustrated in EIGS. 1 and 2 need not be present to practice the implementations described and/or illustrated herein. The devices and subsystems referenced above can also be interconnected in different ways from that shown in EIG. 2. Systems 100 and 200 can also employ any number of software, firmware, and/or hardware configurations. Lor example, one or more of the example implementations disclosed herein can be encoded as a computer program (also referred to as computer software, software applications, computer-readable instructions, and/or computer control logic) on a computer- readable medium.
- a computer program also referred to as computer software, software applications, computer-readable instructions, and/or computer control logic
- computer-readable medium generally refers to any form of device, carrier, or medium capable of storing or carrying computer-readable instructions.
- Examples of computer-readable media include, without limitation, transmission-type media, such as carrier waves, and non-transitory-type media, such as magnetic-storage media (e.g., hard disk drives, tape drives, and floppy disks), optical-storage media (e.g., Compact Disks (CDs), Digital Video Disks (DVDs), and BLU-RAY disks), electronic-storage media (e.g., solid-state drives and flash media), and other distribution systems.
- transmission-type media such as carrier waves
- non-transitory-type media such as magnetic-storage media (e.g., hard disk drives, tape drives, and floppy disks), optical-storage media (e.g., Compact Disks (CDs), Digital Video Disks (DVDs), and BLU-RAY disks), electronic-storage media (e.g., solid-state drives and flash media),
- FIG. 3 is a flow diagram of an example computer-implemented method 300 for implementing secure performance counters for guest virtual machines.
- the steps shown in FIG. 3 can be performed by any suitable computer-executable code and/or computing system, including system 100 in FIG. 1, system 200 in FIG. 2, and/or variations or combinations of one or more of the same.
- each of the steps shown in FIG. 3 can represent an algorithm whose structure includes and/or is represented by multiple sub-steps, examples of which will be provided in greater detail below.
- one or more of the systems described herein can provide a virtual function.
- guest module 104 can, as part of computing device 202 in FIG. 2, provide, by at least one processor, a virtual function.
- guest circuitry can generally refer to underlying hardware.
- guest circuitry can refer to the underlying hardware that provides a functional hardware instance to an operating system and application software that is completely separate and independent from host circuitry.
- virtual function can generally refer to a function on a network, graphics, or GPU adapter.
- virtual function can refer to a PCI Express (PCIe) Virtual Function (VF) that is a lightweight PCIe function on the adapter that supports single root I/O virtualization (SR-IOV).
- PCIe PCI Express
- VF Virtual Function
- the virtual function can be associated with a PCIe Physical Function (PF) on the adapter and represent a virtualized instance of the adapter.
- PF PCIe Physical Function
- Each virtual function can have its own PCI Configuration space.
- Each virtual function can also share one or more physical resources on the adapter, such as device memory, with the physical function and other virtual functions.
- guest module 104 can, as part of computing device 202 in FIG. 2, provide a virtual function associated with a child partition in a virtualized environment.
- guest module 104 can correspond to a graphics processing unit (GPU) of a server system, such as server 206 of FIG. 2.
- GPU graphics processing unit
- child partition can generally refer to a type of hard disk partition used in virtualization environments.
- the child partition can be a logical hard drive partition used specifically by virtual machines to store and retrieve their native operating system, data, and applications.
- virtualized environment can generally refer to an operating system environment where multiple virtual machines can run on a single physical machine or cluster, sharing the physical machine resources.
- a virtual processor can run on only one physical processor at a time.
- authorization module 106 can, as part of computing device 202 in FIG. 2, authorize, by the at least one processor, a host circuitry to access an architecture performance counter for the virtual function.
- host circuitry can generally refer to underlying hardware.
- host circuitry can refer to the underlying hardware that provides computing resources, such as processing power, memory, disk and network I/O.
- host circuitry can provide a physical function as part of a parent partition in a virtualized environment.
- physical function can generally refer to a network, graphics, or GPU adapter.
- physical function can refer to a PCI Express (PCIe) function of an adapter that supports the single root TO virtualization (SR- IOV) interface.
- PCIe PCI Express
- the physical function can include the SR-IOV Extended Capability in the PCIe Configuration space. This capability can be used to configure and manage the SR-IOV functionality of the adapter, such as enabling virtualization and exposing PCIe Virtual Functions.
- the physical function can be exposed as a physical adapter in the management operating system of a hypervisor parent partition.
- hypervisor parent partition can generally refer to an instance of partition within a virtualization environment that is responsible for running a virtualization stack and creating child partitions.
- the parent partition can be the second layer of partition after a root partition.
- the parent partition can directly interface with hardware and logical virtualization resources.
- architecture performance counter can generally refer to one or more registers that store counts of hardware related activities.
- architecture performance counters can be a set of special-purpose registers built into microprocessors to store the counts of hardware-related activities within computer systems. Advanced users often rely on those counters to conduct low-level performance analysis or tuning.
- authorization module 106 can, as part of computing device 202 in FIG. 2, maintain the architecture performance counter. Alternatively or additionally, authorization module 106 can, as part of computing device 202 in FIG. 2, authorize the host circuitry based on at least one of the at least one trusted hypervisor security setting or the at least one trusted use security setting. Alternatively or additionally, authorization module 106 can, as part of computing device 202 in FIG. 2, modify the security setting based on ser input.
- the security setting can include at least one of at least one trusted hypervisor security setting authorizing at least one of the particular hypervisor or the particular type of the particular hypervisor to receive the architecture performance counter or at least one trusted use security setting authorizing the one or more intended uses of the architecture performance counter.
- authorization module 106 can, as part of computing device 202 in FIG. 2, authorize the host circuitry based on at least one of the at least one trusted hypervisor security setting or the at least one trusted use security setting.
- authorization module 106 can, as part of computing device 202 in FIG. 2, additionally authorize an additional guest circuitry to access the architecture performance counter.
- the authorization circuitry can correspond to a trusted micro-processor (e.g., Root of Trust (RoT) of a GPU of a server system, such as server 206 of FIG. 2.
- RoT Root of Trust
- security module 108 can, as part of computing device 202 in FIG. 2, perform, by the at least one processor, a security action based on the authorization.
- security action can generally refer to a programmed response taken by a computer processor.
- security action may refer to granting access, denying access, generating an alert, etc.
- the systems described herein can perform step 306 in a variety of ways.
- security module 108 can, as part of computing device 202 in FIG. 2, perform the security action by providing, to the host circuitry, the architecture performance counter at least partly in response to a security setting indicating that the host circuitry is authorized to receive the architecture performance counter.
- security module 108 can, as part of computing device 202 in FIG.
- security module 108 can, as part of computing device 202 in FIG. 2, perform the security action by receiving a request that includes information indicating at least one of one or more intended uses of the architecture performance counter or at least one of a particular hypervisor corresponding to a physical function provided by the host circuitry or a particular type of the particular hypervisor corresponding to the physical function.
- security module 108 can, as part of computing device 202 in FIG.
- security module 108 can, as part of computing device 202 in FIG. 2, perform the security action by receiving user input from the user interacting with the virtual function.
- security module 108 can, as part of computing device 202 in FIG. 2, receive a request for the architecture performance counter from an additional guest circuitry configured to provide an additional virtual function and provide the architecture performance counter to the additional guest circuitry based on the additional authorization.
- the authorization circuitry can correspond to a trusted micro-processor (e.g., Root of Trust (RoT) of a GPU of a server system, such as server 206 of FIG. 2.
- RoT Root of Trust
- the implementations described above can address an issue relating to side channel attacks by other guest circuitry in which the other guest circuitry can access performance counters that leak information for the guest circuitry. For example, if the other guest circuitry can use performance counters to track cache misses and if the guest circuitry is the only other guest active, then the guest circuitry’s memory access information can be leaked in a side-channel attack. When this leak occurs with the guest circuitry’s consent, it can result in a covert channel between the guest circuitry and the other guest circuitry in which the guest circuitry causes a counter value to change and the other guest circuitry reads it in a covert channel attack. Such attacks do not require the hypervisor's involvement. To thwart these attacks, the secure processor can deny the other guest circuitry access those performance counters that could be used to track the guest circuitry.
- an example virtualized environment 400 includes a server 402 (e.g., cloud services server, cloud gaming server, etc.), connected over a communications network 404 (e.g., intranet, WAN, LAN, PAN, the Internet, PLC, cellular network, etc.) and computing devices 406 and 408 (e.g., personal computers, mobile devices, gaming consoles, etc.).
- a server 402 e.g., cloud services server, cloud gaming server, etc.
- a communications network 404 e.g., intranet, WAN, LAN, PAN, the Internet, PLC, cellular network, etc.
- computing devices 406 and 408 e.g., personal computers, mobile devices, gaming consoles, etc.
- Server 402 can include a secure processor 410 for implementing secure performance counters for guest virtual machines, and secure processor 410 can have underlying circuitry 412 with appropriate software (e.g., operating system, system kernel, device drivers, etc.) that, in combination with host circuitry 414 and one or more instances of guest circuitry 416 and 418, can provide the virtualized environment 400.
- appropriate software e.g., operating system, system kernel, device drivers, etc.
- host circuitry 414 and guest circuitry 416 and 418 can be hardware blocks (e.g., firmware) having minor operating systems and be configured to operate as containers for system images. Accordingly, underlying circuitry 412 can enable the corresponding hardware blocks to operate as the host circuitry 414 and guest circuitry 416 and 418. With such configurations, host circuitry can provide a hypervisor 420 and guest circuitry 416 and 418 can provide respective virtual functions 422 and 424. Hypervisor 420 can run an application for the server 402 and virtual functions 422 and 424 can run respective applications (e.g., cloud gaming software) for computing devices 406 and 408.
- applications e.g., cloud gaming software
- computing devices 406 and 408 also can run applications and/or emulators 426 and 428 that synchronize with their respective virtual functions 422 and 424.
- computing devices 406 and 408 can also store and maintain respective user sessions 430 and 432 (e.g., game save data, user preferences, etc.) that can be copied to their respective guest circuitry 416 and 418 and stored as user sessions 434 and 436.
- guest circuitry 416 and 418 can store and maintain these user sessions 434 and 436 for their respective computing devices 406 and 408.
- hypervisor 420 of the example virtualized environment 400 is not allowed to enable architecture performance counters for guest circuitry 416 and 418. Instead, secure processor 410 can enable the architecture performance counters 438 and 440, which can be maintained by underlying circuitry 412 as architecture performance counters 438 and 440 and/or by guest circuitry 416 and 418 as architecture performance counters 442 and 444. However, to obtain any of the architecture performance counters 438-444 and store them at host circuitry as architecture performance counters 446, hypervisor 420 can utilize APC request circuitry 448 of host circuitry 414 to request the architecture performance counters 438-444. Such a request can be received and processed by authorization and/or security circuitry 450 of underlying circuitry 412 and/or authorization and/or security circuitry 452 and 454 of respective guest circuitry 416 and 418.
- the request can identify the requested counters, the hypervisor 420, a type (e.g., brand, cloud game name, etc.) of the hypervisor, and/or intended uses (e.g., necessary for functionality, trouble shooting, monetization, etc.) of the requested architecture performance counters.
- authorization and/or security circuitry 450 can determine, based on security settings 456 and 458 maintained by the underlying circuitry 412, if the hypervisor is authorized to receive any of the requested architecture performance counters.
- authorization and/or security circuitry 452 and/or 454 can determine, based on security settings maintained as part of user sessions 434 and 436 (e.g., user preferences), if the hypervisor 420 is authorized to receive any of the requested architecture performance counters.
- authorization and/or security circuitry 450, 452, and/or 454 can consult both security settings 456 and/or 458 (e.g., default and/or recommended security settings) and user sessions 434 and/or 436 (e.g., user preferences).
- authorization and/or security circuitry 450-454 can communicate a prompt to users of the computing devices 406 and 408 asking if they wish to authorize hypervisor 420 to receive their respective architecture performance counters as requested by the hypervisor 420.
- users can authorize particular hypervisors, particular types of hypervisors, and/or particular uses of their respective architecture performance counters.
- users can provide different responses for different types of architecture performance counters. User responses can be recorded in security settings 456 and 458 and/or user sessions 430-436 for subsequent reference.
- authorization and/or security circuitry 450-454 can prompt users in response to an absence of defined security settings 456 and 458 and/or relevant user preferences in user sessions 430-436.
- authorization and/or security circuitry 450-454 can receive similar requests from guest circuitry 416 and/or 418 and process these requests in similar fashion.
- users can also authorize guest circuitry 416 and/or 418 of other users to receive their respective architecture performance counters 438-444 based on a particular virtual function (e.g., other user identity), particular type of the other user (e.g., in the user’s friends list, currently engaged in cooperative play with the user, etc.), and/or intended uses by the other user and/or virtual function requesting the architecture performance counters.
- example security settings 500 are shown in the form of a security settings table 502 but can take any number of forms or formats.
- Column headings of the example table 502 can include architecture performance counters 504, trusted requestor identities 506, trusted requestor types 508, and trusted uses 510.
- the first column can define rows corresponding to particular architecture performance counters 504A-504C and/or particular types of performance counters.
- the rows can be arranged in an ascending or descending order according to usefulness of the performance counters 504A-504C, such as a whether the architecture performance counter is often needed for functionality (e.g., necessary APCs) and/or usefulness for side channel tracking.
- a prompt to a user can take the form of table 502 populated with default and/or recommended settings for the user to confirm, modify, and/or override.
- the prompt can convey information about the usefulness (e.g., associated risks) of the architecture performance counters and/or the intended uses of those counters by one or more requestors.
- a user can create and/or modify contents of cells 506A-506C, 508A-508C, and/or 510A-510C to grant or deny access to individual requestors (e.g., hypervisors and/or other guests), types of requestors (e.g., brands, friends list members, etc.), and/or intended uses as previously described.
- the confirmed and/or modified table 502 can be applied in determining whether to grant access to a requestor and also stored for later use.
- the disclosed systems and methods can obtain guest preapproval for a hypervisor and/or another guest to trace guest activities (e.g., input/output translation lookaside buffer (IOTLB) invalidations).
- the disclosed techniques can ensure that the guest is aware when it is being profiled and for what type of activities.
- programming of architecture performance counters to monitor guest activities can be delegated to a secure processor and/or secure firmware as opposed to the hypervisor. In this way, a malicious hypervisor can be prevented from programming any architecture performance counter to trace guest activities except as approved by the guest.
- the secure processor can also ensure that a guest does not approve access to its APCs by another guest, thus preventing two or more malicious guests from colluding and establishing covert communication channels via architecture performance counters.
- the disclosed techniques further avoid blanket banning all architecture performance counters across all users for security. Nor do the disclosed techniques require any changes to guest software/application (e.g., application hardening for security).
- example system 100 in FIG. 1 can represent portions of a cloud-computing or network-based environment.
- Cloud-computing environments can provide various services and applications via the Internet. These cloud-based services (e.g., software as a service, platform as a service, infrastructure as a service, etc.) can be accessible through a web browser or other remote interface.
- Various functions described herein can be provided through a remote desktop environment or any other cloud-based computing environment.
- all or a portion of example system 100 in FIG. 1 can facilitate multi-tenancy within a cloud-based computing environment.
- the modules described herein can configure a computing system (e.g., a server) to facilitate multitenancy for one or more of the functions described herein.
- a computing system e.g., a server
- one or more of the modules described herein can program a server to enable two or more clients (e.g., customers) to share an application that is running on the server.
- clients e.g., customers
- a server programmed in this manner can share an application, operating system, processing system, and/or storage system among multiple customers (i.e., tenants).
- tenants i.e., customers
- One or more of the modules described herein can also partition data and/or configuration information of a multi-tenant application for each customer such that one customer cannot access data and/or configuration information of another customer.
- example system 100 in FIG. 1 can be implemented within a virtual environment.
- the modules and/or data described herein can reside and/or execute within a virtual machine.
- virtual machine generally refers to any operating system environment that is abstracted from computing hardware by a virtual machine manager (e.g., a hypervisor).
- example system 100 in FIG. 1 can represent portions of a mobile computing environment.
- Mobile computing environments can be implemented by a wide range of mobile computing devices, including mobile phones, tablet computers, e-book readers, personal digital assistants, wearable computing devices (e.g., computing devices with a head-mounted display, smartwatches, etc.), variations or combinations of one or more of the same, or any other suitable mobile computing devices.
- mobile computing environments can have one or more distinct features, including, for example, reliance on battery power, presenting only one foreground application at any given time, remote management features, touchscreen features, location and movement data (e.g., provided by Global Positioning Systems, gyroscopes, accelerometers, etc.), restricted platforms that restrict modifications to system-level configurations and/or that limit the ability of third-party software to inspect the behavior of other applications, controls to restrict the installation of applications (e.g., to only originate from approved application stores), etc.
- Various functions described herein can be provided for a mobile computing environment and/or can interact with a mobile computing environment.
- implementations have been described and/or illustrated herein in the context of fully functional computing systems, one or more of these example implementations can be distributed as a program product in a variety of forms, regardless of the particular type of computer-readable media used to actually carry out the distribution.
- the implementations disclosed herein can also be implemented using modules that perform certain tasks. These modules can include script, batch, or other executable files that can be stored on a computer-readable storage medium or in a computing system. In some implementations, these modules can configure a computing system to perform one or more of the example implementations disclosed herein.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Storage Device Security (AREA)
Abstract
Description
Claims
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP24822948.6A EP4728405A1 (en) | 2023-06-15 | 2024-06-14 | Systems and methods for implementing secure performance counters for guest virtual machines |
| CN202480037317.4A CN121285808A (en) | 2023-06-15 | 2024-06-14 | System and method for implementing security performance counters for guest virtual machines |
| KR1020267000607A KR20260022404A (en) | 2023-06-15 | 2024-06-14 | Systems and methods for implementing security performance counters for guest virtual machines |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/335,861 | 2023-06-15 | ||
| US18/335,861 US20250322057A1 (en) | 2023-06-15 | 2023-06-15 | Systems and methods for implementing secure performance counters for guest virtual machines |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024257053A1 true WO2024257053A1 (en) | 2024-12-19 |
Family
ID=93851526
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/IB2024/055865 Ceased WO2024257053A1 (en) | 2023-06-15 | 2024-06-14 | Systems and methods for implementing secure performance counters for guest virtual machines |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US20250322057A1 (en) |
| EP (1) | EP4728405A1 (en) |
| KR (1) | KR20260022404A (en) |
| CN (1) | CN121285808A (en) |
| WO (1) | WO2024257053A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180019979A1 (en) * | 2016-07-15 | 2018-01-18 | International Business Machines Corporation | Restricting guest instances in a shared environment |
| US20210049030A1 (en) * | 2019-08-16 | 2021-02-18 | Advanced Micro Devices, Inc. | Graphics processing unit profiling tool virtualization |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7181744B2 (en) * | 2002-10-24 | 2007-02-20 | International Business Machines Corporation | System and method for transferring data between virtual machines or other computer entities |
| US20110061050A1 (en) * | 2009-09-04 | 2011-03-10 | Sahita Ravi L | Methods and systems to provide platform extensions for trusted virtual machines |
| US8943415B2 (en) * | 2010-01-08 | 2015-01-27 | Microsoft Corporation | Third party control of location information access |
| US20240220603A1 (en) * | 2022-12-29 | 2024-07-04 | Advanced Micro Devices, Inc. | Secure virtualized performance monitoring counters |
-
2023
- 2023-06-15 US US18/335,861 patent/US20250322057A1/en active Pending
-
2024
- 2024-06-14 WO PCT/IB2024/055865 patent/WO2024257053A1/en not_active Ceased
- 2024-06-14 CN CN202480037317.4A patent/CN121285808A/en active Pending
- 2024-06-14 KR KR1020267000607A patent/KR20260022404A/en active Pending
- 2024-06-14 EP EP24822948.6A patent/EP4728405A1/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180019979A1 (en) * | 2016-07-15 | 2018-01-18 | International Business Machines Corporation | Restricting guest instances in a shared environment |
| US20210049030A1 (en) * | 2019-08-16 | 2021-02-18 | Advanced Micro Devices, Inc. | Graphics processing unit profiling tool virtualization |
Non-Patent Citations (1)
| Title |
|---|
| WOO ELENA, LENG LAI, ZWOLINSKI MARK, HALAK BASEL: "Hardware Performance Counters for System Reliability Monitoring", 2017 IEEE 2ND INTERNATIONAL VERIFICATION AND SECURITY WORKSHOP (IVSW), 1 January 2017 (2017-01-01), XP093255596, Retrieved from the Internet <URL:https://ieeexplore.ieee.org/stampPDF/getPDF.jsp?tp=&arnumber=8031548&ref=aHR0cHM6Ly9pZWVleHBsb3JlLmllZWUub3JnL2RvY3VtZW50LzgwMzE1NDg=> * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN121285808A (en) | 2026-01-06 |
| EP4728405A1 (en) | 2026-04-22 |
| KR20260022404A (en) | 2026-02-19 |
| US20250322057A1 (en) | 2025-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9898601B2 (en) | Allocation of shared system resources | |
| US10686605B2 (en) | Technologies for implementing mutually distrusting domains | |
| US10831889B2 (en) | Secure memory implementation for secure execution of virtual machines | |
| US20190147160A1 (en) | Virtual machine manager facilitated selective code integrity enforcement | |
| EP3759597B1 (en) | Systems and methods for running applications on a multi-tenant container platform | |
| US9021546B1 (en) | Systems and methods for workload security in virtual data centers | |
| US11343082B2 (en) | Resource sharing for trusted execution environments | |
| US20130097392A1 (en) | Protecting memory of a virtual guest | |
| US7707629B2 (en) | Platform configuration register virtualization apparatus, systems, and methods | |
| US20160246974A1 (en) | Inter-virtual machine communication | |
| EP3811250B1 (en) | Systems and methods for controlling access to a peripheral device | |
| US10084784B1 (en) | Restricting access to computing resources | |
| US9147066B1 (en) | Systems and methods for providing controls for application behavior | |
| US20190303305A1 (en) | Systems and methods for providing secure memory | |
| US11449601B2 (en) | Proof of code compliance and protected integrity using a trusted execution environment | |
| US10956564B2 (en) | Systems and methods for key-based isolation of system management interrupt (SMI) functions and data | |
| US10338818B1 (en) | Systems and methods for enabling safe memory de-duplication in shared-computing environments | |
| US20250322057A1 (en) | Systems and methods for implementing secure performance counters for guest virtual machines | |
| US20070056033A1 (en) | Platform configuration apparatus, systems, and methods | |
| US20250337726A1 (en) | Launching authenticated content on arm realm management mode architecture systems | |
| US12164641B1 (en) | Designating an operational mode for an integrated circuit | |
| US8578142B2 (en) | System and method for shared data storage | |
| WO2025096146A1 (en) | Detection of malicious direct memory access device used for direct device assignment | |
| CN118228248A (en) | Maintaining data confidentiality in shared computing environments |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24822948 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 1020267000607 Country of ref document: KR Free format text: ST27 STATUS EVENT CODE: A-0-1-A10-A15-NAP-PA0105 (AS PROVIDED BY THE NATIONAL OFFICE) |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 1020267000607 Country of ref document: KR |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202617003634 Country of ref document: IN |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024822948 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2024822948 Country of ref document: EP Effective date: 20260115 |
|
| ENP | Entry into the national phase |
Ref document number: 2024822948 Country of ref document: EP Effective date: 20260115 |
|
| ENP | Entry into the national phase |
Ref document number: 2024822948 Country of ref document: EP Effective date: 20260115 |
|
| ENP | Entry into the national phase |
Ref document number: 2024822948 Country of ref document: EP Effective date: 20260115 |
|
| WWP | Wipo information: published in national office |
Ref document number: 1020267000607 Country of ref document: KR |
|
| WWP | Wipo information: published in national office |
Ref document number: 2024822948 Country of ref document: EP |