Lynis

Lynis 是一个开源的安全审计工具。它运行在主机本身,所以它比漏洞扫描器执行更广泛的安全扫描。

Github星跟踪图

Lynis 是一个开源的安全审计工具。由系统管理员,安全专家,和审计师使用,以评估他们的基于UNIX和Linux的系统的安全防御能力。它运行在主机本身,所以它比漏洞扫描器执行更广泛的安全扫描。这也是我们提供的 Lynis Enterprise 中的客户端。

支持的操作系统
Lynis 运行在几乎所有基于 UNIX 的系统和版本,包括︰
  • AIX
  • FreeBSD
  • HP-UX
  • Linux
  • macOS
  • NetBSD
  • OpenBSD
  • Solaris
  • 和其他
它甚至在像树莓派或 QNAP 存储设备的系统上运行。

主要指标

概览
名称与所有者CISOfy/lynis
主编程语言Shell
编程语言Shell (语言数: 3)
平台
许可证GNU General Public License v3.0
所有者活动
创建于2013-12-10 14:00:49
推送于2025-04-01 13:33:19
最后一次提交2025-04-01 15:33:18
发布数63
最新版本名称3.1.4 (发布于 2025-01-28 12:00:50)
第一版名称1.6.1 (发布于 )
用户参与
星数14.1k
关注者数343
派生数1.5k
提交数3.8k
已启用问题?
问题数880
打开的问题数134
拉请求数577
打开的拉请求数21
关闭的拉请求数119
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

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 for system 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

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, 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).

Package

Stable releases of Lynis are packaged and made available as RPM or DEB package. The CISOfy software repository can be used to install Lynis on systems running:
CentOS, Debian, Fedora, OEL, openSUSE, RHEL, Ubuntu, and others.

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 and features a dashboard;
  • hardening snippets;
  • and an improvement plan.

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 and we are proud of that.

Contribute

We love contributors.

Do you have something to share? Or 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