{"id":31942958,"url":"https://github.com/emirozer/nixarmor","last_synced_at":"2025-10-14T09:47:08.268Z","repository":{"id":25603326,"uuid":"29038363","full_name":"emirozer/nixarmor","owner":"emirozer","description":"nixarmor is a linux hardening automation project","archived":false,"fork":false,"pushed_at":"2022-03-04T17:56:55.000Z","size":41,"stargazers_count":65,"open_issues_count":0,"forks_count":17,"subscribers_count":9,"default_branch":"master","last_synced_at":"2023-04-09T22:18:27.155Z","etag":null,"topics":["hardening","linux","security","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emirozer.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}},"created_at":"2015-01-09T22:33:20.000Z","updated_at":"2023-01-21T06:44:47.000Z","dependencies_parsed_at":"2022-07-30T21:07:56.620Z","dependency_job_id":null,"html_url":"https://github.com/emirozer/nixarmor","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/emirozer/nixarmor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirozer%2Fnixarmor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirozer%2Fnixarmor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirozer%2Fnixarmor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirozer%2Fnixarmor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emirozer","download_url":"https://codeload.github.com/emirozer/nixarmor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirozer%2Fnixarmor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018574,"owners_count":26086404,"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-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["hardening","linux","security","shell"],"created_at":"2025-10-14T09:45:16.908Z","updated_at":"2025-10-14T09:47:08.263Z","avatar_url":"https://github.com/emirozer.png","language":"Shell","readme":"![Screenshot](https://raw.github.com/emirozer/nixarmor/master/docs/nixarmor.png)\n=======================\n##Linux Hardening Automation Project\n\n![travis](https://travis-ci.org/emirozer/nixarmor.svg?branch=master)\n\n*This program comes with ABSOLUTELY NO WARRANTY!*\n\n*Be Advised, do NOT use in production environments!*\n\n\tWikipedia's description for Hardening:\n\n    In computing, hardening is usually the process of securing a system\n    by reducing its surface of vulnerability.\n    A system has a larger vulnerability surface the more functions\n    it fulfills; in principle a single-function system is more secure\n    than a multipurpose one.\n    Reducing available vectors of attack typically includes the\n    removal of unnecessary software, unnecessary usernames or\n    logins and the disabling or removal of unnecessary services.[1]\n[1][Hardening(computing)](http://en.wikipedia.org/wiki/Hardening_%28computing%29)\n\n\n##USAGE\n\nClone the repository.\n\n\tgit clone https://github.com/emirozer/nixarmor.git\n\nRun the related automation script based on your distribution.\n\n**OR**\n\nYou can try the environment via using vagrant.\nGo to the /vagrant/.. dir and pick the distro you are interested in.\n\n    vagrant up\n\n*I am assuming you have* [vagrant](https://www.vagrantup.com) *on your system packages for this task.*\n###CHKROOTKIT \u0026 Cron Job\n=============\nChkrootkit is installed for ubuntu/debian/fedora and ran once.\n\nFor **centOS**, **yum** won't serve this [package](http://www.chkrootkit.org/) so you have to get it manually.\n\nIt is in your best interest to run chkrootkit daily.\nHere are some basic universal instructions:\n\n\tvi /etc/cron.daily/chkrootkit.sh\n\n\t#!/bin/bash\n\tcd /your_installpath/chkrootkit-0.42b/\n\t./chkrootkit | mail -s “Daily chkrootkit from Servername” admin@youremail.com\n\n\nNote\n\n1. Replace ‘your_installpath’ with the actual path to where you unpacked Chkrootkit.\n\n2. Change ‘Servername’ to the server which you are running.\n\n3. Change ‘admin@youremail.com’ to your actual email address where the script will mail you.\n\n\nSave the file.\n\nChange the file permissions\n\n\tchmod 755 /etc/cron.daily/chkrootkit.sh\n\n\n\n-\n*Small note about unattanded updates:* It is a good idea if and only if you compose your own black list..Meaning put everything that you find upgrading without supervision risky. http://askubuntu.com/questions/193773/can-i-configure-unattended-upgrades-to-not-upgrade-packages-that-require-a-reboo\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femirozer%2Fnixarmor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femirozer%2Fnixarmor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femirozer%2Fnixarmor/lists"}