An LLM-Enhanced Code-Space Adversarial Attack Method Against Malware Detection Models

2026

Закрытый доступ Метаданные (CSL-JSON)
DOI 10.1142/s0218194026500427
Достоверность данных 70 средняя
Как считается эта оценка

Складывается из проверяемых признаков самой записи: есть ли у статьи DOI, сколько независимых источников подтвердили её данные, заполнены ли обязательные поля и насколько свежо последнее подтверждение. Снижают оценку расхождения между источниками и отсутствие идентификатора. Значение от 80 означает, что запись опубликована без дополнительной проверки; от 60 до 79 — что она опубликована с пониженной достоверностью и ручная проверка желательна. Запись, выверенную редактором вручную, пересчёт не опускает ниже 90. Это оценка наших данных о статье, а не оценка самой статьи.

Аннотация

Adversarial attacks on machine learning-based malware detection models could enable attackers to craft evasive malware variants that remain functional while bypassing detection. However, existing methods primarily focus on feature-space adversarial attacks, lacking effective mapping from feature-space to code-space (i.e. the modifications of source code of malware to implement the adversarial attacks), which limits its practical application. To address this issue, this paper proposes an large language model (LLM) enhanced code-space adversarial attack method against the dynamic malware detection models, achieving end-to-end generation of executable and source code-level adversarial samples. First, we apply a feature-space adversarial attack algorithm to perturb the feature vectors and pinpoint the changes of dynamic behaviors (e.g. API calls). Second, we propose a prompt mechanism guided by the dynamic behavior changes and code generation hints to automatically modify the source code of malware samples by leveraging an LLM. Experiments on five types of typical malware demonstrate that the proposed method can effectively modify the source code of malware based on the adversarial perturbations, and consistently outperforms existing approaches in terms of evasion capability and functionality retention.