POSTER: LHPD: LLM-Based Heuristic Pre-Training for Malware Detection
Malware sandboxes produce rich behavioral reports, yet these reports are lengthy, deeply nested JSON documents that defy direct analysis. In this paper, we address how general-purpose Large Language Models (LLMs) can reconstruct coherent behavioral chains of malware from such reports, and propose LHPD, a detection framework that bridges the cognitive reasoning gap between generic LLMs and expert analysis. LHPD introduces Semantics-Driven Feature Reconstruction (SDFR) to reorganize raw JSON reports into four complementary semantic dimensions—signatures, PE metadata, the import address table, and time-ordered API sequences—reducing structural noise while preserving causal links between high-level alerts and low-level traces. A Heuristic-Based Fine-Tuning Strategy (HBFS) then progressively aligns models with curated security heuristics before refining them on the reconstructed corpus. On a CAPE-based dataset of 13,623 reports, the LHPD-tuned Qwen3-32B attains 94.87% accuracy, surpassing both dedicated detectors and generic LLMs, and remains robust under few-shot settings.
- Link
- https://www.semanticscholar.org/paper/a498cb3516f38e343c30179bd20fbd1ee54cd778
- Found by
- Semantic Scholar
- Authors
- Tian-Shuai Zhan, Pei Yan, Ji-Wu Huang
- Categories
- dataset
- Published
- 2026-11-14
- Last seen by the radar
- 2026-11-15
- Citations
- 0
- Influential citations
- 0
- Radar score
- 33.35 / 100 (how it is scored)
- Why it scored so
- Matched: corpus, dataset; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1145/3830454.3846415