Lune

NDSS2025顶会

RACONTEUR: A Knowledgeable, Insightful, and Portable LLM-Powered Shell Command Explainer

Jiangyi Deng, Xinfeng Li, Yanjiao Chen, Yijie Bai, Haiqin Weng, Yan Liu, Tao Wei, Wenyuan Xu

2025年份
6顶会引用

摘要

Malicious shell commands are linchpins to many cyber-attacks, but may not be easy to understand by security analysts due to complicated and often disguised code structures. Advances in large language models (LLMs) have unlocked the possibility of generating understandable explanations for shell commands. However, existing general-purpose LLMs suffer from a lack of expert knowledge and a tendency to hallucinate in the task of shell command explanation. In this paper, we present RACONTEUR, a knowledgeable, expressive and portable shell command explainer powered by LLM. RACONTEUR is infused with professional knowledge to provide comprehensive explanations on shell commands, including not only what the command does (i.e., behavior) but also why the command does it (i.e., purpose). To shed light on the high-level intent of the command, we also translate the natural-language-based explanation into standard technique & tactic defined by MITRE ATT&CK, the worldwide knowledge base of cybersecurity. To enable RACONTEUR to explain unseen private commands, we further develop a documentation retriever to obtain relevant information from complementary documentations to assist the explanation process. We have created a largescale dataset for training and conducted extensive experiments to evaluate the capability of RACONTEUR in shell command explanation. The experiments verify that RACONTEUR is able to provide high-quality explanations and in-depth insight of the intent of the command.

• We propose RACONTEUR, an LLM-powered shell command explainer that can provide knowledgeable and insightful descriptions on shell commands, especially malicious ones, to assist security analysts in identifying potential cyber-attacks.

• We equip RACONTEUR with a holistic toolkit including behavior explainer, intent identifier, and documentation retriever, allowing RACONTEUR to provide comprehensive and faithful explanations on public and private shell commands.

• We have conducted extensive experiments to verify that RACONTEUR is able to provide high-quality explanations and in-depth insight of the intent of the command. The dataset we curated is open-source to boost further research in LLM-aided code explanation 1 .

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper6

问问它们各自怎么用它

它引用的顶会 Paper12

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖