Ad

kernel-hardening-checker: Kernel hardening configuration checker

kernel-hardening-checker checks Linux kernel hardening options based on established security recommendations. It verifies Kconfig, boot arguments, and sysctl settings for improved system security.
Screenshot of a13xp0p0v/kernel-hardening-checker homepage

kernel-hardening-checker checks the Linux kernel hardening options to enhance system security. It analyzes Kconfig settings, kernel command-line arguments, and sysctl parameters against established recommendations from sources like KSPP, kernel maintainers, and various security projects. By automating this check, the tool simplifies the process of ensuring a hardened kernel configuration.

This project provides a comprehensive and flexible way to assess kernel hardening, supporting multiple architectures and output formats. It leverages established security guidelines and offers detailed feedback on configuration choices. Its simple command-line usage and various output modes enhance usability and integration with other security tools.

  • Kconfig Checks: Verifies kernel configuration options based on security best practices.
  • Command Line Analysis: Examines kernel command-line parameters for potential security vulnerabilities.
  • Sysctl Evaluation: Checks runtime sysctl parameters against hardened configurations.
  • Multi-Architecture Support: Works with X86_64, X86_32, ARM64, ARM, and RISC-V architectures.
  • Flexible Output: Supports JSON, verbose, and only-fail outputs for diverse use cases.
  • Automated Detection: Can autodetect and analyze the running kernel configuration.
  • Configuration File Support: Allows checking against custom Kconfig and sysctl files.

The project is actively maintained with recent commits and regular releases. The documentation is comprehensive, and the associated GitHub and Codeberg repositories provide access to the source code and issue tracking. Functional and engine unit tests demonstrate code quality and stability. The project has a decent number of stars and forks, indicative of community interest.

kernel-hardening-checker is valuable for system administrators and security professionals seeking to strengthen their Linux kernel configurations. It helps identify potential weaknesses and ensures adherence to security best practices. It offers a practical alternative to manual configuration reviews, streamlining the process of securing Linux systems and reducing attack surfaces.

Languages:
Summarize:
Share:
Stars
2,100
Forks
190
Issues
11
Created
8 years ago
Commit
1 month ago
License
GPL-3.0
Archived
No
Updated 16 days ago

Similar Repositories