{"id":17756262,"url":"https://github.com/Sohimaster/Firefox-Passwords-Decryptor","last_synced_at":"2025-03-15T06:32:34.249Z","repository":{"id":231786886,"uuid":"782729649","full_name":"Sohimaster/Firefox-Passwords-Decryptor","owner":"Sohimaster","description":"Extracts and decrypts passwords saved in Firefox.","archived":false,"fork":false,"pushed_at":"2024-04-05T23:06:39.000Z","size":19,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-14T04:53:49.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sohimaster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-04-05T22:38:31.000Z","updated_at":"2024-07-29T04:20:59.000Z","dependencies_parsed_at":"2024-04-05T23:44:39.536Z","dependency_job_id":null,"html_url":"https://github.com/Sohimaster/Firefox-Passwords-Decryptor","commit_stats":null,"previous_names":["sohimaster/firefox-passwords-decryptor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sohimaster%2FFirefox-Passwords-Decryptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sohimaster%2FFirefox-Passwords-Decryptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sohimaster%2FFirefox-Passwords-Decryptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sohimaster%2FFirefox-Passwords-Decryptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sohimaster","download_url":"https://codeload.github.com/Sohimaster/Firefox-Passwords-Decryptor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695454,"owners_count":20332622,"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":[],"created_at":"2024-10-26T16:00:52.808Z","updated_at":"2025-03-15T06:32:34.241Z","avatar_url":"https://github.com/Sohimaster.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Firefox Password Decryptor\n\nThis tool is primarily designed for decrypting and extracting passwords stored in Firefox, offering an in-depth look into the security of saved credentials. It provides additional reconnaissance capabilities such as system info, open ports info, devices info, and Firefox browsing history extraction.\n\n## Main Feature: Firefox Passwords Decryption\n\n1. **Global Salt Retrieval**: Initiates by fetching the global salt from the `key4.db`, laying the groundwork for key generation.\n\n2. **Key Generation via PBKDF2**: Employs PBKDF2 with SHA-256 hashing to craft a decryption key from the global salt, a critical step for accessing encrypted data.\n\n3. **Parsing ASN.1 Encoded Data**: Analyzes ASN.1 encoded structures to extract encrypted credentials alongside their respective algorithms and initialization vectors (IVs).\n\n4. **AES/Triple DES Decryption**: Depending on the specified algorithm, decrypts the credentials using the generated key and IV.\n\n5. **Padding Removal**: Strips padding from decrypted data to unveil plaintext usernames and passwords.\n\n## Additional Features\n\n- **System Info**: Gathers system information including hostname, OS, architecture, CPU count, and memory.\n- **Ports Info**: Enumerates open ports and identifies the processes using them.\n- **Devices Info**: Lists connected USB devices.\n- **Firefox Browsing History**: Extracts and displays the user's Firefox browsing history.\n\n## Getting Started\n\nClone the repository and compile the source to begin using the toolkit:\n\n```bash\ngit clone https://github.com/yourusername/Firefox-Passwords-Decryptor.git\ncd Firefox-Passwords-Decryptor\ngo build\n```\n\n### Command-Line Options\n\nExecute the tool with specific flags to utilize its various features:\n\n- `-passwords`: Decrypt and display Firefox passwords (primary feature).\n- `-sysinfo`: Retrieve system information.\n- `-ports`: List information on open ports.\n- `-devices`: Display connected USB devices.\n- `-history`: Extract Firefox browsing history.\n\nFor instance, to decrypt Firefox passwords and view system info:\n\n```bash\n./Firefox-Passwords-Decryptor -passwords -sysinfo\n\n\u003e\u003e\u003e\n\nSystem info:  {\n  \"Hostname\": \"hostname\",\n  \"Os\": \"linux\",\n  \"Arch\": \"amd64\",\n  \"CpusCount\": 1,\n  \"MemoryCount\": 31244\n}\nFirefox profile path:  /home/username/.mozilla/firefox/filename.default-release\nDb path:  /home/username/.mozilla/firefox/filename.default-release/key4.db\nLogins:  [\n  {\n    \"Username\": \"username\",\n    \"Password\": \"password\",\n    \"URL\": \"example.com\"\n  },\n  {\n    \"Username\": \"username\",\n    \"Password\": \"password\",\n    \"URL\": \"example.com\"\n  },\n]\n```\n\n## Dependencies\n\nEnsure the following packages are installed:\n\n```bash\ngo get -u github.com/google/gousb github.com/mattn/go-sqlite3 github.com/pkg/errors\n```\n## Contributing\n\nFeel free to submit pull requests, open issues for discussion, or suggest improvements.\n\n## License\n\nThis project is distributed under the MIT License - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSohimaster%2FFirefox-Passwords-Decryptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSohimaster%2FFirefox-Passwords-Decryptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSohimaster%2FFirefox-Passwords-Decryptor/lists"}