/
/
Advanced Linux Auditing

Advanced Linux Auditing

Share

The Need for Linux Auditing

Auditing Linux system events is critical to any organization’s governance, risk, and compliance objectives. In order to conduct efficient forensic investigations and ensure accountability, the proper security policies and controls have to be in place.

Compliance: Internal and external auditing requirements typically expect some level of minimum log collection.

Security: Security incident detections are enabled by the deeper context provided by audit logs.

Forensics: Forensic investigations rely heavily on detailed and accurate audit logging.

Operations: Troubleshooting and identifying misconfigurations is sometimes only possible with advanced auditing.

Syslog and audited

  • Syslog operates as an application and a protocol, meaning that it is capable of generating and forwarding system logs to a log aggregator.
  • Audited operates as an application at the kernel level, meaning it has much more granular visibility, but does not have its own protocol and cannot forward system logs.

CISOfy/lynis Security Auditing Tool

Lynis is a security auditing tool for Linux. 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

Policy Auditing: Highlight the differences between local policies and security baselines

Policy Reporting: Export results as a CSV or Excel Spreadsheet

Types of Audited Rules

Control Rules File System Rules System Call Rules
Delete previous rules Monitor read Monitor specific system calls
Set buffer size Monitor write Filter on specific events to be logged
Make config immutable Monitor execution
Panic on failure Monitor attribute changes
Message rate limit

The Need for Audited Configuration

Traditional Linux audit logging is great for basic compliance purposes; not for making security detections. Audited is a Linux system service that hooks into the kernel and provides detailed information about user modifications, logon activity, use of privileged commands, administrator actions, and kernel module activity. It subsequently reports on these events to help identify malicious or anomalous activity. This allows you to better understand how intruders and malware operate on your network.

Execution Persistence Exfiltration
Module Loading Application Shimming Data Compression
Powershell Execution BITS Jobs Data Encryption
Scripting DLL Search Order Hijacking Exfiltration Over Alt Protocol & CNC
Service Execution Local Job Scheduling Remote Access Tools
User Execution Logon Scripts Remote File Copy
Linux Remote Management Scheduled Tasks Scheduled Transfer

Automating audited Policy Configuration

Advanced Auditing: Automatically configure your local audit policy to comply with the CIS security baseline.

CentOS 7 and Ubuntu 16 Support: Out-of-the-box support for CentOS and Ubuntu systems. Minor modifications are necessary for other systems.

Deploy in Seconds: Copy and paste 3 lines of bash into a root terminal to configure everything.

Subscribe to Our Newsletter

ON WATCH, ALL THE TIME

Featured Articles

Point-to-Point Encryption (P2PE) in the payment card industry involves deploying a recognized solution by the PCI council, where hardware, processes, and technology undergo rigorous testing against the current P2PE Standard v3.1 or earlier versions. The P2PE standard combines a recognized and certified PTS device with software and encryption methods to allow cardholder data to be encrypted upon swipe and transmitted encrypted throughout the merchant environment until decrypted within a decryption environment, inaccessible to the merchant.
In today’s rapidly evolving cybersecurity landscape, achieving and maintaining PCI compliance is more critical than ever. With the latest update to PCI DSS 4.0.1, businesses must adapt to meet new standards designed to enhance security and flexibility. This updated PCI Compliance Checklist outlines the essential steps for staying compliant while optimizing your organization’s security posture.
As with many things in popular culture, the PCI Data Security Standard (PCI DSS) has many myths associated with it. The PCI DSS has existed for many years and despite the efforts of the PCI Security Standards Council (PCI SSC) and industry experts, many misconceptions and myths persist. Below we will cover some common PCI DSS myths vs. the reality.
The PCI DSS standard is largely responsible for dictating the way organizations all over the world approach cybersecurity and the protection of credit card data. As v4.0 of the standard approaches, organizations should aim to identify and plan updates for the aspects of their security and compliance programs that are most likely to be affected.
Employees of companies of all sizes are now either required to shelter in place or State and Government lock-downs are forcing companies to require their employees to work remotely. How will this impact your PCI-DSS Compliance?