<?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 ars.udhayan on Medium]]></title>
        <description><![CDATA[Stories by ars.udhayan on Medium]]></description>
        <link>https://medium.com/@chandruudhayan?source=rss-2183bc69d63e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CHCoqIzAYCSlsTys4a36tA.jpeg</url>
            <title>Stories by ars.udhayan on Medium</title>
            <link>https://medium.com/@chandruudhayan?source=rss-2183bc69d63e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:05:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chandruudhayan/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[  -    …]]></title>
            <link>https://medium.com/@chandruudhayan/-573106f68404?source=rss-2183bc69d63e------2</link>
            <guid isPermaLink="false">https://medium.com/p/573106f68404</guid>
            <category><![CDATA[self-managed-llm]]></category>
            <dc:creator><![CDATA[ars.udhayan]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 10:22:02 GMT</pubDate>
            <atom:updated>2026-09-22T10:22:02.265Z</atom:updated>
            <content:encoded><![CDATA[<h3>𝗕𝗨𝗜𝗟𝗗𝗜𝗡𝗚 𝗔 𝗦𝗘𝗟𝗙-𝗠𝗔𝗡𝗔𝗚𝗘𝗗 𝗟𝗟𝗠 𝗜𝗡𝗙𝗘𝗥𝗘𝗡𝗖𝗘 𝗘𝗡𝗩𝗜𝗥𝗢𝗡𝗠𝗘𝗡𝗧 𝗢𝗡 𝗔𝗪𝗦</h3><p>From a Usage Limitation to a Hands-On AI Infrastructure Project<br>Technical Project Blog / Case Study<br>“I don’t always need the best hardware to learn. Sometimes, I just need a problem worth solving”</p><p>TABLE OF CONTENTS<br>1. Introduction<br>2. The Problem I Wanted to Solve<br>3. Why I Decided to Build<br>4. My Learning Environment<br>5. Project Goals<br>6. Architecture<br>7. Technology Selection<br>8. AWS EC2 Setup<br>9. Linux Server Preparation<br>10. Installing Ollama<br>11. Deploying Llama 3.2 3B<br>12. Installing Docker<br>13. Deploying Open WebUI<br>14. Connecting Open WebUI with Ollama<br>15. SSH Tunneling<br>16. First Successful Test<br>17. The 2 + 2 Problem<br>18. Docker ↔ Ollama Troubleshooting<br>19. Open WebUI Troubleshooting<br>20. CPU vs GPU Limitation<br>21. What I Learned<br>22. My Troubleshooting Method<br>23. Cyber Nerds &amp; Mentorship<br>24. Future Improvements<br>25. Final Takeaways</p><ol><li>INTRODUCTION<br>I didn’t start this project because I had the perfect infrastructure. I started because I had a problem.<br>While experimenting with AI tools, I reached a practical usage limitation. Instead of simply waiting for the limit to<br>reset, I started thinking about a different question:<br>Can I build and manage my own LLM environment?<br>That question became the starting point for this project. My goal was not to train a new language model from<br>scratch. My goal was to understand what happens behind the interface of an AI application.<br>I wanted to understand how an LLM runs, where inference happens, how a UI communicates with a model, how<br>Docker communicates with Ollama, how an application discovers a model, and what happens when something fails.</li></ol><p>2. THE PROBLEM I WANTED TO SOLVE<br>I wanted an AI environment that I could control, experiment with, troubleshoot, access remotely, understand<br>technically, and modify based on my requirements.<br>Problem → Research → Architecture → Implementation → Testing → Failure → Troubleshooting → Working<br>Environment.</p><p>3. WHY I DECIDED TO BUILD<br>I didn’t want to just consume AI. I wanted to understand the infrastructure behind it.<br>Using an AI application is one experience. Building the environment that runs an AI model is a completely different<br>learning experience.<br>When something works, I learn why it works. When something fails, I learn why it failed.</p><p>4. MY LEARNING ENVIRONMENT<br>My journey at Sri Shanmugha College of Engineering and Technology has given me an environment where I<br>could learn, experiment, ask questions and work on technical projects.<br>My exposure to Cyber Nerds influenced the way I approach problems — not just looking for an answer, but<br>understanding the reason behind the answer.<br>I was also motivated by Sakthi Bro, whose guidance and encouragement helped me maintain a mindset of<br>continuous learning and experimentation.</p><p>5. PROJECT GOALS<br>Deploy an LLM runtime; run a language model on the cloud server; deploy a web interface; connect the interface to<br>the model runtime; access it securely from my MacBook; test the complete request flow; and troubleshoot failures<br>layer by layer.</p><p>6. ARCHITECTURE<br>The project combines a MacBook client, an SSH tunnel, an AWS EC2 server, Docker, Open WebUI, Ollama and<br>Llama 3.2 3B</p><p>🍎 MacBook<br> │<br> │ SSH Tunnel<br> ▼<br>☁️ AWS EC2 Server<br> │<br> ├── Ubuntu Linux<br> │<br> ├── Docker<br> │ │<br> │ └── Open WebUI<br> │<br> └── Ollama<br> │<br> ▼<br> 🧠 Llama 3.2 3B<br> │<br> ▼<br> Inference<br> │<br> ▼<br> AI Response<br> │<br> ▼<br> MacBook</p><p>7. TECHNOLOGY SELECTION<br>AWS EC2 — Cloud compute<br>Ubuntu — Server operating system<br>Docker — Containerization<br>Open WebUI — User interface<br>Ollama — Model runtime<br>Llama 3.2 3B — Language model<br>SSH — Secure remote administration<br>SSH Tunnel — Secure local access<br>ServerCat — Server management/access</p><p>8. AWS EC2 SETUP<br>My working environment used an m7i-flex.large EC2 instance with 2 vCPUs, 8 GiB RAM, Ubuntu, and 50 GiB gp3<br>storage.<br>One constraint was working within AWS Free Tier resources. I therefore did not have access to the GPU-backed<br>compute I would normally prefer for high-performance inference. I treated this as an engineering constraint rather<br>than a blocker.</p><p>9. LINUX SERVER PREPARATION<br>Before installing the AI components, I verified the server resources and operating environment.<br>sudo apt update<br>uname -a<br>free -h<br>df -h<br>lscpu</p><p>10. INSTALLING OLLAMA<br>Ollama acts as the runtime layer responsible for serving the language model and exposing an API that applications<br>can communicate with.<br>curl -fsSL <a href="https://ollama.com/install.sh">https://ollama.com/install.sh</a> | sh<br>ollama — version<br>sudo systemctl status ollama</p><p>11. DEPLOYING LLAMA 3.2 3B<br>Llama 3.2 3B is the language model. Ollama is the runtime used to run and interact with that model. Keeping those<br>concepts separate was an important part of understanding the stack.<br>ollama pull llama3.2:3b<br>ollama list<br>ollama run llama3.2:3b</p><p>12. INSTALLING DOCKER<br>Docker provides the containerized environment used for Open WebUI. This also introduced a networking boundary<br>between the application container and the host service.<br>sudo apt install docker.io -y<br>sudo systemctl enable — now docker<br>docker — version</p><p>13. DEPLOYING OPEN WEBUI<br>Open WebUI provides the user-facing chat interface. It does not replace Ollama; it communicates with the model<br>runtime.</p><p>14. CONNECTING OPEN WEBUI WITH OLLAMA<br>Open WebUI was running inside a Docker container while Ollama was running as a service on the EC2 host. The<br>two layers therefore needed reliable communication.</p><p>15. SSH TUNNELING<br>SSH login and SSH tunneling are different. The tunnel allowed the MacBook to access the private Open WebUI<br>service without exposing that service publicly.<br>ssh -i ~/Downloads/apple.pem -L 3001:127.0.0.1:3000 ubuntu@16.16.56.173<br>Browser: <a href="http://localhost:3001/">http://localhost:3001</a></p><p>16. FIRST SUCCESSFUL TEST<br>After connecting the components, I reached the point where I could open Open WebUI from my MacBook and send<br>requests to the model running on the AWS server.</p><p>17. THE 2 + 2 PROBLEM<br>One of the most interesting moments came during a simple validation test. I asked: What is 2 + 2?<br>During an earlier test, Open WebUI unexpectedly responded that it did not understand the context. Instead of<br>assuming that the model was broken, I tested the model directly through Ollama.<br>Prompt: Reply with only the number: 2 + 2 =<br>Response: 4<br>This changed the debugging direction. The model itself was able to perform the task, so I started investigating the<br>layers between the UI and the model.</p><p>18. DOCKER ↔ OLLAMA TROUBLESHOOTING</p><p>Instead of saying ‘Open WebUI is not working’, I broke the problem into layers: Ollama, API, Docker, Open WebUI,<br>SSH and MacBook.<br>Each layer was tested independently. This made it possible to distinguish service failures from communication<br>failures.<br>sudo systemctl status ollama<br>curl <a href="http://127.0.0.1:11434/api/generate">http://127.0.0.1:11434/api/generate</a><br>sudo docker exec open-webui curl -s <a href="http://host.docker.internal:11434/api/generate">http://host.docker.internal:11434/api/generate</a></p><p>19. OPEN WEBUI TROUBLESHOOTING<br>When Open WebUI showed a load-related problem, container logs became an important source of evidence. The<br>logs showed successful API requests alongside an error related to initial chat title generation.<br>A useful lesson was that a log error does not automatically mean the entire application is down. The next step is to<br>determine whether the failure is critical or non-blocking.<br>sudo docker logs — tail 80 open-webui<br>sudo docker ps<br>sudo docker restart open-webui</p><p>20. CPU VS GPU LIMITATION<br>The current workload runs on CPU-based compute without dedicated GPU acceleration, so inference latency is<br>noticeably higher.<br>That limitation helped demonstrate that LLM performance is not only about the model. Infrastructure, compute,<br>memory, quantization, concurrency and hardware acceleration also matter.</p><p>21. WHAT I LEARNED<br>Cloud: compute resources form the foundation for an AI workload.<br>Linux: services, processes, ports and logs matter.<br>Docker: containers have their own networking and communication requirements.<br>Networking: localhost, ports, TCP, SSH and tunneling are practical building blocks.<br>AI Infrastructure: UI, API, runtime, model and inference are separate layers.</p><p>22. MY TROUBLESHOOTING METHOD<br>1. Reproduce — Can I reproduce the issue?<br>2. Isolate — Which layer is failing?<br>3. Test — Can I test that layer independently?<br>4. Observe — What do logs and API responses say?<br>5. Fix — Change only the required component.<br>6. Validate — Did the fix actually solve the problem?<br>7. Document — What caused it and what did I learn?</p><p>23. CYBER NERDS &amp; MENTORSHIP<br>Technical growth doesn’t happen in isolation.<br>My learning environment at Sri Shanmugha College of Engineering and Technology gave me opportunities to<br>explore different technologies.<br>My exposure to Cyber Nerds encouraged me to think beyond simply completing I also want to acknowledge Sakthi Bro for the motivation and guidance that encouraged me to keep learning,<br>experimenting and improving.</p><p>24. FUTURE IMPROVEMENTS<br>Future iterations could explore GPU-backed compute, better memory resources, model comparison, quantization<br>experiments, response-latency benchmarking, stronger access controls, HTTPS/reverse proxy, authentication<br>hardening, monitoring, metrics and automated deployment.</p><p>25. FINAL TAKEAWAYS<br>This project started with a simple problem: I reached a usage limitation while experimenting with AI. But the solution<br>became much bigger than the original problem.<br>I learned how to deploy an LLM runtime, run a model, connect a web interface, troubleshoot Docker networking, use<br>SSH tunneling and debug an AI system layer by layer.<br>Most importantly, I learned that limitations can become learning opportunities.<br>I didn’t have the fastest hardware. I didn’t have a GPU. I didn’t have production-grade AI infrastructure. But I had<br>curiosity — and I had a problem worth solv</p><p>APPENDIX — WORKING ENVIRONMENT SUMMARY</p><p>Component-Configuration<br> — — — — — — — — — — — — — — — — — — — — — — — — <br>Cloud Platform -AWS EC2<br>Instance Type -m7i-flex.large<br>CPU-2 vCPU<br>Memory -8 GiB RAM<br>Storage -50 GiB gp3<br>Operating System -Ubuntu Linux<br>Container Platform -Docker<br>Web Interface- Open WebUI<br>LLM Runtime- Ollama<br>Language Model -Llama 3.2 3B<br>Remote Access -SSH<br>Secure Access -SSH Tunnel<br>Client Device -MacBook<br>Server Management -ServerCat<br> — — — — — — — — — — — — — — — — — — — — — — — —</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=573106f68404" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THE ALERT THAT WASN’T THERE]]></title>
            <link>https://medium.com/@chandruudhayan/the-alert-that-wasnt-there-9a4d765e496e?source=rss-2183bc69d63e------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a4d765e496e</guid>
            <category><![CDATA[a-unique-soc-lab-story]]></category>
            <dc:creator><![CDATA[ars.udhayan]]></dc:creator>
            <pubDate>Sat, 12 Sep 2026 05:53:40 GMT</pubDate>
            <atom:updated>2026-09-12T05:53:40.869Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>THE ALERT THAT WASN’T THERE</strong></p><p>From Raw macOS DNS Logs to a Live Wazuh Detection</p><p><strong>A unique SOC lab story</strong></p><p>This guide turns a real troubleshooting journey into a detailed technical blog blueprint. It focuses on evidence,</p><p>failure points, decoder/rule design, live validation, dashboard visibility, and the next step: reducing alert noise.</p><p><strong><em>Core story:</em></strong><em> The DNS telemetry was reaching Wazuh. The alert was not. The investigation</em></p><p><em>traced the missing signal to decoding and detection logic.</em></p><p><strong>52-page technical blog + portfolio guide</strong></p><p>Audience: SOC L1 learners, junior security analysts, recruiters, technical interviewers, and anyone learning Wazuh</p><p>detection engineering.</p><p>Prepared from the documented lab journey in this conversation Page 1<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>Table of Contents</strong></p><p>Each numbered section is designed as a blog-ready chapter or supporting page.</p><p>1. The Hook: I Did Not Start With an Alert. I Started With a Missing Alert.</p><p>2. The Lab in One Picture</p><p>3. Why macOS DNS Monitoring Was a Different SOC Learning Exercise</p><p>4. Architecture: The Six-Stage Detection Chain</p><p>5. Step Zero: Prove the Endpoint Is Producing DNS Activity</p><p>6. The First Capture Command</p><p>7. A Small but Important Shell Permission Lesson</p><p>8. The First Mystery: DNS Lookup Worked, But the Log File Did Not Move</p><p>9. Re-Starting the Capture and Proving Fresh Timestamps</p><p>10. The Wazuh Agent Configuration</p><p>11. Agent Connectivity Was Not the Problem</p><p>12. Proving the Event Reached the Manager</p><p>13. Archive vs Alert: The Concept I Finally Understood</p><p>14. The Raw macOS DNS Event Format</p><p>15. First Decoder Test: No Decoder Matched</p><p>16. Designing the Custom macOS DNS Decoder</p><p>17. Configuration Validation Before Restart</p><p>18. The Decoder Worked</p><p>19. The Rule Structure Mistake</p><p>20. Correcting the Rule File</p><p>21. The Most Important Test: Phase 3</p><p>22. Applying the Detection to the Live Manager</p><p>23. Another Live Test Failed — and That Was Useful</p><p>24. Proving the Live Source Was Back</p><p>25. The Final End-to-End Proof</p><p>26. What the Dashboard Can Show</p><p>27. The Alert Flood Problem</p><p>28. Why Every DNS Event Should Not Be an Alert</p><p>29. Better Detection Strategy: Separate Collection From Detection</p><p>30. Detection Idea #1: Query Pattern Context</p><p>31. Detection Idea #2: Frequency and Thresholding</p><p>32. Detection Idea #3: Process Context</p><p>33. Detection Idea #4: DNS + Endpoint Telemetry</p><p>34. A Simple SOC Triage Workflow</p><p>Prepared from the documented lab journey in this conversation Page 2<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p>35. Example Investigation Questions for Rule 100501</p><p>36. Why timestamps mattered throughout the project</p><p>37. The Disk-Space Incident That Became Part of the Story</p><p>38. What I Did Not Delete — and Why</p><p>39. Security Telemetry Is an Engineering System</p><p>40. Why This Is More Than “I Used Wazuh”</p><p>41. How to Turn This Into a LinkedIn Hook</p><p>42. Suggested LinkedIn Post Structure</p><p>43. Suggested Blog Title Variations</p><p>44. Screenshot Plan for the Blog</p><p>45. What to Hide Before Publishing</p><p>46. Lessons for a SOC L1 Interview</p><p>47. A 60-Second Interview Answer</p><p>48. What I Would Improve Next</p><p>49. Reproducible Lab Checklist</p><p>50. Final Architecture Summary</p><p>51. The Bigger Lesson: Troubleshooting Is a Security Skill</p><p>52. Closing: From “Logs Are There” to “I Can Explain Why”</p><p>Prepared from the documented lab journey in this conversation Page 3<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 01</strong></p><p><strong>1. The Hook: I Did Not Start With an Alert. I Started</strong></p><p><strong>With a Missing Alert.</strong></p><p>A strong SOC blog does not begin with “I installed Wazuh.” That story is common. This one begins with a missing</p><p>detection. The Mac was already generating DNS activity, the Wazuh Agent was already connected, and the</p><p>telemetry could already be pushed to the Manager. Yet the Wazuh Dashboard had no meaningful DNS alert. The</p><p>interesting part was not creating noise. It was tracing the gap between raw telemetry and a rule-driven security</p><p>signal.</p><p><strong>Recommended opening sentence</strong></p><p><em>“The logs were there. The agent was online. The Manager was receiving data. But the alert I</em></p><p><em>expected was missing.”</em></p><p><strong>Key evidence / talking points</strong></p><p>• Use this as the opening paragraph of the public blog. It creates curiosity: the system was connected, but the</p><p>detection pipeline was incomplete.</p><p>• The narrative is built around one practical question: “Where did the DNS event disappear?”</p><p>• This framing shows troubleshooting ability, not only tool familiarity.</p><p><strong>SOC lesson</strong></p><p>The theme: From Raw Telemetry to a Detection Signal.</p><p>Prepared from the documented lab journey in this conversation Page 4<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 02</strong></p><p><strong>2. The Lab in One Picture</strong></p><p>The lab used a macOS endpoint as the monitored host and an Ubuntu-based Wazuh Manager as the central</p><p>analysis point. The Mac generated mDNSResponder log data. That data was written into a local file, collected by the</p><p>Wazuh Agent, sent to the Manager, decoded by a custom decoder, and finally matched by a custom rule.</p><p><strong>Key evidence / talking points</strong></p><p>• Mac endpoint: Udhayans-MacBook-Air.local</p><p>• Wazuh Agent ID: 001</p><p>• Wazuh Agent version: 4.14.7 arm64</p><p>• Wazuh Manager host: ip-10–0–0–66</p><p>• Manager address used by the agent: 13.60.200.69</p><p>• DNS log file: /var/log/wazuh/dns.log</p><p><strong>SOC lesson</strong></p><p>This was intentionally a Mac-focused monitoring path instead of a Windows Event Viewer-only workflow.</p><p>Prepared from the documented lab journey in this conversation Page 5<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 03</strong></p><p><strong>3. Why macOS DNS Monitoring Was a Different SOC</strong></p><p><strong>Learning Exercise</strong></p><p>Many beginner SOC labs concentrate on Windows Event IDs because they are easy to demonstrate. This project</p><p>explored a different endpoint data source: macOS DNS resolver telemetry. macOS does not expose DNS events in</p><p>the exact same style as Windows Event Viewer. The system service involved here is mDNSResponder, and its</p><p>logging format required a different ingestion and decoding approach.</p><p><strong>Key evidence / talking points</strong></p><p>• The goal was not “Mac is better than Windows.”</p><p>• The goal was to understand that the SOC has to adapt its collection and detection strategy to the endpoint.</p><p>• This becomes a useful interview talking point: log source familiarity matters more than memorizing one platform.</p><p><strong>SOC lesson</strong></p><p>systems.”</p><p>Interview line: “I learned that the same security question can produce very different telemetry on different operating</p><p>Prepared from the documented lab journey in this conversation Page 6<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 04</strong></p><p><strong>4. Architecture: The Six-Stage Detection Chain</strong></p><p>The final working path can be explained as six stages: event generation, local persistence, agent collection,</p><p>Manager archiving, decoding, and rule matching. Each stage solves a different problem. A failure at any stage</p><p>changes what you see in the Wazuh interface.</p><p><strong>Key evidence / talking points</strong></p><p>• Stage 1 — mDNSResponder generates DNS-related telemetry.</p><p>• Stage 2 — the telemetry is persisted to /var/log/wazuh/dns.log.</p><p>• Stage 3 — Wazuh Agent reads that file.</p><p>• Stage 4 — the Manager receives and archives the raw event.</p><p>• Stage 5 — the custom macos-dns decoder recognizes the format.</p><p>• Stage 6 — rule 100501 turns the decoded event into an alert.</p><p><strong>SOC lesson</strong></p><p>Core lesson: never troubleshoot the dashboard first. Trace the pipeline from source to alert.</p><p><strong>Evidence checkpoint</strong></p><p><strong>Source -&gt; file -&gt; agent -&gt; archive -&gt; decoder -&gt; rule</strong></p><p>Prepared from the documented lab journey in this conversation Page 7<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 05</strong></p><p><strong>5. Step Zero: Prove the Endpoint Is Producing DNS</strong></p><p><strong>Activity</strong></p><p>Before touching Wazuh rules, the endpoint must prove that the operating system is generating observable DNS</p><p>activity. The command used was dig against example.com. The test is simple on purpose: generate a known DNS</p><p>lookup, then inspect the local capture file.</p><p><strong>Key evidence / talking points</strong></p><p>• This is a source validation test, not a Wazuh test.</p><p>• If the local file does not change, the failure is before the SIEM.</p><p>• If the file changes but Wazuh does not ingest it, move one stage later.</p><p><strong>SOC lesson</strong></p><p>Use a deterministic test input whenever possible. A repeatable test makes troubleshooting much faster.</p><p>Prepared from the documented lab journey in this conversation Page 8<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 06</strong></p><p><strong>6. The First Capture Command</strong></p><p>The Mac used the unified logging stream from mDNSResponder and appended the data to the Wazuh-monitored</p><p>file. The important detail was using sudo tee rather than a simple shell redirection so the privileged file write actually</p><p>succeeded.</p><p><strong>Useful command / configuration</strong></p><p>sudo log stream — predicate ‘process == “mDNSResponder”’ — info | sudo tee -a /var/log/wazuh/dns.log</p><p># Generate a test query in another terminal</p><p>dig example.com</p><p><strong>SOC lesson</strong></p><p>Remember: “sudo command &gt; file” can still fail because the shell performs the redirection before sudo applies to</p><p>the command. Using sudo tee avoids that permission trap.</p><p>Prepared from the documented lab journey in this conversation Page 9<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 07</strong></p><p><strong>7. A Small but Important Shell Permission Lesson</strong></p><p>The first attempt to write the DNS stream into /var/log/wazuh/dns.log encountered a shell redirection permission</p><p>problem. The fix was to pipe the stream into sudo tee -a. This is exactly the type of small operational detail that</p><p>separates a working lab from a copied tutorial.</p><p><strong>Key evidence / talking points</strong></p><p>• Wrong mental model: sudo automatically makes every part of the pipeline privileged.</p><p>• Better mental model: each process in a shell pipeline has its own permissions.</p><p>• Operational habit: when writing to a root-owned file from a pipeline, use sudo tee when needed.</p><p><strong>Useful command / configuration</strong></p><p># Problematic pattern in many shells</p><p>sudo some_command &gt; /root/some_file</p><p># Safer pipeline for privileged append</p><p>some_command | sudo tee -a /root/some_file</p><p><strong>SOC lesson</strong></p><p>SOC relevance: troubleshooting often fails on Linux/macOS fundamentals before it fails on SIEM logic.</p><p>Prepared from the documented lab journey in this conversation Page 10<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 08</strong></p><p><strong>8. The First Mystery: DNS Lookup Worked, But the</strong></p><p><strong>Log File Did Not Move</strong></p><p>A dig example.com command succeeded, but the DNS log file timestamp did not change. That created the first real</p><p>troubleshooting branch. Instead of assuming Wazuh was broken, the next check was whether the log stream</p><p>process was still alive.</p><p><strong>Key evidence / talking points</strong></p><p>• Command: ps aux | grep ‘[l]og stream’</p><p>• Result: no running capture process.</p><p>• Conclusion: the source-to-file stage had stopped, so no new telemetry could reach Wazuh.</p><p><strong>SOC lesson</strong></p><p>This is a good blog moment: the problem was not the SIEM. The collection process itself had stopped.</p><p>Prepared from the documented lab journey in this conversation Page 11<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 09</strong></p><p><strong>9. Re-Starting the Capture and Proving Fresh</strong></p><p><strong>Timestamps</strong></p><p>The capture command was restarted and kept running in a dedicated terminal. A second terminal generated a new</p><p>DNS lookup. The file then showed fresh events around 10:31:46, proving that the source collection path was alive</p><p>again.</p><p><strong>Key evidence / talking points</strong></p><p>• Old data: around 10:15:34.</p><p>• Fresh data: around 10:31:46.</p><p>• This timestamp difference was the proof that the collector was no longer stale.</p><p><strong>Useful command / configuration</strong></p><p>sudo tail -5 /var/log/wazuh/dns.log</p><p># Expected: fresh timestamps after you generate the DNS query</p><p><strong>SOC lesson</strong></p><p>healthy.</p><p>In troubleshooting, timestamps are evidence. Do not rely on “the command ran” as proof that the pipeline is</p><p>Prepared from the documented lab journey in this conversation Page 12<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 10</strong></p><p><strong>10. The Wazuh Agent Configuration</strong></p><p>The Wazuh Agent was already configured to monitor the DNS log as syslog. The relevant configuration was a</p><p>localfile block pointing to /var/log/wazuh/dns.log. The agent was also connected over TCP to the Wazuh Manager</p><p>on port 1514.</p><p><strong>Useful command / configuration</strong></p><p>&lt;localfile&gt;</p><p>&lt;log_format&gt;syslog&lt;/log_format&gt;</p><p>&lt;location&gt;/var/log/wazuh/dns.log&lt;/location&gt;</p><p>&lt;/localfile&gt;</p><p><strong>SOC lesson</strong></p><p>The configuration used in this lab was intentionally simple: collect the file first, make detection smarter later.</p><p>Prepared from the documented lab journey in this conversation Page 13<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 11</strong></p><p><strong>11. Agent Connectivity Was Not the Problem</strong></p><p>The Mac agent log showed a successful TCP connection to the Manager. The manager address was 13.60.200.69</p><p>and the agent connected over port 1514. Network validation with nc also showed that the relevant ports were open.</p><p><strong>Key evidence / talking points</strong></p><p>• Agent connection succeeded.</p><p>• Logcollector analyzed the DNS file.</p><p>• This eliminated the common “agent is offline” explanation.</p><p><strong>Useful command / configuration</strong></p><p>nc -vz 13.60.200.69 1514</p><p>nc -vz 13.60.200.69 1515</p><p>sudo tail -30 /Library/Ossec/logs/ossec.log</p><p><strong>SOC lesson</strong></p><p>Troubleshooting principle: eliminate whole layers before changing configuration randomly.</p><p>Prepared from the documented lab journey in this conversation Page 14<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 12</strong></p><p><strong>12. Proving the Event Reached the Manager</strong></p><p>The first major breakthrough came when the DNS lines appeared in /var/ossec/logs/archives/archives.log. This</p><p>proved that the Mac endpoint, Wazuh Agent, network path, Manager ingestion, and archive storage were all</p><p>functioning.</p><p><strong>Key evidence / talking points</strong></p><p>• Archive presence = telemetry arrived.</p><p>• Archive presence does not automatically mean alert presence.</p><p>• This distinction became the central concept of the project.</p><p><strong>Useful command / configuration</strong></p><p>sudo grep ‘/var/log/wazuh/dns.log’ /var/ossec/logs/archives/archives.log | tail -10</p><p><strong>SOC lesson</strong></p><p>SOC vocabulary: raw telemetry and security alerts are not the same thing.</p><p><strong>Evidence checkpoint</strong></p><p><strong>DNS events were visible in archives.log on the Wazuh Manager.</strong></p><p>Prepared from the documented lab journey in this conversation Page 15<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 13</strong></p><p><strong>13. Archive vs Alert: The Concept I Finally</strong></p><p><strong>Understood</strong></p><p>The Wazuh archive contained DNS lines such as getaddrinfo result events and mDNSResponder messages.</p><p>However, alerts.json initially contained unrelated sudo, PAM, and SCA detections. That meant the telemetry was</p><p>present, but no rule had turned it into an alert.</p><p><strong>Key evidence / talking points</strong></p><p>• Archive: “We received this event.”</p><p>• Alert: “This event matched detection logic.”</p><p>• The gap between the two is where decoders and rules become important.</p><p><strong>SOC lesson</strong></p><p>This is one of the strongest technical lessons to explain in a beginner SOC interview.</p><p><strong>Evidence checkpoint</strong></p><p><strong>Raw telemetry existed without a corresponding alert.</strong></p><p>Prepared from the documented lab journey in this conversation Page 16<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 14</strong></p><p><strong>14. The Raw macOS DNS Event Format</strong></p><p>The Mac produced lines containing a timestamp, process identifier, log level, numeric fields, the mDNSResponder</p><p>process name, subsystem text, resolver identifiers, and event details. Examples included “getaddrinfo result” and</p><p>“getaddrinfo stop”. The actual hostnames and some data were masked by macOS unified logging, which is an</p><p>important limitation to document honestly.</p><p><strong>SOC lesson</strong></p><p>from assumptions.</p><p>Do not claim visibility into values that the source itself masks. Good security reporting separates observed data</p><p>Prepared from the documented lab journey in this conversation Page 17<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 15</strong></p><p><strong>15. First Decoder Test: No Decoder Matched</strong></p><p>The raw event was fed into wazuh-logtest. Phase 1 correctly parsed the timestamp. Phase 2 returned “No decoder</p><p>matched.” That was the exact signal needed to continue: the source was arriving, but Wazuh did not know how to</p><p>structure it for rule processing.</p><p><strong>Key evidence / talking points</strong></p><p>• Phase 1: pre-decoding succeeded.</p><p>• Phase 2: no matching decoder.</p><p>• Therefore: create a local decoder instead of changing the agent connection.</p><p><strong>Useful command / configuration</strong></p><p>sudo /var/ossec/bin/wazuh-logtest</p><p># Paste one exact raw mDNSResponder event at the prompt</p><p><strong>SOC lesson</strong></p><p>This is a clean troubleshooting decision tree: source good, transport good, archive good, decoding missing.</p><p><strong>Evidence checkpoint</strong></p><p><strong>wazuh-logtest Phase 2 initially reported no decoder match.</strong></p><p>Prepared from the documented lab journey in this conversation Page 18<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 16</strong></p><p><strong>16. Designing the Custom macOS DNS Decoder</strong></p><p>A dedicated decoder named macos-dns was added to local_decoder.xml. Its pre-match looked for</p><p>mDNSResponder: so Wazuh could recognize the service. The decoder stored the remainder of the event as</p><p>extra_data, which was enough to prove rule matching without pretending to extract fields that the current event</p><p>format did not reliably expose.</p><p><strong>Useful command / configuration</strong></p><p>&lt;decoder name=”macos-dns”&gt;</p><p>&lt;prematch&gt;mDNSResponder:&lt;/prematch&gt;</p><p>&lt;regex&gt;^\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+mDNSResponder:\s+(.*)$&lt;/regex&gt;</p><p>&lt;order&gt;extra_data&lt;/order&gt;</p><p>&lt;/decoder&gt;</p><p><strong>SOC lesson</strong></p><p>The decoder was deliberately minimal. A small working decoder is safer than a complicated regex that is difficult to</p><p>maintain.</p><p>Prepared from the documented lab journey in this conversation Page 19<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 17</strong></p><p><strong>17. Configuration Validation Before Restart</strong></p><p>After editing the decoder, the Wazuh analysis configuration was validated with wazuh-analysisd -t. The command</p><p>returned without configuration errors. This is an important operational habit: validate configuration first, restart</p><p>second.</p><p><strong>Key evidence / talking points</strong></p><p>• Why validate? A syntax problem in a SIEM configuration can affect the running service.</p><p>• Why test before restart? It shortens rollback and avoids blind changes.</p><p>• Why logtest? It tests how one event flows through decoding and filtering.</p><p><strong>Useful command / configuration</strong></p><p>sudo /var/ossec/bin/wazuh-analysisd -t</p><p>sudo /var/ossec/bin/wazuh-logtest</p><p><strong>SOC lesson</strong></p><p>Best practice: configuration validation + synthetic event test + live event test.</p><p>Prepared from the documented lab journey in this conversation Page 20<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 18</strong></p><p><strong>18. The Decoder Worked</strong></p><p>The next wazuh-logtest run returned “name: macos-dns” in Phase 2. This was the second major breakthrough. The</p><p>Wazuh engine could now identify the Mac DNS event as a specific event type rather than treating it as an</p><p>undecoded line.</p><p><strong>Useful command / configuration</strong></p><p>**Phase 2: Completed decoding.</p><p>name: ‘macos-dns’</p><p><strong>SOC lesson</strong></p><p>At this point, do not jump to the dashboard. Prove the rule path in logtest first.</p><p><strong>Evidence checkpoint</strong></p><p><strong>Phase 2 identified the custom decoder: macos-dns.</strong></p><p>Prepared from the documented lab journey in this conversation Page 21<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 19</strong></p><p><strong>19. The Rule Structure Mistake</strong></p><p>The first attempt to add the rule produced an invalid configuration error: “group is not a valid element.” Inspecting</p><p>local_rules.xml revealed a nesting mistake. The macos_dns group had been inserted before the previous</p><p>macos_firewall group was closed. This is a classic XML structure problem, not a Wazuh detection problem.</p><p><strong>Key evidence / talking points</strong></p><p>• Inspect the exact file with cat -n.</p><p>• Check every opening has a matching closing .</p><p>• Preserve existing rules instead of replacing them blindly.</p><p><strong>SOC lesson</strong></p><p>Troubleshooting should move from assumption to evidence as quickly as possible.</p><p>Prepared from the documented lab journey in this conversation Page 22<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 20</strong></p><p><strong>20. Correcting the Rule File</strong></p><p>The corrected local_rules.xml kept the original SSH test rule and macOS firewall rule, then closed the firewall group</p><p>before creating a separate macos_dns group. Rule 100501 was defined at level 3 with a description indicating</p><p>macOS DNS activity.</p><p><strong>Useful command / configuration</strong></p><p>&lt;group name=”macos_dns,”&gt;</p><p>&lt;rule id=”100501&quot; level=”3&quot;&gt;</p><p>&lt;decoded_as&gt;macos-dns&lt;/decoded_as&gt;</p><p>&lt;description&gt;macOS DNS activity detected via mDNSResponder&lt;/description&gt;</p><p>&lt;group&gt;dns,macos,network_monitoring,&lt;/group&gt;</p><p>&lt;/rule&gt;</p><p>&lt;/group&gt;</p><p><strong>SOC lesson</strong></p><p>Rule IDs must be unique inside the Wazuh ruleset. Keep custom identifiers in your own range and document what</p><p>each one means.</p><p>Prepared from the documented lab journey in this conversation Page 23<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 21</strong></p><p><strong>21. The Most Important Test: Phase 3</strong></p><p>The final wazuh-logtest result showed Phase 2 as macos-dns and Phase 3 as rule 100501. The output explicitly</p><p>stated “Alert to be generated.” This was proof that the custom detection logic was valid before applying it to live</p><p>traffic.</p><p><strong>Key evidence / talking points</strong></p><p>• Rule ID: 100501</p><p>• Level: 3</p><p>• Description: macOS DNS activity detected via mDNSResponder</p><p>• Groups: macos_dns, dns, macos, network_monitoring</p><p><strong>Useful command / configuration</strong></p><p>**Phase 3: Completed filtering (rules).</p><p>id: ‘100501’</p><p>level: ‘3’</p><p>description: ‘macOS DNS activity detected via mDNSResponder’</p><p>groups: ‘[‘macos_dns’, ‘dns’, ‘macos’, ‘network_monitoring’]’</p><p>firedtimes: ‘1’</p><p>Alert to be generated.</p><p><strong>SOC lesson</strong></p><p>This is the exact evidence worth including in a blog screenshot later.</p><p><strong>Evidence checkpoint</strong></p><p><strong>Phase 3 matched custom rule 100501 and stated that an alert would be generated.</strong></p><p>Prepared from the documented lab journey in this conversation Page 24<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 22</strong></p><p><strong>22. Applying the Detection to the Live Manager</strong></p><p>After the test passed, the Wazuh Manager was restarted. The service returned active. This step moved the project</p><p>from a controlled parser test into live processing.</p><p><strong>Key evidence / talking points</strong></p><p>• Do not restart before config validation.</p><p>• Check service state after restart.</p><p>• Expect a fresh “Wazuh server started” event in alerts.json.</p><p><strong>Useful command / configuration</strong></p><p>sudo systemctl restart wazuh-manager</p><p>sudo systemctl is-active wazuh-manager</p><p><strong>SOC lesson</strong></p><p>Operationally, a change is not complete until the running service reflects it.</p><p>Prepared from the documented lab journey in this conversation Page 25<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 23</strong></p><p><strong>23. Another Live Test Failed — and That Was Useful</strong></p><p>The first attempt to verify live DNS alerts did not show rule 100501 in alerts.json. Rather than assuming the rule was</p><p>broken, the DNS capture process was checked. It was not running. The local dns.log still contained the old 10:15:34</p><p>data.</p><p><strong>SOC lesson</strong></p><p>This second failure made the troubleshooting story stronger: configuration correctness and live data generation are</p><p>separate checks.</p><p>Prepared from the documented lab journey in this conversation Page 26<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 24</strong></p><p><strong>24. Proving the Live Source Was Back</strong></p><p>The mDNSResponder stream was started again. A fresh dig command generated new activity. The file now</p><p>contained events at approximately 10:31:46. This proved that the source-side collector was operational again.</p><p><strong>SOC lesson</strong></p><p>In a real SOC, a stale log source is easy to mistake for a detection failure. Always check event freshness.</p><p>Prepared from the documented lab journey in this conversation Page 27<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 25</strong></p><p><strong>25. The Final End-to-End Proof</strong></p><p>The Wazuh Manager archive then showed new lines from /var/log/wazuh/dns.log, including getaddrinfo result</p><p>events and getaddrinfo stop events. Immediately after, alerts.json showed rule 100501 for agent 001. The decoder</p><p>field was macos-dns and the location field identified the DNS log file.</p><p><strong>Key evidence / talking points</strong></p><p>• Agent: 001 / Udhayans-MacBook-Air.local</p><p>• Decoder: macos-dns</p><p>• Rule: 100501</p><p>• Location: /var/log/wazuh/dns.log</p><p><strong>Useful command / configuration</strong></p><p>sudo grep ‘/var/log/wazuh/dns.log’ /var/ossec/logs/archives/archives.log | tail -5</p><p>sudo grep ‘“id”:”100501&quot;’ /var/ossec/logs/alerts/alerts.json | tail -5</p><p><strong>SOC lesson</strong></p><p>This is the moment to claim success: every stage of the live pipeline was demonstrated.</p><p><strong>Evidence checkpoint</strong></p><p><strong>alerts.json showed rule 100501 for agent 001 from /var/log/wazuh/dns.log.</strong></p><p>Prepared from the documented lab journey in this conversation Page 28<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 26</strong></p><p><strong>26. What the Dashboard Can Show</strong></p><p>Because rule 100501 generated live alerts, the Wazuh Dashboard can be used to search for that rule ID and inspect</p><p>the associated events. The useful dashboard proof is not merely seeing a count; it is opening an event and showing</p><p>its agent, rule, decoder, timestamp, and original log message.</p><p><strong>Key evidence / talking points</strong></p><p>• Search concept: rule.id:100501</p><p>• Focus on agent 001</p><p>• Inspect the raw full_log field</p><p>• Compare the event time with the Mac source log</p><p><strong>Useful command / configuration</strong></p><p>rule.id:100501</p><p><strong>SOC lesson</strong></p><p>Dashboard screenshots should support the story, not replace the technical evidence behind it.</p><p>Prepared from the documented lab journey in this conversation Page 29<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 27</strong></p><p><strong>27. The Alert Flood Problem</strong></p><p>The detection worked — but it worked too aggressively. The rule fired thousands of times because it matched every</p><p>decoded macOS DNS event. The final evidence showed firedtimes reaching more than 2,300 in a short period. This</p><p>is not a mature SOC detection. It is a working proof of concept that now needs tuning.</p><p><strong>Key evidence / talking points</strong></p><p>• Good for proving the pipeline.</p><p>• Bad for an analyst queue.</p><p>• High-volume low-value alerts create alert fatigue.</p><p><strong>SOC lesson</strong></p><p>A detection is not “good” because it fires. A detection is good when it creates useful analyst work.</p><p><strong>Evidence checkpoint</strong></p><p><strong>The rule fired thousands of times, proving functionality but also exposing tuning needs.</strong></p><p>Prepared from the documented lab journey in this conversation Page 30<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 28</strong></p><p><strong>28. Why Every DNS Event Should Not Be an Alert</strong></p><p>DNS is noisy. Browsers, messaging apps, system services, software updaters, and background processes can</p><p>generate large numbers of lookups. A rule that alerts on every resolver event produces repetitive signals instead of</p><p>prioritizing suspicious behavior.</p><p><strong>Key evidence / talking points</strong></p><p>• Store routine DNS activity as telemetry.</p><p>• Promote suspicious patterns to alerts.</p><p>• Use thresholds, conditions, reputation, or context where appropriate.</p><p><strong>SOC lesson</strong></p><p>This is the transition from “SIEM engineering” to “SOC detection engineering.”</p><p>Prepared from the documented lab journey in this conversation Page 31<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 29</strong></p><p><strong>29. Better Detection Strategy: Separate Collection</strong></p><p><strong>From Detection</strong></p><p>The file collector should capture enough DNS telemetry to support investigation. The detection rule should be</p><p>selective. These are separate responsibilities. Collection is about visibility. Detection is about prioritization.</p><p><strong>SOC lesson</strong></p><p>A mature design asks two questions: “Can I see it?” and “When should I raise an alert?”</p><p>Prepared from the documented lab journey in this conversation Page 32<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 30</strong></p><p><strong>30. Detection Idea #1: Query Pattern Context</strong></p><p>If the log source exposes reliable query names, a future decoder can extract them into a dedicated field. The rule</p><p>can then focus on suspicious patterns such as unusually long random-looking labels, known dynamic-DNS patterns,</p><p>or policy-denied destinations. In this lab, macOS masking limits how much of the hostname can be directly trusted,</p><p>so the blog should present this as a next-stage enhancement rather than a completed capability.</p><p><strong>SOC lesson</strong></p><p>Be explicit about what is implemented versus what is proposed. Credibility matters more than sounding advanced.</p><p>Prepared from the documented lab journey in this conversation Page 33<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 31</strong></p><p><strong>31. Detection Idea #2: Frequency and Thresholding</strong></p><p>Instead of alerting on every DNS line, a detection can be designed around bursts or repeated behavior. For</p><p>example, many distinct failed lookups within a short window may deserve investigation. Wazuh correlation rules can</p><p>be more useful when combined with context rather than one-line matching.</p><p><strong>SOC lesson</strong></p><p>The principle is simple: rate and repetition can be more meaningful than a single normal-looking DNS event.</p><p>Prepared from the documented lab journey in this conversation Page 34<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 32</strong></p><p><strong>32. Detection Idea #3: Process Context</strong></p><p>The current event format includes process information such as the client process identifier and an application label</p><p>in some lines. A future detection could enrich events with process identity and then prioritize unexpected</p><p>applications generating unusual DNS patterns. This is more analyst-friendly than a generic “DNS happened” alert.</p><p><strong>SOC lesson</strong></p><p>Context turns telemetry into a story: who asked, what was asked, when, and how often.</p><p>Prepared from the documented lab journey in this conversation Page 35<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 33</strong></p><p><strong>33. Detection Idea #4: DNS + Endpoint Telemetry</strong></p><p>DNS is much more valuable when correlated with endpoint behavior. A suspicious DNS event followed by a new</p><p>executable, unusual process, persistence change, or outbound connection is more meaningful than the DNS event</p><p>alone.</p><p><strong>Key evidence / talking points</strong></p><p>• DNS telemetry = network clue.</p><p>• Endpoint telemetry = host clue.</p><p>• Correlation = stronger investigation hypothesis.</p><p><strong>SOC lesson</strong></p><p>This is where the SOC mindset becomes multi-signal analysis.</p><p>Prepared from the documented lab journey in this conversation Page 36<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 34</strong></p><p><strong>34. A Simple SOC Triage Workflow</strong></p><p>When a DNS alert fires, the analyst should not immediately label it malicious. First validate the asset and source</p><p>process, then inspect the requested name or destination if available, examine frequency, compare with known</p><p>business activity, and look for related endpoint or network events.</p><p><strong>Key evidence / talking points</strong></p><p>• Validate source asset.</p><p>• Validate process/user context.</p><p>• Inspect requested destination or pattern.</p><p>• Check repetition and timeline.</p><p>• Correlate with related alerts.</p><p>• Document the disposition.</p><p><strong>SOC lesson</strong></p><p>The outcome could be benign, suspicious, or malicious. The alert itself is only the beginning.</p><p>Prepared from the documented lab journey in this conversation Page 37<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 35</strong></p><p><strong>35. Example Investigation Questions for Rule 100501</strong></p><p>A practical analyst should ask questions that reduce uncertainty. The same event can be harmless on one</p><p>workstation and interesting on another. Investigation therefore needs context rather than fixed assumptions.</p><p><strong>Key evidence / talking points</strong></p><p>• Which endpoint generated it?</p><p>• Which application triggered the resolver request?</p><p>• Is the activity expected at this time?</p><p>• Does the destination pattern look normal?</p><p>• Is the same host generating many related events?</p><p>• Did another security control raise a signal at the same time?</p><p><strong>SOC lesson</strong></p><p>These questions can become a SOC interview answer almost word-for-word.</p><p>Prepared from the documented lab journey in this conversation Page 38<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 36</strong></p><p><strong>36. Why timestamps mattered throughout the project</strong></p><p>The Manager archive timestamp and the embedded Mac event timestamp were not visually identical because of</p><p>time-zone conversion. The Mac event contained +0530 while the Manager displayed UTC-style timestamps. This is</p><p>normal but dangerous when building a timeline by hand.</p><p><strong>Key evidence / talking points</strong></p><p>• Mac embedded event: 10:31:46 +0530.</p><p>• Manager alert timestamp: corresponding UTC time.</p><p>• Always normalize before comparing events across systems.</p><p><strong>SOC lesson</strong></p><p>Timeline mistakes can create false conclusions in incident response.</p><p>Prepared from the documented lab journey in this conversation Page 39<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 37</strong></p><p><strong>37. The Disk-Space Incident That Became Part of the</strong></p><p><strong>Story</strong></p><p>During the same Wazuh work, the Manager root filesystem reached 100% usage. Investigation showed that</p><p>/var/ossec/queue consumed most of the space, with vulnerability updater temporary content taking a large share.</p><p>The manager was safely stopped before cleaning temporary files, disk usage dropped significantly, and the service</p><p>was restarted.</p><p><strong>Key evidence / talking points</strong></p><p>• Root filesystem was at 100%.</p><p>• Temporary vulnerability updater data was the main cleanup target.</p><p>• After cleanup, the root filesystem returned to a much healthier level.</p><p><strong>SOC lesson</strong></p><p>This is a valuable operational lesson: SIEM platforms are infrastructure, not just dashboards.</p><p>Prepared from the documented lab journey in this conversation Page 40<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 38</strong></p><p><strong>38. What I Did Not Delete — and Why</strong></p><p>The cleanup deliberately focused on temporary vulnerability updater content rather than blindly deleting the entire</p><p>Wazuh queue. That distinction matters because queue data can be operationally significant.</p><p><strong>SOC lesson</strong></p><p>Good troubleshooting includes knowing what not to remove.</p><p>Prepared from the documented lab journey in this conversation Page 41<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 39</strong></p><p><strong>39. Security Telemetry Is an Engineering System</strong></p><p>The project changed my mental model of a SIEM. Wazuh is not a magic box that turns any log into an alert.</p><p>Telemetry has to be generated, persisted, collected, transported, decoded, filtered, and visualized. Every layer can</p><p>fail differently.</p><p><strong>Key evidence / talking points</strong></p><p>• Source reliability</p><p>• Agent configuration</p><p>• Network transport</p><p>• Archive storage</p><p>• Decoder logic</p><p>• Rule logic</p><p>• Dashboard/search visibility</p><p><strong>SOC lesson</strong></p><p>This is the strongest conceptual takeaway from the entire lab.</p><p><strong>Evidence checkpoint</strong></p><p><strong>A SIEM is a telemetry pipeline, not only a dashboard.</strong></p><p>Prepared from the documented lab journey in this conversation Page 42<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 40</strong></p><p><strong>40. Why This Is More Than “I Used Wazuh”</strong></p><p>A resume line saying “Wazuh” is common. A project story saying “I diagnosed why a Mac DNS source was archived</p><p>but not alerted, built a custom decoder, validated the rule with wazuh-logtest, and verified the live alert path” shows</p><p>a deeper skill: troubleshooting a security monitoring pipeline.</p><p><strong>SOC lesson</strong></p><p>Recruiter-friendly value: tool + problem + action + evidence + learning.</p><p>Prepared from the documented lab journey in this conversation Page 43<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 41</strong></p><p><strong>41. How to Turn This Into a LinkedIn Hook</strong></p><p>Avoid opening with a generic certificate statement. Start with a problem statement. The strongest version is: “The</p><p>logs were reaching Wazuh. The alerts were not. That gap became my next troubleshooting exercise.” This naturally</p><p>leads the reader into the detection journey.</p><p><strong>SOC lesson</strong></p><p>am an expert.”</p><p>Use a calm, evidence-based tone. Let the troubleshooting steps demonstrate competence instead of declaring “I</p><p>Prepared from the documented lab journey in this conversation Page 44<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 42</strong></p><p><strong>42. Suggested LinkedIn Post Structure</strong></p><p>Use five compact sections in the public post: the challenge, the investigation, the custom decoder, the live alert</p><p>proof, and the lesson. Keep commands out of the main post unless they are very short. Put the deeper technical</p><p>sequence into the blog or project README.</p><p><strong>Key evidence / talking points</strong></p><p>• Hook: missing alert.</p><p>• Challenge: Mac DNS telemetry was present but not decoded.</p><p>• Build: macos-dns decoder + rule 100501.</p><p>• Proof: live agent 001 alert in alerts.json.</p><p>• Lesson: troubleshooting is a cybersecurity skill.</p><p><strong>SOC lesson</strong></p><p>This gives HR a story they can understand and technical readers enough keywords to continue reading.</p><p>Prepared from the documented lab journey in this conversation Page 45<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 43</strong></p><p><strong>43. Suggested Blog Title Variations</strong></p><p>A strong title should describe both the problem and the outcome. “From Raw DNS Logs to a Wazuh Detection: My</p><p>macOS SOC Troubleshooting Journey” is the clearest. A more cinematic alternative is “The Alert That Wasn’t</p><p>There: Turning macOS DNS Telemetry Into a Wazuh Detection.”</p><p><strong>Key evidence / talking points</strong></p><p>• Technical: From Raw DNS Logs to a Wazuh Detection</p><p>• Story-driven: The Alert That Wasn’t There</p><p>• Portfolio-focused: Building a macOS DNS Detection in Wazuh</p><p><strong>SOC lesson</strong></p><p>Pick one title and keep the technical subtitle consistent across LinkedIn, Medium, GitHub, and your portfolio.</p><p>Prepared from the documented lab journey in this conversation Page 46<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 44</strong></p><p><strong>44. Screenshot Plan for the Blog</strong></p><p>The blog will be much stronger with a small set of screenshots proving each stage. Do not post sensitive</p><p>credentials, private keys, or unnecessary infrastructure details. Highlight only the fields that support the lesson.</p><p><strong>Key evidence / talking points</strong></p><p>• Screenshot 1: Mac dns.log with fresh timestamp.</p><p>• Screenshot 2: Agent connection/logcollector confirmation.</p><p>• Screenshot 3: archives.log showing the Mac DNS event.</p><p>• Screenshot 4: wazuh-logtest Phase 2 and Phase 3.</p><p>• Screenshot 5: alerts.json showing rule 100501.</p><p>• Screenshot 6: Wazuh Dashboard filtered to rule 100501.</p><p><strong>Useful command / configuration</strong></p><p>1. /var/log/wazuh/dns.log</p><p>2. Agent ossec.log</p><p>3. archives.log</p><p>4. wazuh-logtest</p><p>5. alerts.json</p><p>6. Dashboard event view</p><p><strong>SOC lesson</strong></p><p>Number the screenshots so the reader can follow the pipeline without guessing.</p><p>Prepared from the documented lab journey in this conversation Page 47<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 45</strong></p><p><strong>45. What to Hide Before Publishing</strong></p><p>Even in a learning blog, redact data that can create unnecessary exposure. Do not publish private keys, passwords,</p><p>API tokens, authentication cookies, or unrelated internal infrastructure details. Publicly exposing an IP may also be</p><p>unnecessary unless the environment is intentionally public and disposable.</p><p><strong>Key evidence / talking points</strong></p><p>• Private keys and secrets: never publish.</p><p>• Exact login credentials: never publish.</p><p>• Internal paths: okay when needed, but avoid unnecessary operational detail.</p><p>• Public lab IPs: publish only when there is a clear reason.</p><p><strong>SOC lesson</strong></p><p>A good technical blog demonstrates capability without becoming an accidental configuration leak.</p><p>Prepared from the documented lab journey in this conversation Page 48<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 46</strong></p><p><strong>46. Lessons for a SOC L1 Interview</strong></p><p>This project can support several interview answers. The strongest is a troubleshooting story. Explain the problem,</p><p>the evidence you gathered, the change you made, the validation method, and the final result. That demonstrates</p><p>investigation discipline.</p><p><strong>Key evidence / talking points</strong></p><p>• Problem: DNS data was archived but no DNS alert appeared.</p><p>• Investigation: source freshness, agent connectivity, archive presence, decoder test.</p><p>• Action: custom decoder and rule.</p><p>• Validation: wazuh-logtest and live alerts.json.</p><p>• Lesson: detections must be tested and tuned.</p><p><strong>SOC lesson</strong></p><p>Keep the answer chronological. It makes your reasoning easy to follow.</p><p>Prepared from the documented lab journey in this conversation Page 49<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 47</strong></p><p><strong>47. A 60-Second Interview Answer</strong></p><p>A concise verbal explanation: “I wanted to monitor macOS DNS activity in Wazuh. The first challenge was that the</p><p>data reached the Manager archive but did not become an alert. I traced the pipeline layer by layer and found that the</p><p>raw mDNSResponder format had no matching decoder. I created a local macOS DNS decoder, validated it with</p><p>wazuh-logtest, added a custom rule, and then verified live alerts for agent 001. The final learning was that SIEM</p><p>troubleshooting is about proving each stage of the telemetry pipeline, not just checking the dashboard.”</p><p><strong>SOC lesson</strong></p><p>This answer shows technical action without exaggerating the result.</p><p>Prepared from the documented lab journey in this conversation Page 50<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 48</strong></p><p><strong>48. What I Would Improve Next</strong></p><p>The project is now a working proof of detection, but the next engineering step is alert quality. The current rule is too</p><p>broad and creates an alert for every DNS event. Future work should enrich fields, add selective conditions, use</p><p>thresholds or correlation, and document false-positive handling.</p><p><strong>Key evidence / talking points</strong></p><p>• Reduce alert volume.</p><p>• Extract better fields where the source permits.</p><p>• Correlate DNS with endpoint behavior.</p><p>• Add suppression or threshold logic.</p><p>• Document triage guidance and escalation criteria.</p><p><strong>SOC lesson</strong></p><p>A mature project has a “next iteration” section. It shows that you understand the difference between a prototype</p><p>and a production detection.</p><p>Prepared from the documented lab journey in this conversation Page 51<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 49</strong></p><p><strong>49. Reproducible Lab Checklist</strong></p><p>Use this checklist when recreating the project on another machine. Keep one terminal for the source capture, one</p><p>for the activity generator, and one for Wazuh Manager verification. This separation makes failures easier to localize.</p><p><strong>Key evidence / talking points</strong></p><p>• Confirm agent online.</p><p>• Confirm DNS file exists and is writable.</p><p>• Start mDNSResponder stream.</p><p>• Generate dig query.</p><p>• Verify dns.log timestamp changes.</p><p>• Verify archives.log receives the event.</p><p>• Run wazuh-logtest with the same event.</p><p>• Validate local rules/decoders.</p><p>• Restart Manager only after validation.</p><p>• Verify rule 100501 in alerts.json.</p><p><strong>Useful command / configuration</strong></p><p>sudo /var/ossec/bin/agent_control -l</p><p>sudo tail -5 /var/log/wazuh/dns.log</p><p>sudo grep ‘/var/log/wazuh/dns.log’ /var/ossec/logs/archives/archives.log | tail -5</p><p>sudo grep ‘“id”:”100501&quot;’ /var/ossec/logs/alerts/alerts.json | tail -5</p><p><strong>SOC lesson</strong></p><p>Reproducibility turns a personal lab into a portfolio project.</p><p>Prepared from the documented lab journey in this conversation Page 52<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 50</strong></p><p><strong>50. Final Architecture Summary</strong></p><p>The finished design is best understood as a pipeline rather than a dashboard feature. The Mac generates DNS</p><p>telemetry. A local process writes it to a file. The Wazuh Agent collects it and sends it to the Manager. The Manager</p><p>archives the event. The custom decoder labels it as macos-dns. The custom rule 100501 creates a level-3 alert. The</p><p>Dashboard can then provide the analyst view.</p><p><strong>SOC lesson</strong></p><p>One sentence summary: “I moved a Mac DNS event from raw endpoint telemetry to a verified Wazuh detection.”</p><p>Prepared from the documented lab journey in this conversation Page 53<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 51</strong></p><p><strong>51. The Bigger Lesson: Troubleshooting Is a Security</strong></p><p><strong>Skill</strong></p><p>The most valuable part of this project was not the XML. It was the method. Whenever something failed, the</p><p>investigation moved one layer at a time: source, file, agent, transport, archive, decoder, rule, alert. That method is</p><p>reusable across other SIEM, EDR, network monitoring, and cloud security problems.</p><p><strong>Key evidence / talking points</strong></p><p>• Do not guess when you can test.</p><p>• Do not change five things at once.</p><p>• Collect evidence before editing configuration.</p><p>• Use reproducible inputs.</p><p>• Verify the final state end to end.</p><p><strong>SOC lesson</strong></p><p>This is the message that should sit at the center of the blog.</p><p><strong>Evidence checkpoint</strong></p><p><strong>The repeatable method is the real skill: isolate, test, validate, then tune.</strong></p><p>Prepared from the documented lab journey in this conversation Page 54<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>SECTION 52</strong></p><p><strong>52. Closing: From “Logs Are There” to “I Can Explain</strong></p><p><strong>Why”</strong></p><p>The project started with a simple goal: monitor DNS activity from a Mac in Wazuh. The real outcome was deeper. I</p><p>learned how to distinguish raw telemetry from an alert, how to diagnose a missing decoder, how to validate rules</p><p>safely, how to prove an event end to end, and how to recognize when a successful detection is still too noisy for a</p><p>SOC analyst.</p><p><strong>SOC lesson</strong></p><p>Closing line for the blog: “I did not just make Wazuh show an alert. I learned how to prove where the signal was</p><p>lost, build the missing detection logic, and validate the result.”</p><p>Prepared from the documented lab journey in this conversation Page 55<strong>MACOS DNS -&gt; WAZUH SOC DETECTION </strong>Troubleshooting Lab Guide</p><p><strong>BONUS: COPY-READY BLOG FLOW</strong></p><p>Use these headings to publish the shorter public version after reading the full 52-page</p><p>guide.</p><p><strong>The Alert That Wasn’t There</strong></p><p>Write 1–3 short paragraphs here using the corresponding section above. Keep the public post focused on the</p><p>problem, investigation, evidence, and lesson rather than every terminal command.</p><p><strong>My macOS DNS Monitoring Setup</strong></p><p>Write 1–3 short paragraphs here using the corresponding section above. Keep the public post focused on the</p><p>problem, investigation, evidence, and lesson rather than every terminal command.</p><p><strong>Where the Telemetry Was Lost</strong></p><p>Write 1–3 short paragraphs here using the corresponding section above. Keep the public post focused on the</p><p>problem, investigation, evidence, and lesson rather than every terminal command.</p><p><strong>Building the macos-dns Decoder</strong></p><p>Write 1–3 short paragraphs here using the corresponding section above. Keep the public post focused on the</p><p>problem, investigation, evidence, and lesson rather than every terminal command.</p><p><strong>Turning the Decoder Into Rule 100501</strong></p><p>Write 1–3 short paragraphs here using the corresponding section above. Keep the public post focused on the</p><p>problem, investigation, evidence, and lesson rather than every terminal command.</p><p><strong>The Live Alert Proof</strong></p><p>Write 1–3 short paragraphs here using the corresponding section above. Keep the public post focused on the</p><p>problem, investigation, evidence, and lesson rather than every terminal command.</p><p><strong>Why the First Live Test Failed</strong></p><p>Write 1–3 short paragraphs here using the corresponding section above. Keep the public post focused on the</p><p>problem, investigation, evidence, and lesson rather than every terminal command.</p><p><strong>The Alert Flood Problem</strong></p><p>Write 1–3 short paragraphs here using the corresponding section above. Keep the public post focused on the</p><p>problem, investigation, evidence, and lesson rather than every terminal command.</p><p><strong>What I Learned About SOC Troubleshooting</strong></p><p>Write 1–3 short paragraphs here using the corresponding section above. Keep the public post focused on the</p><p>problem, investigation, evidence, and lesson rather than every terminal command.</p><p><strong>What I Will Improve Next</strong></p><p>Write 1–3 short paragraphs here using the corresponding section above. Keep the public post focused on the</p><p>problem, investigation, evidence, and lesson rather than every terminal command.</p><p>Prepared from the documented lab journey in this conver</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a4d765e496e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Mac Firewall Logs to Wazuh Alerts: My Troubleshooting Journey]]></title>
            <link>https://medium.com/@chandruudhayan/from-mac-firewall-logs-to-wazuh-alerts-my-troubleshooting-journey-6ed117d99b87?source=rss-2183bc69d63e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ed117d99b87</guid>
            <category><![CDATA[troubleshooting-firewall]]></category>
            <dc:creator><![CDATA[ars.udhayan]]></dc:creator>
            <pubDate>Fri, 11 Sep 2026 12:30:52 GMT</pubDate>
            <atom:updated>2026-09-11T12:30:52.504Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Integrating macOS Application Firewall Logs with Wazuh SIEM — from raw logs to a working security alert.</em></p><h3>Introduction</h3><p>Most beginner SOC labs start and stay with Windows Event Logs. I wanted to go a step further and understand what happens behind the scenes when endpoint security telemetry moves from the operating system into a SIEM — specifically, from macOS’s Application Firewall into Wazuh.</p><p>I’m not writing this as an expert walkthrough. This is a record of a real troubleshooting process: a firewall event that should have shown up as an alert, didn’t, and the layer-by-layer investigation it took to find out why — and fix it.</p><h3>The Architecture</h3><p>Before getting into the problem, it helps to see the full path this telemetry has to travel:</p><pre>macOS Application Firewall<br>        ↓<br>   socketfilterfw<br>        ↓<br>macOS Unified Logging<br>        ↓<br>Custom firewall log file<br>        ↓<br>   Wazuh Agent<br>        ↓<br>  Wazuh Manager<br>        ↓<br>  Wazuh Decoder<br>        ↓<br>   Wazuh Rule<br>        ↓<br>  Wazuh Alert<br>        ↓<br>Wazuh Dashboard / alerts.json</pre><ul><li><strong>macOS Application Firewall</strong> generates network flow events through its own process, socketfilterfw.</li><li>These events surface through <strong>macOS Unified Logging</strong>, which I captured into a dedicated <strong>custom log file</strong> for Wazuh to monitor.</li><li>The <strong>Wazuh Agent</strong> on the Mac picks up new lines from that file and forwards them to the <strong>Wazuh Manager</strong>.</li><li>On the Manager side, a <strong>decoder</strong> parses the raw log into structured fields.</li><li>A <strong>rule</strong> then evaluates the decoded event and decides whether it’s significant enough to become an <strong>alert</strong>.</li><li>Alerts finally show up in <strong>alerts.json</strong> and the <strong>Wazuh Dashboard</strong>.</li></ul><p>Every stage in that chain can fail independently — and that’s exactly what happened here.</p><h3>Environment</h3><p>ComponentDetailsEndpointMacBook Air — macOS Tahoe 26.6Wazuh Agent4.14.7 arm64Agent nameUdhayans-MacBook-Air.localAgent ID001Wazuh Manager&lt;WAZUH_MANAGER_IP&gt;Firewall sourcemacOS Application Firewall / socketfilterfwCustom log/var/log/wazuh/macos-firewall-clean.logCustom decodermacos-firewallCustom rule100500 — Level 5</p><h3>The First Problem: No Alert, No Explanation</h3><p>The Mac was already connected to the Wazuh Manager — agent status showed online. So when I generated a test firewall event, I expected it to show up as an alert. It didn’t.</p><pre>sudo grep -i &quot;wazuh.firewall.test&quot; /var/ossec/logs/alerts/alerts.json</pre><p>Nothing came back.</p><p>This raised the real question I needed to answer: <strong>was the event not reaching Wazuh at all, or was Wazuh receiving it but simply not turning it into an alert?</strong></p><p>Those are two very different problems, and conflating them would have sent me down the wrong path entirely.</p><h3>Raw Event, Decoder, Rule, Alert — Why the Distinction Matters</h3><p>This is the concept that shaped the rest of the investigation: <strong>an event being received by a SIEM does not automatically mean it becomes an alert.</strong></p><p>StageWhat it meansRaw eventThe log line as generated by the source — unprocessed, unstructuredDecoderParses the raw event into structured fields Wazuh can work withRuleEvaluates decoded fields and decides whether the event is significantAlertThe final output — a rule matched, and Wazuh flagged it</p><p>alerts.json only contains the last stage. A log can be received perfectly well by the Manager and still never appear there, simply because no decoder understood it or no rule matched it. Understanding this distinction is what kept me from assuming the whole pipeline was broken when really only one link in it was missing.</p><h3>Checking Whether the Event Reached Wazuh at All</h3><p>To answer that first question, I needed to see the <em>raw</em> events the Manager was receiving — not just the alerts. That meant checking the Manager’s raw logging configuration, which controls whether every received event gets archived regardless of whether it triggers a rule.</p><p>The configuration showed:</p><pre>&lt;logall&gt;no&lt;/logall&gt;<br>&lt;logall_json&gt;no&lt;/logall_json&gt;</pre><p>Raw event archiving was disabled. Without it, there was no way to confirm whether the Manager had even received the firewall event — archives.json, the file that would normally hold that evidence, was staying empty.</p><p><strong>The fix:</strong></p><pre>&lt;logall&gt;yes&lt;/logall&gt;<br>&lt;logall_json&gt;yes&lt;/logall_json&gt;</pre><p>After changing the Manager configuration, two commands were necessary before the change would take effect:</p><pre>sudo /var/ossec/bin/wazuh-analysisd -t</pre><p>This validates the configuration syntax before applying it — checking for errors here avoids restarting the Manager into a broken state.</p><pre>sudo systemctl restart wazuh-manager</pre><p>This restarts the Wazuh Manager service so the new configuration — including raw event logging — actually takes effect.</p><h3>The Breakthrough: Proof of Ingestion in archives.json</h3><p>With raw logging enabled, I generated a fresh test event and checked archives.json again. This time, the event was there:</p><pre>&quot;agent&quot;:{&quot;id&quot;:&quot;001&quot;,&quot;name&quot;:&quot;Udhayans-MacBook-Air.local&quot;}<br>&quot;predecoder&quot;:{&quot;program_name&quot;:&quot;socketfilterfw&quot;}<br>&quot;location&quot;:&quot;/var/log/wazuh/macos-firewall-clean.log&quot;</pre><p>This was a genuine milestone. It confirmed, with direct evidence, that <strong>the event was successfully reaching the Wazuh Manager</strong> — Agent 001 had transmitted it, the Manager had received it, and the program name and log location matched exactly what I expected.</p><p>But the investigation wasn’t finished. The same event also showed:</p><pre>&quot;decoder&quot;: {}</pre><p>An empty decoder. The telemetry had arrived — but Wazuh didn’t yet know how to interpret it.</p><h3>The Decoder Problem</h3><p>A <strong>decoder</strong> in Wazuh is what takes a raw, unstructured log line and extracts meaningful fields from it — things like the program that generated it, the message content, or specific values inside the message. Without a matching decoder, Wazuh can <em>store</em> a log, but it can’t meaningfully <em>understand</em> it, which also means no rule can act on it.</p><p>socketfilterfw isn&#39;t a log format Wazuh recognizes out of the box, so the event was arriving with nothing to parse it. The solution was a custom decoder:</p><pre>&lt;decoder name=&quot;macos-firewall&quot;&gt;<br>  &lt;program_name&gt;^socketfilterfw$&lt;/program_name&gt;<br>&lt;/decoder&gt;</pre><p>Saved in: /var/ossec/etc/decoders/local_decoder.xml</p><p>The key line is &lt;program_name&gt;^socketfilterfw$&lt;/program_name&gt;. This tells Wazuh: if the syslog program name field is exactly socketfilterfw (the ^ and $ anchor it to a full, exact match rather than a partial one), label this event as macos-firewall. That label is what lets a rule later target this specific event type.</p><h3>The Custom Rule</h3><p>A decoder alone isn’t enough — it identifies <em>what kind</em> of event something is, but it doesn’t decide whether that event matters. That’s the rule’s job.</p><pre>&lt;group name=&quot;macos_firewall,&quot;&gt;<br>  &lt;rule id=&quot;100500&quot; level=&quot;5&quot;&gt;<br>    &lt;decoded_as&gt;macos-firewall&lt;/decoded_as&gt;<br>    &lt;match&gt;Handle flow&lt;/match&gt;<br>    &lt;description&gt;macOS Application Firewall network flow detected&lt;/description&gt;<br>  &lt;/rule&gt;<br>&lt;/group&gt;</pre><p>Saved in: /var/ossec/etc/rules/local_rules.xml</p><p>In plain terms: <em>if an event was decoded as </em><em>macos-firewall, and its content contains &quot;Handle flow,&quot; generate a Level 5 alert with the description &quot;macOS Application Firewall network flow detected.&quot;</em> The decoder classifies the event; the rule decides it&#39;s worth surfacing as an alert.</p><h3>Validating Before Re-Testing the Full Pipeline</h3><p>Rather than immediately generating another live test event and hoping the decoder and rule worked, I used Wazuh’s built-in testing tool first:</p><pre>sudo /var/ossec/bin/wazuh-logtest</pre><p>I fed it the exact test log line:</p><pre>Sep 11 17:50:00 Udhayans-MacBook-Air.local socketfilterfw: [com.apple.ALF.ApplicationFirewall:fw] Handle flow with processPID: 7777 and bundleid: wazuh.firewall.alerttest</pre><p>Logtest walked through all three phases:</p><ul><li><strong>Phase 1:</strong> program_name = socketfilterfw</li><li><strong>Phase 2:</strong> decoder = macos-firewall</li><li><strong>Phase 3:</strong> rule = 100500, level = 5</li><li><strong>Result:</strong> Alert to be generated.</li></ul><p>This was the real turning point in the investigation. Logtest let me confirm the decoder and rule logic were correct <em>before</em>running the full agent-to-manager pipeline again — a much faster and more precise way to validate configuration changes than repeatedly generating live test events and waiting to see what showed up.</p><h3>Final Verification</h3><p>With the decoder and rule confirmed through Logtest, I generated one more fresh test event on the Mac. This time, it appeared in alerts.json:</p><pre>&quot;rule&quot;:{&quot;level&quot;:5,&quot;description&quot;:&quot;macOS Application Firewall network flow detected&quot;,&quot;id&quot;:&quot;100500&quot;}<br>&quot;agent&quot;:{&quot;id&quot;:&quot;001&quot;,&quot;name&quot;:&quot;Udhayans-MacBook-Air.local&quot;}<br>&quot;decoder&quot;:{&quot;name&quot;:&quot;macos-firewall&quot;}<br>&quot;location&quot;:&quot;/var/log/wazuh/macos-firewall-clean.log&quot;</pre><p>This confirmed the complete path, end to end:</p><p><strong>macOS Application Firewall → socketfilterfw → custom log file → Wazuh Agent 001 → Wazuh Manager → custom decoder → rule 100500 → alerts.json</strong></p><h3>What I Learned from the Struggle</h3><p>Problem / confusionWhat it taught meNo event in alerts.jsonAn event may be received without generating an alertarchives.json was emptyRaw event logging must be enabled when you need to verify ingestionFirewall event had decoder: {}The log reached Wazuh, but no suitable decoder had matched itCustom decoder neededWazuh can be extended for application-specific log formatsCustom rule neededA decoder identifies the event; a rule decides whether it becomes an alertLogtest became essentialTest decoder/rule logic before repeatedly testing the whole pipelineMultiple checks were requiredCybersecurity work is also about validating each stage of telemetry flow</p><h3>A Technical Note Worth Stating Clearly</h3><p>The working pipeline in this lab demonstrates successful ingestion and alert generation for the specific macOS firewall log format I built from Unified Logging output. For a production deployment, the continuous collection method and event semantics would need further validation — macOS Application Firewall telemetry is application-centric rather than network-centric, and isn’t necessarily equivalent to a traditional network firewall log with explicit source IP, destination IP, port, and allow/deny fields. This lab proves the SIEM pipeline works; it doesn’t claim the log format is production-ready as-is.</p><h3>Key Takeaway</h3><p>This exercise reinforced something that’s easy to forget when you’re focused on getting a tool “working”: SOC work isn’t only about knowing how to configure a SIEM. It’s about troubleshooting telemetry through every stage it has to pass through — source, collection, transport, decoding, rule matching, and finally, alert generation. When something fails, the right move is to isolate the stage that’s actually broken, not guess at the whole pipeline.</p><h3>Conclusion</h3><p>What started as a single missing alert turned into a genuine walk through how a SIEM actually processes telemetry — and where it can quietly stop along the way. Enabling raw logging to get visibility into ingestion, writing a custom decoder to make an unfamiliar log format understandable, writing a rule to decide what matters, and validating both with Logtest before touching the live pipeline again — each step mattered, and skipping any one of them would have left me debugging blind.</p><p>I’m continuing to build hands-on experience with Wazuh, SIEM pipelines, and endpoint telemetry, and documenting the troubleshooting process along the way — because that process is usually where the real learning happens.</p><h3>Suggested Blog Title</h3><p><strong>From Mac Firewall Logs to Wazuh Alerts: My Troubleshooting Journey</strong></p><h3>Subtitle / Excerpt</h3><p>A missing alert, an empty decoder, and the layer-by-layer investigation that took macOS Application Firewall telemetry from raw log to working SIEM alert.</p><h3>SEO Keywords</h3><p>Wazuh custom decoder, Wazuh custom rule, macOS Application Firewall Wazuh, socketfilterfw log, Wazuh logtest, Wazuh archives.json, SIEM alert troubleshooting, Wazuh alerts.json, macOS SIEM integration</p><h3>LinkedIn Hashtags</h3><p>#CyberSecurity #SOCAnalyst #Wazuh #SIEM #macOS #BlueTeam #LogAnalysis #ThreatDetection #IncidentResponse #CyberSecurityLearning</p><h3>LinkedIn Teaser</h3><p>My macOS firewall test event vanished — no alert, nothing in alerts.json. Instead of assuming the integration was broken, I traced it stage by stage: enabled raw logging, found the event with an empty decoder, built a custom decoder and rule, and validated both with Wazuh Logtest before it finally became a real Level 5 alert. Full technical breakdown 👇</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ed117d99b87" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From macOS Endpoint to Wazuh SOC Monitoring: My Hands-on Troubleshooting Journey]]></title>
            <link>https://medium.com/@chandruudhayan/from-macos-endpoint-to-wazuh-soc-monitoring-my-hands-on-troubleshooting-journey-38e9b9618087?source=rss-2183bc69d63e------2</link>
            <guid isPermaLink="false">https://medium.com/p/38e9b9618087</guid>
            <dc:creator><![CDATA[ars.udhayan]]></dc:creator>
            <pubDate>Fri, 11 Sep 2026 05:17:34 GMT</pubDate>
            <atom:updated>2026-09-11T05:17:34.916Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How a failed ping test taught me more about SOC investigation than a working connection ever could.</em></p><h3>Introduction</h3><p>A few weeks ago, I set out to do something that sounded simple on paper: connect my Mac to a Wazuh Manager and confirm that its security telemetry was actually reaching the SOC monitoring side. What I didn’t expect was for the very first test I ran — a basic ping — to fail completely and send me down a proper troubleshooting path.</p><p>This post walks through that journey: what I was trying to achieve, where things went sideways, how I worked through it layer by layer, and what it taught me about how SOC analysts actually validate telemetry rather than just watching a dashboard.</p><h3>Why I Wanted to Monitor a Mac Endpoint</h3><p>Most Wazuh tutorials and labs I’d come across focused on Linux or Windows endpoints. macOS gets far less attention, even though it’s a common endpoint in real corporate environments. I wanted to understand, hands-on, how a Mac agent registers with a Wazuh Manager, how its logs differ from what I was used to on Windows, and — most importantly — how to <em>prove</em> that the data path from endpoint to SIEM is actually working, not just assume it because the agent was installed.</p><p>That last part turned out to be the real lesson of the lab.</p><h3>macOS Logging vs Windows Event Viewer</h3><p>If you’re coming from a Windows-heavy background like I was, the biggest adjustment is understanding where macOS actually keeps its logs.</p><p><strong>On Windows</strong>, you’re used to Event Viewer, with its clean separation of Security, System, and Application logs, and predictable Event IDs you can search against.</p><p><strong>On macOS</strong>, there’s no direct equivalent. Instead, Apple uses <strong>Unified Logging</strong>, which you can browse through <strong>Console.app</strong> or query directly from the terminal with the log command. Unified Logging is a single, high-volume stream of system activity rather than a set of discrete log files, which makes it more flexible but also noisier and less immediately intuitive if you&#39;re used to Windows-style categorization.</p><p>Wazuh bridges this gap by using its logcollector module to stream selected Unified Logging events on the endpoint and forward relevant entries into the Wazuh Manager, where they become part of the SOC monitoring workflow alongside other telemetry sources.</p><h3>Lab Environment</h3><p>For this exercise, I had:</p><ul><li>A macOS endpoint with the Wazuh Agent installed under /Library/Ossec/</li><li>A remote Wazuh Manager reachable over the network</li><li>Terminal access on the Mac for running diagnostic commands</li><li>The Wazuh Dashboard to check agent status and event visibility</li></ul><h3>Connecting the Wazuh Agent</h3><p>Before troubleshooting anything, I needed to confirm which Manager address the agent was actually configured to talk to. Rather than assuming the address I remembered was still correct, I checked the configuration file directly:</p><p>bash</p><pre>sudo grep -n &quot;&lt;WAZUH_MANAGER_IP&gt;&quot; /Library/Ossec/etc/ossec.conf</pre><p><strong>Why I used it:</strong> To verify the exact Manager address the agent was pointed at, instead of relying on memory or an old note.</p><p><strong>What I expected:</strong> A line in ossec.conf showing the configured server address.</p><p><strong>What the result meant:</strong> It confirmed the active Manager address the agent was using, which became the baseline for every test that followed. Starting with configuration verification — instead of jumping straight into connectivity tests — is a habit worth building early, since a lot of “connection problems” turn out to be configuration problems in disguise.</p><h3>The First Problem: Ping Failed</h3><p>With the Manager address confirmed, my next instinct was to check basic reachability:</p><p>bash</p><pre>ping &lt;WAZUH_MANAGER_IP&gt;</pre><p>The result was 100% packet loss. No replies at all.</p><p>At this point, it would have been easy to conclude that the Wazuh Manager was down or unreachable, and stop there. But that conclusion would have been wrong — and jumping to it is exactly the kind of shortcut that leads to bad incident triage.</p><h3>Why Ping Failure Was Not Enough</h3><p>ICMP (which ping relies on) and the actual Wazuh communication protocol are completely different things. Many production servers and cloud environments deliberately block ICMP for security reasons while still allowing the specific TCP ports an application needs. A failed ping tells you that <em>one particular type of traffic</em> isn&#39;t getting a response — it says nothing about whether the service you actually care about is working.</p><p>This is a mindset shift that matters a lot in SOC work: <strong>a single failed test is a data point, not a conclusion.</strong> You isolate the layer, test it specifically, and only then decide what it means. So instead of stopping at the ping result, I moved to testing the actual Wazuh ports.</p><h3>Testing Wazuh Ports</h3><p>Wazuh agents communicate with the Manager over specific TCP ports — 1514 for regular agent-to-manager communication, and 1515 for agent registration/enrollment. I tested both directly using nc (netcat):</p><p>bash</p><pre>nc -vz &lt;WAZUH_MANAGER_IP&gt; 1514</pre><p>bash</p><pre>nc -vz &lt;WAZUH_MANAGER_IP&gt; 1515</pre><p><strong>Why I used it:</strong> nc -vz attempts a connection to a specific port and reports back whether it succeeded, without needing ICMP at all.</p><p><strong>What I expected:</strong> Either a successful connection message or a clear failure/timeout.</p><p><strong>What the result meant:</strong> Both ports responded successfully. This immediately told me something important — the network path to the Wazuh Manager <em>was</em> open, and the ping failure earlier was unrelated to the actual agent-to-manager communication channel. This was the moment the investigation shifted from “is the server reachable” to “is the agent actually using this reachable path correctly.”</p><h3>Checking Wazuh Agent Services</h3><p>With connectivity confirmed at the port level, the next question was whether the agent’s own services were actually running on the Mac:</p><p>bash</p><pre>sudo /Library/Ossec/bin/wazuh-control status</pre><p><strong>Why I used it:</strong> To confirm that all the individual components of the Wazuh agent were active, not just installed.</p><p><strong>What I expected:</strong> A status listing for each Wazuh process.</p><p><strong>What the result meant:</strong> wazuh-agentd, wazuh-logcollector, wazuh-syscheckd, wazuh-execd, and wazuh-modulesd were all confirmed running. This ruled out a stopped-service issue and pointed toward the agent actively attempting to do its job — which meant the next place to look was its own logs, for direct evidence of what it was doing.</p><h3>Reading the Wazuh Agent Logs</h3><p>Port connectivity and running services are good signs, but they’re still indirect evidence. The most direct source of truth is the agent’s own log file:</p><p>bash</p><pre>sudo tail -50 /Library/Ossec/logs/ossec.log</pre><p><strong>Why I used it:</strong> Application logs record what the software itself is actually doing and reporting — the most reliable evidence available on the endpoint.</p><p><strong>What I expected:</strong> Entries showing connection attempts, successes, or errors.</p><p><strong>What the result meant:</strong> This was where the investigation resolved. The log clearly showed the agent successfully connecting to the Manager over port 1514, which lined up exactly with what the earlier nc test had already suggested was possible.</p><h3>Confirming the Agent Was Online</h3><p>The two lines that mattered most in the agent log were:</p><ul><li><strong>“Connected to the server”</strong></li><li><strong>“Agent is now online”</strong></li></ul><p>These aren’t just cosmetic status messages. “Connected to the server” confirms the TCP session to the Manager was successfully established on the expected port. “Agent is now online” confirms the Manager itself had acknowledged and registered the agent as an active, communicating endpoint. Together, they’re the closest thing to definitive proof that the full data path — from Mac endpoint, through the network, to the Wazuh Manager — was functioning end to end.</p><p>This is the kind of evidence a SOC analyst learns to look for: not “it should be working,” but a specific, timestamped confirmation from the system itself.</p><h3>Understanding macOS Unified Logging</h3><p>With the agent confirmed online, I wanted to check whether it was actually collecting something useful from the macOS side. This is where Unified Logging comes back into the picture. You can query it directly:</p><p>bash</p><pre>log show --last 5m</pre><p><strong>Why I used it:</strong> To see the raw stream of recent macOS system events the way the operating system itself records them.</p><p><strong>What I expected:</strong> A dense output of system activity from the last five minutes.</p><p><strong>What the result meant:</strong> It gave me a first-hand look at just how much telemetry macOS generates constantly, which made it much clearer why Wazuh’s logcollector needs to be selective about what it forwards rather than shipping the entire stream.</p><p>Checking the agent log further confirmed that Wazuh’s logcollector was actively monitoring macOS logs using /usr/bin/log stream — meaning the agent wasn&#39;t just online, it was actively pulling from the Unified Logging system in the background, the same source I&#39;d just queried manually.</p><h3>Monitoring Mac Events in Wazuh</h3><p>Beyond basic connectivity, the agent log also showed activity from two specific Wazuh modules:</p><ul><li><strong>FIM (File Integrity Monitoring)</strong> activity, tracking changes to monitored files and directories on the endpoint</li><li><strong>SCA (Security Configuration Assessment)</strong> activity, evaluating the endpoint against baseline security configuration checks</li></ul><p>Seeing both of these active in the log was the final piece of confirmation that the Mac wasn’t just “connected” in a technical sense — it was actively contributing meaningful security telemetry that a SOC team could use for both detection and configuration auditing.</p><h3>What I Learned from the Troubleshooting</h3><ul><li><strong>Wazuh Agent Architecture:</strong> the agent collects telemetry locally and maintains an active communication channel with the Manager; understanding the individual components (agentd, logcollector, syscheckd, execd, modulesd) makes troubleshooting far more targeted.</li><li><strong>Connectivity Troubleshooting:</strong> ICMP, TCP port tests, service status, and application logs each answer a different question — and none of them alone tells the full story.</li><li><strong>macOS Logging:</strong> Unified Logging is fundamentally different from Windows Event Viewer, and tools like Console.app and the log command are essential for working with it directly.</li><li><strong>SOC Monitoring:</strong> getting an agent connected is only step one; the real work is confirming that useful, specific telemetry (like FIM and SCA activity) is actually visible and usable.</li><li><strong>Evidence-based troubleshooting:</strong> proving each layer individually, rather than drawing a conclusion from a single failed test, is what separates a guess from a diagnosis.</li></ul><h3>How This Relates to SOC Operations</h3><p>This lab mirrors a workflow SOC analysts rely on constantly, even outside of alert triage: <strong>understanding where telemetry comes from, and whether the data path delivering it is actually healthy.</strong></p><p>It touches several practical SOC skills directly:</p><ul><li><strong>SIEM monitoring</strong> — working with Wazuh as the central platform receiving and organizing telemetry</li><li><strong>Endpoint monitoring</strong> — understanding what a monitored endpoint should be reporting</li><li><strong>Log analysis</strong> — reading agent logs and Unified Logging output to extract meaning, not just scanning for keywords</li><li><strong>Network troubleshooting</strong> — separating ICMP reachability from actual application-layer connectivity</li><li><strong>Alert investigation mindset</strong> — not accepting the first symptom as the full explanation</li><li><strong>File Integrity Monitoring</strong> — recognizing FIM activity as a detection and audit source</li><li><strong>Security Configuration Assessment</strong> — recognizing SCA as a way to catch configuration drift, not just active threats</li><li><strong>Documentation</strong> — recording each step and its result so the process is repeatable and explainable to someone else</li></ul><p>A SOC analyst who only knows how to read alerts on a dashboard is missing half the job. Knowing how to verify that the telemetry feeding those alerts is actually flowing correctly — and being able to prove it — is what builds real confidence in the data you’re working with.</p><h3>Challenges I Would Explore Next</h3><p>This lab confirmed connectivity and basic telemetry flow, but there’s more I’d like to dig into:</p><ul><li>Building custom decoders or rules for specific macOS Unified Logging event types</li><li>Testing how the agent behaves during a network interruption and reconnection</li><li>Exploring what a triggered FIM or SCA alert looks like end-to-end in the Wazuh Dashboard</li><li>Comparing macOS telemetry coverage against a Windows or Linux agent side by side</li></ul><h3>Key Takeaways</h3><ul><li>A failed ping does not mean a service is down — test the actual protocol and port the application uses.</li><li>Application logs are the most reliable evidence of what’s really happening, more so than status checks alone.</li><li>macOS Unified Logging requires a different investigative approach than Windows Event Viewer, but Wazuh can bridge that gap effectively.</li><li>Confirming an agent is “online” is the start of monitoring, not the end — validating FIM and SCA activity shows the telemetry is actually useful.</li><li>Evidence-based, layer-by-layer troubleshooting is a core SOC skill, not just a general IT habit.</li></ul><h3>Final Takeaway</h3><p>What stuck with me most from this exercise wasn’t the final “Agent is now online” message — it was the process of getting there. Treating a failed test as a starting point for investigation, rather than a final answer, is a small habit that makes a real difference in how reliably you can troubleshoot and how much you actually trust your conclusions.</p><h3>Conclusion</h3><p>Connecting a macOS endpoint to Wazuh turned out to be a smaller part of this lab than I expected. The bigger lesson was in the troubleshooting process itself — moving methodically from ICMP, to TCP ports, to service status, to application logs, until I had direct evidence rather than an assumption. That approach, more than any single command, is what I’m carrying forward as I keep building my hands-on SOC and SIEM skills.</p><p>I’m continuing to build practical experience in SOC operations, SIEM monitoring, endpoint security, and log analysis, and I’d welcome the chance to connect with other SOC analysts, blue-team professionals, and cybersecurity learners to keep learning from each other.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38e9b9618087" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>