Abstract
Log management and file integrity are among the most critical security controls in protecting valuable business data assets against internal and external security attacks. Despite the importance of these controls, many businesses, especially smaller ones, do not practically implement the controls due to perceived high costs and complexity. This paper provides a practical blueprint for small businesses to implement enterprise-grade security monitoring on a shoestring budget by integrating open-source tools.
Introduction
Small businesses (SMBs) are caught in a dangerous "security gap." According to the 2019 Verizon Data Breach Investigation Report, over half of small businesses were hit by malware, yet most lack the budget or specialized personnel to deploy traditional, high-cost security solutions. Beyond the immediate threat of hacking, SMBs are often legally required to meet strict regulatory standards like PCI-DSS (for credit cards), HIPAA (for healthcare), and SOX (for financial reporting). These regulations mandate "log management"—keeping a record of network activity—and "file integrity monitoring" (FIM)—detecting unauthorized changes to sensitive files. This paper demonstrates how a business with fewer than 100 employees can meet these complex requirements without breaking the bank.
Methodology and System Architecture
The authors propose a framework built entirely on well-known open-source and free-to-use tools. Their architecture creates a "centralized log server" that aggregates data from both Linux and Windows environments.
The core components include:
- Log Collection: Rsyslog is utilized for Linux systems, while Snare is used for Windows systems to convert event logs into the Syslog format.
- The ELK Stack: Logstash filters and processes incoming data, Elasticsearch stores and indexes the logs, and Kibana provides a visual dashboard for human review.
- File Integrity Monitoring (FIM): OSSEC, a multi-purpose security tool, is deployed specifically to monitor unauthorized changes to system files using cryptographic hashes (SHA-2).
- Infrastructure: The system was tested using an Ubuntu 18.04 LTS server acting as the central hub, with various virtual machines (VMs) representing the business's workstations and servers.
Cost Analysis
A primary focus of this research is the financial feasibility of the proposed stack. The authors provide a concrete breakdown of both initial capital expenditures and ongoing operational costs.
Hardware and Software Costs
The initial setup cost is remarkably low, totaling $1,239.99. This budget covers a dedicated desktop computer, a Windows 10 Pro license, and additional hard drives for log retention. Notably, all security software components (Rsyslog, Logstash, etc.) are open-source and incur no licensing fees.
Personnel and Operational Costs
The most significant insight from the cost analysis is that the "personnel" cost is the true driver of the security budget. While the software is free, the human time required for installation, maintenance, and daily log reviews is substantial. The authors estimate an annual personnel cost of $13,417.83, assuming an hourly rate of $30.21.
Key Results and Discussion
The authors successfully demonstrated that the ELK stack could ingest and visualize data from OSSEC and Snare, meeting the daily monitoring requirements of PCI-DSS Requirement 10.6. By using Snare to convert Windows logs to Syslog, the framework creates a "single pane of glass" where an administrator can monitor an entire heterogeneous network from one dashboard.
Furthermore, the use of these tools provides a natural upgrade path. As a business grows and its security needs become more complex, it can transition to paid support or more robust enterprise versions of the same tools they already know, avoiding the "vendor lock-in" associated with proprietary solutions.
Limitations and Future Work
While effective for small environments, the current model faces scalability challenges. As the number of systems increases, the personnel time required for log review and the hardware requirements for Elasticsearch storage would grow significantly.
Future research will focus on:
- Automation: Integrating automated anomaly detection to reduce the reliance on manual daily reviews.
- Cloud Integration: Exploring cloud-based log management to potentially lower infrastructure costs, while addressing risks regarding data segmentation and Service Level Agreements (SLAs).
Conclusion
This paper provides a viable blueprint for SMBs to bridge the security gap. By leveraging open-source tools, organizations can achieve robust log management and file integrity monitoring at a fraction of the cost of commercial alternatives, provided they account for the necessary investment in human capital.
Summary updated