Nova Patents
CA2831369C

Method of securing non-native code

Abstract

A method to secure a non-native application. The non-native application is processed to obtain an application stub to be triggered within a virtual machine. The processing of the non-native application also provide a native code function upon which the application stub depends. The non-native function is part of a trusted module that extends security services from the trusted module to the virtual machine. The trusted module is a native code application that creates a trusted zone as a root of trustiness extending to the virtual machine by an execution-enabling mechanism between the application tab and the non-native function.

Term

No projected expiry on record.

  1. Priority and filed
  2. Granted
  3. Today

22 claims: 8 independent, 14 dependent

  1. 1
    A method to secure execution of a non-native application coded in nonnative code, the method comprising:establishing a virtual lock binding the non-native application to a pre defined trusted module that is a native code application by: modifying the non-native application prior to execution to generate a native code function and an application stub, the application stub having at least one execution dependency dependent on the native code, the native code function being executable within the predefined trusted module, the pre-defined trusted module having one or more native environment security functions, the application stub having at least one execution dependency dependent on the native code function;and packaging the application stub with the native code function;wherein at least one non-native function in the application stub is configured to call the native function upon execution of the application stub and: wherein execution interlocking is created between the non-native application and trusted module to ensure that the non-native application is unable to run without the predefined trusted module.
  2. 8
    The method of any one of claims 1 to 7, wherein the application stub includes a secure loader stub and the one or more native environment security functions include a secure loader handler function.
  3. 9
    The method of any one of claims 1 to 8, wherein the application stub includes an integrity verification stub and the one or more native environment security functions include an integrity verification handler function.
  4. 10
    The method of any one of claims 1 to 9, wherein the one or more native environment security functions include an anti-debug handler.
  5. 12
    A tangible, non-transitory computer-readable medium containing executable instructions, which when executed by a processor cause the processor to perform a method to secure execution of a non-native application coded in non-native code, the method comprising:establishing a virtual lock binding the non-native application to a pre defined trusted module that is a native code application by: modifying the non-native application prior to execution to generate a native code function and an application stub, the application stub having at least one execution dependency dependent on the native code, the native code function being executable within the predefined trusted module, the pre-defined trusted module having one or more native environment security functions;and packaging the application stub with the native code function;wherein at least one non-native function in the application stub is configured to call the native function upon execution of the application stub;and CA 2831369 2018-04-20 81787457 wherein execution interlocking is created between the non-native application and trusted module to ensure that the non-native application is unable to run without the predefined trusted module.
  6. 19
    The computer-readable medium of any one of claims 12 to 18, wherein the application stub includes a secure loader stub and the one or more native environment security functions include a secure loader handler function.
  7. 20
    The computer-readable medium of any one of claims 12 to 19, wherein the application stub includes an integrity verification stub and the one or more native environment security functions include an integrity verification handler function.
  8. 21
    The computer-readable medium of any one of claims 12 to 20, wherein the one or more native environment security functions include an anti-debug handler.