# DL-Droid: Deep learning based android malware detection using real devices

DL-Droid：実機を用いた深層学習によるAndroidマルウェア検出

Mohammed K. Alzaylaee, Suleiman Y. Yerima, Sakir Sezer · arXiv · 2019年11月22日

- **課題** Androidマルウェアは検出回避の手法が進み、従来の方式では効果が落ちています。動的解析では、悪意のある振る舞いを引き起こす入力の生成が重要な課題です。
- **手法** DL-Droidは、実機でDynaLogを使って特徴を抽出し、状態ベースの入力生成と深層学習の分類器を組み合わせて、悪性かどうかを判定します。
- **結果** 動的特徴のみを使ったstatefulな実験では、DL(200,200,200)のw-FMは0.9627でした。静的と動的の特徴を併用した設定では、w-FM 0.997105と報告されています。

## 従来のAndroidマルウェア検出の限界

Androidマルウェアは、難読化や検出回避の技術が発展したことで、従来の検出方式を無力化しつつあります。Google Bouncerはサンドボックスで短時間だけアプリを検査し、回避の手法によって迂回されうると報告されています。サードパーティマーケットでは、悪性アプリを検査する機能がほとんどありません。そのため、ゼロデイのAndroidマルウェアを効率よく検出する方法が依然として必要です。

静的解析は、アプリをリバースエンジニアリングしてコード、権限、API呼び出しを調べますが、データの暗号化、難読化、動的コードローディングといった技術に弱いです。動的解析は、管理された環境でアプリを実行して振る舞いを追跡しますが、悪性の振る舞いを実行中に引き起こせる入力生成に性能が大きく左右されます。本論文は、この2つ目の問題、つまり動的解析でどのように入力を生成するかを中心的な問いとして扱っています。

## DL-Droidの状態ベース入力生成と特徴構成

DL-Droidは、実機でアプリを実行するDynaLogフレームワークで特徴を抽出し、その特徴を深層学習の分類器で学習します。入力生成では2つの方式を比較します。statefulな方式はDroidBotを使い、現在のユーザーインターフェースの状態をもとに次のイベントを選びます。これはDL-Droidの基本の手法として提案されています。statelessな方式はMonkeyを使い、擬似乱数のイベント列を生成します。イベントの選択は固定されたパターンに従いませんが、現在の状態を見ないベースラインとして用いられています。

特徴は、API呼び出しとAction/Eventsを動的に記録し、権限は各動的実行の前に静的に抽出します。抽出された420個の特徴は、Application attributes 97個、Actions/Events 23個、Permission 300個で構成され、WEKAのInfoGainで順位付けされます。各特徴は二値で表現され、分類器にはH2OのMultilayer Perceptronを使用します。

## 入力生成方式と深層学習の設定の比較

動的特徴のみを使った実験で、stateful方式により抽出した特徴の最高結果は、3つの隠れ層で各層200個のニューロンという設定で、w-FMは0.963程度でした。Monkeyを使ったstatelessの動的特徴実験の最高w-FMは0.958と報告されており、この最高値は3つの隠れ層の設定で現れています。この比較は、同じデータセットと10-fold cross validationの条件で、入力生成方式だけを変えた結果として説明されています。

静的と動的の特徴を併用したstatefulな実験では、3つの隠れ層、各層200個のニューロンの設定のw-FMが0.997105と報告されています。この値は権限の特徴を加えた条件の結果であり、動的特徴だけを使った結果と同じ条件として読んではいけません。論文では既存の実験設定の探索結果をすべて示していないため、この解説では最高設定と比較対象を中心に扱います。

## 機械学習分類器と既存の深層学習システムとの比較

動的特徴のみを使ったTable 10では、Random Forestのw-FMが0.937、DL(200,200,200)のw-FMが0.9627です。この比較は、stateful入力生成で得た動的特徴をもとにしたものです。静的と動的の特徴を併用したTable 11では、DL分類器のw-FMが0.9882と報告されており、最も高い機械学習分類器はRandom Forestの0.971です。

DroidDetectorとの比較では、DL-Droidの精度は98.5%と報告されており、DroidDetectorの静的と動的の特徴の結果は96.76%です。ただし、論文ではDL-Droidがより多くのサンプルを使ったと明記されているため、この差は同じデータ条件での統制実験とは解釈しません。

## 結果の適用範囲と残された問い

この結果は、31,125個のAndroidアプリ、実際のスマートフォン環境、10-fold cross validation、そして入力生成ツールとして特定のDroidBotとMonkeyという条件で得られたものです。アブストラクトが報告した最大97.8%の検出率と99.6%の検出率は、動的特徴のみを使った場合と、動的と静的の特徴を併用した場合をそれぞれ指します。

論文は自己適応型の方法を今後の課題として挙げています。入力生成方式の効果が、別のツールや別のデータセットでも同じ大きさで現れるかどうかは、この論文の範囲外です。また、DroidDetectorとの精度の比較はサンプル数が異なるため、同一条件での優位性とは断定しません。

## 論文情報

- **著者**: Mohammed K. Alzaylaee, Suleiman Y. Yerima, Sakir Sezer
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2019年11月22日
- **登録日**: 2026年11月6日
- **更新日**: 2019年11月22日
- **バージョン**: v1
- **arXiv**: 1911.10113
- **DOI**: 10.1016/j.cose.2019.101663
- **カテゴリ**: cs.CR · cs.LG · cs.NE · stat.ML
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/1911.10113v1) · [PDF ↗](https://arxiv.org/pdf/1911.10113v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

The Android operating system has been the most popular for smartphones and tablets since 2012. This popularity has led to a rapid raise of Android malware in recent years. The sophistication of Android malware obfuscation and detection avoidance methods have significantly improved, making many traditional malware detection methods obsolete. In this paper, we propose DL-Droid, a deep learning system to detect malicious Android applications through dynamic analysis using stateful input generation. Experiments performed with over 30,000 applications (benign and malware) on real devices are presented. Furthermore, experiments were also conducted to compare the detection performance and code coverage of the stateful input generation method with the commonly used stateless approach using the deep learning system. Our study reveals that DL-Droid can achieve up to 97.8% detection rate (with dynamic features only) and 99.6% detection rate (with dynamic + static features) respectively which outperforms traditional machine learning techniques. Furthermore, the results highlight the significance of enhanced input generation for dynamic analysis as DL-Droid with the state-based input generation is shown to outperform the existing state-of-the-art approaches.

## この論文を引用

Mohammed K. Alzaylaee, Suleiman Y. Yerima, Sakir Sezer (2019). DL-Droid: Deep learning based android malware detection using real devices. arXiv:1911.10113v1. https://doi.org/10.1016/j.cose.2019.101663

**BibTeX**

```
@article{alzaylaee2019droid,
  title = {{DL-Droid: Deep learning based android malware detection using real devices}},
  author = {Mohammed K. Alzaylaee and Suleiman Y. Yerima and Sakir Sezer},
  year = {2019},
  eprint = {1911.10113},
  archivePrefix = {arXiv},
  doi = {10.1016/j.cose.2019.101663},
  url = {https://arxiv.org/abs/1911.10113v1}
}
```

## ほかの論文解説

- [A Deep Learning Approach for Brain Tumor Classification and Segmentation Using a Multiscale Convolutional Neural Network](https://refivu.com/ja/papers/c75a012b-6db8-4ef0-a0e2-0109acd56af3-a-deep-learning-approach-for-brain-tumor-classification.md)
- [Geometric Feature-Based Facial Expression Recognition in Image Sequences Using Multi-Class AdaBoost and Support Vector Machines](https://refivu.com/ja/papers/35c52440-dea0-43bf-acc7-d2f2458fe00a-geometric-feature-based-facial-expression-recognition-in.md)
- [Image-to-Image Translation with Conditional Adversarial Networks](https://refivu.com/ja/papers/92d09be2-7a1b-4f53-9d24-569d7cc94149-image-to-image-translation-with-conditional-adversarial.md)
- [Rethinking the Inception Architecture for Computer Vision](https://refivu.com/ja/papers/5a8c1d5f-a10c-4a76-a110-b62861a7dc8a-rethinking-the-inception-architecture-for-computer-vision.md)
- [Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification](https://refivu.com/ja/papers/83083238-3fc6-4f4e-a3b1-6db4f84268de-delving-deep-into-rectifiers-surpassing-human-level.md)
- [Segment Anything](https://refivu.com/ja/papers/da97e79e-c51b-4305-9514-76a2433c46a4-segment-anything.md)
- [Embodied Intelligence via Learning and Evolution](https://refivu.com/ja/papers/35077a07-2c81-4b05-87d4-0a4c83ef04af-embodied-intelligence-via-learning-and-evolution.md)
- [Soft Robots Modeling: a Structured Overview](https://refivu.com/ja/papers/5681835e-42e8-4e63-bb02-053dc1a0cdc4-soft-robots-modeling-a-structured-overview.md)
- [A Deep Cascade of Convolutional Neural Networks for Dynamic MR Image Reconstruction](https://refivu.com/ja/papers/c81adf70-889d-4a7a-93f1-14353887187b-a-deep-cascade-of-convolutional-neural-networks-for.md)
- [Unsupervised Dense Information Retrieval with Contrastive Learning](https://refivu.com/ja/papers/2fbce187-1a33-4d74-941c-36d004c9a79b-unsupervised-dense-information-retrieval-with-contrastive.md)
- [InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning](https://refivu.com/ja/papers/a16f8bfe-f6f1-4e2b-a409-c76d2ed97fc3-instructblip-towards-general-purpose-vision-language-models.md)
- [PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimization](https://refivu.com/ja/papers/2832dfcd-bd57-482f-9d55-f5bae8d2c8d2-pandalm-an-automatic-evaluation-benchmark-for-llm.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/e8c4fb2d-bb8d-43c7-b570-745e501ed499-dl-droid-deep-learning-based-android-malware-detection)
