FSquaDRA
Fast detection of repackaged Android applications based on the comparison of resource files included into the package.
Install / Use
/learn @zyrikby/FSquaDRAREADME
FSquaDRA
Description
FSquaDRA is a tool for detection of repackaged Android applications. The approach is based on the idea that repackaged applications want to maintain "look and feel" of the originals.
Our tool computes Jaccard similarity over the set of digests of files included into Android package file. We use the digests precomputed during the application signing, thus, significantly improving the speed of apk comparison.
This work has been done in the University of Trento.
Publication
The results of our research were presented on the 28th Annual IFIP WG 11.3 Working Conference on Data and Applications Security and Privacy. Please, use the following bibtex reference to cite our paper:
@inproceedings{Fsquadra_Zhauniarovich2014,
author = {Zhauniarovich, Yury and Gadyatskaya, Olga and Crispo, Bruno and La Spina, Francesco and Moser, Ermanno},
title = {{FSquaDRA: Fast Detection of Repackaged Applications}},
booktitle = {Proceedings of the 28th Annual IFIP WG 11.3 Working Conference on Data and Applications Security and Privacy},
series = {DBSec '14},
pages = {131--146},
year = {2014},
}
Usage
We would recommend to build a jar file from the project. In this case, the tool can be run in the following way:
java -jar fsquadra.jar <path1> <path2> -o=<result_file>
where path1 is a path to the first apk file or folder with apk files, path2 is a path to the second apk file or folder with apk files. The tool will take all files from the path1 and compare them pair wise with the files in path2. path2 may be absent, in this case, FSquaDRA will compare pair wise all the files inside path1 folder.
The results of the comparison will be written into result_file in csv format in the following way:
apkName1,apkName2,numberOfFilesInApk1,numberOfFilesInApk2,jaccardSimilarity,ifTheCertificatesAreTheSame
Libraries
The tool uses jCommander library to parse command line arguments.
License
The tool is distributed under Apache-2.0 license. The citation of the paper is highly appreciated.
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
isf-agent
a repo for an agent that helps researchers apply for isf funding
