Writing an LLM malware analysis platform from scratch
A security industry analyst shared an LLM malware analysis platform he built from scratch, delegating deterministic work such as type identification, unpacking and payload extraction to programs, and leaving investigation path selection, code reading and conclusion drawing to the LLM. Each analysis runs in a separate process; external tools such as DIEC, UPX, osslsigncode and IDA are restricted in CPU, address space and output, and TCP connections are prohibited by default; the platform uses a file graph and a task graph to record derivation provenance and task dependencies, uses a filtered first-round summary to control context, and requires that execution-type conclusions be traced to call evidence starting from the entry point or trigger point. Using the platform, the author fully analyzed the LoJax-series UEFI firmware sample LoJax-SecDxe-f2be7789.efi with deepseek-flash; the analysis judged the root task, installation stub and remote control agent as malicious, the embedded NTFS driver as suspicious, and decoded the C2 endpoint remotepx.net (103.41.177.43:80) from the configuration table.