MobiSentry: Towards Easy and Effective Detection of Android Malware on Smartphones
Algorithm 1
MobiSentry algorithm.
Algorithm 1: ensemble of classifiers
Input: classifier set: C, training dataset: S1, and test dataset: S2
Output: labeled detection results of S2(1)Run C on S1;(2) Type of Detection: Classification or Categorization;(3) Ensemble rule of multiple classifiers: majority voting or malware override;(4)for each s S2 dO(5) Frequency for each unique Malware Detection result of s obtained from C;(6) FMD[s, r];(7) MD[s, r];(8) FMD[s, r];(9) MD[s, r];(10)switch (11)case (12)if majority voting then(13)(14)else if malware override then(15)if 0 AND 0 then(16) 0(17)else(18) 1(19)end if(20)end if(21)case Categorization :(22)end switch(23)end for(24)return