{"id":13438236,"url":"https://github.com/zyrikby/FSquaDRA","last_synced_at":"2025-03-19T18:32:29.440Z","repository":{"id":16553077,"uuid":"19306785","full_name":"zyrikby/FSquaDRA","owner":"zyrikby","description":"Fast detection of repackaged Android applications based on the comparison of resource files included into the package.","archived":false,"fork":false,"pushed_at":"2023-04-01T11:59:18.000Z","size":74,"stargazers_count":71,"open_issues_count":0,"forks_count":26,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-27T23:25:10.097Z","etag":null,"topics":["android","android-security","java","repackaging-detection","research"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zyrikby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-04-30T08:29:45.000Z","updated_at":"2024-08-25T16:19:20.000Z","dependencies_parsed_at":"2024-01-03T04:02:32.389Z","dependency_job_id":null,"html_url":"https://github.com/zyrikby/FSquaDRA","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyrikby%2FFSquaDRA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyrikby%2FFSquaDRA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyrikby%2FFSquaDRA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyrikby%2FFSquaDRA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zyrikby","download_url":"https://codeload.github.com/zyrikby/FSquaDRA/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244483595,"owners_count":20460144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-security","java","repackaging-detection","research"],"created_at":"2024-07-31T03:01:03.896Z","updated_at":"2025-03-19T18:32:29.434Z","avatar_url":"https://github.com/zyrikby.png","language":"Java","funding_links":[],"categories":["Android Security","Tools"],"sub_categories":["Application Repackaging Detectors","App Repackaging Detectors"],"readme":"# FSquaDRA\n\n## Description\nFSquaDRA is a tool for detection of repackaged Android applications. The \napproach is based on the idea that repackaged applications want to maintain \n\"look and feel\" of the originals.\n\nOur tool computes Jaccard similarity over the set of digests of files \nincluded into Android package file. We use the digests precomputed during the \napplication signing, thus, significantly improving the speed of apk comparison.\n\nThis work has been done in the University of Trento.\n\n\n\n\n## Publication\nThe results of our research were presented on the 28th Annual IFIP WG 11.3 \nWorking Conference on Data and Applications Security and Privacy. Please,\nuse the following bibtex reference to cite our paper:\n\n```\n@inproceedings{Fsquadra_Zhauniarovich2014,\n    author = {Zhauniarovich, Yury and Gadyatskaya, Olga and Crispo, Bruno and La Spina, Francesco and Moser, Ermanno},\n    title = {{FSquaDRA: Fast Detection of Repackaged Applications}},\n    booktitle = {Proceedings of the 28th Annual IFIP WG 11.3 Working Conference on Data and Applications Security and Privacy},\n    series = {DBSec '14},\n    pages = {131--146},\n    year = {2014},\n}\n```\n\n\n\n\n## Usage\nWe would recommend to build a jar file from the project. In this case, the tool \ncan be run in the following way:\n\n```\njava -jar fsquadra.jar \u003cpath1\u003e \u003cpath2\u003e -o=\u003cresult_file\u003e\n```\n\nwhere *path1* is a path to the first apk file or folder with apk files, \n*path2* is a path to the second apk file or folder with apk files. The tool \nwill take all files from the *path1* and compare them pair wise with the files \nin *path2*. *path2* may be absent, in this case, FSquaDRA will compare pair \nwise all the files inside *path1* folder. \n\nThe results of the comparison will be written into *result_file* in csv \nformat in the following way:\n\n```\napkName1,apkName2,numberOfFilesInApk1,numberOfFilesInApk2,jaccardSimilarity,ifTheCertificatesAreTheSame\n```\n\n\n\n\n## Libraries\nThe tool uses [jCommander](http://jcommander.org/) library to parse command \nline arguments.\n\n\n\n\n## License\nThe tool is distributed under Apache-2.0 license. The citation of the paper is \nhighly appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyrikby%2FFSquaDRA","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzyrikby%2FFSquaDRA","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyrikby%2FFSquaDRA/lists"}