[논문 리뷰] Explaining Vulnerabilities of Deep Learning to Adversarial Malware Binaries
본 논문은 integrated gradients를 사용해 MalConv의 PE 이진 파일에 대한 판단을 설명하고, MalConv가 데이터/텍스트 섹션이 아니라 헤더 바이트에 의존한다는 것을 보이며, 이어 헤더 기반의 효율적인 적대적 공격으로 단 몇 개의 헤더 바이트만 수정해 MalConv를 회피함을 보여준다.
Recent work has shown that deep-learning algorithms for malware detection are also susceptible to adversarial examples, i.e., carefully-crafted perturbations to input malware that enable misleading classification. Although this has questioned their suitability for this task, it is not yet clear why such algorithms are easily fooled also in this particular application domain. In this work, we take a first step to tackle this issue by leveraging explainable machine-learning algorithms developed to interpret the black-box decisions of deep neural networks. In particular, we use an explainable technique known as feature attribution to identify the most influential input features contributing to each decision, and adapt it to provide meaningful explanations to the classification of malware binaries. In this case, we find that a recently-proposed convolutional neural network does not learn any meaningful characteristic for malware detection from the data and text sections of executable files, but rather tends to learn to discriminate between benign and malware samples based on the characteristics found in the file header. Based on this finding, we propose a novel attack algorithm that generates adversarial malware binaries by only changing few tens of bytes in the file header. With respect to the other state-of-the-art attack algorithms, our attack does not require injecting any padding bytes at the end of the file, and it is much more efficient, as it requires manipulating much fewer bytes.
연구 동기 및 목표
- 딥러닝 기반 악성코드 탐지기가 적대적 예제에 왜 취약한지 이해한다.
- 원시 바이트로 학습된 악성코드 탐지기를 해석하기 위해 설명 가능한 ML 기법을 적용한다.
- PE 파일의 어떤 부분이 MalConv의 판단에 영향을 주는지 식별한다.
- MalConv에 대한 실용적이고 효율적인 헤더 기반 적대적 공격을 시연한다.
제안 방법
- MalConv에 integrated gradients 기여도 방법을 적용하여 영향력 있는 입력 특징을 식별한다.
- PE 파일의 섹션과 같은 더 높은 의미적 수준에서 특징 기여도를 집계하도록 integrated gradients를 적용한다.
- 1 MB 입력으로 학습된 단순화된 MalConv 모델을 사용하여 바이트 수준의 판단을 분석한다.
- PE 파일 구성요소(DOS 헤더, COFF 헤더, Optional 헤더, .text 등)에 대한 기여도를 시각화한다.
- 패딩을 추가하지 않고 헤더 바이트만 perturb 하는 MalConv를 회피하는 어택 알고리즘을 개발한다.
- 회피 능력을 보여주기 위해 악성 샘플 세트에서 공격 효과를 평가한다.
실험 결과
연구 질문
- RQ1MalConv가 PE 이진 파일을 악성으로 분류할 때 어떤 입력 특징에 의존하는가?
- RQ2특징 기여도가 MalConv가 학습한 잘못된 상관관계(예: 헤더 중심의 의사결정)를 드러낼 수 있는가?
- RQ3공격적 악성코드를 헤더의 일부만 교란하여도 악성 기능을 보존하면서 제작하는 것이 가능한가?
- RQ4헤더 중심 조작은 기존의 파일 끝 패딩 공격과 비교했을 때 효율성 면에서 어떤 차이가 있는가?
주요 결과
- MalConv는 악성 샘플과 정상 샘플을 구분하는 데 주로 파일 헤더 특성을 사용하며, 악성 콘텐츠가 위치한 데이터/텍스트 섹션은 무시하는 경우가 많다.
- Integrated gradients는 중요한 기여도가 .text나 데이터 섹션보다 DOS 헤더와 COFF 헤더 영역에 집중되어 있음을 드러낸다.
- 헤더 바이트 수십 개만 수정하는 적대적 공격이 MalConv를 높은 확률로 회피시킬 수 있다(테스트 샘플 60개 중 52개).
- 헤더 기반 공격은 끝 파일 패딩 공격보다 더 효율적이며 더 적은 바이트를 변경하고 끝에 패딩을 추가할 필요가 없다.
- 결과는 MalConv가 헤더 구조에 묶인 잠재적으로 무의미한 상관관계를 학습하고 있음을 시사하며, 표적화된 섭동에 대한 취약성을 강조한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.