×

Method and device for extracting characteristic code of APK virus

  • US 9,600,668 B2
  • Filed: 03/12/2013
  • Issued: 03/21/2017
  • Est. Priority Date: 03/21/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for extracting a characteristic code of APK virus, comprising:

  • scanning a designated file in an Android installation package APK;

    extracting an operation instruction in the designated file, and determining whether the operation instruction contains virus information; and

    generating a virus characteristic code according to the operation instruction when the operation instruction contains virus information;

    wherein, the designated file comprises an executable file, and the method further comprises;

    extracting a constant in a constant pool of the executable file, and determining whether the constant contains virus information;

    generating the virus characteristic code according to the constant when the constant contains virus information;

    extracting header information of the executable file, and determining whether the header information contains virus information; and

    generating the virus characteristic code according to the header information when the header information contains virus information,wherein the header information of the executable file includes summary information checksum and signature information Signature, and the determining whether the header information includes the virus information includes;

    determining whether the summary information checksum and/or signature information Signature include a pre-defined illegal character string; and

    generating the virus characteristic code according to the header information comprises generating the summary information checksum and/or signature information Signature as the virus characteristic code.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×