OMirzaei / TriFlow

TriFlow: Triaging Android Applications using Speculative Information Flows
https://cosec.inf.uc3m.es/~omid-mirzaei/triflow.html
Other
13 stars 3 forks source link

About the Dataset #1

Open kariouwen opened 4 years ago

kariouwen commented 4 years ago

Hello, I would like to ask about the four folders Benign_Apks, Malware_Apks, Benign_Flows and Malware_Flows. Is the discharge folder the CFG generated by the APK that FlowDroid runs through? Because I only in Benign_Apks in the data set, run python Train_TriFlow. Py - I '/ Directory/of/Your/Dataset' -o '/ Your/Desired Output Directory into dead circulation.

OMirzaei commented 4 years ago

Hello, The dataset must contain both benign and malicious apps and their extracted flows in .xml format (flows need to be extracted before using our tool via FlowDroid). Once flows are extracted, move benign and malicious apps (.apk files) to corresponding directories in the dataset folder, named as "Benign_Apks" and "Malware_Apks". Also, move the FlowDroid reports (.xml files) of benign and malicious apps to "Benign_Flows" and "Malware_Flows" respectively. The tool wouldn't work by having one category (malicious or benign) in the dataset as it uses both categories in the weighting process.