BG

B.I. Gunev

info

Please Note

1 records found

Using Chain-of-Thought to Improve LLM-Based Translation of C++ to Java

Large language models (LLMs) have recently gained significant traction for their ability to assist with day-to-day tasks, especially coding-related tasks. At the same time, cybersecurity threats are becoming increasingly complex, sometimes requiring thorough analysis by multiple experts in the field. Therefore, it is valuable to assess the ability of LLMs to aid in malware inspection.

This research focuses on the use of LLMs as a code translation tool for beginner malware researchers. Novices can use such a tool to translate malware source code from C++ to Java, helping them understand its functionality by making the code more readable. Two zero-shot prompting frameworks are presented and evaluated for their effectiveness, achieving syntactically correct outputs at rates between 62.2% and 63.9%. Of these outputs, between 39.0% and 42.9% produce functionally preserved translations. ...