0:00
–:––
React at 0:00
Black Hat USA 2025

Pay Attention to the Clue: Clue-Driven Reverse Engineering by LLM in Real-World Malware Analysis

Tien-Chih Lin, CyCraft Technology; Wei Chieh Chao, CyCraft Technology; Zhao-Min Chen, CyCraft TechnologyReverse Engineering

When and where

Day
Thu 7 Aug 2025
Time
15:20 to 16:00 PDT
Room
South Seas C & D, Level 3

Speakers

  • Tien-Chih LinCyCraft Technology

    Tien-Chih Lin (aka Dange) is the research team lead at CyCraft Technology, specializing in machine learning, red teaming, vehicle security, and cloud security. Alongside his technical expertise in offensive security, he has significant experience in cybersecurity management and holds a CACSP certification. As a co-founder of the Malware Village at DEFCON, he actively contributes to the global cybersecurity community. His research and work have been presented at conferences including Black Hat Europe, HITCON CMT/ENT, USENIX Security, CYBERSEC, MOPCON, and ECCWS. Beyond research, Tien-Chih has delivered training at events such as AIS3, HITCON Training, and NICS. He is also one of the creators behind the educational cybersecurity board games "Cybercans" and "Cybercrete."

  • Wei Chieh ChaoCyCraft Technology

    Wei-Chieh Chao, also known as oalieno, is a senior cybersecurity researcher at CyCraft, specializing in malware analysis. He holds a Master's degree in Cyber Security from National Taiwan University. He has presented at major conferences, including HITCON, SINCON, CodeBlue, IEEE DSC, and SECCON. He was a member of the BambooFox CTF team at NCTU and has competed in several CTF competitions, including DEFCON 26 and 27 (with BFS and BFKinesiS teams). He is a co-founder of Malware Village. He completed the Flare-On 9 reverse engineering challenge.

  • Zhao-Min ChenCyCraft Technology

    Zhao-Min Chen (asef18766) is currently a cybersecurity researcher at CyCraft Technology. He graduated from the Master's Program in Information Security at National Taiwan University, specializing in malware analysis, vehicle security and automated program analysis. He presented an academic poster at USENIX Security 2024 and has also delivered talks at events such as MOPCON and SITCON. In addition, he is an active CTF player, participating in teams such as Balsn, TWN48, and w33d for numerous CTF competitions. Notably, he achieved third place in the DEFCON finals. He is continuously honing his skills in these fields.

Abstract

IDA Pro feat. MCP (Model Context Protocol) is truly amazing! Through interactive chat windows, LLM can automatically complete reverse engineering tasks and even assist in generating malware analysis reports. At first glance, this technology seems to offer malware analysts the ability to "clock out early." But is this truly the case? Not quite! Malware analysis is not a CTF competition, the adversaries certainly won't reveal the correct answer. In the absence of ground truth, analysts must meticulously trace every step performed by the LLM, deeply understanding why the LLM reached a particular conclusion. Moreover, LLMs' generative nature tends to prioritize producing outputs whenever possible, even when lacking sufficient information, resulting in reasonable yet incorrect answers. In complex programs with highly interdependent functions, incorrect answers can snowball into catastrophic mistakes, ultimately leading to entirely inaccurate reverse engineering results. Therefore, blindly relying on LLM output is unreliable. Analysts often need to spend even more time verifying and correcting these outputs to ensure accuracy and reliability. To address these challenges in LLMs in automated malware analysis, we propose a clue-driven reverse engineering framework. By generating high-quality clues, such as API information and magic constants, in decompiled code. Then, devising analysis strategies based on these clues, our framework effectively reduces the errors generated by LLMs in uncertain situations and significantly improves the accuracy and stability of the results. Additionally, we designed validation mechanisms by integrating entropy-based evaluation methods with attention tracking technology to ensure that LLM outputs are based on reliable clues, preventing the further propagation of errors. This study demonstrates the potential of combining clue generation, clue-driven analysis strategies, and stabilization mechanisms to deliver novel, efficient technical solutions for malware analysis.

What you'll get from it

Hook a language model up to a disassembler and malware analysis looks as if it could almost run itself. The speakers explain the risk: with no answer key, a model gives confident wrong answers, and in complex code the mistakes pile up. Their framework steers the model with solid clues from the decompiled code, such as API calls and known constants, and checks that each answer really rests on them. They show it makes the results more accurate and more consistent. Malware analysts weighing up AI tools will find it useful.

Did you find what you came for?