2023 · 11 citations · 22 references
ComputingComputer EngineeringComputer ScienceApplication SecurityMalware AnalysisOperating SystemsBehavioral AnalysisControl-flow AnalysisData-flow AnalysisStatic Vulnerability AnalysisAnti-instrumentation TechniquesDynamic Taint AnalysisExecution TracingProgram Taint AnalysisRuntime Taint AnalysisRuntime Taint Tracking
Taint analysis, i.e., labeling data and propagating the labels through data flows, has been widely used for analyzing program information flows and ensuring system/data security. Due to its important applications, various taint analysis techniques have been proposed, including static and dynamic taint analysis. However, existing taint analysis techniques can be hardly applied to the rising microservice systems for industrial applications. To address such a problem, in this paper, we proposed the first practical non-intrusive dynamic taint analysis technique MirrorTaint for extensively supporting microservice systems on JVMs. In particular, by instrumenting the microservice systems, MirrorTaint constructs a set of data structures with their respective policies for labeling/propagating taints in its mirrored space. Such data structures are essentially non-intrusive, i.e., modifying no program meta-data or runtime system. Then, during program execution, MirrorTaint replicates the stack-based JVM instruction execution in its mirrored space on-the-fly for dynamic taint tracking. We have evaluated MirrorTaint against state-of-the-art dynamic and static taint analysis systems on various popular open-source microservice systems. The results demonstrate that MirrorTaint can achieve better compatibility, quite close precision and higher recall (97.9%/100.0%) than state-of-the-art Phosphor (100.0%/9.9%) and FlowDroid (100%/28.2%). Also, MirrorTaint incurs lower runtime overhead than Phosphor (although both are dynamic techniques). Moreover, we have performed a case study in Ant Group, a global billion-user FinTech company, to compare MirrorTaint and their mature developer-experience-based data checking system for automatically generated fund documents. The result shows that the developer experience can be incomplete, causing the data checking system to only cover 84.0% total data relations, while MirrorTaint can automatically find 99.0% relations with 100.0% precision. Lastly, we also applied MirrorTaint to successfully detect a recently wide-spread Log4j2 security vulnerability.
22
Steven Arzt, Siegfried Rasthofer, Christian Fritz et al. · 2014 · 1.4K citations
William Enck, Peter Gilbert, Seungyeop Han et al. · ACM Transactions on Computer Systems · 2014 · 1.2K citations · Full text
Secure program execution via dynamic information flow tracking
G. Edward Suh, Jae Wook Lee, David Zhang et al. · 2004 · 746 citations