<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mohammad Idris Arif Budiman on Medium]]></title>
        <description><![CDATA[Stories by Mohammad Idris Arif Budiman on Medium]]></description>
        <link>https://medium.com/@morisab?source=rss-1afa4d13f2b7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*J4AeKr6gZbXzsDaG</url>
            <title>Stories by Mohammad Idris Arif Budiman on Medium</title>
            <link>https://medium.com/@morisab?source=rss-1afa4d13f2b7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:44:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@morisab/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Understanding Wazuh: An All-in-One Cybersecurity Solution]]></title>
            <link>https://morisab.medium.com/understanding-wazuh-an-all-in-one-cybersecurity-solution-18c80b248666?source=rss-1afa4d13f2b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/18c80b248666</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[wazuh]]></category>
            <category><![CDATA[system-hardening]]></category>
            <dc:creator><![CDATA[Mohammad Idris Arif Budiman]]></dc:creator>
            <pubDate>Sat, 08 Jun 2024 03:02:36 GMT</pubDate>
            <atom:updated>2024-06-08T03:02:36.472Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*EQwyzq4tsftZfxS4PlTDcw.png" /></figure><h3>Introduction to Wazuh</h3><p>In the increasingly complex digital world, cybersecurity has become a top priority for companies and organizations. With the rise of cyber threats, it is crucial to have robust tools and strategies in place to protect sensitive data and ensure operational integrity. One tool that stands out in helping maintain security is Wazuh.</p><p>Wazuh is an open-source platform designed to detect threats, monitor integrity, and ensure compliance with security policies. Developed from the OSSEC project, Wazuh has evolved into a more powerful and flexible solution. It offers a wide range of features for cybersecurity, making it a reliable choice for organizations looking to enhance their security posture.</p><p>Wazuh has several key functions that make it an excellent choice for cybersecurity.</p><ul><li><strong>Security Monitoring</strong>: Wazuh provides real-time monitoring of network and system activities to detect potential threats. This includes anomaly detection and pattern recognition to identify unusual activities.</li><li><strong>Intrusion Detection</strong>: Wazuh’s intrusion detection capabilities allow it to detect attempts to breach security and provide early warnings. This proactive approach helps in mitigating damage by responding swiftly to threats.</li><li><strong>Compliance Management</strong>: Wazuh assists organizations in maintaining compliance with various security standards such as GDPR, HIPAA, and PCI DSS. It automates the process of auditing and reporting, ensuring that security policies are consistently followed.</li><li><strong>Log Collection and Analysis</strong>: Wazuh collects and analyzes logs from multiple sources, identifying suspicious patterns and behaviors. It integrates seamlessly with SIEM (Security Information and Event Management) systems for enhanced analysis and incident management.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*y28EpwFQCrfLl8-l.png" /></figure><p>Wazuh consists of several central components that work together to provide a comprehensive security solution. These components are Wazuh Indexer, Wazuh Server, Wazuh Dashboard, and Wazuh Agent.</p><ul><li><strong>Wazuh Indexer</strong>: This component is responsible for indexing and storing log data received from Wazuh agents. Utilizing Elasticsearch technology, the Indexer enables fast and efficient data search and analysis, crucial for quick log searches and integration with dashboards for data visualization.</li><li><strong>Wazuh Server</strong>: Acting as the central control center, the Wazuh Server manages communication between agents and the central system, analyzes collected data, and stores analysis results. It processes security alerts and enforces security policies, ensuring that data collected by agents is properly analyzed.</li><li><strong>Wazuh Dashboard</strong>: Providing a web-based graphical interface, the Wazuh Dashboard is used for monitoring and managing agents, as well as analyzing log data. Based on Kibana, it integrates with Elasticsearch to offer interactive data visualization, making it easy to monitor security status, analyze incidents, and generate reports.</li><li><strong>Wazuh Agent</strong>: Installed on endpoints such as servers, workstations, and other devices, the Wazuh Agent collects logs and security data. It sends collected data to the Wazuh Server for analysis and receives policies and commands from the server, enabling extensive and in-depth security coverage.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*T3Djrygs95zXEvgf1qbQ1Q.png" /></figure><p>The central components of Wazuh can be likened to an airport security system, where the Wazuh Indexer acts as an X-ray scanner indexing and storing information about baggage, the Wazuh Server as the surveillance center monitoring data from the X-ray scanner and taking action, the Wazuh Dashboard as the surveillance monitor displaying information visually, and the Wazuh Agent as field security personnel gathering information about suspicious activities. All these components work together to provide a comprehensive security solution, similar to how an airport security system functions to protect passengers and airport assets.</p><h3>Installation of Wazuh Server</h3><h4><strong>Installation Steps</strong></h4><p>Here are the steps to install the Wazuh Server on an Ubuntu-based Linux system.</p><p><strong>Run Terminal as Root:</strong></p><pre>sudo -i</pre><p><strong>Install Required Dependencies:</strong></p><pre>sudo apt install curl apt-transport-https unzip wget libcap2-bin software-properties-common lsb-release gnupg2</pre><p><strong>Download Wazuh Installation Assistant:</strong></p><pre>curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh</pre><p><strong>Run Wazuh Installation Assistant with the -a Argument:</strong></p><pre>bash wazuh-install.sh -a</pre><p>The -a argument is necessary for the installation process to directly install Wazuh Indexer, Wazuh Server, and Wazuh Dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*GjjWyy0Vw3Rloc1vF1lwbA.png" /></figure><p>From the terminal output, allow traffic on several ports using the following commands:</p><pre>ufw allow 443<br>ufw allow 1514<br>ufw allow 1515<br>ufw allow 55000<br>ufw enable</pre><p>After the Wazuh Server is successfully installed, note and securely save the credentials to log in to the Wazuh Dashboard by accessing https://&lt;wazuh-dashboard-ip&gt;:443.</p><p><strong>Screenshots</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*uHaR3H1RXFmNbrJ76e0yvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*xkN2g1P77uELK-vNgK3Apg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*jo_2ttZG5TrdecI8Kx5Klg.png" /></figure><h3>Installation of Wazuh Agent</h3><p>Before installing the Wazuh Agent, ensure the Wazuh Server is running correctly.</p><h4><strong>Installation Steps for Wazuh Agent</strong></h4><p><strong>Open Wazuh Dashboard<br></strong>Click on the dropdown at the top left corner next to the Wazuh logo. Click “Agent,” then click “Deploy New Agent.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*_Zn_gurkKbiC_lHZK3MUWA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*JxgLrZOmHYSRaGa4VocheA.png" /></figure><p>Choose the package to be downloaded and installed. Ensure to select according to the operating system of the agent. Then, fill in the server address with the IP of the currently running Wazuh Server. There is also an option to enter an optional agent name.</p><p><strong>Run the Commands in the Last Two Steps in the Agent’s Terminal<br></strong>Here is an example with an agent using Linux and Windows operating systems.</p><p><strong>Linux</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*uEPVybfe19eoEtteNloiGA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*xD6u4r_Bs2-UNy78NU0HYA.png" /></figure><p><strong>Windows</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Z9cdC-GCl5hy2tL_z-8GcA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*C01X8lVLQNepDTDWzARzNQ.png" /></figure><p>After that, refresh the Wazuh Dashboard page. If the Wazuh Agent is successfully installed, it will appear on the Wazuh Dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*hjPY226_oGxE2Ps0djf7-g.png" /></figure><h3>Exploring Wazuh</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*1aP_FppzYsqT9HCytTdbUg.png" /></figure><p>Wazuh offers a wide range of modules. There are modules for Auditing and Policy Monitoring, such as Policy Monitoring, System Auditing, and Security Configuration Assessment. Additionally, there are modules for Security Information Management, including Security Events and Integrity Monitoring. And other modules as seen in the image above.</p><h4>Security Events</h4><p>Security events in Wazuh play a crucial role in protecting systems and networks from security threats. Through detection, logging, and alerting functions, security events enable users to identify suspicious or potentially harmful activities occurring within their IT infrastructure. By analyzing logs and integrating various security information sources, Wazuh can provide comprehensive reports on potential threats, allowing administrators to take appropriate actions.</p><p><strong>Insights from Security Events</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*7xId8wgQVvcUkqnH8GBiBw.png" /></figure><p>The above image shows the results from the Security Events Dashboard on Wazuh for the Wazuh Agent on Ubuntu. From these results, several insights can be drawn:</p><p><strong>Volume of Security Events<br></strong>Total Alerts: The system has recorded a large number of alerts, with a total of 28,176 in the last 24 hours. This indicates a high volume of security events that need to be managed and analyzed.</p><p>High Severity Alerts: There are 2 alerts with severity levels of 12 or higher, indicating critical events that require immediate attention.</p><p><strong>Authentication Events<br></strong>Failures and Successes: There is 1 authentication failure and 3 authentication successes in the monitored period. Monitoring authentication attempts is crucial to identify potential unauthorized access attempts.</p><p><strong>Alert Groups and Evolution<br></strong>Main Alert Groups: The main alert groups include ossec, rootcheck, sca, syslog, agent_flooding, apparmor, local, config_changed, and dpkg.</p><p>Time Evolution: The alert evolution graph shows spikes at certain times, indicating periods of high alert activity. This can help identify peak times for potential threats or unusual activity.</p><p><strong>Top Alerts<br></strong>Host-Based Anomaly Detection: The most significant alerts are related to host-based anomaly detection.</p><p><strong>Rule Groups and Compliance<br></strong>Top 5 Rule Groups: The main rule groups triggering alerts include ossec, rootcheck, sca, syslog, and apparmor.</p><p>PCI DSS Compliance: Alerts related to PCI DSS (Payment Card Industry Data Security Standard) requirements are prominently displayed. This is important for organizations handling credit card information, ensuring they comply with security standards.</p><p><strong>Data Representation<br></strong>Pie Charts and Graphs: The use of pie charts and bar graphs helps quickly understand the distribution of alerts and their severity levels. These visual representations aid in quick assessment and decision-making.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*CopoJZXgczfWDHmcNAwy9g.png" /></figure><p>The above image shows the results from the Security Events for the Wazuh Agent on Ubuntu. From these results, several insights can be drawn:</p><p><strong>Volume of Security Events<br></strong>Total Alerts: The system has recorded a large number of alerts, with a total of 28,180 hits in the last 24 hours. This indicates a high volume of security events that need to be managed and analyzed.</p><p><strong>Specific Event Details<br></strong>Failed sudo Attempts: On June 5, 2024, at 14:27:28, there were three failed attempts to run the sudo command, detected as an alert with level 10 (rule.id 5404). This indicates potential unauthorized privilege escalation attempts.</p><ul><li>PAM Login Failures: Several login failures were detected by PAM (Pluggable Authentication Module) at different times, with an alert level of 5 (rule.id 5503).</li><li>Open Login Sessions: PAM also detected open login sessions, with level 3 (rule.id 5501).</li><li>Successful SSH Authentication: Successful SSH authentications were also recorded with level 3 (rule.id 5715).</li><li>Dpkg Installations and Configurations: Several events related to Debian package installations and configurations (dpkg) were detected with level 7 (rule.id 2982, 2984).</li></ul><p><strong>Alert Evolution Graph<br></strong>Peak Alert Activity: The alert evolution graph shows peak activity at two main times, around midnight and midday, with sharp increases in the number of alerts.</p><h4>Security Configuration Assessment</h4><p>Security Configuration Assessment (SCA) is the process of evaluating system settings and configurations to ensure they adhere to security best practices and standards. Wazuh has an SCA module that helps identify misconfigurations and vulnerabilities on monitored devices. This capability allows efficient management of the attack surface to enhance system security.</p><p>The main benefits provided by SCA in Wazuh include:</p><ul><li><strong>System Hardening<br></strong>SCA in Wazuh helps improve device security by implementing recommended measures. The module scans monitored devices using CIS standards to identify misconfigurations. SCA reports provide detailed instructions to address these gaps, strengthening system defenses and reducing the attack surface.</li><li><strong>Extensive Configuration Checks<br></strong>Wazuh SCA can perform configuration checks on various devices, cloud workloads, and platforms. The module has a wide range of built-in checks for different operating systems, both on-premises and in the cloud. Additionally, users can create custom configuration checks to meet specific requirements.</li><li><strong>Vulnerability Detection<br></strong>SCA in Wazuh helps identify and mitigate security risks. With comprehensive SCA scans and the Vulnerability Detector module, Wazuh can detect misconfigurations, known weaknesses, and threats in operating systems and applications on monitored devices.</li><li><strong>Compliance Management<br></strong>Wazuh actively audits infrastructure to ensure compliance with security regulations and standards such as PCI-DSS, HIPAA, NIST, TSC, and CIS. The module performs routine checks on monitored devices, ensuring they adhere to applicable standards. System administrators can also verify compliance with internal policies and standards.</li><li><strong>Continuous Monitoring<br></strong>Wazuh continuously monitors device configurations to quickly detect misconfigurations and enable early remediation. SCA scans are performed periodically, and real-time data is sent to the Wazuh server through secure channels to track security status.</li><li><strong>Reporting and Analysis<br></strong>SCA in Wazuh generates detailed reports on the checks performed on devices. These reports include findings and corrective actions needed to secure the devices. The findings are also mapped to relevant regulatory compliance sections for easy analysis.</li></ul><p><strong>Insights from Security Configuration Assessment (SCA)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*lE-CXqguH4Hc6osCwqQ2IA.png" /></figure><p>The above image shows the results from the Security Configuration Assessment (SCA) on Wazuh for the Wazuh Agent on Ubuntu. From these results, several insights can be drawn:</p><p><strong>Pass and Fail Ratio</strong></p><ul><li><strong>Passed</strong>: 73</li><li><strong>Failed</strong>: 107</li><li><strong>Not Applicable</strong>: 2</li><li><strong>Score</strong>: 40%</li></ul><p>Out of 182 checks performed, 73 checks passed, 107 failed, and 2 checks were not applicable. The overall score from the assessment is 40%, indicating that there are still many areas that need improvement in the system’s security configuration.</p><p><strong>Emphasis on Critical Points<br></strong>Some important checks that failed include:</p><ul><li>Ensure /tmp is a separate partition</li><li>Ensure nodev option set on /tmp partition</li><li>Ensure noexec option set on /tmp partition</li><li>Ensure nosuid option set on /tmp partition</li></ul><p>These checks highlight critical areas where security configurations have not been correctly implemented, such as separate partitions for /tmp and setting additional security options.</p><p><strong>Actions for Improvement<br></strong>The SCA report not only indicates where failures occurred but also provides specific commands (such as findmnt — kernel /tmp) that can be used to check current configurations. This makes it easier for administrators to understand and rectify existing configuration issues.</p><p><strong>Conclusion</strong><br>From these SCA results, it is clear that several areas require special attention to strengthen the system’s security. By following the recommendations provided in the report, such as ensuring separate partitions for critical directories and applying appropriate security options, organizations can significantly improve their security posture. This image illustrates the importance of routinely conducting security configuration assessments to identify and address potential vulnerabilities before they can be exploited by attackers.</p><h4><strong>Vulnerabilities</strong></h4><p>The Vulnerabilities module in Wazuh is designed to help detect and manage security vulnerabilities in systems and applications. With this capability, organizations can proactively identify potential threats and take necessary actions to secure their environments.</p><p><strong>Insights from Vulnerabilities</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*u2oUXcjDkKvyji4F1AqGgw.png" /></figure><p>From the vulnerability scan results shown in the screenshot, several key insights can be drawn to understand the security status of the system monitored by Wazuh. Here is the analysis of the results:</p><p><strong>Number of Identified Vulnerabilities<br></strong>A total of 125 vulnerabilities were detected. Of these, 6 are critical, 22 are high risk, 79 are medium risk, and 18 are low risk. This indicates that there are several serious vulnerabilities that require immediate attention to mitigate risks to the system.</p><p><strong>Severity Classification<br></strong>Vulnerabilities are categorized based on severity using the CVSS (Common Vulnerability Scoring System) scale. This helps prioritize remediation actions based on the potential impact of each vulnerability. Critical and high-risk vulnerabilities should be addressed immediately to prevent potential exploitation that could cause significant damage.</p><p><strong>Recent Scan Details<br></strong>The last scan was conducted on June 5, 2024, with the last full scan at 19:00:02 and the last partial scan at 19:05:03. This shows that the system is continuously monitored, and results are updated in real-time, providing timely visibility into the security status.</p><p><strong>Specific Vulnerability <br></strong>Details Some examples of vulnerabilities found include apparmor with CVE-2016–1585, which has a CVSS3 score of 9.8 (critical), and apport-gtk with CVE-2022–28653, which has a CVSS3 score of 0 (low). This information is important for understanding the context and potential impact of each identified vulnerability.</p><p><strong>Summary Analysis<br></strong>The summary diagram shows the distribution of vulnerabilities based on package name. For example, the fonts-opensymbol package has 15 vulnerabilities, bsdtar has 8 vulnerabilities, and libsmbclient and libwbclient0 each have 5 vulnerabilities. This helps identify packages or applications that may need to be updated or reconfigured to improve security.</p><p><strong>Next Steps<br></strong>Based on these findings, the following steps can be taken to enhance system security:</p><ul><li>Immediate Remediation: Focus on critical and high-risk vulnerabilities to reduce the existing significant risk.</li><li>Regular Updates: Ensure all software and packages are always updated with the latest security patches.</li><li>Continuous Monitoring: Continue monitoring and scanning periodically to detect new vulnerabilities that may arise.</li></ul><p>With this analysis, security administrators can take necessary steps to address the vulnerabilities found and improve the overall security of the system monitored by Wazuh.</p><p>Explanation regarding other features and use cases in more detail can be accessed <a href="https://wazuh.com/platform/overview/">here</a>.</p><h3>Wrap-up</h3><p>Wazuh is a very useful tool for maintaining computer and network security. With features that can monitor network activity, identify security issues, and enforce security rules, Wazuh helps companies protect their data and systems.</p><p>This article has explained what Wazuh is, how to install it, and what its advantages are. The examples provided show how Wazuh can quickly recognize and address security issues. With Wazuh, security teams can work more effectively and companies can be safer.</p><p>For those who have not tried Wazuh, this is a good time to start using it. With all the advantages discussed, Wazuh could be the answer to the security challenges we face in today’s digital world.</p><h3>References</h3><ul><li><a href="https://documentation.wazuh.com/current/installation-guide/index.html">Installation guide · Wazuh documentation</a></li><li><a href="https://documentation.wazuh.com/current/getting-started/use-cases/index.html">Use cases - Getting started with Wazuh · Wazuh documentation</a></li><li><a href="https://medium.com/@hasanudin31113/wazuh-the-open-source-security-platform-425d003ac5a3">Wazuh — The Open Source
Security Platform</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18c80b248666" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>