US 12,411,916 B2
Protecting commercial off-the-shelf program binaries from piracy using hardware enclaves
Xinyang Ge, Redmond, WA (US); Weidong Cui, Redmond, WA (US); Ben Niu, Bellevue, WA (US); and Ling Tony Chen, Bellevue, WA (US)
Assigned to Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed by Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed on Jan. 16, 2024, as Appl. No. 18/414,349.
Application 18/414,349 is a continuation of application No. 17/970,185, filed on Oct. 20, 2022, granted, now 11,928,190.
Application 17/970,185 is a continuation of application No. 16/734,197, filed on Jan. 3, 2020, granted, now 11,500,969, issued on Nov. 15, 2022.
Prior Publication US 2024/0152583 A1, May 9, 2024
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 21/12 (2013.01); G06F 21/44 (2013.01); H04L 9/08 (2006.01); H04L 9/32 (2006.01); G06F 21/10 (2013.01)
CPC G06F 21/125 (2013.01) [G06F 21/44 (2013.01); H04L 9/0819 (2013.01); H04L 9/3236 (2013.01); G06F 21/107 (2023.08)] 20 Claims
OG exemplary drawing
 
1. A method for protecting software from piracy, the method comprising:
receiving a binary file comprising code and data, wherein the code comprises a data reference that is based on a fixed distance in memory between the code and the data;
modifying the data reference in the code; and
modifying the binary file to indicate that the code of the binary file should be loaded in a hardware enclave and at least a portion of the data of the binary file should be loaded in the memory outside the hardware enclave.