[Paper Review] Malware Detection using Attribute-Automata to parse Abstract Behavioral Descriptions
This paper proposes a generic, two-layered malware detection framework using attribute-automata to parse abstract behavioral descriptions. It decouples platform-specific abstraction from generic detection via attribute grammars with semantic rules for data-flow tracking and object typing, achieving 89% detection on VBScript malware and 51% on PE executables with minimal false positives.
Most behavioral detectors of malware remain specific to a given language and platform, mostly PE executables for Windows. The objective of this paper is to define a generic approach for behavioral detection based on two layers respectively responsible for abstraction and detection. The first abstraction layer remains specific to a platform and a language. This first layer interprets the collected instructions, API calls and arguments and classifies these operations as well as the involved objects according to their purpose in the malware lifecycle. The second detection layer remains generic and is totally interoperable between the different abstraction components. This layer relies on parallel automata parsing attribute-grammars where semantic rules are used for object typing (object classification) and object binding (data-flow). To feed detection and to experiment with our approach we have developed two different abstraction components: one processing system call traces from native code and one processing the VBScript interpreted language. The different experimentations have provided promising detection rates, in particular for script files (89%), with almost none false positives. In the case of process traces, the detection rate remains significant (51%) but could be increased by more sophisticated collection tools.
Motivation & Objective
- To develop a generic, platform- and language-agnostic approach to malware behavioral detection that resists evasion through functional obfuscation.
- To decouple the abstraction of system-level observations from the detection logic, enabling modular and extensible design.
- To model malicious behaviors using attribute grammars with semantic rules for data-flow control and object classification in the malware lifecycle.
- To evaluate the approach on real-world data using two abstraction components: one for native PE traces and one for VBScript.
- To demonstrate high detection rates with low false positives and efficient performance on modern hardware.
Proposed method
- The framework uses a two-layer architecture: an abstraction layer that maps platform-specific events (e.g., system calls, script operations) into a generic behavioral model, and a detection layer that parses this model using attribute-automata.
- Attribute grammars define syntactic rules for valid behavior sequences and semantic rules for object typing (e.g., 'installation', 'communication') and data-flow binding (tainting).
- The detection layer employs deterministic finite automata to parse logs of abstracted behaviors, with complexity bounded by linear time and low stack space usage.
- Abstraction components translate raw system traces (PE) and script executions (VBScript) into standardized logs, reducing data size by 29× and 6× respectively.
- Performance is optimized via parallel parsing and real-time hooking, reducing reliance on costly string comparisons in offline analysis.
- Ambiguity ratios (α) are measured during parsing to detect anomalies; high α values correlate strongly with malicious activity.
Experimental results
Research questions
- RQ1Can a generic, platform-agnostic model of malware behavior be constructed using attribute grammars with semantic rules for data-flow and object typing?
- RQ2Can abstraction layers decouple platform-specific analysis from generic detection, enabling independent updates and improved maintainability?
- RQ3To what extent can attribute-automata parsing detect known malware behaviors across different platforms and languages with low false positive rates?
- RQ4How do collection mechanisms and data reduction impact detection performance and scalability?
- RQ5Can ambiguity ratios during parsing serve as a reliable indicator of malicious behavior?
Key findings
- The framework achieved 89% detection rate for Visual Basic Script malware, with almost no false positives, demonstrating strong performance on interpreted languages.
- For native PE executables, the detection rate was 51%, which remains significant and is expected to improve with enhanced collection tools.
- The abstraction layer reduced PE trace data by a factor of 29, and VBScript logs by a factor of 6, significantly improving storage and processing efficiency.
- Detection performance was highly efficient: 0.14 seconds per log on dual-core 2.6GHz hardware for PE, and under 0.001 seconds per log for VBScript.
- The maximum stack sizes used during parsing were low—7 for syntactic stacks and 3 for semantic stacks—indicating low memory overhead.
- Ambiguity ratios (α) were consistently much lower than worst-case estimates (α ≈ α·nₑ, not 2ⁿₑ), suggesting practical parsing complexity is manageable and scalable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.