Exploiting ftrace's function_graph Tracer Features for Machine Learning: A Case Study on Encryption Detection
Kenan Begovic, Abdulaziz Al-Ali, Qutaibah Malluhi

TL;DR
This paper demonstrates how to leverage Linux kernel ftrace's function graph tracer to generate features for machine learning, achieving high accuracy in encryption detection and program identification tasks.
Contribution
It introduces a methodology for extracting graph-based features from system traces for machine learning, enhancing system behavior analysis and security applications.
Findings
Achieved 99.28% accuracy in encryption detection
Validated effectiveness in multilabel program classification
Provided comprehensive preprocessing and feature extraction techniques
Abstract
This paper proposes using the Linux kernel ftrace framework, particularly the function graph tracer, to generate informative system level data for machine learning (ML) applications. Experiments on a real world encryption detection task demonstrate the efficacy of the proposed features across several learning algorithms. The learner faces the problem of detecting encryption activities across a large dataset of files, using function call traces and graph based features. Empirical results highlight an outstanding accuracy of 99.28 on the task at hand, underscoring the efficacy of features derived from the function graph tracer. The results were further validated in an additional experiment targeting a multilabel classification problem, in which running programs were identified from trace data. This work provides comprehensive methodologies for preprocessing raw trace data and extracting…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Software Testing and Debugging Techniques · Software Engineering Research
