Buffer overflow exploit detection
Abstract
A call to a memory management application programming interface (API) that results in a buffer overflow due to inaccurate bounds checking could potentially leave the system vulnerable to being exploited by a third party. Approaches presented herein can monitor calls to these APIs in order to determine typical memory sizes passed to these APIs. During an initial baselining period a number of profiles are generated that indicate expected memory size parameters under various different call conditions, such from specific sources or call stacks. Comparing subsequently received API calls against the expected values from the relevant profile enables the legitimacy of an API call to be determined with relatively high accuracy. A suspicious call is identified based at least in part upon determining that the memory size of the call falls outside an expected range for that API and the relevant context.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: detecting, over a baselining period, calls made to a memory management application programming interface (API); storing, for the calls, call length and call stack information, the call stack information indicating a call path from a source of the call to the API; aggregating, after an end of the baselining period, summary data pertaining to the call length and the call stack information; generating a set of profiles for the API, each profile of the set of profiles associated with a respective call stack and having at least one expected memory value de
- Claim 2Depends on #1
The computer-implemented method of claim 1 , further
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- Aafer, Yousra, Wenliang Du, and Heng Yin. "Droidapiminer: Mining api-level features for robust malware detection in android." International Conference on Security and Privacy in Communication Systems. Springer, Cham, 2013.
- Cheng, Julia Yu-Chin, Tzung-Shian Tsai, and Chu-Sing Yang. "An information retrieval approach for malware classification based on Windows API calls." Machine Learning and Cybernetics (ICMLC), 2013 International Conference on. vol. 4. IEEE, 2013.
- D. Garbervetsky, C. Nakhli, S. Yovine, H. Zorgati, Program Instrumentation and Run-Time Analysis of Scoped Memory in Java, In Electronic Notes in Theoretical Computer Science, vol. 113, 2005, pp. 105-121.
- Han, Hong, et al. "AI FD: A runtime solution to buffer overflow attack." Machine Learning and Cybernetics, 2007 International Conference on. vol. 6. IEEE, 2007.
- Lim, Hyun-il, and Taisook Han. "Analyzing stack flows to compare Java programs." IEICE Transactions on Information and Systems 95.2 (2012): 565-576.