{"id":19555410,"url":"https://github.com/anki/security-afat","last_synced_at":"2025-07-23T12:34:34.220Z","repository":{"id":75474964,"uuid":"132980857","full_name":"anki/security-afat","owner":"anki","description":"Anki - Firmware Analyzer Tool: Script for searching the extracted or mounted firmware file system for items of interest","archived":false,"fork":false,"pushed_at":"2018-05-11T03:07:54.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":11,"subscribers_count":52,"default_branch":"master","last_synced_at":"2025-04-26T22:34:16.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/anki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-11T02:51:06.000Z","updated_at":"2025-03-30T20:56:25.000Z","dependencies_parsed_at":"2023-06-06T14:30:39.981Z","dependency_job_id":null,"html_url":"https://github.com/anki/security-afat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anki/security-afat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anki%2Fsecurity-afat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anki%2Fsecurity-afat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anki%2Fsecurity-afat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anki%2Fsecurity-afat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anki","download_url":"https://codeload.github.com/anki/security-afat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anki%2Fsecurity-afat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266680287,"owners_count":23967791,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-11T04:33:52.671Z","updated_at":"2025-07-23T12:34:34.201Z","avatar_url":"https://github.com/anki.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# afat (Anki - Firmware Analyzer Tool)\nScript for searching the extracted or mounted firmware file system for items of interest such as:\n\n* etc/shadow and etc/passwd\n* list out the etc/ssl directory\n* search for SSL and private keys e.g. .pem, .crt, etc.\n* search for configuration files\n* look for script files\n* search for other .bin .fw files\n* look for keywords such as admin, password, remote, etc.\n* search for common web servers \n* search for common binaries such as ssh, tftp, adbd, dropbear, etc.\n* search for URLs, email addresses and IP addresses\n* Experimental support for making calls to the Shodan API using the Shodan CLI\n\n## Usage\n1 make a tmp directory to mount root filesystem `$ mkdir fsmount`\n2 mount image `$ sudo mount -o loop /home/tt/apq8009-robot-sysfs.img fsmount/`\n3 Run afat `$ sudo ./afat.sh fsmount/`\n4 Review log file with afat\u003cdatetime\u003e stamp\n* If you wish to use the static code analysis portion of the script, please install eslint: `npm i -g eslint`\n* `./afat path to root file system`\n\n## How to extend\n* Have a look under 'data' where the checks live or add eslint rules - http://eslint.org/docs/rules/ to eslintrc.json\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanki%2Fsecurity-afat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanki%2Fsecurity-afat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanki%2Fsecurity-afat/lists"}