Lune

USENIX Security2021Top-tier venue

Forecasting Malware Capabilities From Cyber Attack Memory Images

Omar Alrawi, Moses Ike, Matthew Pruett, Ranjita Pai Kasturi, Srimanta Barua, Taleb Hirani, Brennan Hill, Brendan Saltaformaggio

2021Year
32Citations
10Top-tier citations

Abstract

The remediation of ongoing cyber attacks relies upon timely malware analysis, which aims to uncover malicious functionalities that have not yet executed. Unfortunately, this requires repeated context switching between different tools and incurs a high cognitive load on the analyst, slowing down the investigation and giving attackers an advantage. We present Forecast, a post-detection technique to enable incident responders to automatically predict capabilities which malware have staged for execution. Forecast is based on a probabilistic model that allows Forecast to discover capabilities and also weigh each capability according to its relative likelihood of execution (i.e., forecasts). Forecast leverages the execution context of the ongoing attack (from the malware's memory image) to guide a symbolic analysis of the malware's code. We performed extensive evaluations, with 6,727 real-world malware and futuristic attacks aiming to subvert Forecast, showing the accuracy and robustness in predicting malware capabilities. on this idea, we propose seeding the symbolic exploration of a malware's pre-staged paths with concrete execution state obtained via memory image forensics. Through this, we overcome the previous painstaking and cognitively burdensome process that an analyst must undertake. We present Forecast, a post-detection technique to enable incident responders to forecast what capabilities are possible from a captured memory image. Forecast ranks each discovered capability according to its probability of execution (i.e., forecasts) to enable analysts to prioritize their remediation workflows. To calculate this probability, Forecast weighs each path's relative usage of concrete data. This approach is based on a formal model of the degree of concreteness (or D C (s)) of a memory image execution state (s). Starting from the last instruction pointer (IP) value in the memory image, Forecast explores each path by symbolically executing the CPU semantics of each instruction. During this exploration, Forecast models how the mixing of symbolic and concrete data influences path generation and selection. Based on this mixing, a "concreteness" score is calculated for each state along a path to derive forecast percentages for each discovered capability. D C (s) also optimizes symbolic analysis by dynamically adapting loop bounds, handling symbolic control flow, and pruning paths to reduce path explosion. To automatically identify each capability, we developed several modular capability analysis plugins: Code Injection, File Exfiltration, Dropper, Persistence, Key & Screen Spying, Anti-Analysis, and C&C URL Connection. Each plugin defines a given capability in terms of API sequences, their arguments, and how their input and output constraints connect each API. Forecast plugins are portable and can easily be extended to capture additional capabilities based on the target system's APIs. It is worth noting that Forecast's analysis only requires a forensic memory image, allowing it to work for fileless malware, making it well-suited for incident response. We evaluated Forecast with memory images of 6,727 real-world malware (including packed and unpacked) covering 274 families. Forecast renders accurate capability forecasts compared to reports produced manually by human experts. Further, we show that Forecast is robust against futuristic attacks that aim to subvert Forecast. We show that Forecast's post-detection forecasts are accurately induced by early concrete inputs. We empirically compared Forecast to S2E [6], angr [22], and Triton [23] and found that Forecast outperforms them in identifying capabilities and reducing path explosion. Forecast is available online at: https://cyfi.ece.gatech.edu/ .

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 520a9f06-53d6-48e4-a613-0eaed1d830b1

Cited by top-tier papers10

Ask how each one uses it

Builds on10

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines