
Android向け学習と情報検索を用いたマルウェア検出
MADLIRAはAndroidマルウェア検出のためのツールです。TFIDFコンポーネントとSVM学習コンポーネントの2つのコンポーネントで構成されています。一般的には、マルウェアと良性アプリのセットを入力として、悪意のある振る舞いを抽出(TFIDFコンポーネント)するか、トレーニングモデル(SVM分類器)を計算します。その後、この知識を用いてAndroidアプリケーション内の悪意のある振る舞いを検出します。
ファイルMADLIRA.7zをダウンロードし、解凍してください。
このツールには2つの主要コンポーネントがあります:TFIDFコンポーネントとSVMコンポーネント。
Command: java -jar MADLIRA TFIDF
このコンポーネントには2つの機能があります:トレーニング機能(悪意のある振る舞いの抽出)とテスト機能(悪意のある振る舞いの検出)です。
MADLIRA TFIDF packAPK -PB benignApkFolder -B benignPack -PM maliciousApkFolder -M maliciousPack
java -jar MADLIRA TFIDF train -B benignPack -M maliciousPack
java -jar MADLIRA TFIDF check -S checkApk
コマンド:
java -jar MADLIRA TFIDF train <Options>
Compute the malicious specifications for given training data.
-B <filename>: the archive file contains all graphs of training benwares.
-M <filename>: the archive file contains all categories of training malwares.
java -jar MADLIRA TFIDF check <Options>
Check malicious behaviors in the given applications in a folder.
-S <folder>: the folder contains all applications (apk files).
java -jar MADLIRA TFIDF test <Options>
Test the classifier for a given test data.
-S <folder>: the folder contains all graphs for testing.
java -jar MADLIRA TFIDF clear
Clean all training data.
java -jar MADLIRA TFIDF install
Clean old training data and install a new data for training.
-B <filename>: the archive file contains all graphs of training benwares.
-M <filename>: the archive file contains all categories of training malwares.
新しいデータのトレーニング:
java -jar MADLIRA TFIDF packAPK -PB BenApkFolder -B BenPack -PM MalApkFolder -M MalPack
java -jar MADLIRA TFIDF clear
java -jar MADLIRA TFIDF train -B BenPack -M MalPack
新しいアプリケーションのチェック:
java -jar MADLIRA TFIDF check -S checkApk
出力:
Command: java -jar MADLIRA SVM
このコンポーネントには2つの機能があります:トレーニング機能とテスト機能です。
java -jar MADLIRA SVM packAPK -PB benignApkFolder -B benignPack -PM maliciousApkFolder -M maliciousPack
java -jar MADLIRA SVM train -B benignPack -M maliciousPack
java -jar MADLIRA SVM check -S checkApk
コマンド:
java -jar MADLIRA SVM train <Options>
Compute the classifier for given training data.
-T <T>: max length of the common walks (default value = 3).
-l <lambda>: lambda value to control the importance of length of walks (default value = 0.4).
-B <filename>: the archive file contains all graphs of training benwares.
-M <filename>: the archive file contains all graphs of training malwares.
java -jar MADLIRA SVM check <Options>
Check malicious behaviors in the applications in a folder.
-S <foldername>: the folder contains all apk files.
java -jar MADLIRA SVM test <Options>
Test the classifier for given graph data.
-S <foldername>: the folder contains all graphs of test data.
-n <n>: the number of test samples.
java -jar MADLIRA SVM clear
Clean all training data.
このツールは以下のパッケージを使用します: