Indexing software packages and detecting malicious or potentially harmful code using API-call n-grams
AssigneeGoogle Inc.
InventorAlexandre Boulgakov
Life of this patent
Estimating the term…
Loading patent…
AssigneeGoogle Inc.
InventorAlexandre Boulgakov
Estimating the term…
This document describes systems and techniques for indexing binaries of a software package and detecting potentially harmful code within the software package using API-call n-grams. A computing device generates API-call graphs from binaries. The computing device computes n-grams from the API-call graphs and adds them to an inverted index, which maps the n-grams to a respective identifier. The computing device identifies, using a signature that represents the behavior of the potentially harmful code, a set of candidate API-call graphs. The computing device can then compare, using a matching algorithm, the set of candidate API-call graphs to a non-deterministic finite automaton representation of the potentially harmful code. In this way, the described systems and techniques can use API-call n-grams to efficiently identify whether the software package includes a file that matches the behavior of potentially harmful code.
A method comprising:
A computing device comprising a processor configured to:
A non-transitory computer-readable storage medium comprising instructions that, when executed, configure a processor of a computing device to:
Dependencies are inferred from the claim text.