[論文レビュー] Explaining Vulnerabilities of Deep Learning to Adversarial Malware Binaries
本論文は integrated gradients を用いて MalConv の PE バイナリに対する決定を説明し、データ/テキストセクションよりもヘッダのバイトに依存していることを示し、続いて ヘッダ限定で効率的な敵対的攻撃を実演し、わずか数個のヘッダバイトを変更するだけで 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.
研究の動機と目的
- 深層学習ベースのマルウェア検知器が敵対的な例に脆弱である理由を理解する。
- 生データバイトで訓練されたマルウェア検知器を解釈するために説明可能な機械学習技術を適用する。
- PE ファイルのどの部分が MalConv の決定に影響を与えるかを特定する。
- MalConv に対する実用的で効率的なヘッダベースの敵対的攻撃を実証する。
提案手法
- MalConv に integrated gradients アトリビューション法を適用して影響力のある入力特徴を特定する。
- PE ファイルのセクションといったより高い意味レベルで特徴アトリビューションを集約するように integrated gradients を適応する。
- 1 MB 入力で訓練した簡略化された MalConv モデルを用いてバイトレベルの決定を分析する。
- PE ファイルの構成要素(DOS ヘッダ、COFF ヘッダ、Optional ヘッダ、.text など)のアトリビューションを可視化する。
- パディングを追加せずにヘッダバイトのみを撹乱して MalConv を回避する攻撃アルゴリズムを開発する。
- 回避能力を示すためにマルウェアサンプルの集合で攻撃の有効性を評価する。
実験結果
リサーチクエスチョン
- RQ1MalConv は PE バイナリをマルウェアまたは benign と分類する際、どの入力特徴に依存しているか?
- RQ2特徴アトリビューションは、ヘッダ中心の決定のような MalConv が学んだ偽りの相関を明らかにできるか?
- RQ3ヘッダの一部だけを撹乱して悪意のある機能を保持しつつ、敵対的なマルウェアを作成することは可能か?
- RQ4ヘッダ中心の操作は、既存のファイル末尾パディング攻撃と比較して効率的か?
主な発見
- MalConv は主にファイルヘッダの特徴を用いてマルウェアと benign サンプルを区別し、悪意のあるコンテンツが存在するデータ/テキストセクションをしばしば無視する。
- Integrated gradients は重要なアトリビューションが .text や data セクションよりも DOS および COFF ヘッダ領域に集中していることを明らかにする。
- ヘッダバイト数十個だけを変更する敵対的攻撃は高い確率で MalConv を回避できる(60 サンプル中 52 個)。
- ヘッダベースの攻撃は、末尾にパディングを追加する必要がなく、はるかに少ないバイトを変更するため end-of-file padding 攻撃より効率的である。
- これらの知見は、MalConv がヘッダ構造に結びつく潜在的に意味のない相関を学習していることを示しており、特定の撹乱に対する脆弱性を浮き彫りにしている。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。