[Paper Review] Android Malware Detection using Feature Ranking of Permissions
This paper proposes a permission-based Android malware detection framework using feature ranking via Chi-Square and Fisher’s Exact tests to reduce irrelevant permissions, followed by classification with Random Forest, achieving 99.34% accuracy and 92.17% F-score on the full Drebin dataset, improving upon prior permission-only approaches.
We investigate the use of Android permissions as the vehicle to allow for quick and effective differentiation between benign and malware apps. To this end, we extract all Android permissions, eliminating those that have zero impact, and apply two feature ranking algorithms namely Chi-Square test and Fisher's Exact test to rank and additionally filter them, resulting in a comparatively small set of relevant permissions. Then we use Decision Tree, Support Vector Machine, and Random Forest Classifier algorithms to detect malware apps. Our analysis indicates that this approach can result in better accuracy and F-score value than other reported approaches. In particular, when random forest is used as the classifier with the combination of Fisher's Exact test, we achieve 99.34\% in accuracy and 92.17\% in F-score with the false positive rate of 0.56\% for the dataset in question, with results improving to 99.82\% in accuracy and 95.28\% in F-score with the false positive rate as low as 0.05\% when only malware from three most popular malware families are considered.
Motivation & Objective
- To improve the accuracy and F-score of Android malware detection using only permissions extracted from the Android manifest file.
- To reduce feature dimensionality by eliminating irrelevant permissions and ranking the remaining ones using statistical feature selection methods.
- To evaluate the effectiveness of different machine learning classifiers—Decision Tree, SVM, and Random Forest—on the ranked permission features.
- To compare the proposed approach with existing permission-based and hybrid malware detection methods in terms of accuracy, F-score, and false positive rate.
- To demonstrate that focusing on relevant permissions, regardless of their risk category (normal, dangerous, signature), leads to superior detection performance.
Proposed method
- Extracted Android permissions from the manifest files of 119,808 apps (114,298 benign, 5,510 malware) from the Drebin dataset.
- Removed permissions with zero impact on malware classification using statistical significance testing.
- Applied Chi-Square test and Fisher’s Exact test to rank permissions based on their p-values, selecting only those with strong association to the malware class.
- Used three classifiers—Decision Tree, Support Vector Machine (SVM), and Random Forest—on the filtered and ranked permission sets.
- Evaluated performance using standard metrics: accuracy, F-score, and false positive rate on two datasets: full Drebin and a subset containing only the three most common malware families.
- Compared results with state-of-the-art permission-based and hybrid (permissions + code) approaches to validate superiority.
Experimental results
Research questions
- RQ1Can feature ranking of Android permissions using statistical tests improve malware detection accuracy compared to unfiltered permission sets?
- RQ2How do Chi-Square and Fisher’s Exact test perform in identifying the most discriminative permissions for malware detection?
- RQ3Does the Random Forest classifier outperform Decision Tree and SVM when applied to ranked permission features?
- RQ4How does the detection performance vary when focusing only on the three most prevalent malware families?
- RQ5To what extent does removing irrelevant permissions enhance F-score and reduce false positive rates in permission-based malware detection?
Key findings
- The proposed method achieved 99.34% accuracy and 92.17% F-score using Fisher’s Exact test and Random Forest on the full Drebin dataset.
- When restricted to the three most common malware families, accuracy improved to 99.82% and F-score to 95.28%, with a false positive rate as low as 0.05%.
- The approach outperformed Drebin’s original method (93.90% accuracy on full dataset) and other permission-only approaches, including those using sequential forward selection and PCA.
- The false positive rate was significantly lower (0.56%) than the 0.60% reported in a comparable study, despite higher F-score (92.17% vs. 91%).
- The model achieved better results than APK Auditor (88% accuracy) due to the elimination of irrelevant permissions and use of statistical ranking.
- While a hybrid approach using source code achieved a slightly higher F-score (95.6%), it was tested on a much smaller dataset (387 apps), making the current method more scalable and robust on large-scale data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.