https://github.com/CISOfy/lynis Skip to content Navigation Menu Toggle navigation Sign in * Product + GitHub Copilot Write better code with AI + Security Find and fix vulnerabilities + Actions Automate any workflow + Codespaces Instant dev environments + Issues Plan and track work + Code Review Manage code changes + Discussions Collaborate outside of code + Code Search Find more, search less Explore + All features + Documentation + GitHub Skills + Blog * Solutions By company size + Enterprises + Small and medium teams + Startups By use case + DevSecOps + DevOps + CI/CD + View all use cases By industry + Healthcare + Financial services + Manufacturing + Government + View all industries View all solutions * Resources Topics + AI + DevOps + Security + Software Development + View all Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} CISOfy / lynis Public * Notifications You must be signed in to change notification settings * Fork 1.5k * Star 13.4k Lynis - Security auditing tool for Linux, macOS, and UNIX-based systems. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening. Agentless, and installation optional. cisofy.com/lynis/ License GPL-3.0 license 13.4k stars 1.5k forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 116 * Pull requests 11 * Discussions * Actions * Wiki * Security * Insights Additional navigation options * Code * Issues * Pull requests * Discussions * Actions * Wiki * Security * Insights CISOfy/lynis master BranchesTags [ ] Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 3,777 Commits .github/ .github/ ISSUE_TEMPLATE ISSUE_TEMPLATE db db extras extras include include plugins plugins .editorconfig .editorconfig .gitignore .gitignore .travis.yml .travis.yml CHANGELOG.md CHANGELOG.md CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md CONTRIBUTING.md CONTRIBUTING.md CONTRIBUTORS.md CONTRIBUTORS.md FAQ FAQ HAPPY_USERS.md HAPPY_USERS.md INSTALL INSTALL LICENSE LICENSE README README README.md README.md SECURITY.md SECURITY.md TODO.md TODO.md default.prf default.prf developer.prf developer.prf lynis lynis lynis.8 lynis.8 View all files Repository files navigation * README * Code of conduct * GPL-3.0 license * Security Linux Security Expert badge Build Status CII Best Practices Documentation Do you like this software? Star the project and become a stargazer. --------------------------------------------------------------------- lynis Lynis - Security auditing and hardening tool, for UNIX-based systems. Lynis is a security auditing tool for systems based on UNIX like Linux, macOS, BSD, and others. It performs an in-depth security scan and runs on the system itself. The primary goal is to test security defenses and provide tips for further system hardening. It will also scan for general system information, vulnerable software packages, and possible configuration issues. Lynis was commonly used by system administrators and auditors to assess the security defenses of their systems. Besides the "blue team," nowadays penetration testers also have Lynis in their toolkit. We believe software should be simple, updated on a regular basis, and open. You should be able to trust, understand, and have the option to change the software. Many agree with us, as the software is being used by thousands every day to protect their systems. Goals The main goals are: * Automated security auditing * Compliance testing (e.g. ISO27001, PCI-DSS, HIPAA) * Vulnerability detection The software (also) assists with: * Configuration and asset management * Software patch management * System hardening * Penetration testing (privilege escalation) * Intrusion detection Audience Typical users of the software: * System administrators * Auditors * Security officers * Penetration testers * Security professionals Installation There are multiple options available to install Lynis. Software Package For systems running Linux, BSD, and macOS, there is typically a package available. This is the preferred method of obtaining Lynis, as it is quick to install and easy to update. The Lynis project itself also provides packages in RPM or DEB format suitable for systems systems running: CentOS, Debian, Fedora, OEL, openSUSE, RHEL, Ubuntu, and others. Some distributions may also have Lynis in their software repository: Repology Note: Some distributions don't provide an up-to-date version. In that case it is better to use the CISOfy software repository, download the tarball from the website, or download the latest GitHub release. Git The very latest developments can be obtained via git. 1. Clone or download the project files (no compilation nor installation is required) ; git clone https://github.com/CISOfy/lynis 2. Execute: cd lynis && ./lynis audit system If you want to run the software as root (or sudo), we suggest changing the ownership of the files. Use chown -R 0:0 to recursively alter the owner and group and set it to user ID 0 (root). Otherwise Lynis will warn you about the file permissions. After all, you are executing files owned by a non-privileged user. Enterprise Version This software component is also part of an enterprise solution. Same quality, yet with more functionality. Focus areas include compliance (PCI DSS, HIPAA, ISO27001, and others). The Enterprise version comes with: * a web interface; * dashboard and reporting; * hardening snippets; * improvement plan (based on risk); * commercial support. Documentation Full documentation: https://cisofy.com/documentation/lynis/. Customization If you want to create your own tests, have a look at the Lynis software development kit. Security We participate in the CII best practices badge program of the Linux Foundation. Media and Awards Lynis is collecting some awards along the way and we are proud of that. * 2016 + Best of Open Source Software Awards 2016. + Article by TechRepublic, considering Lynis a "must-have" tool: How to quickly audit a Linux system from the command line + ToolsWatch Best Tools (top 10) * 2015 + ToolsWatch Best Tools (second place) + Best of Open Source Software Awards 2015 (mirror). * 2014 + ToolsWatch Best Tools (third place) * 2013 + ToolsWatch Best Tools (sixth place) Contribute We love contributors. Do you have something to share? Want to help out with translating Lynis into your own language? Create an issue or pull request on GitHub, or send us an e-mail: lynis-dev@cisofy.com. More details can be found in the Contributors Guide. You can also simply contribute to the project by starring the project and show your appreciation that way. Thanks! License GPLv3 About Lynis - Security auditing tool for Linux, macOS, and UNIX-based systems. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening. Agentless, and installation optional. cisofy.com/lynis/ Topics linux shell auditing devops unix security-audit pci-dss compliance hardening security-vulnerability security-hardening devops-tools hipaa vulnerability-detection vulnerability-scanners security-scanner vulnerability-assessment gdpr security-tools system-hardening Resources Readme License GPL-3.0 license Code of conduct Code of conduct Security policy Security policy Activity Custom properties Stars 13.4k stars Watchers 342 watching Forks 1.5k forks Report repository Releases 61 Lynis 3.1.2 Latest Sep 26, 2024 + 60 releases Packages 0 No packages published Contributors 227 * * * * * * * * * * * * * * + 213 contributors Languages * Shell 99.6% * Other 0.4% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.