Method for detecting malicious code patterns in consideration of control and data flows
Abstract
The present invention relates to a method for detecting malicious code patterns in consideration of control and data flows. In the method of the present invention, a malicious code pattern is detected by determining whether values of tokens (variables or constants) included in two sentences to be examined will be identical to each other during execution of the sentences, and the determination on whether the values of the tokens will be identical to each other during the execution is made through classification into four cases: a case where both tokens in two sentences are constants, a case where one of tokens of two sentences is a constant and the other token is a variable, a case where both tokens of two sentences are variables and have the same name and range, and a case where both tokens of two sentences are variables but do not have the same name and range. According to the present invention, it is possible to exclude a false positive error that may occur in conventional comparison of variable names and to lower a false negative error rate, thereby improving the accuracy of detection of malicious behaviors.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 18.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for detecting malicious code patterns using a static analysis in consideration of control and data flows, the method comprising: determining whether the values of tokens in two sentences of program code have the same value at the time of execution by: (a) determining, during execution, if both of the tokens of respective macro operations in the two sentences are constants for each block within a control flow graph and if said determination is true, further determining whether relevant token character strings are identical to each other; (b) determining if one of the tokens of a macro
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 18 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (1)
- Wagner, David and Dean, Drew. Intrusion Detection via static Analysis. 2001 Proceedings of the IEEE Symposium on security and Privacy. 2001 IEEE pp. 156-168.