{"id":26674115,"url":"https://github.com/nadmax/audit.sh","last_synced_at":"2025-03-26T02:17:31.224Z","repository":{"id":281615445,"uuid":"940829423","full_name":"nadmax/audit.sh","owner":"nadmax","description":"My Linux audit script","archived":false,"fork":false,"pushed_at":"2025-03-10T07:42:56.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T08:30:36.956Z","etag":null,"topics":["audit","linux","shell"],"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/nadmax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":"audit.sh","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-28T21:48:06.000Z","updated_at":"2025-03-10T07:42:57.000Z","dependencies_parsed_at":"2025-03-10T08:42:27.705Z","dependency_job_id":null,"html_url":"https://github.com/nadmax/audit.sh","commit_stats":null,"previous_names":["nadmax/audit.sh"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadmax%2Faudit.sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadmax%2Faudit.sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadmax%2Faudit.sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadmax%2Faudit.sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nadmax","download_url":"https://codeload.github.com/nadmax/audit.sh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245573892,"owners_count":20637674,"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":["audit","linux","shell"],"created_at":"2025-03-26T02:17:30.554Z","updated_at":"2025-03-26T02:17:31.208Z","avatar_url":"https://github.com/nadmax.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# audit.sh\n\nThis script does the following tasks:  \n- Checks if you run the script with sudo\n- Detects which OS it is to manage audit\n- Checks system infos (kernel version, hostname, etc.)\n- Checks security updates\n- Lists users with UID 0 (root users)\n- Lists users with empty passwords\n- Lists users belonging to the sudo group\n- Checks SSH port\n- Detects if SSH root login is activated\n- Checks unauthorized login attempts\n- Checks hidden files and directories\n- Scans rootkits\n- Checks rogue processes\n- Checks file permissions\n- Lists installed packages\n- Lists running services\n- Checks firewall status\n- Lists active network connections\n- Logs each step  \n- Calculate audit time  \n\nTo run the script:\n```bash\nsudo ./audit.sh\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadmax%2Faudit.sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnadmax%2Faudit.sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadmax%2Faudit.sh/lists"}