System and method for securing firmware function calls using session-based encryption
AssigneeInsyde Software Corp.
InventorTimothy Andrew Lewis
Life of this patent
Estimating the term…
Abstract
Systems and methods for securing firmware function calls are discussed. More particularly, mechanisms for reducing the chance of tampering and information disclosure attacks against firmware function calls implemented in SMM/MM are described. Data may be passed to and from a calling entity to platform firmware via a communication channel where both the data and the means of decrypting the data are protected from potential snooping OS applications, drivers or DMA-enabled hardware devices.
Claims20
A non-transitory medium holding executable instructions for securing firmware function calls using session-based security, the instructions when executed on at least one computing platform equipped with platform firmware and at least one processor causing the computing platform to:
- receive with the platform firmware a request to establish a session between a calling entity and the platform firmware;
- receive with the platform firmware an encrypted password for the session from the calling entity, the password supplied by a user to the calling entity and encrypted with a symmetric encryption key generated from the password, a copy of the password previously stored with the firmware;
- decrypt the received encrypted password with the platform firmware using a copy of the symmetric encryption key generated from the copy of the password previously stored with the firmware to verify the password;
- and
- perform one or more requested firmware services during the session following verification of the password, the calling entity and platform firmware exchanging firmware function call parameters and data related to the requested firmware services, the calling entity and the platform firmware respectively encrypting and decrypting the firmware function call parameters and data using the symmetric encryption key.
A non-transitory medium holding executable instructions for securing firmware function calls, the instructions when executed on at least one computing platform equipped with platform firmware and at least one processor, causing the computing platform to:
- receive with the platform firmware an initial request for firmware services from a calling entity;
- provide from the platform firmware the calling entity with a public half of an asymmetric key pair, the private half of the asymmetric key pair also known to the platform firmware;
- receive with the platform firmware an encrypted copy of a randomly generated symmetric key from the calling entity, the randomly generated symmetric key encrypted using the public half of the asymmetric key pair;
- decrypt the copy of the randomly generated symmetric key using the private half of the asymmetric key pair;
- and
- perform requested firmware services, the calling entity and platform firmware exchanging firmware function call parameters and data related to the requested firmware services, the calling entity and the platform firmware respectively encrypting and decrypting the firmware function call parameters and data using the randomly generated symmetric key or the copy of the randomly generated symmetric key.
A computing platform-implemented method for securing firmware function calls using session-based security, the computing platform equipped with platform firmware and at least one processor, the method comprising:
- receiving with the platform firmware a request to establish a session between a calling entity and the platform firmware;
- receiving with the platform firmware an encrypted password for the session from the calling entity, the password supplied by a user to the calling entity and encrypted with a symmetric encryption key generated from the password, a copy of the password previously stored with the firmware;
- decrypting the received encrypted password with the platform firmware using a copy of the symmetric encryption key generated from the copy of the password previously stored with the firmware to verify the password;
- and
- performing one or more requested firmware services during the session following verification of the password, the calling entity and platform firmware exchanging firmware function call parameters and data related to the requested firmware services, the calling entity and the platform firmware respectively encrypting and decrypting the firmware function call parameters and data using the symmetric encryption key or the copy of the symmetric key.
A computing platform implemented method for securing firmware function calls, the computing platform equipped with platform firmware and at least one processor, the method comprising:
- receiving with the platform firmware an initial request for firmware services from a calling entity;
- providing from the platform firmware the calling entity with a public half of an asymmetric key pair, the private half of the asymmetric key pair also known to the platform firmware;
- receiving with the platform firmware an encrypted copy of a randomly generated symmetric key from the calling entity, the randomly generated symmetric key encrypted using the public half of the asymmetric key pair;
- decrypting the encrypted copy of the randomly generated symmetric key using the private half of the asymmetric key pair;
- and
- performing requested firmware services, the calling entity and platform firmware exchanging firmware function call parameters and data related to the requested firmware services, the calling entity and the platform firmware respectively encrypting and decrypting the firmware function call parameters and data using the randomly generated symmetric key or the copy of the randomly generated symmetric key.
A computing platform configured to provide session-based security, comprising:
- one or more processors;
- a non-volatile storage holding platform firmware, the platform firmware when executed:
- receiving a request to establish a session between a calling entity and the platform firmware;
- receiving an encrypted password for the session from the calling entity, the password supplied by a user to the calling entity and encrypted with a symmetric encryption key generated from the password, a copy of the password previously stored with the platform firmware;
- decrypting the received encrypted password using a copy the symmetric encryption key generated from the copy of the password previously stored with the firmware to verify the password;
- and
- performing one or more requested firmware services during the session following verification of the password, the calling entity and platform firmware exchanging firmware function call parameters and data related to the requested firmware services, the calling entity and the platform firmware respectively encrypting and decrypting the firmware function call parameters and data using the symmetric encryption key.
Dependencies are inferred from the claim text.