×

Method and device for intercepting call for service by application

  • US 9,697,353 B2
  • Filed: 05/30/2013
  • Issued: 07/04/2017
  • Est. Priority Date: 06/07/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for intercepting a call for a service by an application among a plurality of applications running on an operating system of an electronic apparatus comprising:

  • loading, by at least one processor, an interception dynamic link library to a process where the service is located;

    replacing, by the at least one processor, an address of an input/output control function in the process with a first address of the interception dynamic link library;

    when the application is calling the service, executing, by the at least one processor, the interception dynamic link library based on the first address to obtain a name and information of the application and information of the call, and replacing an address of the service to be called included in the information of the call with a second address of the interception dynamic link library; and

    determining, by the at least one processor, the application to be malicious or not, and executing processing based on the second address according to at least one of the name and the information of the application, wherein the determining the application to be malicious or not and executing processing according to at least one of the name and the information of the application further comprises;

    comparing at least one of the name and the information of the application with information in a predefined database, and one of (a) executing the call according to the address of the service and returning an actual service result to the application, and (b) returning a predefined service result to the application.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×