17 April 2026 in SSRN Electronic Journal
The rapid growth of complex malware has intensified the burden on security analysts, prompting demand for scalable solutions to automate malware analysis and threat intelligence (CTI) reporting. We introduce CTIGen, a novel framework that automates CTI report generation by integrating large language models (LLMs) with traditional static and dynamic analysis tools. Replicating expert workflows, CTIGen first performs dynamic behavior extraction, then conducts targeted static inspection guided by those behaviors, and finally synthesizes findings into structured, ATT&CK-aligned reports using a graph-based reasoning module. Our evaluation results show that CTIGen achieves strong recall across key tasks: 0.87 for function identification, 0.95 for behavior extraction, 0.36 for function-to-behavior mapping, and 0.58 for IoC identification. Notably, CTIGen identifies malicious functions and their corresponding behaviors within 8 minutes per sample, substantially reducing manual analysis time. Furthermore, CTIGen identifies 121 additional malicious functions with correct behavioral semantics beyond those documented in human-written reports. In ATT&CK technique identification, CTIGen achieves an 77.23% accuracy, demonstrating reliable alignment with annotated ATT&CK techniques. Interestingly, reports generated by CTIGen are more fluent than human-written ones and are rated more useful in a user study. These results demonstrate the potential of LLM-based multi-stage automation for generating accurate and scalable malware threat intelligence.