<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Tristan’s Cybersecurity Substack]]></title><description><![CDATA[Hello and welcome to my blog where I talk about my interests and try to provide useful information on multiple subjects in Information Technology, mainly on coding and InfoSec.
https://bsky.app/profile/tristandostaler.bsky.social]]></description><link>https://www.tristandostaler.com</link><image><url>https://substackcdn.com/image/fetch/$s_!j9n6!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65221642-d51c-4583-a96e-a8b1618617b8_1280x1280.png</url><title>Tristan’s Cybersecurity Substack</title><link>https://www.tristandostaler.com</link></image><generator>Substack</generator><lastBuildDate>Wed, 28 Oct 2026 22:40:41 GMT</lastBuildDate><atom:link href="https://www.tristandostaler.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Tristan Dostaler]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[tristandostaler@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[tristandostaler@substack.com]]></itunes:email><itunes:name><![CDATA[Tristan Dostaler]]></itunes:name></itunes:owner><itunes:author><![CDATA[Tristan Dostaler]]></itunes:author><googleplay:owner><![CDATA[tristandostaler@substack.com]]></googleplay:owner><googleplay:email><![CDATA[tristandostaler@substack.com]]></googleplay:email><googleplay:author><![CDATA[Tristan Dostaler]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Understanding EDR, XDR, NDR, and MDR: A Comprehensive Guide to Detection and Response Solutions]]></title><description><![CDATA[In the ever-evolving landscape of cybersecurity, keeping up with the latest technologies and solutions is crucial for protecting an organization&#8217;s digital assets. Among these technologies, detection and response solutions have become increasingly significant. Terms like EDR, XDR, NDR, and MDR are frequently used, but what do they actually mean, and how do they differ? This comprehensive guide will provide a detailed overview of these detection and response (DR) solutions, compare their features, and help you understand when to use each one.]]></description><link>https://www.tristandostaler.com/p/understanding-edr-xdr-ndr-and-mdr</link><guid isPermaLink="false">https://www.tristandostaler.com/p/understanding-edr-xdr-ndr-and-mdr</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Wed, 02 Sep 2026 14:15:20 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/54e6bab5-f7ca-46e8-9c60-991ab90eeb01_2816x1536.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vUQp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vUQp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vUQp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg" width="2816" height="1536" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1536,&quot;width&quot;:2816,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1014325,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.tristandostaler.com/i/213865081?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0df9aa-69c6-47e9-8b04-f176e06b748a_2816x1536.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!vUQp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2><strong>Introduction</strong></h2><p><strong>In the ever-evolving landscape of cybersecurity, keeping up with the latest technologies and solutions is crucial for protecting an organization&#8217;s digital assets. Among these technologies, detection and response solutions have become increasingly significant. Terms like EDR, XDR, NDR, and MDR are frequently used, but what do they actually mean, and how do they differ? This comprehensive guide will provide a detailed overview of these detection and response (DR) solutions, compare their features, and help you understand when to use each one.</strong></p><h2><strong>Detailed Overview of Detection and Response Solutions</strong></h2><h3><strong>EDR (Endpoint Detection and Response)</strong></h3><p>Endpoint Detection and Response (EDR) focuses on detecting and investigating suspicious activities and threats on endpoints, such as desktops, laptops, and mobile devices. EDR solutions provide continuous monitoring, threat detection, and automated response capabilities. Essentially, EDR acts as a &#8220;Next-gen antivirus&#8221; because legacy antivirus (AV) solutions can be bypassed too easily. Key features include:</p><ul><li><p>Real-time monitoring of endpoint activities.</p></li><li><p>Threat detection using behavioral analysis and machine learning.</p></li><li><p>Incident response automation.</p></li><li><p>Forensic capabilities for deep-dive investigations.</p></li><li><p>Integration with other security tools for a holistic defense approach.</p></li></ul><h3><strong>XDR (Extended Detection and Response)</strong></h3><p>Extended Detection and Response (XDR) is an evolution of EDR that integrates multiple security products into a cohesive system, providing broader threat detection and response capabilities across various environments. XDR solutions unify data from endpoints, networks, servers, and other sources. Key features include:</p><ul><li><p>Unified threat detection and response across multiple security layers.</p></li><li><p>Enhanced visibility and correlation of security events.</p></li><li><p>Centralized management and automated workflows.</p></li><li><p>Improved threat detection with advanced analytics and machine learning.</p></li><li><p>Seamless integration with existing security infrastructure.</p></li></ul><h3><strong>NDR (Network Detection and Response)</strong></h3><p>Network Detection and Response (NDR) solutions focus on monitoring and analyzing network traffic to detect and respond to threats. NDR provides visibility into network activities, helping identify malicious behavior and potential breaches. Key features include:</p><ul><li><p>Continuous monitoring of network traffic.</p></li><li><p>Detection of anomalies and suspicious activities.</p></li><li><p>Real-time threat intelligence and analysis.</p></li><li><p>Automated incident response and containment.</p></li><li><p>Integration with other security tools for comprehensive protection.</p></li></ul><h3><strong>MDR (Managed Detection and Response)</strong></h3><p>Managed Detection and Response (MDR) services extend beyond traditional DR solutions by adding a layer of expert management and monitoring. MDR providers offer 24/7 threat monitoring, detection, and response, leveraging a combination of technology, processes, and human expertise. MDR makes use of EDR, XDR, NDR technologies, and more. Additionally, MDR looks at multiple sources such as endpoints, networks, cloud environments, and other IT infrastructure. Another emerging term for MDR that reflects this multi-source capability is MXDR (Managed Extended Detection and Response). Key features include:</p><ul><li><p>Proactive threat hunting and monitoring.</p></li><li><p>Expert analysis and incident response.</p></li><li><p>Regular reporting and compliance assistance.</p></li><li><p>Rapid threat containment and remediation.</p></li><li><p>Access to a team of cybersecurity experts.</p></li><li><p>Monitoring of cloud services and infrastructure.</p></li></ul><h2><strong>Comparing EDR, XDR, NDR, and MDR</strong></h2><p>While all these solutions aim to enhance an organization&#8217;s security posture, they differ in scope, capabilities, and application. Here&#8217;s a detailed comparison:</p><ul><li><p><strong>Scope:</strong></p><ul><li><p><strong>EDR:</strong> Focuses on endpoints.</p></li><li><p><strong>XDR:</strong> Integrates data from multiple security layers (endpoints, network, cloud, etc.).</p></li><li><p><strong>NDR:</strong> Focuses on network traffic.</p></li><li><p><strong>MDR (or MXDR):</strong> Managed service covering endpoints, networks, cloud services, and more.</p></li></ul></li></ul><ul><li><p><strong>Capabilities:</strong></p><ul><li><p><strong>EDR:</strong> Real-time endpoint monitoring, threat detection, automated response.</p></li><li><p><strong>XDR:</strong> Unified threat detection, centralized management, advanced analytics.</p></li><li><p><strong>NDR:</strong> Network traffic analysis, anomaly detection, real-time response.</p></li><li><p><strong>MDR (or MXDR):</strong> Proactive threat hunting, expert analysis, managed response.</p></li></ul></li></ul><ul><li><p><strong>Use of Resources:</strong></p><ul><li><p><strong>EDR:</strong> Requires in-house security team.</p></li><li><p><strong>XDR:</strong> Requires integration and management of multiple security tools.</p></li><li><p><strong>NDR:</strong> Focuses on network security, often used alongside other DR solutions.</p></li><li><p><strong>MDR (or MXDR):</strong> Managed by external experts.</p></li></ul></li></ul><h3><strong>When to Use Each Solution</strong></h3><p>Choosing the right detection and response solution depends on your organization&#8217;s specific needs, resources, and security posture. Here are some scenarios and use cases:</p><ul><li><p><strong>EDR:</strong> Ideal for organizations with a dedicated security team that needs robust endpoint protection and response capabilities.</p></li><li><p><strong>XDR:</strong> Best for organizations seeking a unified security approach, integrating multiple data sources for comprehensive threat detection and response.</p></li><li><p><strong>NDR:</strong> Perfect for organizations prioritizing network security, needing detailed traffic analysis and rapid incident response.</p></li><li><p><strong>MDR (or MXDR):</strong> Suitable for organizations with limited in-house expertise or resources, benefiting from managed services and expert support.</p></li></ul><h2><strong>SOC vs. MDR: Key Differences</strong></h2><p>While both a Security Operations Center (SOC) and Managed Detection and Response (MDR) are crucial for an organization&#8217;s cybersecurity, they differ significantly in their structure, scope, and functionality:</p><h3><strong>Security Operations Center (SOC)</strong></h3><ul><li><p><strong>Definition:</strong> A centralized in-house function that continuously monitors and improves an organization&#8217;s security posture.</p></li><li><p><strong>Features:</strong> 24/7 monitoring, in-house team, incident response, threat intelligence, customizable.</p></li><li><p><strong>Pros:</strong> Complete control, tailored to organizational needs, direct communication.</p></li><li><p><strong>Cons:</strong> Resource-intensive, requires expertise, scalability challenges.</p></li></ul><h3><strong>Managed Detection and Response (MDR)</strong></h3><ul><li><p><strong>Definition:</strong> An outsourced service providing threat detection, response, and monitoring.</p></li><li><p><strong>Features:</strong> 24/7 threat monitoring, proactive threat hunting, expert analysis, incident response, regular reporting.</p></li><li><p><strong>Pros:</strong> Cost-effective, access to expertise, quick deployment, scalable.</p></li><li><p><strong>Cons:</strong> Less control, dependency on vendor, potential communication challenges.</p></li></ul><h2><strong>Differences Between MDR and EDR, XDR, NDR</strong></h2><p>In EDR, XDR, or NDR solutions, detection and response are primarily automated with limited or no access to experts, no customization of response processes, no integration of custom sources, and no dedicated incident response team. Conversely, MDR (or MXDR) provides human expertise, tailored response processes, integration of custom data sources, and a dedicated incident response team.</p><h2><strong>Choosing Between SOC and MDR</strong></h2><p>The decision between an in-house SOC or MDR services depends on factors like budget, resources, control needs, scalability, and complexity. Organizations with limited budgets or expertise may benefit from MDR, while those needing full control and customization might prefer an in-house SOC.</p><h2><strong>Conclusion</strong></h2><p>Understanding the differences between EDR, XDR, NDR, MDR, and the distinction between SOC and MDR is crucial for making informed decisions about your organization&#8217;s cybersecurity strategy. Each solution offers unique benefits and capabilities, tailored to specific security needs. By selecting the right detection and response solution, you can enhance your organization&#8217;s ability to detect, respond to, and mitigate cyber threats effectively.</p>]]></content:encoded></item><item><title><![CDATA[SIEM 201 — Automating Threat Response: A Practical Guide]]></title><description><![CDATA[Introduction &#8212; The Case for Automated Response]]></description><link>https://www.tristandostaler.com/p/siem-201-automating-threat-response</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-201-automating-threat-response</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Tue, 22 Apr 2025 12:03:26 GMT</pubDate><enclosure url="https://api.substack.com/feed/podcast/161737267/a52e94009919dabbff367ced95291922.mp3" length="0" type="audio/mpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Jic_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Jic_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!Jic_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!Jic_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!Jic_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Jic_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2333503,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.tristandostaler.com/i/161675389?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!Jic_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!Jic_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!Jic_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!Jic_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F362a1acf-dd67-4cf2-9e3a-fb013cf8a90a_1536x1024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2><strong>Introduction &#8212; The Case for Automated Response</strong></h2><p>If your SIEM only sends alerts, you're leaving value&#8212;and security&#8212;on the table.<br><br>In every incident I&#8217;ve investigated, there&#8217;s a window between detection and response that determines the scale of impact. In some cases, this delay is a matter of hours, sometimes minutes. But in fast-moving attacks like ransomware deployment, credential stuffing, or lateral movement, seconds might be all it takes to go from contained to compromised.<br><br>That&#8217;s where automated response comes in.</p><p>Rather than waiting for someone to read a Slack message or open their inbox, a well-placed automation can block an attacker IP, disable a vulnerable user, or trigger a workflow instantly. When configured right, automation gives defenders their time back&#8212;and gives attackers one chance less.<br><br>In this post, I&#8217;ll show you how to implement effective, low-risk automated actions in your SIEM. I&#8217;ll walk through examples like blocking brute force source IPs, sending adaptive notifications, and integrating webhooks. You don&#8217;t need a full SOAR platform to take meaningful action. You just need a reliable alert, a clear goal, and good guardrails.<br><br>Let&#8217;s explore what&#8217;s possible when your alerts don&#8217;t just end in a ticket&#8212;they end in action.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.tristandostaler.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Tristan&#8217;s Cybersecurity Substack is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><h2><strong>What You Can Automate (and Why It Helps)</strong></h2><p>Automated response in your SIEM doesn&#8217;t have to mean deploying a full SOAR platform. Even with basic webhook support, you can trigger meaningful actions when alerts match the right conditions. Here's a breakdown of the most common types of automated actions&#8212;each with practical benefits and varying levels of risk.</p><div><hr></div><h3>1. Send a Notification (Email, Slack, Teams)</h3><p>&#128994; Low-friction, low-risk</p><p>This is the simplest form of automation.</p><p>Your SIEM detects something unusual&#8212;like a user logging in from a suspicious IP&#8212;and sends a message to your Slack channel or a dedicated security inbox.</p><p>This doesn't stop anything yet, but it dramatically shortens response time by reaching humans faster (and in the right place).<br><br>&#128073; Example:</p><ul><li><p>Alert: Office login from TOR node</p></li><li><p>Action: Send message to #sec-team on Slack with a link to verify user</p></li></ul><div><hr></div><h3> 2. Trigger a Webhook or API Call</h3><p> &#128993; Medium complexity, highly flexible</p><p>If your SIEM supports webhooks or external HTTP calls, you can trigger actions beyond notifications. For instance, you could call a small API you wrote that places an IP in your firewall&#8217;s blocklist, or notify a central webhook handler in your detection pipeline.</p><p>&#128073; Example:</p><ul><li><p>Alert: Multiple failed SSH attempts from a single IP</p></li><li><p>Action: Send that IP to an internal API that appends it to iptables ban list via fail2ban</p></li></ul><p>(This is the type I use most, and I&#8217;ll walk through it later in the blog.)</p><div><hr></div><h3> 3. Execute a Script or Runbook</h3><p>&#128992; Higher risk, more automation</p><p>Some systems can run a script directly in response to an alert&#8212;especially if you&#8217;re using a SIEM combined with an EDR or agent on the machine. This could restart a process, disable a user account, or isolate a host.</p><p>While powerful, scripts need rigorous testing. Misfires can create outages.</p><p>&#128073; Example:</p><ul><li><p>Alert: PsExec lateral movement detected</p></li><li><p>Action: Run PowerShell to isolate the machine from the domain</p></li></ul><p>&#128161; Tip: These are best combined with tagging or human-in-the-loop review at first.</p><div><hr></div><h3> 4. Push to a Ticketing System or IR Workflow Tool</h3><p>&#128994; Low-to-medium risk, includes humans</p><p>Another useful automation is pushing summarized alert data into your incident response or case management platform (like Jira, TheHive, PagerDuty, etc.). This ensures follow-up, adds context, and lets responders add manual judgment without missing the event.</p><p>&#128073; Example:</p><ul><li><p>Alert: Phishing link clicked</p></li><li><p>Action: Open case in TheHive with log URLs, domain observed, user&#8217;s IP</p></li></ul><div><hr></div><h2>Real-World Use Cases (That Aren&#8217;t Too Risky)</h2><p>Getting started with SIEM automation doesn&#8217;t mean plugging your alert pipeline straight into production-blocking scripts. That&#8217;s a great way to lock yourself out of an important service&#8212;or worse, cause a false positive outage. I like to start with low-friction, high-confidence alerts with clear outcomes.</p><p>Here are some use cases I&#8217;ve implemented or advised others to adopt first:</p><div><hr></div><h3>&#128683; Block Brute-Force IPs Automatically</h3><p>Brute force attempts are a perfect starter for automation because they&#8217;re noisy, repetitive, and usually easy to fingerprint.</p><p>&#129504; Trigger:</p><p>An alert that detects 10+ failed SSH or Windows logon attempts from the same IP within 5 minutes.</p><p>&#9881;&#65039; Action:</p><p>Send a webhook to a lightweight API receiving bad IPs, which in turn updates your firewall, fail2ban, or a zero-trust ACL.</p><p>&#9989; Why It Works:</p><ul><li><p>You can whitelist trusted IP ranges up front</p></li><li><p>Blocking via firewall doesn&#8217;t affect internal systems</p></li><li><p>These attacks are usually automated and follow patterns</p></li></ul><div><hr></div><h3>&#127757; GeoIP + Impossible Travel Notifications</h3><p>User logs in from Toronto. Three minutes later, they try accessing a sensitive application from Singapore. Unless they have a teleportation pod, something's wrong.</p><p>&#129504; Trigger:</p><p>Alert when two logins are detected from geographically distant locations within an impossible timeframe.</p><p>&#9881;&#65039; Action:</p><ul><li><p>Automatically send a Slack message or email to the affected user&#8217;s manager</p></li><li><p>Optionally open a ticket in the incident response system</p></li></ul><p>&#9989; Why It Works:</p><ul><li><p>No impact, just visibility</p></li><li><p>Helps build context if ongoing investigation is needed</p></li></ul><div><hr></div><h3>&#129514; Tagging or Labeling High-Risk Hosts</h3><p>Not all automations need to stop attackers directly. You can enrich telemetry by tagging things as risky the moment they're detected.</p><p>&#129504; Trigger:</p><p>Host exhibits lateral movement behavior (e.g., PsExec or WMIExec detection via Sysmon)</p><p>Or: Endpoint shows signs of crypto-ransomware behavior</p><p>&#9881;&#65039; Action:</p><p>Attach a tag to the host in your log system or asset tracker</p><p>Or: write an enrichment flag in Sentinel/Humio to surface in dashboards</p><p>&#9989; Why It Works:</p><ul><li><p>Non-destructive</p></li><li><p>Makes hunting and triage faster</p></li><li><p>Builds starting points for weekly reviews or ML training</p></li></ul><div><hr></div><p>These ideas are deliberately safe to start with. As you implement these and trust their accuracy, you can progressively increase risk tolerance and expand to more disruptive actions (like user disabling or host isolation).</p><div><hr></div><h2>Hands-On Example: Blocking an IP from a Humio Alert</h2><p>Let&#8217;s walk through a real-world example: a brute force detection alert that automatically blocks the source IP by sending it to a small script via webhook.</p><p>This approach works with any SIEM that supports HTTP-based alert actions&#8212;Humio makes it simple, but you could do the same with Logz.io, Graylog, or even a homegrown setup.</p><div><hr></div><p>&#127919; The Goal</p><ul><li><p>Detect failed login attempts coming from a single IP more than 10 times in 5 minutes.</p></li><li><p>When that happens, send the IP to a webhook endpoint.</p></li><li><p>The webhook triggers a script to block the IP on the firewall.</p></li><li><p>The action is logged, monitored, and reversible.</p></li></ul><p>Low risk, high reward.</p><div><hr></div><h3>&#128450; Step 1: Create the Detection Query in Humio</h3><p>In Humio or your SIEM, build the alert like this.</p><p>Query Example (Sysmon/Winlogbeat logs):</p><pre><code><code>event.code=4625 
| groupby([beat_agent.hostname, winlog.event_data.IpAddress], function=count()) 
| where([count &gt; 10]) </code></code></pre><p>This detects 10+ failed login attempts from the same source IP on the same host.</p><p>&#128269; Tips:</p><ul><li><p>Avoid internal IPs or your own jump-boxes by filtering with where(not winlog.event_data.IpAddress in (your allowlist))</p></li><li><p>Tune down to 5 attempts in testing, tune up to 20+ in prod</p></li></ul><div><hr></div><h3>&#9888;&#65039; Step 2: Configure the Alert Action</h3><p>In Humio:</p><ul><li><p>Go to Alerts</p></li><li><p>Choose your query, click &#8220;Create Alert&#8221;</p></li><li><p>Set threshold = 1 (fires whenever there&#8217;s a matching group)</p></li><li><p>Throttle: &gt;5 mins per host+IP tuple</p></li></ul><p>Action Setup (Webhook):</p><ul><li><p>Type: &#8220;HTTP POST&#8221;</p></li><li><p>URL: https://your-automation-host/api/block-ip</p></li><li><p>Payload:</p></li></ul><pre><code><code>{
  "hostname": "{{beat_agent.hostname}}",
  "ip": "{{winlog.event_data.IpAddress}}"
}</code></code></pre><p>&#10004;&#65039; Set content-type as application/json</p><p>&#10004;&#65039; Secure it with an API key in the header, or only allow network-restricted source IPs</p><div><hr></div><h3>&#128736; Step 3: Write the Webhook Script</h3><p>Here&#8217;s a very simple example in Python (Flask-based API):</p><pre><code><code>from flask import Flask, request, jsonify
import subprocess
import logging

app = Flask(__name__)
logging.basicConfig(filename='ipblocks.log', level=logging.INFO)

@app.route('/api/block-ip', methods=['POST'])
def block_ip():
    data = request.json
    ip = data.get('ip')

    # Validate the IP (simple check)
    # This is not enough to safeguards against RCE.
    # TODO: add more checks!
    # This is only an example!
    if not ip or '..' in ip or '/' in ip or ';' in ip or '&amp;' in ip or '|' in ip:
        return jsonify({"error": "invalid IP"}), 400

    # Block the IP using iptables (Linux)
    # One would imagine a CTF challenge here!
    cmd = f"iptables -A INPUT -s {ip} -j DROP"
    subprocess.run(cmd, shell=True)

    logging.info(f"Blocked IP {ip} via automation")
    return jsonify({"status": "blocked", "ip": ip})</code></code></pre><p>&#128161; Save and run this on a secured automation server. Rotate IPs out after X days or add removal logic.</p><p>Alternatives:</p><ul><li><p>Use UFW, fail2ban custom chains, or cloud firewall/blocklist APIs (e.g., AWS, Cloudflare)</p></li><li><p>If you don&#8217;t want actual blocking: just log or simulate the response action!</p></li></ul><div><hr></div><h3>&#128270; Step 4: Monitor &amp; Tune</h3><p>Now that you&#8217;ve automated your first response, be sure to:</p><ul><li><p>Log every action (separate audit file or SIEM event)</p></li><li><p>Monitor alerts for false positives&#8212;adjust thresholds</p></li><li><p>Use alert &#8220;Preview&#8221; and dry runs to test</p></li><li><p>Sanitize inputs and control webhook access</p></li></ul><p>Optional additions:</p><ul><li><p>Store blocked IPs in SQLite or Redis to allow removal later</p></li><li><p>Add Slack/Email alerts from the script for visibility</p></li></ul><div><hr></div><p>&#128272; Bonus: Add a Safety Switch</p><p>Build a toggle in the script (&#8220;MAINTENANCE_MODE=True&#8221;) that allows you to disable enforcement instantly. Or only allow from specific alert sources (e.g., trusted Humio instance UUIDs).</p><div><hr></div><p>&#127881; Boom &#8212; you&#8217;ve now built an early warning system that defends itself.</p><p>Up next, we&#8217;ll talk about how to scale this approach and avoid common mistakes.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.tristandostaler.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.tristandostaler.com/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h2>Best Practices &amp; Guardrails</h2><p>Before you get too deep into automating blockade systems and forensic scripts, let&#8217;s cover the most important part of any automation effort: treating it like production code.</p><p>Automated actions affect your systems&#8212;sometimes permanently. Without proper guardrails, a bug in detection or a misfiring rule could put your security team in the spotlight for all the wrong reasons. Here's how to do it right.</p><div><hr></div><h3>&#9989; 1. Start with Notifications, Then Actions</h3><p>The temptation to go straight from alert to action is real&#8212;but don&#8217;t skip the dry run phase.</p><p>Always begin by triggering a notification or logging-only action, and monitor the alert fidelity over time. Only after verifying that your false positive rate is low should you consider moving to blocking or remediation automation.</p><p>&#128221; Pro tip:</p><p>&#8220;Log + Notify + Review&#8221; for a week before enabling the final blocking logic.</p><div><hr></div><h3>&#128737; 2. Whitelist Known Good Behavior</h3><p>Always protect critical systems, known testers, and internal IPs from being impacted by automated actions unless absolutely required. You&#8217;ll want to include a whitelist&#8212;either inline or backend-controlled&#8212;which the automation must check before enforcement.</p><p>Examples:</p><ul><li><p>Don&#8217;t block your VPN endpoint</p></li><li><p>Don&#8217;t isolate your own monitoring agent</p></li><li><p>Don&#8217;t trigger changes on development or staging logs</p></li></ul><div><hr></div><h3>&#129514; 3. Log Everything the Automation Does</h3><p>If your automation blocks an IP, disables a user, or restarts a service, you need a clear audit trail of:</p><ul><li><p>What triggered the action</p></li><li><p>When it ran</p></li><li><p>What was actually done</p></li><li><p>Who or what performed it</p></li><li><p>Whether it succeeded or failed</p></li></ul><p>&#128193; Tip: Log all of this to your SIEM itself.</p><p>Bonus: Create a dashboard of recent automation actions to catch errors early.</p><div><hr></div><h3>&#128257; 4. Add Rate Limiting and Throttling</h3><p>Just because 50 alerts fire at once doesn&#8217;t mean you want 50 API calls and actions firing simultaneously.</p><p>Add throttling&#8212;or use your SIEM&#8217;s built-in alert throttle&#8212;to avoid alert storms. This ensures you don&#8217;t overwhelm your firewall with too many rule changes or bounce through rate limits on an external system.</p><p>&#128207; Example:</p><p>Only execute the action once per unique IP per hour, or once per system per 10 minutes.</p><div><hr></div><h3>&#128258; 5. Make It Reversible (and Pauseable)</h3><p>You WILL make a mistake. Your automation might react to a misparsed event or a data ingestion bug.</p><p>Plan for rollback. Here&#8217;s how much:</p><ul><li><p>Can you remove a blocked IP with a single call?</p></li><li><p>Is there a safe list to re-allow access?</p></li><li><p>Can you &#8220;pause&#8221; automation with one toggle if you&#8217;re under pressure?</p></li></ul><p>Most mistakes in security are made in fear. Don&#8217;t let your automation increase panic&#8212;build kill switches and clear recovery steps.</p><div><hr></div><p>Automating threat response means trusting your SIEM&#8217;s alerts with real power. These best practices are like a flight checklist: they ensure it flies where and when you want it to&#8212;and lands safely when it&#8217;s done.</p><p>Up next, let&#8217;s look at the typical automation pitfalls I see in the wild&#8212;and how you can avoid them.</p><div><hr></div><h2>Common Pitfalls to Avoid</h2><p>When I talk to teams about SIEM automation, they&#8217;re usually excited. And with good reason&#8212;automation turns alerts into actions and allows teams to scale. But I&#8217;ve also seen well-meaning automation wreak havoc because a few basic rules were overlooked.</p><p>Here are the most common mistakes I see when teams launch automated responses too early&#8212;or without thinking through the consequences.</p><div><hr></div><h3>&#128257; Acting on Noisy Alerts</h3><p>This is the classic mistake: building automations on top of alerts that still generate false positives. If your brute force alert is misfiring, feeding it into an auto-blocking script will just create chaos.</p><p>You might end up:</p><ul><li><p>Blocking your own security scanner</p></li><li><p>Disabling perfectly legitimate logins</p></li><li><p>Filling your firewall ruleset unnecessarily</p></li></ul><p>&#128721; Fix it first: Make sure your detection logic is solid, tuned, and meaningful before giving it power.</p><p>&#128161; Pro tip: Review fired alerts over 7&#8211;14 days before moving to response.</p><div><hr></div><h3>&#127786; Forgetting Alert Throttling</h3><p>Without rate limiting, a flood of log-ins from one device, a SIEM parsing bug, or log ingestion issue could trigger hundreds of simultaneous actions.</p><p>I once saw a mis-parsed Linux event trigger 300+ alerts in under 60 seconds&#8212;which then triggered an overload in the iptables automation service.</p><p>&#10004; Add guardrails:</p><ul><li><p>Alert throttling (native in many SIEMs)</p></li><li><p>IP block counters (rate-limits per source)</p></li><li><p>Timeout queues on your action scripts</p></li></ul><div><hr></div><h3>&#128065;&#65039; No Visibility on What&#8217;s Happening</h3><p>If you're not logging the actions taken&#8212;or you&#8217;re only logging success&#8212;you&#8217;re working blind.</p><p>Imagine:</p><ul><li><p>You blocked 42 IPs&#8230; but which ones?</p></li><li><p>A script failed to run&#8230; was it retried?</p></li><li><p>Someone paused your webhook host&#8230; and now no action is running</p></li></ul><p>&#127775; Always log:</p><ul><li><p>What triggered the action (alert details)</p></li><li><p>What was attempted (API call, command)</p></li><li><p>The result (success/failure)</p></li></ul><p>Put this in a shared log store, or even feed &#8220;meta events&#8221; to the SIEM itself.</p><div><hr></div><h3>&#128274; No Authentication or Input Validation</h3><p>If your webhook is listening for JSON from anywhere&#8212;make sure it's authentic.</p><p>Imagine an attacker figures out your webhook URL&#8230; and submits their own IP with your same automation call. Or worse, they inject shell code as part of a manipulated payload.</p><p>Secure your endpoints:</p><ul><li><p>API keys or HMAC validation</p></li><li><p>Restrict source IP to the SIEM only</p></li><li><p>Sanitize all fields before running commands</p></li></ul><p>If you're passing variables into a shell script, validate and escape everything.</p><div><hr></div><h3>&#129512; Over-Automating Detonation</h3><p>Some teams go all-in: "If this alert fires, disconnect the user, disable the account, and terminate the EC2 instance."</p><p>That&#8217;s tempting, but only safe at maturity. Without escalation logic, human review, or an understanding of business impact, automation might react more aggressively than intended.</p><p>Instead:</p><ul><li><p>Automate gently (alert, log, escalate)</p></li><li><p>Use tagging, enrichment, and visibility automation</p></li><li><p>Add human-in-the-loop steps before destructive actions</p></li></ul><p>You can scale trust with automation&#8212;but only if everyone trusts it over time.</p><div><hr></div><h3>TL;DR &#8212; Don&#8217;t Put a Bazooka on an Alert Until it Knows What It&#8217;s Aiming At</h3><p>Automation is powerful&#8212;but only when it obeys the rules of reliability, auditability, and control. Treat your response logic like a developer treats production code: observability, rollback, and safety nets should always be included.</p><div><hr></div><h2>Where to Go From Here</h2><p>You&#8217;ve built one automation, logged its behavior, and avoided tripping your own firewalls&#8212;great work. Now what?</p><p>One of the strengths of building lean, scriptable SIEM automations is that you can grow them gradually. The goal isn&#8217;t to automate everything. It&#8217;s to automate the right things consistently and recoverably.</p><p>Here&#8217;s how to take your setup further:</p><div><hr></div><h3>&#129520; 1. Expand Your Webhook Handler</h3><p>Don&#8217;t let your blocking script do just one thing. You can support more actions using conditional logic:</p><ul><li><p>Block an IP</p></li><li><p>Put a tag in a shared asset tracker</p></li><li><p>Write a note into a shared Google Sheet or case system</p></li><li><p>Notify an MDR or response team externally</p></li><li><p>Populate a blocklist file or feed</p></li></ul><p>Small automations like this scale well and create glue between tools.</p><p>&#128736; Tip: Build modularly &#8212; write clean, multi-source-capable input handlers and you won&#8217;t need to rebuild later.</p><div><hr></div><h3>&#127913; 2. Integrate with Your Ticketing or Workflow Tool</h3><p>If you&#8217;re not ready to block things automatically, pipe your alert context into your response platform.</p><p>Examples:</p><ul><li><p>Create a Jira ticket for phishing-link clicks</p></li><li><p>Trigger a case in TheHive for suspicious process chains</p></li><li><p>Send markdown-formatted incident summaries to Mattermost</p></li></ul><p>This acts as &#8220;automated assurance&#8221;&#8212;you won&#8217;t forget the incident, and responders can add human judgment if needed.</p><div><hr></div><h3>&#128260; 3. Enrich Alerts &#8212; Not Just Respond</h3><p>Your SIEM should grow more informed over time.</p><p>When an alert fires, automation doesn&#8217;t have to only take action. It can:</p><ul><li><p>Append GeoIP context based on source IP</p></li><li><p>Mark an asset&#8217;s risk score in the SIEM</p></li><li><p>Add domain reputation or VirusTotal score</p></li><li><p>Link to previous similar alerts</p></li></ul><p>Automation = context at machine speed.</p><div><hr></div><h3>&#129504; 4. Create a Lightweight &#8220;SOAR Without SOAR&#8221;</h3><p>If you&#8217;re not buying a full commercial SOAR (Security Orchestration, Automation and Response) platform, you&#8217;re not alone.</p><p>With the right stack, you can build your own SOAR-lite with:</p><ul><li><p>Your SIEM alerting engine (Humio, Elasticsearch, etc.)</p></li><li><p>A webhook layer / action handler (Flask, Lambda, etc.)</p></li><li><p>Basic storage (SQLite, Google Sheets, JSON-logs)</p></li><li><p>Dashboards or markdown playbooks</p></li></ul><p>This gives you enough control and extensibility for most use cases&#8212;especially in a small or mid-size team.</p><p>&#128221;My blog used this model before the move to Substack. Works well. Cost? $0.</p><div><hr></div><h3>&#128301; 5. Experiment, Measure, and Refine</h3><p>Great SIEM automations are never built in one pass. I recommend:</p><ul><li><p>Logging every action, even if it &#8220;does nothing&#8221;</p></li><li><p>Holding monthly reviews of automation performance (e.g. top 10 triggered rules)</p></li><li><p>Keeping a chart of false positives vs. enforcement success</p></li><li><p>Versioning your detection + automation rules together</p></li></ul><p>This turns security automation into a feedback loop&#8212;not just a trigger.</p><div><hr></div><h2>Conclusion</h2><p>Security automation isn&#8217;t reserved for large enterprises or teams with a SOAR budget. You don&#8217;t need to over-invest, overbuild, or over-trust untested systems.</p><p>With just a few hours and the right SIEM alert, you can build useful automations that:</p><ul><li><p>Respond faster to obvious threats (like brute-force attempts)</p></li><li><p>Help defenders focus on high-value work</p></li><li><p>Reduce fatigue from repetitive incidents</p></li></ul><p>Whether you're defending your home lab, managing detection pipelines for clients, or running SecOps in a growing organization, your SIEM can do more than notify&#8212;it can act.</p><p>Start with one use case. Get it right. Monitor its behavior. And when you&#8217;re confident, scale it up to your next alert. You&#8217;ll be amazed at how quickly &#8220;just an alert&#8221; becomes something that actually helps you sleep at night.</p><p>If you&#8217;d like to explore more, I&#8217;ve also written about detecting PsExec lateral movement, configuring alert thresholds, or tuning SIEM correlation rules to reduce false positives.</p><p>&#9745; Build one automation. Review. Repeat.</p><div><hr></div><p>&#127919; Want more hands-on detection walkthroughs and security strategies?</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.tristandostaler.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.tristandostaler.com/subscribe?"><span>Subscribe now</span></a></p><p>to get the next blog posts as I publish them!</p><p>&#8212;</p><p>&#128172; Did you try an automation and learn something from it? Share it in the comments! I&#8217;d love to hear it.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.tristandostaler.com/p/siem-201-automating-threat-response/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.tristandostaler.com/p/siem-201-automating-threat-response/comments"><span>Leave a comment</span></a></p><p>&#8212;</p><p>&#128236; Need help building detection + action pipelines for your team? I run detection engineering for MDR platforms and help teams implement lightweight but effective automation. Feel free to reach out.</p><div class="directMessage button" data-attrs="{&quot;userId&quot;:266637641,&quot;userName&quot;:&quot;Tristan Dostaler&quot;,&quot;canDm&quot;:null,&quot;dmUpgradeOptions&quot;:null,&quot;isEditorNode&quot;:true}" data-component-name="DirectMessageToDOM"></div><h3>&#129505; Donation</h3><p>If you like my blog and my posts, please consider donating!</p><p>Imagine this: each minute of reading a post takes about 1&#8211;2 hours to create!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://buymeacoffee.com/tristandostaler&quot;,&quot;text&quot;:&quot;Donate &#129505;&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://buymeacoffee.com/tristandostaler"><span>Donate &#129505;</span></a></p>]]></content:encoded></item><item><title><![CDATA[The Elasticsearch license saga]]></title><description><![CDATA[Listen now (11 mins) | Explore the recent licensing change made by Elastic, the company behind Elasticsearch and Kibana, and its impact on the open-source community. This post explains the benefits of Elasticsearch, the community backlash following the adoption of the SSPL license, and how AWS and other players responded with the OpenSearch fork. Understand the shift from Apache 2.0 to SSPL, the motivations behind it, and why it sparked concern across the industry.]]></description><link>https://www.tristandostaler.com/p/the-elasticsearch-license-saga</link><guid isPermaLink="false">https://www.tristandostaler.com/p/the-elasticsearch-license-saga</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Mon, 18 Nov 2024 14:02:02 GMT</pubDate><enclosure url="https://api.substack.com/feed/podcast/151820913/5e3858de984d6dd47da6d49a19434cba.mp3" length="0" type="audio/mpeg"/><content:encoded><![CDATA[<p>As you may know <a href="https://www.tristandostaler.com/siem-101-basic-usage/">from my posts</a>, I like Elasticsearch. However, <a href="https://www.elastic.co/">Elastic</a>, the Elasticsearch company, recently announced it's decision to change the license of it's open-source products. Since then, the community largely reacted to this. Let me explain.</p><h2>Benefits of Elasticsearch</h2><p>Customers and the open-source community enjoyed a variety of services offered by Elastic through its products (like Elasticsearch). <a href="https://medium.com/@AIMDekTech/what-is-elasticsearch-why-elasticsearch-advantages-of-elasticsearch-47b81b549f4d">Elasticsearch</a> is a distributed search engine providing a number of features that make data processing more efficient and effective while maintaining its ability of scalability, speed and resilience. Elasticsearch through its partner product Kibana, Beats and Logstash provide a simplified way of data visualization, ingest and reporting. The other very reliable feature is its distributable nature which allows it to handle a huge size of data without compromising performance. It provides a real-time search platform which provide the shortest time possible when a user makes a search.</p><p>The open-source community contributes much on this product through various ways like providing codes and documentation, bugs report, write of tutorial, blogs etc. Elasticsearch was providing the code under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache v2 license</a>. All this makes everyone feel the meaning of "open" in "open-source". A report by <a href="https://www.macrotrends.net/stocks/charts/ESTC/elastic/net-worth">macrotrends</a> shows that the company net worth from 2018-2020 is estimated as $14.33B. This is an indication of how big the customer base is, and the revenue generated help contribute to the open-source community.</p><h2>The context</h2><p>On February 27&#8217;th 2018, the Elastic company CEO, Shay Banon, <a href="https://www.elastic.co/blog/doubling-down-on-open">delivered a message</a> on their website that mealy read as an announcement for the release of the new repository for their products on the version 6.3. A new folder in the code, named X-Pack, was created and all the proprietary product code moved to that folder under the <a href="https://github.com/elastic/elasticsearch/blob/0d8aa7527e242fbda9d84867ab8bc955758eebce/licenses/ELASTIC-LICENSE.txt">elastic license</a> which many customer and open-source code community believed that was a way of facilitating greater collaboration.</p><p>He affirmed that their products had to be open source hence providing the opportunity to reach so many people who can provide their contribution through various ways and even enable a push for what was seen, at the time, as a pipe dream. He even committed himself that as a company they will ever maintain to be open as a way of building their business.</p><p>However, on January 14'th 2021, Shay Banon <a href="https://www.elastic.co/blog/licensing-change">announced</a> that they were moving away from the truly open-source license (Apache v2) to the newer <a href="https://www.mongodb.com/licensing/server-side-public-license">Server Side Public License</a> (SSPL). The open-source community was shocked to realize that in order to use the Elastic products, you now had to agree to the terms and conditions of the SSPL or the elastic license. The former as new as it looks deprive the organizations of their intellectual property rights when observed from the spirit of "open source" in the business environment:</p><blockquote><p>By using an SSPL project in your code, you are agreeing that if you provide an online service using that code then you will release not only that code but also the code for every supporting piece of software, all under the SSPL. It&#8217;s not a stretch to interpret the wording of the license as requiring users of the SSPL&#8217;d software therefore to release the code for everything straight down to the bare metal.</p><p><a href="https://anonymoushash.vmbrasseur.com/2021/01/14/elasticsearch-and-kibana-are-now-business-risks">https://anonymoushash.vmbrasseur.com/2021/01/14/elasticsearch-and-kibana-are-now-business-risks</a></p></blockquote><p>From Elastic's website:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TAjP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TAjP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png 424w, https://substackcdn.com/image/fetch/$s_!TAjP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png 848w, https://substackcdn.com/image/fetch/$s_!TAjP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png 1272w, https://substackcdn.com/image/fetch/$s_!TAjP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!TAjP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png" width="779" height="577" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:577,&quot;width&quot;:779,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:118057,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!TAjP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png 424w, https://substackcdn.com/image/fetch/$s_!TAjP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png 848w, https://substackcdn.com/image/fetch/$s_!TAjP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png 1272w, https://substackcdn.com/image/fetch/$s_!TAjP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea48abd4-fa4a-4dc2-8e0c-94aa8a371f25_779x577.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><a href="https://www.elastic.co/pricing/faq/licensing">https://www.elastic.co/pricing/faq/licensing</a></figcaption></figure></div><h2>Why this move to the new SSPL Elasticsearch license</h2><p>The elastic company felt that &#8220;<a href="https://www.elastic.co/blog/why-license-change-AWS">enough is enough</a>&#8221; and that they should protect its product from cloud service providers whose intention was to capture the value of the same product while contributing nothing to the open-source community, as expressed by Eliot Horowitz, CTO and co-founder of MongoDB. Together with elastic&#8217;s CEO, they felt that companies like Amazon that are providing this product as a <a href="https://en.wikipedia.org/wiki/Software_as_a_service">Software as a Service</a>, without the knowledge or the consent of the Elastic company while misleading the community that they are, is "not ok". They tried and didn't succeed to resolve this issue through courts.</p><h2>A new hope</h2><p>In response, <a href="https://aws.amazon.com/blogs/opensource/stepping-up-for-a-truly-open-source-elasticsearch/">AWS announced</a> that it will create and maintain an Apache v2 licensed fork of Elastisearch and Kibana. They further expressed that the choice to fork a project was the right path forward when the community needs are diverging. To emphasize it, they stated that they are in the game for a long haul and ready to work in a way that will create a healthy and sustainable open-source practice.</p><p><a href="https://logz.io/blog/open-source-elasticsearch-doubling-down/">Logz.io</a> joined the fray and expressed their concern as to why they think the change of license from Elastic, at the expense of the open-source community, is &#8220;not OK&#8221;. In a retaliatory tone, they gave their objective to have projects driven by multiple organizations rather than a single commercial entity and plans to collaborate with such organizations (like Amazon) that believe that those products, Elasticsearch and Kibana, need to stay open source.</p><h3>References</h3><ul><li><p><a href="https://anonymoushash.vmbrasseur.com/2021/01/14/elasticsearch-and-kibana-are-now-business-risks">https://anonymoushash.vmbrasseur.com/2021/01/14/elasticsearch-and-kibana-are-now-business-risks</a></p></li><li><p><a href="https://www.elastic.co/blog/doubling-down-on-open">https://www.elastic.co/blog/doubling-down-on-open</a></p></li><li><p><a href="https://medium.com/@AIMDekTech/what-is-elasticsearch-why-elasticsearch-advantages-of-elasticsearch-47b81b549f4d">https://medium.com/@AIMDekTech/what-is-elasticsearch-why-elasticsearch-advantages-of-elasticsearch-47b81b549f4d</a></p></li><li><p><a href="https://www.elastic.co/blog/why-license-change-AWS">https://www.elastic.co/blog/why-license-change-AWS</a></p></li><li><p><a href="https://aws.amazon.com/blogs/opensource/stepping-up-for-a-truly-open-source-elasticsearch/">https://aws.amazon.com/blogs/opensource/stepping-up-for-a-truly-open-source-elasticsearch/</a></p></li><li><p><a href="https://logz.io/blog/open-source-elasticsearch-doubling-down/">https://logz.io/blog/open-source-elasticsearch-doubling-down/</a></p></li><li><p><a href="https://mjg59.dreamwidth.org/51230.html">https://mjg59.dreamwidth.org/51230.html</a></p></li></ul><h2>2021-04-18 Update</h2><p>AWS announced they will be actively developing OpenSearch and OpenSearch Dashboard to replace Elasticsearch and Kibana, respectively. Both these new products will be fully opensource under the Apache 2.0 License.<br>Source: <a href="https://aws.amazon.com/blogs/opensource/introducing-opensearch/">https://aws.amazon.com/blogs/opensource/introducing-opensearch/</a></p><h3>&#129505;Donation</h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://buymeacoffee.com/tristandostaler&quot;,&quot;text&quot;:&quot;Donate &#129505;&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://buymeacoffee.com/tristandostaler"><span>Donate &#129505;</span></a></p>]]></content:encoded></item><item><title><![CDATA[CIS controls — where to start in securing a medium/big enterprise]]></title><description><![CDATA[CIS controls &#8212; where to start in securing a medium/big enterprise]]></description><link>https://www.tristandostaler.com/p/cis-controls-where-to-start-in-securing</link><guid isPermaLink="false">https://www.tristandostaler.com/p/cis-controls-where-to-start-in-securing</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Fri, 15 Nov 2024 17:53:00 GMT</pubDate><enclosure url="https://api.substack.com/feed/podcast/151712648/bbd0aa8adb43d272a7e090afda449d4b.mp3" length="0" type="audio/mpeg"/><content:encoded><![CDATA[<h3>CIS controls&#8202;&#8212;&#8202;where to start in securing a medium/big enterprise</h3><p>In this post I&#8217;ll explain the CIS controls and how they can be used to start securing an enterprise.</p><p>When you&#8217;re in a medium or big environment and the maturity level of the InfoSec is around zer0, it&#8217;s hard to decide where to start in securing your environment. Do we need to update the systems, software and hardware first? Do we need to focus on awareness with the employees? The list is long; it can seem like there is no possible way to reduce the global&nbsp;risk.</p><p>Funny note: since I started writing this post, the controls got an update both in the number (previously 20, now 18) and in how they are organized! You can find an overview of what changed here: <a href="https://www.sans.org/blog/cis-controls-v8/">https://www.sans.org/blog/cis-controls-v8/</a></p><h3>Context</h3><p>There are multiple framework that can be used to help decide what to do and in what order. The first that comes to mind is the <a href="https://www.nist.gov/cyberframework">NIST Cybersecurity Framework</a>. If you&#8217;re already an expert in InfoSec, you probably know about this framework and understand how it&#8217;s an excellent framework. But as an expert or as a newly appointed CISO, this framework is not ideal when you&#8217;re starting from near zer0. That&#8217;s because it&#8217;s complete, too complete; and complex. There is no prioritization and it addresses all that needs to be addressed <em>at some point</em>. That&#8217;s why <a href="https://www.cisecurity.org/controls/cis-controls-list/">the 18 CIS controls</a> are ideal to&nbsp;start.</p><p>These 18 controls are ordered by logical priority. For example, there is no need to choose the best Antivirus if your systems are not updated. But you can&#8217;t update your systems if you don&#8217;t know what needs to be updated, hence why an inventory is&nbsp;crucial.</p><h3>The 18 CIS&nbsp;Controls</h3><p>You can find the controls here: <a href="https://www.cisecurity.org/controls/cis-controls-list/">https://www.cisecurity.org/controls/cis-controls-list/</a></p><p>You can also download a PDF or Excel version here:<br>Latest version: <a href="https://learn.cisecurity.org/control-download">https://learn.cisecurity.org/control-download</a><br>V7.1: <a href="https://learn.cisecurity.org/control-download-v7.1">https://learn.cisecurity.org/control-download-v7.1</a></p><p>Here you can find a detailed explanation of all the controls: <a href="https://controls-assessment-specification.readthedocs.io/en/stable/">https://controls-assessment-specification.readthedocs.io/en/stable/</a></p><p>The controls were grouped in a logical manner in the V7, but this grouping has been removed in the V8. For an easier reading of my post, I&#8217;ll keep the original grouping and reorganize based on the mapping changes, however, this shouldn&#8217;t be understood as a categorization of what you should do. To categorize, they developed &#8220;Implementation Groups&#8221; designed to help organization of different size focus on the right safeguards. Here are the original groups: basic controls, foundational controls and organizational controls.</p><p>Here is why they changed the way they organized the controls:</p><blockquote><p><em>Historically, the CIS Controls were ordered in sequence to focus an enterprise&#8217;s cybersecurity activities, with a subset of the first six CIS Controls referred to as &#8220;cyber hygiene.&#8221; However, this proved to be too simplistic. Enterprises, especially small ones, could struggle with some of the early Safeguards and never get around to implementing later CIS Controls (for example, having a backup strategy to help recover from ransomware). As a result, starting with Version 7.1, we created CIS Controls Implementation Groups (IGs) as our recommended new guidance to prioritize implementation.</em></p><p><em>CIS_Controls_v8_Guide.pdf</em></p></blockquote><h4>Basic Controls</h4><p>Here is a brief explanation of each basic controls:</p><ul><li><p><a href="https://www.cisecurity.org/controls/inventory-and-control-of-enterprise-assets/">Inventory and Control of Enterprise Assets</a><br>&#8211; It&#8217;s important to always have an up to date list of all the hardware in our possession. That includes the servers, workstations, switches, etc. In our cloud world, I would include all the virtual hardware in the cloud also, like <a href="https://en.wikipedia.org/wiki/Load_balancing_(computing)">load balancers</a>, <a href="https://en.wikipedia.org/wiki/Virtual_machine">VMs</a>, <a href="https://en.wikipedia.org/wiki/Software_as_a_service">SaaS</a>, <a href="https://en.wikipedia.org/wiki/Function_as_a_service">FaaS</a>, etc.<br>Once you have this list in your possession, it&#8217;s simply a matter of prioritization. You can make sure no rogue devices are allowed in your environment. They can be updated as needed. You can remove unneeded devices, etc.<br>Another great advantage of this list is when you are responding to an incident: it will allow you to better understand what happened, where and how. Once the incident is resolved, you&#8217;ll know what to restore from previously well designed backup plans.<br>There are many other advantages to lists like this, I&#8217;ll let your imagination run&nbsp;free!</p></li><li><p><a href="https://www.cisecurity.org/controls/inventory-and-control-of-software-assets/">Inventory and Control of Software Assets</a><br>&#8211; Like the hardware assets, it&#8217;s important to know and track all the software used in our environment. That will allow us to continuously validate for outdated software or if some of them have known vulnerabilities. We can also use this inventory to detect suspicious behavior. For example, if a tool like <a href="https://docs.microsoft.com/en-us/sysinternals/downloads/psexec">PsExec</a> is installed on a HR computer. Another use would be to detect unlicensed software or software licensed with bad licenses that could be a threat to the enterprise (like a license requiring you to opensource all the tools developed with it&#8217;s software, like the <a href="https://www.elastic.co/licensing/elastic-license">Elastic License</a> or the <a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU GPL license</a>).</p></li><li><p><a href="https://www.cisecurity.org/controls/data-protection/">Data Protection</a><br>&#8211; The wording &#8220;Data Protection&#8221; is voluntarily broad. The official definition of this control is &#8220;<em>Develop processes and technical controls to identify, classify, securely handle, retain, and dispose of data</em>&#8220;. As you can see, it means nothing and everything at the same time. The idea of this control is that a systematic process should be put in place around data manipulation. We need to analyze how data should be handled when a new data set is added to a software we use of develop, or a new software is adopted. Most company will first acquire new data without thinking too much about it. For example, who asked if and how should Google Analytics be implemented before it was done? But there is an inherent responsibility to all this data handling. This responsibility should be taken seriously and the data should be:<br>&#8211; Identified, meaning it should be crystal clear what the data will be;<br>&#8211; Classified, meaning some tags should be added to this data like the type of data and the sensitivity for customers and for the internal business;<br>&#8211; Securely handled, meaning the process around the data should be clear: encryption at rest, encryption in transit, who has access, is it sanitized, etc.;<br>&#8211; Retained, meaning the process on how long the data should be kept and what triggers the need for it&#8217;s destruction should be clear;<br>&#8211; Disposed, meaning the process for disposing securely of the data should be&nbsp;clear;</p></li><li><p><a href="https://www.cisecurity.org/controls/secure-configuration-of-enterprise-assets-and-software/">Secure Configuration of Enterprise Assets and Software</a><br>&#8211; When you use a software, most of the time it&#8217;s not secure by default but can, and should, be hardened. Of course, this is a never ending process and every time a software received a major upgrade, the process should be revisited. This point should be applied to everything and anything that can be configured; mail server, FTP server, Windows, Linux, Android, iOS, a switch, etc. And the possibility to securely configure a software should be in it&#8217;s selection criteria when deciding which software to use to fill a&nbsp;need.</p></li><li><p><a href="https://www.cisecurity.org/controls/account-management/">Account Management</a><br>&#8211; There should be a well defined account management process and architecture. For example, if you are using Windows, you should follow the 3-tier architecture, or it&#8217;s newer version, for the administrators account: <a href="https://docs.microsoft.com/en-us/security/compass/privileged-access-access-model">https://docs.microsoft.com/en-us/security/compass/privileged-access-access-model</a>. You should also make use of <a href="https://www.microsoft.com/en-ca/download/details.aspx?id=46899">LAPS</a> for local administrators (as opposed to having always the same user with the same password for all computers in the company). Accounts for services should have a strong password managed in a password vault, each service having it&#8217;s own account with it&#8217;s own password and permissions.</p></li><li><p><a href="https://www.cisecurity.org/controls/access-control-management/">Access Control Management</a><br>&#8211; &#8220;Access Control Management&#8221; applies to both physical and technological accesses. It is important to have a clear and well defined process to manage access to users and service accounts, grant them privileges or revoke access. We need to be able to easily grant or remove all access to systems and enterprise assets to users, whether they are new or not an employee anymore. The worst case scenario is forgetting to remove some or all accesses to an employee with bad intentions. But there is also a lost in productivity and/or security risks if it&#8217;s hard to grant accesses with the least privileges possible.</p></li><li><p><a href="https://www.cisecurity.org/controls/continuous-vulnerability-management/">Continuous Vulnerability Management</a><br>&#8211; As we are all too aware, new vulnerabilities are found weekly, probably event daily. After they are found, it is a matter of time before they are exploited. Because there is a continuous flow of vulnerability, it is important to evaluate the risks, track and prioritize them. Of course, this point is directly dependent of the first 2 CIS Controls.</p></li><li><p><a href="https://www.cisecurity.org/controls/audit-log-management/">Audit Log Management</a><br>&#8211; When an incident is detected, it is often too late to start adding tools that could help understand how the attack occurred. It is not rare to see that the logs have simply been deleted by the attacker. Because of this, it is important to continuously collect the logs in a centralized location, like a SIEM (see my posts on the subject: <a href="https://www.tristandostaler.com/category/information-technology/infosec/siem/">https://www.tristandostaler.com/category/information-technology/infosec/siem/</a>). Once we collect all these logs, we can start to detect attacks as they occur and stop the attacker in it&#8217;s track, instead of waiting for a true incident to occur. These logs can also be useful to understand how an attack happened and what can be done so it doesn&#8217;t happen&nbsp;again.</p></li></ul><h4>Foundational Controls</h4><p>Here is a brief explanation of each foundational controls:</p><ul><li><p><a href="https://www.cisecurity.org/controls/email-and-web-browser-protections/">Email Web Browser and Protections</a><br>&#8211; Probably the <a href="https://www.csoonline.com/article/3634869/top-cybersecurity-statistics-trends-and-facts.html">most prevalent</a> initial access tactic, phishing, through email or other means, can have a devastating impact if successful. This is why it is important to have protections in place to detect and block these attacks. There are many layers that can be implemented to protect us. We can start from the human aspect by providing training to detect phishing and other forms of attacks. We can also have an email filter, use DNS servers like <a href="https://www.quad9.net/">Quad9</a>, a modern browser that can detect typical attacks, an antivirus (or it&#8217;s new form: an <a href="https://en.wikipedia.org/wiki/Endpoint_detection_and_response">EDR</a>),&nbsp;etc.</p></li><li><p><a href="https://www.cisecurity.org/controls/malware-defenses/">Malware Defenses</a><br>&#8211; This 2 words category is one of the most complex technically speaking. The idea of this category is to put in place defenses against malware. One of the first layer to do this is to use an antivirus (or it&#8217;s new form: an <a href="https://en.wikipedia.org/wiki/Endpoint_detection_and_response">EDR</a>), but it is nowhere near sufficient. New EDRs are really hard to bypass, and get harder by the day, but they are far from perfect. This is why it is important to have other defenses in place. But configuring these defenses so they detect enough, but not too much, potentially malicious activity is hard. For example, if you want to <a href="https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/windows-defender-application-control">restrict what executables can run on your computers</a>, you need to know what are the complete list of executables and understand that there will be a lot of demands to ask for new software to be added to the exception list. And what do you do with developers?<br>This category is difficult but really important and the strategy should be revised at least&nbsp;yearly.</p></li><li><p><a href="https://www.cisecurity.org/controls/data-recovery/">Data Recovery</a><br>&#8211; When an incident occurs, be it a ransomware, a deleted database table in production because of a bad manipulation or any other cause, it is important to be able to recover the lost data in a timely manner. There are multiple strategies for this, and it is not rare to see multiple strategies being used at the same time for deadly crucial data. A <a href="https://www.backblaze.com/blog/the-3-2-1-backup-strategy/">&#8220;3&#8211;2&#8211;1 backup&#8221; strategy</a>* of important folders is an example. Or an <a href="https://www.purestorage.com/au/knowledge/what-is-active-active.html">&#8220;Active/Active&#8221; architecture</a>, combined with a constant (ex: every hour) duplication of the data to a cloud storage solution is another example where multiple strategies are combined.<br><em>* I found this <a href="https://www.unitrends.com/blog/3-2-1-backup-sucks#:~:text=The%203%2D2%2D1%20backup,and%20time%2Dhonored%20backup%20strategy.&amp;text=The%203%2D2%2D1%20backup%20strategy%20simply%20states%20that%20you,off%2Dsite%20for%20disaster%20recovery.">nice article talking about different backup strategies</a>. If backup strategies is something useful for you, I think you&#8217;ll find it interesting.</em></p></li><li><p><a href="https://www.cisecurity.org/controls/network-infrastructure-management/">Network Infrastructure Management</a><br>&#8211; It&#8217;s important to keep a list of all the enterprise assets. But it&#8217;s equally important to make sure the network they are connected to is secure. This is done, partly, by continuously tracking (and/or scanning) the devices in the network and then making sure they are correctly configured. It happens really often to induce a vulnerability in the network by installing a new device without changing the default vulnerable configurations. These devices can be switches, firewalls, wireless access points,&nbsp;etc.</p></li><li><p><a href="https://www.cisecurity.org/controls/network-monitoring-and-defense/">Network Monitoring and Defense</a><br>&#8211; While it&#8217;s important to continuously maintain the network devices, nothing is perfect. This is why it&#8217;s important to &#8220;Operate processes and tooling to establish and maintain comprehensive network monitoring and defense against security threats across the enterprise&#8217;s network infrastructure and user base&#8221;. To get more information on this, see my series on SIEMs: <a href="https://www.tristandostaler.com/category/information-technology/infosec/siem/">https://www.tristandostaler.com/category/information-technology/infosec/siem/</a></p></li></ul><h4>Organizational Controls</h4><p>Here is a brief explanation of each organizational controls:</p><ul><li><p><a href="https://www.cisecurity.org/controls/security-awareness-and-skills-training/">Security Awareness and Skills Training</a><br>&#8211; Once you cover the basics, the most probable way in the network is through human. Bad actors will use <a href="https://csrc.nist.gov/glossary/term/tactics_techniques_and_procedures">techniques</a> like <a href="https://attack.mitre.org/techniques/T1566/">Phishing</a> to get a foothold for further attacks. This is why it&#8217;s important to have a security awareness program. With this, you can raise the level of your employees awareness so they better recognize these type of attacks. This can reduce the risk to the enterprise. Once you have an awareness program, it&#8217;s important and useful to keep statistics on the results so the recidivists can be better&nbsp;trained.</p></li><li><p><a href="https://www.cisecurity.org/controls/service-provider-management/">Service Provider Management</a><br>&#8211; You probably of the famous <a href="https://en.wikipedia.org/wiki/Supply_chain_attack">Supply Chain Attack</a>, an old concept that got popularized in 2020 because of the <a href="https://www.cisecurity.org/solarwinds/">SolarWinds attack</a>. To reduce the risk of getting caught off-guard by these types of attacks, it&#8217;s important to evaluate service providers and ensure these providers have proper processes to protect our&nbsp;data.</p></li><li><p><a href="https://www.cisecurity.org/controls/application-software-security/">Application Software Security</a><br>&#8211; If your enterprise develops software of some kind, it&#8217;s important to have a process to prevent, detect and remediate issues in these software. Many tools and techniques can be used for this, from code review with a security point of view to having a <a href="https://www.softwaresecured.com/what-do-sast-dast-iast-and-rasp-mean-to-developers/">SAST, DAST, IAST or RASP</a>. If you don&#8217;t have security specialist that can do code review, multiple security firms can help you with&nbsp;this.</p></li><li><p><a href="https://www.cisecurity.org/controls/incident-response-management/">Incident Response Management</a><br>&#8211; Even if you do everything described in this post, hackers can still get through. This is why it is important to plan before it happens and have a well defined Incident Response&nbsp;process:</p></li></ul><ol><li><p>What would you do if an incident happened?</p></li><li><p>Who would you call for&nbsp;help?</p></li><li><p>Who would be implicated and/or informed?</p></li><li><p>Who is responsible to handle the technical aspects of the incident response?</p></li><li><p>What and where are the response playbooks?</p></li><li><p>Etc.</p></li></ol><ul><li><p><a href="https://www.cisecurity.org/controls/penetration-testing/">Penetration Testing</a><br>&#8211; It is always recommended to periodically do a Penetration Test (en fran&#231;ais on dit &#8220;Test d&#8217;intrusion&#8221; &#128521; ). I have some clients that do them yearly and other monthly or even weekly (targeting different things (internal, websites, external, etc.)). It is important to regularly do this because security is hard and it&#8217;s really easy to miss something, even when we do everything right.</p></li></ul><h3>My opinion on these&nbsp;controls</h3><p>Although the order I explain these controls make sense somewhat, these controls shouldn&#8217;t be addressed purely in order, but rather in parallel by carefully analyzing our current stance and addressing the point with the bigger gaps&nbsp;first.</p><p>As I explained, there are other, more complete framework to work with. But I personally think the CIS controls are an excellent starting point as well as a cheat sheet to keep handy. In this post I mentioned the controls at a high level, but you&#8217;ll find that the complete version has a lot more&nbsp;details.</p><p>I often work on Incident Responses for clients where they ask me for some resources to help them make sure they can work to secure their environment. I always recommend the CIS Controls because they are useful for technical people and understandable by the management.</p><p>The Excel version is especially useful to organize and prioritize the controls as we work on them. Here&#8217;s a picture of how it&nbsp;looks:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!62BL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!62BL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png 424w, https://substackcdn.com/image/fetch/$s_!62BL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png 848w, https://substackcdn.com/image/fetch/$s_!62BL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png 1272w, https://substackcdn.com/image/fetch/$s_!62BL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!62BL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png" width="612" height="284" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:284,&quot;width&quot;:612,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!62BL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png 424w, https://substackcdn.com/image/fetch/$s_!62BL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png 848w, https://substackcdn.com/image/fetch/$s_!62BL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png 1272w, https://substackcdn.com/image/fetch/$s_!62BL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F551bc74d-4db8-474d-8733-0ef8af2a323f_612x284.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Feel free to leave your comment down here for any questions or comments.</p><h3>&#129505;Donation</h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://buymeacoffee.com/tristandostaler&quot;,&quot;text&quot;:&quot;Donate &#129505;&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://buymeacoffee.com/tristandostaler"><span>Donate &#129505;</span></a></p>]]></content:encoded></item><item><title><![CDATA[Your server is secure? Really?]]></title><description><![CDATA[What to do after you&#8217;ve secured your servers and computers]]></description><link>https://www.tristandostaler.com/p/your-server-is-secure-really</link><guid isPermaLink="false">https://www.tristandostaler.com/p/your-server-is-secure-really</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Fri, 15 Nov 2024 17:10:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!iZsy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1>What to do after you&#8217;ve secured your servers and computers</h1><p>You&#8217;ve hardened all you could on your servers or computers, you have a strong password with&nbsp;<a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA</a>, you update regularly or automatically everything and are wondering what can be done next?</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iZsy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iZsy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 424w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 848w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iZsy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg" width="426" height="426" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:426,&quot;width&quot;:426,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Image for post&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Image for post" title="Image for post" srcset="https://substackcdn.com/image/fetch/$s_!iZsy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 424w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 848w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Like you probably know, you can never be 100% protected and there is always a way criminals can find to access private information. For those who tells me they are 100% secure, here is an example:</p><p>You have a secure WordPress website at www.mysite.com which has nice plugins to secure it, you maintain it up to date and you have&nbsp;<a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA</a>. You then go in a public cafe to make some changes to your website. You enter your WordPress URL in your browser, get the login window, enter your password + your&nbsp;<a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA&nbsp;</a>and get access to your website. You then make some changes and everything works as normal. Then a few days later your site gets defaced, or worse. What happened?</p><p>What you missed here is that an attacker in the same cafe as you was able to change the IP returned when you did a&nbsp;<a href="https://en.wikipedia.org/wiki/Domain_Name_System">DNS</a>&nbsp;query for your domain (either through&nbsp;<a href="https://en.wikipedia.org/wiki/Man-in-the-middle_attack">MITM&nbsp;</a>or by changing the&nbsp;<a href="https://en.wikipedia.org/wiki/Domain_Name_System">DNS&nbsp;</a>Server in the router config). He then redirected you to a new domain: www.rnysite.com. This new domain is owned by the attacker and directs you to a sever that runs&nbsp;<a href="https://github.com/drk1wi/Modlishka">Modlishka</a>. This attacking tool essentially&nbsp;<a href="https://en.wikipedia.org/wiki/Proxy_server">proxies&nbsp;</a>all your traffic to your real website www.mysite.com, even validating your password +&nbsp;<a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA&nbsp;</a>and making the changes you ask for, but he also makes a copy of all the traffic, taking your&nbsp;<a href="https://en.wikipedia.org/wiki/HTTP_cookie">cookies</a>&nbsp;and password. Although he doesn&#8217;t have your&nbsp;<a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA</a>, he now has your&nbsp;<a href="https://en.wikipedia.org/wiki/HTTP_cookie">cookies</a>. Oh and if that&#8217;s not enough,<a href="https://www.unix-ninja.com/p/attacking_google_authenticator">&nbsp;it&#8217;s possible now to brute-force the TOTP seed with Hashcat with only 2 TOTP token</a>. (<a href="https://en.wikipedia.org/wiki/Brute-force_attack">Here is a definition of Brute-force attack</a>)</p><p>So now what?</p><p>Well, here comes logging, aggregating, correlating and alerting &#8212; also known as a&nbsp;<a href="https://en.wikipedia.org/wiki/Security_information_and_event_management">Security Information and Event Management</a>, or SIEM.</p><p>But what is a SIEM? As Varonis puts it:</p><blockquote><p>Security Information and Event Management (SIEM) is a software solution that aggregates and analyzes activity from many different resources across your entire IT infrastructure.</p><p>SIEM collects security data from network devices, servers, domain controllers, and more. SIEM stores, normalizes, aggregates, and applies analytics to that data to discover trends, detect threats, and enable organizations to investigate any alerts.</p><p><em>Source:&nbsp;<a href="https://www.varonis.com/blog/what-is-siem/">https://www.varonis.com/blog/what-is-siem/</a></em></p></blockquote><p>&#8230;</p><p>Now that we established what is a SIEM and why it is needed, how to we get started with this?</p><p>Well, to get started using a SIEM, you can read my blog posts on the subject! My goal is to make it easy to understand and accessible to anyone with some IT experience.</p><p>Next post:&nbsp;<a href="https://www.tristandostaler.com/siem-101-introduction/">SIEM 101 &#8212; Introduction</a></p><p>Feel free to leave your comment down here for any questions or comments.</p><h3><strong>Donation</strong></h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 101 — Introduction]]></title><description><![CDATA[In the following days, I&#8217;ll write a few blog posts explaining how to easily learn to use a Security Information and Event Management, or SIEM.]]></description><link>https://www.tristandostaler.com/p/siem-101-introduction</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-101-introduction</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Fri, 15 Nov 2024 17:01:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Pgmv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Pgmv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Pgmv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 424w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 848w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 1272w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Pgmv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp" width="1456" height="639" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:639,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:52346,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Pgmv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 424w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 848w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 1272w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In the following days, I&#8217;ll write a few blog posts explaining how to easily learn to use a&nbsp;<a href="https://en.wikipedia.org/wiki/Security_information_and_event_management">Security Information and Event Management</a>, or SIEM.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><p>But what is a SIEM? As Varonis puts it:</p><blockquote><p><em>Security Information and Event Management (SIEM) is a software solution that aggregates and analyzes activity from many different resources across your entire IT infrastructure.</em></p><p><em>SIEM collects security data from network devices, servers, domain controllers, and more. SIEM stores, normalizes, aggregates, and applies analytics to that data to discover trends, detect threats, and enable organizations to investigate any alerts.</em></p><p>Source:&nbsp;<a href="https://www.varonis.com/blog/what-is-siem/">https://www.varonis.com/blog/what-is-siem/</a></p></blockquote><p>To do this, I wrote the post&nbsp;<a href="https://www.tristandostaler.com/siem-101-initial-setup/">SIEM 101 &#8212; Initial setup</a>&nbsp;where I explain how to create an account on&nbsp;<a href="https://logz.io/">Logz.io</a>; they offer a free account where you can send up to 1 GB / day of logs to try their platform. Time needed: around 2 minutes.</p><p>Still in the post&nbsp;<a href="https://www.tristandostaler.com/siem-101-initial-setup/">SIEM 101 &#8212; Initial setup</a>, I then explain how to send your logs there, whether you&#8217;re on Windows or on Linux. Time needed: around 5&#8211;10 minutes.</p><p>After&nbsp;that, I&#8217;ll explain the basic usage of&nbsp;<a href="https://logz.io/">Logz.io</a>, how to search logs, how to create an alarm, etc. Time needed: around 30 minutes.</p><p>When all this is done, the scene will be in place to start writing blogs on detection cases, for example: receive an alert if Windows is brute forced, receive an alert if a failed logon happened on your WordPress server, etc.</p><p>I&#8217;ll eventually talk about the scripts I developed that uses&nbsp;<a href="https://logz.io/">Logz.io</a>&nbsp;to automatically block bad IPs on my servers.</p><p>For the most advanced users, you&#8217;ll then be able to discover some useful tools the community provides, like the&nbsp;<a href="https://github.com/Neo23x0/sigma">Sigma rules</a>.</p><p>Follow me in my next post:&nbsp;<a href="https://www.tristandostaler.com/siem-101-initial-setup/">SIEM 101 &#8212; Initial setup</a></p><p>Feel free to leave your comment down here for any questions or comments.</p><h3><strong>Donation</strong></h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[Never receive an alert from Windows Defender? You should!]]></title><description><![CDATA[A few years ago, I was on the defense team when a pentest was ongoing on one of our website.]]></description><link>https://www.tristandostaler.com/p/never-receive-an-alert-from-windows</link><guid isPermaLink="false">https://www.tristandostaler.com/p/never-receive-an-alert-from-windows</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Thu, 14 Nov 2024 20:44:19 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!BNP_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BNP_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BNP_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BNP_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg" width="500" height="365" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:365,&quot;width&quot;:500,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!BNP_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Sometime the reds&nbsp;win&#8230;</figcaption></figure></div><p>A few years ago, I was on the defense team when a pentest was ongoing on one of our website. This website, coded in C#, was hosted on Windows and had Windows Defender activated.</p><p>During the pentest, the attacker had access to the CMS. He discovered that he could upload his own plugins, giving him Remote Code Execution (RCE) on the server. Happy with this discovery, he started his C&amp;C server (it was PowerShell Empire 2 at the time), crafted a payload and launched the result in a C# wrapped plugin and then&#8230; nothing.</p><p>As some of you may know, C#, PowerShell and Defender all love to work together. That&#8217;s because the&nbsp;.NET framework is now tightly integrated with Windows Defender. When sending the payload, Defender could see and block the attack.</p><p>So all the attacker had to do was to modify his payload until it passed all the checks Defender does. After a few hours, he had a complete reverse shell (although restricted to the IIS user).</p><p>From the defense point of view, the fact that Defender did his job is perfect. But the fact that we didn&#8217;t know Defender blocked a file-less attack and we only learned it when we receive the report should be considered a disaster. It means your AV is useless because an attacker has all the time he needs to craft his attack.</p><p>From this point, the next steps where clear, we needed to receive an alert when a virus was detected. And maybe on other suspicious behavior? That&#8217;s when I discovered what is a SIEM!</p><p>If you wan&#8217;t to know more about what is a SIEM and how to use it, you can read my blog posts on the subject starting with:&nbsp;<a href="https://www.tristandostaler.com/siem-101-introduction/">SIEM 101&#8202;&#8212;&#8202;Introduction</a></p><p>Feel free to leave your comment down here for any questions or comments.</p><h3><strong>Donation</strong></h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 101 — Initial setup]]></title><description><![CDATA[In this post, I&#8217;ll explain how to initially setup a SIEM so you can receive your first logs.]]></description><link>https://www.tristandostaler.com/p/siem-101-initial-setup</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-101-initial-setup</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Thu, 14 Nov 2024 15:28:03 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!9KFL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post, I&#8217;ll explain how to initially setup a SIEM so you can receive your first logs.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><div><hr></div><p>This is the second post of the series &#8220;SIEM 101&#8243; where I explain the basics of a SIEM, from installation to simple usage. You can see the previous post&nbsp;<a href="https://www.tristandostaler.com/siem-101-introduction/">SIEM 101&#8202;&#8212;&#8202;Introduction</a>.</p><div><hr></div><p>I decided to write the series using&nbsp;<a href="https://logz.io/">Logz.io</a>&nbsp;because they offer an easy to use platform with a free 1GB/day trial with a smooth learning curve. Of course they don&#8217;t offer all the features in the free version and some crucial features for a SIEM are missing, but this is perfect to get started with a SIEM! For the&nbsp;<a href="https://www.splunk.com/">Splunk</a>&nbsp;fans, I&#8217;ll probably write a blog post about why I don&#8217;t recommend it often and why I recommend an&nbsp;<a href="https://www.elastic.co/what-is/elasticsearch">Elasticsearch</a>&nbsp;based SIEM most of the time.</p><h2>First step: open an account</h2><p>The first thing to do is to open an account on&nbsp;<a href="https://app.logz.io/#/login">Logz.io</a>. They offer to open an account using your google account, or to register with an email. For this demo I&#8217;ll use the google SSO option. So head over to&nbsp;<a href="https://app.logz.io/#/login">Logz.io</a>&nbsp;and register:&nbsp;</p><p>https://app.logz.io/#/login</p><p>Next, click on &#8220;Sign in with Google&#8221;:&nbsp;</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CpEB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 424w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 848w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 1272w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!CpEB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png" width="189" height="40" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:40,&quot;width&quot;:189,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Sign in with Google&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Sign in with Google" title="Sign in with Google" srcset="https://substackcdn.com/image/fetch/$s_!CpEB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 424w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 848w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 1272w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>You&#8217;ll get redirected to the Google SSO. Select your existing account, login or create an account. I&#8217;ll let you figure this part out.</p><p>Then, once back on the Logz.io website, you get a Sign up page. Fill out the details and click &#8220;Create Account&#8221;:</p><p><em>Note: It is smart to choose a region close to where you live to get better bandwidth when sending logs.</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2-Ck!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2-Ck!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 424w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 848w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 1272w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!2-Ck!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png" width="216" height="300" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:300,&quot;width&quot;:216,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Logz.io Sign Up screen&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Logz.io Sign Up screen" title="Logz.io Sign Up screen" srcset="https://substackcdn.com/image/fetch/$s_!2-Ck!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 424w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 848w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 1272w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>That&#8217;s it, your account is ready to receive logs! When you login, you can follow their tutorial if you want to. The next step in this post is pretty much the same thing as their tutorial.</p><h2>Second step: start sending logs</h2><p>Now that we have an account, we can finally start sending logs. Make sure you are logged in your account for the next steps. I divided this section in two, one for Windows and one for Linux (I use Ubuntu).</p><p>Once logged in, click on &#8220;Send Your Data&#8221; in the top navigation:&nbsp;</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ss99!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 424w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 848w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 1272w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ss99!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png" width="149" height="58" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:58,&quot;width&quot;:149,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Logz Send Your Data Link&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Logz Send Your Data Link" title="Logz Send Your Data Link" srcset="https://substackcdn.com/image/fetch/$s_!Ss99!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 424w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 848w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 1272w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>The next steps are starting to get interesting. We&#8217;ll configure the log shipper agents on Windows and Ubuntu.</p><h3>Windows</h3><p>On the left navigation, close &#8220;Log Shippers&#8221; that should be opened, and open &#8220;Operating Systems&#8221;:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7Go3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7Go3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 424w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 848w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 1272w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!7Go3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp" width="128" height="400.64" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:626,&quot;width&quot;:200,&quot;resizeWidth&quot;:128,&quot;bytes&quot;:7640,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7Go3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 424w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 848w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 1272w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Select &#8220;Windows&#8221; under the &#8220;Operating Systems&#8221; menu. Your page will refresh to the URL&nbsp;</p><p>https://app.logz.io/#/dashboard/data-sources/Windows</p><p>They propose 2 options; we are interested in the option 1: Winlogbeat.</p><p>As they explain in the page, you first need to install Winlogbeat. So that&#8217;s what we&#8217;ll do.</p><p>Head over to&nbsp;<a href="https://www.elastic.co/downloads/beats/winlogbeat-oss">https://www.elastic.co/downloads/beats/winlogbeat-oss</a>&nbsp;and download the right MSI version for your computer (32 bits or 64 bits, if unsure use the 32 bits). For me, that&#8217;s the 64 bits MSI:</p><p><em>Note: here, my link is slightly different than the one they propose on their website. This is because I recommend using the OpenSource version (oss).</em></p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jWnV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 424w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 848w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 1272w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!jWnV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp" width="451" height="110.57206537890045" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:165,&quot;width&quot;:673,&quot;resizeWidth&quot;:451,&quot;bytes&quot;:10584,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jWnV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 424w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 848w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 1272w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>When the download is finished, click the downloaded file, a window will open.</p><p>Check the &#8220;I accept the terms in the License Agreement&#8221; checkbox and click &#8220;Install&#8221;:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9KFL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9KFL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 424w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 848w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 1272w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!9KFL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp" width="358" height="281.5975609756098" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:387,&quot;width&quot;:492,&quot;resizeWidth&quot;:358,&quot;bytes&quot;:11182,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!9KFL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 424w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 848w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 1272w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>When prompted, accept to run as Administrator (<a href="https://www.tristandostaler.com/siem-101-initial-setup/Windows%20User%20Account%20Controls">UAC</a>). When the installation is done, click Finish (we leave the checkbox &#8220;Open winlogbeat data directory in Windows Explorer&#8221; checked.</p><p>In the Windows Exporer window that opened at the location &#8220;C:\ProgramData\Elastic\Beats\winlogbeat&#8221;, rename the file &#8220;winlogbeat.example.yml&#8221; to &#8220;winlogbeat.yml&#8221;.</p><p>Open your favorite text editor (it can be Notepad, I use VSCode) as Administrator (right click, Run As Administrator) and then open the file&nbsp;&#8220;winlogbeat.yml&#8221;.</p><p>Replace all the content of the file with the content from this&nbsp;<a href="https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/creating-gists#about-gists">gist</a>:</p><div class="github-gist" data-attrs="{&quot;innerHTML&quot;:&quot;<div id=\&quot;gist106591899\&quot; class=\&quot;gist\&quot;>\n    <div class=\&quot;gist-file\&quot; translate=\&quot;no\&quot; data-color-mode=\&quot;light\&quot; data-light-theme=\&quot;light\&quot;>\n      <div class=\&quot;gist-data\&quot;>\n        <div class=\&quot;js-gist-file-update-container js-task-list-container\&quot;>\n  <div id=\&quot;file-winlogbeat-yml\&quot; class=\&quot;file my-2\&quot;>\n    \n    <div itemprop=\&quot;text\&quot; class=\&quot;Box-body p-0 blob-wrapper data type-yaml  \&quot;>\n\n        \n<div class=\&quot;js-check-bidi js-blob-code-container blob-code-content\&quot;>\n\n  <template class=\&quot;js-file-alert-template\&quot;>\n  <div data-view-component=\&quot;true\&quot; class=\&quot;flash flash-warn flash-full d-flex flex-items-center\&quot;>\n  <svg aria-hidden=\&quot;true\&quot; height=\&quot;16\&quot; viewBox=\&quot;0 0 16 16\&quot; version=\&quot;1.1\&quot; width=\&quot;16\&quot; data-view-component=\&quot;true\&quot; class=\&quot;octicon octicon-alert\&quot;>\n    <path d=\&quot;M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\&quot;></path>\n</svg>\n    <span>\n      This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.\n      <a class=\&quot;Link--inTextBlock\&quot; href=\&quot;https://github.co/hiddenchars\&quot; target=\&quot;_blank\&quot;>Learn more about bidirectional Unicode characters</a>\n    </span>\n\n\n  <div data-view-component=\&quot;true\&quot; class=\&quot;flash-action\&quot;>        <a href=\&quot;{{ revealButtonHref }}\&quot; data-view-component=\&quot;true\&quot; class=\&quot;btn-sm btn\&quot;>    Show hidden characters\n</a>\n</div>\n</div></template>\n<template class=\&quot;js-line-alert-template\&quot;>\n  <span aria-label=\&quot;This line has hidden Unicode characters\&quot; data-view-component=\&quot;true\&quot; class=\&quot;line-alert tooltipped tooltipped-e\&quot;>\n    <svg aria-hidden=\&quot;true\&quot; height=\&quot;16\&quot; viewBox=\&quot;0 0 16 16\&quot; version=\&quot;1.1\&quot; width=\&quot;16\&quot; data-view-component=\&quot;true\&quot; class=\&quot;octicon octicon-alert\&quot;>\n    <path d=\&quot;M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\&quot;></path>\n</svg>\n</span></template>\n\n  <table data-hpc class=\&quot;highlight tab-size js-file-line-container js-code-nav-container js-tagsearch-file\&quot; data-tab-size=\&quot;8\&quot; data-paste-markdown-skip data-tagsearch-lang=\&quot;YAML\&quot; data-tagsearch-path=\&quot;winlogbeat.yml\&quot;>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L1\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;1\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC1\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>##################### Winlogbeat Configuration Example ########################</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L2\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;2\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC2\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L3\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;3\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC3\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> This file is an example configuration file highlighting only the most common</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L4\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;4\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC4\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> options. The winlogbeat.reference.yml file from the same directory contains</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L5\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;5\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC5\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> all the supported options with more comments. You can use it as a reference.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L6\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;6\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC6\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L7\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;7\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC7\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> You can find the full configuration reference here:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L8\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;8\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC8\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> https://www.elastic.co/guide/en/beats/winlogbeat/index.html</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L9\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;9\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC9\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L10\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;10\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC10\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>======================= Winlogbeat specific options ===========================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L11\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;11\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC11\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L12\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;12\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC12\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> event_logs specifies a list of event logs to monitor as well as any</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L13\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;13\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC13\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> accompanying options. The YAML data type of event_logs is a list of</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L14\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;14\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC14\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> dictionaries.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L15\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;15\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC15\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L16\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;16\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC16\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The supported keys are name (required), tags, fields, fields_under_root,</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L17\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;17\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC17\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> forwarded, ignore_older, level, event_id, provider, and include_xml. Please</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L18\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;18\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC18\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> visit the documentation for the complete details of each option.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L19\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;19\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC19\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> https://go.es.io/WinlogbeatConfig</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L20\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;20\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC20\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>winlogbeat.event_logs</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L21\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;21\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC21\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Application</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L22\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;22\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC22\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L23\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;23\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC23\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Security</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L24\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;24\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC24\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L25\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;25\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC25\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>System</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L26\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;26\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC26\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L27\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;27\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC27\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-Sysmon/Operational</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L28\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;28\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC28\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L29\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;29\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC29\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-Windows Defender/Operational</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L30\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;30\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC30\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L31\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;31\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC31\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L32\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;32\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC32\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L33\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;33\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC33\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L34\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;34\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC34\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L35\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;35\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC35\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L36\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;36\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC36\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L37\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;37\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC37\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L38\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;38\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC38\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L39\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;39\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC39\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-RemoteApp and Desktop Connections/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L40\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;40\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC40\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L41\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;41\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC41\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-ClientUSBDevices/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L42\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;42\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC42\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L43\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;43\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC43\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-LocalSessionManager/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L44\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;44\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC44\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L45\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;45\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC45\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-LocalSessionManager/Operational</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L46\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;46\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC46\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L47\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;47\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC47\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-PnPDevices/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L48\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;48\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC48\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L49\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;49\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC49\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-Printers/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L50\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;50\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC50\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L51\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;51\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC51\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-ServerUSBDevices/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L52\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;52\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC52\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L53\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;53\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC53\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-SessionBroker-Client/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L54\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;54\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC54\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L55\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;55\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC55\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-VerifyHardwareSecurity/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L56\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;56\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC56\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L57\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;57\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC57\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L58\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;58\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC58\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>fields</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L59\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;59\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC59\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>logzio_codec</span>: <span class=\&quot;pl-s\&quot;>json</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L60\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;60\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC60\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>token</span>: <span class=\&quot;pl-s\&quot;>YOURTOKEN_PLACEHOLDER</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L61\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;61\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC61\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>type</span>: <span class=\&quot;pl-s\&quot;>wineventlog</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L62\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;62\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC62\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>fields_under_root</span>: <span class=\&quot;pl-c1\&quot;>true</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L63\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;63\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC63\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L64\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;64\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC64\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>==================== Elasticsearch template settings ==========================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L65\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;65\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC65\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L66\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;66\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC66\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>setup.template.settings</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L67\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;67\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC67\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>index.number_of_shards</span>: <span class=\&quot;pl-c1\&quot;>1</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L68\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;68\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC68\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>index.codec: best_compression</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L69\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;69\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC69\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>_source.enabled: false</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L70\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;70\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC70\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L71\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;71\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC71\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L72\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;72\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC72\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>================================ General =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L73\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;73\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC73\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L74\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;74\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC74\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The name of the shipper that publishes the network data. It can be used to group</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L75\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;75\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC75\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> all the transactions sent by a single shipper in the web interface.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L76\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;76\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC76\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>name:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L77\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;77\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC77\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L78\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;78\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC78\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The tags of the shipper are included in their own field with each</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L79\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;79\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC79\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> transaction published.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L80\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;80\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC80\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>tags: [&amp;quot;service-X&amp;quot;, &amp;quot;web-tier&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L81\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;81\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC81\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L82\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;82\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC82\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Optional fields that you can specify to add additional information to the</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L83\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;83\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC83\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> output.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L84\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;84\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC84\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>fields:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L85\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;85\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC85\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>  env: staging</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L86\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;86\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC86\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L87\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;87\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC87\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L88\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;88\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC88\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>============================== Dashboards =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L89\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;89\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC89\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> These settings control loading the sample dashboards to the Kibana index. Loading</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L90\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;90\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC90\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> the dashboards is disabled by default and can be enabled either by setting the</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L91\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;91\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC91\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> options here or by using the `setup` command.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L92\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;92\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC92\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>setup.dashboards.enabled: false</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L93\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;93\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC93\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L94\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;94\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC94\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The URL from where to download the dashboards archive. By default this URL</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L95\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;95\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC95\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> has a value which is computed based on the Beat name and version. For released</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L96\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;96\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC96\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> versions, this URL points to the dashboard archive on the artifacts.elastic.co</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L97\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;97\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC97\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> website.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L98\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;98\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC98\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>setup.dashboards.url:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L99\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;99\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC99\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L100\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;100\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC100\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>============================== Kibana =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L101\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;101\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC101\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L102\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;102\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC102\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L103\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;103\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC103\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> This requires a Kibana endpoint configuration.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L104\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;104\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC104\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>setup.kibana</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L105\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;105\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC105\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L106\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;106\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC106\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Kibana Host</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L107\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;107\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC107\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Scheme and port can be left out and will be set to the default (http and 5601)</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L108\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;108\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC108\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> In case you specify and additional path, the scheme is required: http://localhost:5601/path</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L109\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;109\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC109\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> IPv6 addresses should always be defined as: https://[2001:db8::1]:5601</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L110\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;110\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC110\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>host: &amp;quot;localhost:5601&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L111\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;111\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC111\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L112\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;112\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC112\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Kibana Space ID</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L113\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;113\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC113\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> ID of the Kibana Space into which the dashboards should be loaded. By default,</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L114\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;114\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC114\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> the Default Space will be used.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L115\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;115\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC115\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>space.id:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L116\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;116\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC116\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L117\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;117\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC117\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>============================= Elastic Cloud ==================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L118\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;118\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC118\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L119\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;119\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC119\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> These settings simplify using Winlogbeat with the Elastic Cloud (https://cloud.elastic.co/).</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L120\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;120\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC120\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L121\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;121\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC121\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The cloud.id setting overwrites the `output.elasticsearch.hosts` and</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L122\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;122\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC122\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> `setup.kibana.host` options.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L123\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;123\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC123\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> You can find the `cloud.id` in the Elastic Cloud web UI.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L124\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;124\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC124\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>cloud.id:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L125\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;125\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC125\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L126\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;126\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC126\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The cloud.auth setting overwrites the `output.elasticsearch.username` and</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L127\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;127\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC127\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> `output.elasticsearch.password` settings. The format is `&amp;lt;user&amp;gt;:&amp;lt;pass&amp;gt;`.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L128\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;128\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC128\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>cloud.auth:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L129\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;129\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC129\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L130\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;130\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC130\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>================================ Outputs =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L131\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;131\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC131\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L132\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;132\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC132\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Configure what output to use when sending the data collected by the beat.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L133\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;133\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC133\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L134\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;134\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC134\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>-------------------------- Elasticsearch output ------------------------------</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L135\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;135\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC135\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>output.elasticsearch:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L136\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;136\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC136\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Array of hosts to connect to.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L137\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;137\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC137\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>  hosts: [&amp;quot;&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L138\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;138\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC138\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>  password: &amp;quot;&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L139\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;139\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC139\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L140\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;140\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC140\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Protocol - either `http` (default) or `https`.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L141\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;141\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC141\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>protocol: &amp;quot;https&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L142\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;142\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC142\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L143\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;143\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC143\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Authentication credentials - either API key or username/password.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L144\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;144\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC144\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>api_key: &amp;quot;id:api_key&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L145\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;145\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC145\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>username: &amp;quot;elastic&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L146\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;146\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC146\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>password: &amp;quot;changeme&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L147\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;147\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC147\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L148\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;148\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC148\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>----------------------------- Logstash output --------------------------------</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L149\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;149\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC149\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>output.logstash:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L150\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;150\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC150\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The Logstash hosts</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L151\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;151\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC151\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>hosts: [&amp;quot;localhost:5044&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L152\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;152\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC152\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L153\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;153\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC153\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>output.logstash</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L154\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;154\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC154\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>hosts</span>: <span class=\&quot;pl-s\&quot;>[&amp;quot;listener.logz.io:5015&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L155\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;155\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC155\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>ssl</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L156\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;156\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC156\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>certificate_authorities</span>: <span class=\&quot;pl-s\&quot;>[&amp;#39;C:\\ProgramData\\Winlogbeat\\COMODORSADomainValidationSecureServerCA.crt&amp;#39;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L157\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;157\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC157\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L158\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;158\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC158\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Optional SSL. By default is off.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L159\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;159\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC159\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> List of root certificates for HTTPS server verifications</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L160\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;160\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC160\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>ssl.certificate_authorities: [&amp;quot;/etc/pki/root/ca.pem&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L161\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;161\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC161\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L162\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;162\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC162\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Certificate for SSL client authentication</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L163\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;163\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC163\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>ssl.certificate: &amp;quot;/etc/pki/client/cert.pem&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L164\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;164\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC164\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L165\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;165\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC165\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Client Certificate Key</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L166\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;166\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC166\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>ssl.key: &amp;quot;/etc/pki/client/cert.key&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L167\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;167\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC167\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L168\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;168\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC168\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>================================ Processors =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L169\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;169\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC169\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L170\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;170\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC170\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Configure processors to enhance or manipulate events generated by the beat.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L171\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;171\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC171\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L172\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;172\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC172\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> ... For Winlogbeat 7 only ...</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L173\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;173\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC173\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>processors</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L174\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;174\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC174\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>rename</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L175\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;175\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC175\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>fields</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L176\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;176\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC176\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      - <span class=\&quot;pl-ent\&quot;>from</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>agent<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L177\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;177\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC177\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>        <span class=\&quot;pl-ent\&quot;>to</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>beat_agent<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L178\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;178\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC178\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>ignore_missing</span>: <span class=\&quot;pl-c1\&quot;>true</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L179\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;179\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC179\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>rename</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L180\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;180\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC180\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>fields</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L181\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;181\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC181\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      - <span class=\&quot;pl-ent\&quot;>from</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>log.file.path<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L182\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;182\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC182\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>        <span class=\&quot;pl-ent\&quot;>to</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>source<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L183\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;183\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC183\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>ignore_missing</span>: <span class=\&quot;pl-c1\&quot;>true</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L184\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;184\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC184\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>rename</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L185\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;185\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC185\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>fields</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L186\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;186\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC186\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      - <span class=\&quot;pl-ent\&quot;>from</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>log<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L187\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;187\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC187\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>        <span class=\&quot;pl-ent\&quot;>to</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>log_information<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L188\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;188\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC188\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>ignore_missing</span>: <span class=\&quot;pl-c1\&quot;>true</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L189\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;189\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC189\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>================================ Logging =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L190\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;190\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC190\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L191\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;191\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC191\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Sets log level. The default log level is info.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L192\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;192\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC192\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Available log levels are: error, warning, info, debug</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L193\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;193\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC193\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>logging.level: debug</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L194\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;194\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC194\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L195\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;195\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC195\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> At debug level, you can selectively enable logging only for some components.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L196\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;196\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC196\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> To enable all selectors use [&amp;quot;*&amp;quot;]. Examples of other selectors are &amp;quot;beat&amp;quot;,</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L197\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;197\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC197\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> &amp;quot;publish&amp;quot;, &amp;quot;service&amp;quot;.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L198\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;198\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC198\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>logging.selectors: [&amp;quot;*&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L199\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;199\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC199\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L200\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;200\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC200\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>============================== X-Pack Monitoring ===============================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L201\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;201\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC201\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> winlogbeat can export internal metrics to a central Elasticsearch monitoring</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L202\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;202\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC202\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> cluster.  This requires xpack monitoring to be enabled in Elasticsearch.  The</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L203\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;203\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC203\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> reporting is disabled by default.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L204\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;204\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC204\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L205\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;205\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC205\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Set to true to enable the monitoring reporter.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L206\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;206\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC206\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>monitoring.enabled: false</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L207\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;207\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC207\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L208\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;208\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC208\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Sets the UUID of the Elasticsearch cluster under which monitoring data for this</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L209\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;209\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC209\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Winlogbeat instance will appear in the Stack Monitoring UI. If output.elasticsearch</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L210\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;210\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC210\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> is enabled, the UUID is derived from the Elasticsearch cluster referenced by output.elasticsearch.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L211\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;211\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC211\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>monitoring.cluster_uuid:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L212\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;212\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC212\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L213\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;213\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC213\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Uncomment to send the metrics to Elasticsearch. Most settings from the</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L214\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;214\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC214\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Elasticsearch output are accepted here as well.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L215\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;215\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC215\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Note that the settings should point to your Elasticsearch *monitoring* cluster.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L216\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;216\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC216\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Any setting that is not set is automatically inherited from the Elasticsearch</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L217\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;217\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC217\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> output configuration, so if you have the Elasticsearch output configured such</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L218\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;218\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC218\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> that it is pointing to your Elasticsearch monitoring cluster, you can simply</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L219\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;219\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC219\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> uncomment the following line.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L220\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;220\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC220\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>monitoring.elasticsearch:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L221\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;221\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC221\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L222\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;222\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC222\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>================================= Migration ==================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L223\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;223\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC223\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L224\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;224\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC224\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> This allows to enable 6.7 migration aliases</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L225\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;225\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC225\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>migration.6_to_7.enabled: true</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L226\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;226\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC226\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n  </table>\n</div>\n\n\n    </div>\n\n  </div>\n</div>\n\n      </div>\n      <div class=\&quot;gist-meta\&quot;>\n        <a href=\&quot;https://gist.github.com/tristandostaler/dcd092192409c7a29cb6489eddbca4b7/raw/5db7beebb8e808e4c1b9cdd2131c4717cbd95856/winlogbeat.yml\&quot; style=\&quot;float:right\&quot; class=\&quot;Link--inTextBlock\&quot;>view raw</a>\n        <a href=\&quot;https://gist.github.com/tristandostaler/dcd092192409c7a29cb6489eddbca4b7#file-winlogbeat-yml\&quot; class=\&quot;Link--inTextBlock\&quot;>\n          winlogbeat.yml\n        </a>\n        hosted with &amp;#10084; by <a class=\&quot;Link--inTextBlock\&quot; href=\&quot;https://github.com\&quot;>GitHub</a>\n      </div>\n    </div>\n</div>\n&quot;,&quot;stylesheet&quot;:&quot;https://github.githubassets.com/assets/gist-embed-2f1fe3feee2d.css&quot;}" data-component-name="GitgistToDOM"><link rel="stylesheet" href="https://github.githubassets.com/assets/gist-embed-2f1fe3feee2d.css"><div id="gist106591899" class="gist">
    <div class="gist-file" data-color-mode="light" data-light-theme="light">
      <div class="gist-data">
        <div class="js-gist-file-update-container js-task-list-container">
  <div id="file-winlogbeat-yml" class="file my-2">
    
    <div itemprop="text" class="Box-body p-0 blob-wrapper data type-yaml  ">

        
<div class="js-check-bidi js-blob-code-container blob-code-content">

  
  <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center">
  
    

    <span>
      This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a>
    </span>


  <div data-view-component="true" class="flash-action">        <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn">    Show hidden characters
</a>
</div>
</div>

  <span data-view-component="true" class="line-alert tooltipped tooltipped-e">
    
    

</span>

  <table data-hpc="" class="highlight tab-size js-file-line-container js-code-nav-container js-tagsearch-file" data-tab-size="8" data-paste-markdown-skip="" data-tagsearch-lang="YAML" data-tagsearch-path="winlogbeat.yml">
        <tbody><tr>
          <td id="file-winlogbeat-yml-L1" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="1"></td>
          <td id="file-winlogbeat-yml-LC1" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>##################### Winlogbeat Configuration Example ########################</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L2" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="2"></td>
          <td id="file-winlogbeat-yml-LC2" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L3" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="3"></td>
          <td id="file-winlogbeat-yml-LC3" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> This file is an example configuration file highlighting only the most common</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L4" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="4"></td>
          <td id="file-winlogbeat-yml-LC4" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> options. The winlogbeat.reference.yml file from the same directory contains</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L5" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="5"></td>
          <td id="file-winlogbeat-yml-LC5" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> all the supported options with more comments. You can use it as a reference.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L6" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="6"></td>
          <td id="file-winlogbeat-yml-LC6" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L7" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="7"></td>
          <td id="file-winlogbeat-yml-LC7" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> You can find the full configuration reference here:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L8" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="8"></td>
          <td id="file-winlogbeat-yml-LC8" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> https://www.elastic.co/guide/en/beats/winlogbeat/index.html</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L9" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="9"></td>
          <td id="file-winlogbeat-yml-LC9" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L10" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="10"></td>
          <td id="file-winlogbeat-yml-LC10" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>======================= Winlogbeat specific options ===========================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L11" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="11"></td>
          <td id="file-winlogbeat-yml-LC11" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L12" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="12"></td>
          <td id="file-winlogbeat-yml-LC12" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> event_logs specifies a list of event logs to monitor as well as any</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L13" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="13"></td>
          <td id="file-winlogbeat-yml-LC13" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> accompanying options. The YAML data type of event_logs is a list of</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L14" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="14"></td>
          <td id="file-winlogbeat-yml-LC14" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> dictionaries.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L15" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="15"></td>
          <td id="file-winlogbeat-yml-LC15" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L16" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="16"></td>
          <td id="file-winlogbeat-yml-LC16" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The supported keys are name (required), tags, fields, fields_under_root,</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L17" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="17"></td>
          <td id="file-winlogbeat-yml-LC17" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> forwarded, ignore_older, level, event_id, provider, and include_xml. Please</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L18" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="18"></td>
          <td id="file-winlogbeat-yml-LC18" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> visit the documentation for the complete details of each option.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L19" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="19"></td>
          <td id="file-winlogbeat-yml-LC19" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> https://go.es.io/WinlogbeatConfig</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L20" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="20"></td>
          <td id="file-winlogbeat-yml-LC20" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">winlogbeat.event_logs</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L21" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="21"></td>
          <td id="file-winlogbeat-yml-LC21" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Application</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L22" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="22"></td>
          <td id="file-winlogbeat-yml-LC22" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L23" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="23"></td>
          <td id="file-winlogbeat-yml-LC23" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Security</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L24" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="24"></td>
          <td id="file-winlogbeat-yml-LC24" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L25" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="25"></td>
          <td id="file-winlogbeat-yml-LC25" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">System</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L26" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="26"></td>
          <td id="file-winlogbeat-yml-LC26" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L27" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="27"></td>
          <td id="file-winlogbeat-yml-LC27" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-Sysmon/Operational</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L28" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="28"></td>
          <td id="file-winlogbeat-yml-LC28" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L29" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="29"></td>
          <td id="file-winlogbeat-yml-LC29" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-Windows Defender/Operational</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L30" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="30"></td>
          <td id="file-winlogbeat-yml-LC30" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L31" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="31"></td>
          <td id="file-winlogbeat-yml-LC31" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L32" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="32"></td>
          <td id="file-winlogbeat-yml-LC32" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L33" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="33"></td>
          <td id="file-winlogbeat-yml-LC33" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L34" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="34"></td>
          <td id="file-winlogbeat-yml-LC34" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L35" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="35"></td>
          <td id="file-winlogbeat-yml-LC35" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L36" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="36"></td>
          <td id="file-winlogbeat-yml-LC36" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L37" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="37"></td>
          <td id="file-winlogbeat-yml-LC37" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L38" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="38"></td>
          <td id="file-winlogbeat-yml-LC38" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L39" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="39"></td>
          <td id="file-winlogbeat-yml-LC39" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-RemoteApp and Desktop Connections/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L40" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="40"></td>
          <td id="file-winlogbeat-yml-LC40" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L41" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="41"></td>
          <td id="file-winlogbeat-yml-LC41" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-ClientUSBDevices/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L42" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="42"></td>
          <td id="file-winlogbeat-yml-LC42" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L43" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="43"></td>
          <td id="file-winlogbeat-yml-LC43" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-LocalSessionManager/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L44" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="44"></td>
          <td id="file-winlogbeat-yml-LC44" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L45" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="45"></td>
          <td id="file-winlogbeat-yml-LC45" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-LocalSessionManager/Operational</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L46" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="46"></td>
          <td id="file-winlogbeat-yml-LC46" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L47" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="47"></td>
          <td id="file-winlogbeat-yml-LC47" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-PnPDevices/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L48" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="48"></td>
          <td id="file-winlogbeat-yml-LC48" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L49" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="49"></td>
          <td id="file-winlogbeat-yml-LC49" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-Printers/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L50" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="50"></td>
          <td id="file-winlogbeat-yml-LC50" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L51" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="51"></td>
          <td id="file-winlogbeat-yml-LC51" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-ServerUSBDevices/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L52" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="52"></td>
          <td id="file-winlogbeat-yml-LC52" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L53" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="53"></td>
          <td id="file-winlogbeat-yml-LC53" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-SessionBroker-Client/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L54" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="54"></td>
          <td id="file-winlogbeat-yml-LC54" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L55" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="55"></td>
          <td id="file-winlogbeat-yml-LC55" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-VerifyHardwareSecurity/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L56" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="56"></td>
          <td id="file-winlogbeat-yml-LC56" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L57" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="57"></td>
          <td id="file-winlogbeat-yml-LC57" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L58" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="58"></td>
          <td id="file-winlogbeat-yml-LC58" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">fields</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L59" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="59"></td>
          <td id="file-winlogbeat-yml-LC59" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">logzio_codec</span>: <span class="pl-s">json</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L60" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="60"></td>
          <td id="file-winlogbeat-yml-LC60" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">token</span>: <span class="pl-s">YOURTOKEN_PLACEHOLDER</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L61" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="61"></td>
          <td id="file-winlogbeat-yml-LC61" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">type</span>: <span class="pl-s">wineventlog</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L62" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="62"></td>
          <td id="file-winlogbeat-yml-LC62" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">fields_under_root</span>: <span class="pl-c1">true</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L63" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="63"></td>
          <td id="file-winlogbeat-yml-LC63" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L64" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="64"></td>
          <td id="file-winlogbeat-yml-LC64" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>==================== Elasticsearch template settings ==========================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L65" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="65"></td>
          <td id="file-winlogbeat-yml-LC65" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L66" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="66"></td>
          <td id="file-winlogbeat-yml-LC66" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">setup.template.settings</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L67" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="67"></td>
          <td id="file-winlogbeat-yml-LC67" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">index.number_of_shards</span>: <span class="pl-c1">1</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L68" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="68"></td>
          <td id="file-winlogbeat-yml-LC68" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>index.codec: best_compression</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L69" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="69"></td>
          <td id="file-winlogbeat-yml-LC69" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>_source.enabled: false</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L70" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="70"></td>
          <td id="file-winlogbeat-yml-LC70" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L71" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="71"></td>
          <td id="file-winlogbeat-yml-LC71" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L72" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="72"></td>
          <td id="file-winlogbeat-yml-LC72" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>================================ General =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L73" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="73"></td>
          <td id="file-winlogbeat-yml-LC73" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L74" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="74"></td>
          <td id="file-winlogbeat-yml-LC74" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The name of the shipper that publishes the network data. It can be used to group</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L75" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="75"></td>
          <td id="file-winlogbeat-yml-LC75" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> all the transactions sent by a single shipper in the web interface.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L76" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="76"></td>
          <td id="file-winlogbeat-yml-LC76" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>name:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L77" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="77"></td>
          <td id="file-winlogbeat-yml-LC77" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L78" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="78"></td>
          <td id="file-winlogbeat-yml-LC78" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The tags of the shipper are included in their own field with each</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L79" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="79"></td>
          <td id="file-winlogbeat-yml-LC79" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> transaction published.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L80" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="80"></td>
          <td id="file-winlogbeat-yml-LC80" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>tags: ["service-X", "web-tier"]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L81" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="81"></td>
          <td id="file-winlogbeat-yml-LC81" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L82" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="82"></td>
          <td id="file-winlogbeat-yml-LC82" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Optional fields that you can specify to add additional information to the</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L83" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="83"></td>
          <td id="file-winlogbeat-yml-LC83" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> output.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L84" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="84"></td>
          <td id="file-winlogbeat-yml-LC84" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>fields:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L85" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="85"></td>
          <td id="file-winlogbeat-yml-LC85" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>  env: staging</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L86" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="86"></td>
          <td id="file-winlogbeat-yml-LC86" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L87" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="87"></td>
          <td id="file-winlogbeat-yml-LC87" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L88" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="88"></td>
          <td id="file-winlogbeat-yml-LC88" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>============================== Dashboards =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L89" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="89"></td>
          <td id="file-winlogbeat-yml-LC89" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> These settings control loading the sample dashboards to the Kibana index. Loading</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L90" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="90"></td>
          <td id="file-winlogbeat-yml-LC90" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> the dashboards is disabled by default and can be enabled either by setting the</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L91" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="91"></td>
          <td id="file-winlogbeat-yml-LC91" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> options here or by using the `setup` command.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L92" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="92"></td>
          <td id="file-winlogbeat-yml-LC92" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>setup.dashboards.enabled: false</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L93" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="93"></td>
          <td id="file-winlogbeat-yml-LC93" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L94" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="94"></td>
          <td id="file-winlogbeat-yml-LC94" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The URL from where to download the dashboards archive. By default this URL</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L95" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="95"></td>
          <td id="file-winlogbeat-yml-LC95" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> has a value which is computed based on the Beat name and version. For released</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L96" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="96"></td>
          <td id="file-winlogbeat-yml-LC96" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> versions, this URL points to the dashboard archive on the artifacts.elastic.co</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L97" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="97"></td>
          <td id="file-winlogbeat-yml-LC97" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> website.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L98" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="98"></td>
          <td id="file-winlogbeat-yml-LC98" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>setup.dashboards.url:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L99" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="99"></td>
          <td id="file-winlogbeat-yml-LC99" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L100" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="100"></td>
          <td id="file-winlogbeat-yml-LC100" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>============================== Kibana =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L101" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="101"></td>
          <td id="file-winlogbeat-yml-LC101" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L102" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="102"></td>
          <td id="file-winlogbeat-yml-LC102" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L103" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="103"></td>
          <td id="file-winlogbeat-yml-LC103" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> This requires a Kibana endpoint configuration.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L104" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="104"></td>
          <td id="file-winlogbeat-yml-LC104" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">setup.kibana</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L105" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="105"></td>
          <td id="file-winlogbeat-yml-LC105" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L106" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="106"></td>
          <td id="file-winlogbeat-yml-LC106" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Kibana Host</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L107" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="107"></td>
          <td id="file-winlogbeat-yml-LC107" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Scheme and port can be left out and will be set to the default (http and 5601)</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L108" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="108"></td>
          <td id="file-winlogbeat-yml-LC108" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> In case you specify and additional path, the scheme is required: http://localhost:5601/path</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L109" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="109"></td>
          <td id="file-winlogbeat-yml-LC109" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> IPv6 addresses should always be defined as: https://[2001:db8::1]:5601</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L110" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="110"></td>
          <td id="file-winlogbeat-yml-LC110" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>host: "localhost:5601"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L111" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="111"></td>
          <td id="file-winlogbeat-yml-LC111" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L112" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="112"></td>
          <td id="file-winlogbeat-yml-LC112" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Kibana Space ID</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L113" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="113"></td>
          <td id="file-winlogbeat-yml-LC113" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> ID of the Kibana Space into which the dashboards should be loaded. By default,</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L114" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="114"></td>
          <td id="file-winlogbeat-yml-LC114" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> the Default Space will be used.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L115" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="115"></td>
          <td id="file-winlogbeat-yml-LC115" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>space.id:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L116" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="116"></td>
          <td id="file-winlogbeat-yml-LC116" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L117" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="117"></td>
          <td id="file-winlogbeat-yml-LC117" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>============================= Elastic Cloud ==================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L118" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="118"></td>
          <td id="file-winlogbeat-yml-LC118" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L119" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="119"></td>
          <td id="file-winlogbeat-yml-LC119" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> These settings simplify using Winlogbeat with the Elastic Cloud (https://cloud.elastic.co/).</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L120" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="120"></td>
          <td id="file-winlogbeat-yml-LC120" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L121" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="121"></td>
          <td id="file-winlogbeat-yml-LC121" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The cloud.id setting overwrites the `output.elasticsearch.hosts` and</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L122" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="122"></td>
          <td id="file-winlogbeat-yml-LC122" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> `setup.kibana.host` options.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L123" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="123"></td>
          <td id="file-winlogbeat-yml-LC123" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> You can find the `cloud.id` in the Elastic Cloud web UI.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L124" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="124"></td>
          <td id="file-winlogbeat-yml-LC124" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>cloud.id:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L125" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="125"></td>
          <td id="file-winlogbeat-yml-LC125" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L126" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="126"></td>
          <td id="file-winlogbeat-yml-LC126" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The cloud.auth setting overwrites the `output.elasticsearch.username` and</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L127" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="127"></td>
          <td id="file-winlogbeat-yml-LC127" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> `output.elasticsearch.password` settings. The format is `&lt;user&gt;:&lt;pass&gt;`.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L128" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="128"></td>
          <td id="file-winlogbeat-yml-LC128" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>cloud.auth:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L129" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="129"></td>
          <td id="file-winlogbeat-yml-LC129" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L130" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="130"></td>
          <td id="file-winlogbeat-yml-LC130" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>================================ Outputs =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L131" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="131"></td>
          <td id="file-winlogbeat-yml-LC131" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L132" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="132"></td>
          <td id="file-winlogbeat-yml-LC132" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Configure what output to use when sending the data collected by the beat.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L133" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="133"></td>
          <td id="file-winlogbeat-yml-LC133" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L134" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="134"></td>
          <td id="file-winlogbeat-yml-LC134" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>-------------------------- Elasticsearch output ------------------------------</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L135" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="135"></td>
          <td id="file-winlogbeat-yml-LC135" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>output.elasticsearch:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L136" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="136"></td>
          <td id="file-winlogbeat-yml-LC136" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Array of hosts to connect to.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L137" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="137"></td>
          <td id="file-winlogbeat-yml-LC137" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>  hosts: [""]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L138" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="138"></td>
          <td id="file-winlogbeat-yml-LC138" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>  password: ""</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L139" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="139"></td>
          <td id="file-winlogbeat-yml-LC139" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L140" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="140"></td>
          <td id="file-winlogbeat-yml-LC140" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Protocol - either `http` (default) or `https`.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L141" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="141"></td>
          <td id="file-winlogbeat-yml-LC141" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>protocol: "https"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L142" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="142"></td>
          <td id="file-winlogbeat-yml-LC142" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L143" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="143"></td>
          <td id="file-winlogbeat-yml-LC143" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Authentication credentials - either API key or username/password.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L144" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="144"></td>
          <td id="file-winlogbeat-yml-LC144" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>api_key: "id:api_key"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L145" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="145"></td>
          <td id="file-winlogbeat-yml-LC145" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>username: "elastic"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L146" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="146"></td>
          <td id="file-winlogbeat-yml-LC146" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>password: "changeme"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L147" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="147"></td>
          <td id="file-winlogbeat-yml-LC147" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L148" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="148"></td>
          <td id="file-winlogbeat-yml-LC148" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>----------------------------- Logstash output --------------------------------</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L149" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="149"></td>
          <td id="file-winlogbeat-yml-LC149" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>output.logstash:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L150" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="150"></td>
          <td id="file-winlogbeat-yml-LC150" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> The Logstash hosts</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L151" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="151"></td>
          <td id="file-winlogbeat-yml-LC151" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>hosts: ["localhost:5044"]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L152" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="152"></td>
          <td id="file-winlogbeat-yml-LC152" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L153" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="153"></td>
          <td id="file-winlogbeat-yml-LC153" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">output.logstash</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L154" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="154"></td>
          <td id="file-winlogbeat-yml-LC154" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">hosts</span>: <span class="pl-s">["listener.logz.io:5015"]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L155" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="155"></td>
          <td id="file-winlogbeat-yml-LC155" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">ssl</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L156" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="156"></td>
          <td id="file-winlogbeat-yml-LC156" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">certificate_authorities</span>: <span class="pl-s">['C:\ProgramData\Winlogbeat\COMODORSADomainValidationSecureServerCA.crt']</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L157" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="157"></td>
          <td id="file-winlogbeat-yml-LC157" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L158" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="158"></td>
          <td id="file-winlogbeat-yml-LC158" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Optional SSL. By default is off.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L159" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="159"></td>
          <td id="file-winlogbeat-yml-LC159" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> List of root certificates for HTTPS server verifications</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L160" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="160"></td>
          <td id="file-winlogbeat-yml-LC160" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L161" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="161"></td>
          <td id="file-winlogbeat-yml-LC161" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L162" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="162"></td>
          <td id="file-winlogbeat-yml-LC162" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Certificate for SSL client authentication</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L163" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="163"></td>
          <td id="file-winlogbeat-yml-LC163" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>ssl.certificate: "/etc/pki/client/cert.pem"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L164" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="164"></td>
          <td id="file-winlogbeat-yml-LC164" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L165" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="165"></td>
          <td id="file-winlogbeat-yml-LC165" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Client Certificate Key</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L166" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="166"></td>
          <td id="file-winlogbeat-yml-LC166" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>ssl.key: "/etc/pki/client/cert.key"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L167" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="167"></td>
          <td id="file-winlogbeat-yml-LC167" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L168" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="168"></td>
          <td id="file-winlogbeat-yml-LC168" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>================================ Processors =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L169" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="169"></td>
          <td id="file-winlogbeat-yml-LC169" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L170" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="170"></td>
          <td id="file-winlogbeat-yml-LC170" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Configure processors to enhance or manipulate events generated by the beat.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L171" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="171"></td>
          <td id="file-winlogbeat-yml-LC171" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L172" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="172"></td>
          <td id="file-winlogbeat-yml-LC172" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> ... For Winlogbeat 7 only ...</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L173" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="173"></td>
          <td id="file-winlogbeat-yml-LC173" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">processors</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L174" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="174"></td>
          <td id="file-winlogbeat-yml-LC174" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">rename</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L175" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="175"></td>
          <td id="file-winlogbeat-yml-LC175" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">fields</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L176" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="176"></td>
          <td id="file-winlogbeat-yml-LC176" class="blob-code blob-code-inner js-file-line">      - <span class="pl-ent">from</span>: <span class="pl-s"><span class="pl-pds">"</span>agent<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L177" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="177"></td>
          <td id="file-winlogbeat-yml-LC177" class="blob-code blob-code-inner js-file-line">        <span class="pl-ent">to</span>: <span class="pl-s"><span class="pl-pds">"</span>beat_agent<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L178" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="178"></td>
          <td id="file-winlogbeat-yml-LC178" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">ignore_missing</span>: <span class="pl-c1">true</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L179" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="179"></td>
          <td id="file-winlogbeat-yml-LC179" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">rename</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L180" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="180"></td>
          <td id="file-winlogbeat-yml-LC180" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">fields</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L181" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="181"></td>
          <td id="file-winlogbeat-yml-LC181" class="blob-code blob-code-inner js-file-line">      - <span class="pl-ent">from</span>: <span class="pl-s"><span class="pl-pds">"</span>log.file.path<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L182" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="182"></td>
          <td id="file-winlogbeat-yml-LC182" class="blob-code blob-code-inner js-file-line">        <span class="pl-ent">to</span>: <span class="pl-s"><span class="pl-pds">"</span>source<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L183" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="183"></td>
          <td id="file-winlogbeat-yml-LC183" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">ignore_missing</span>: <span class="pl-c1">true</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L184" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="184"></td>
          <td id="file-winlogbeat-yml-LC184" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">rename</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L185" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="185"></td>
          <td id="file-winlogbeat-yml-LC185" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">fields</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L186" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="186"></td>
          <td id="file-winlogbeat-yml-LC186" class="blob-code blob-code-inner js-file-line">      - <span class="pl-ent">from</span>: <span class="pl-s"><span class="pl-pds">"</span>log<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L187" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="187"></td>
          <td id="file-winlogbeat-yml-LC187" class="blob-code blob-code-inner js-file-line">        <span class="pl-ent">to</span>: <span class="pl-s"><span class="pl-pds">"</span>log_information<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L188" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="188"></td>
          <td id="file-winlogbeat-yml-LC188" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">ignore_missing</span>: <span class="pl-c1">true</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L189" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="189"></td>
          <td id="file-winlogbeat-yml-LC189" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>================================ Logging =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L190" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="190"></td>
          <td id="file-winlogbeat-yml-LC190" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L191" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="191"></td>
          <td id="file-winlogbeat-yml-LC191" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Sets log level. The default log level is info.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L192" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="192"></td>
          <td id="file-winlogbeat-yml-LC192" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Available log levels are: error, warning, info, debug</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L193" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="193"></td>
          <td id="file-winlogbeat-yml-LC193" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>logging.level: debug</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L194" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="194"></td>
          <td id="file-winlogbeat-yml-LC194" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L195" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="195"></td>
          <td id="file-winlogbeat-yml-LC195" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> At debug level, you can selectively enable logging only for some components.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L196" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="196"></td>
          <td id="file-winlogbeat-yml-LC196" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> To enable all selectors use ["*"]. Examples of other selectors are "beat",</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L197" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="197"></td>
          <td id="file-winlogbeat-yml-LC197" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> "publish", "service".</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L198" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="198"></td>
          <td id="file-winlogbeat-yml-LC198" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>logging.selectors: ["*"]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L199" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="199"></td>
          <td id="file-winlogbeat-yml-LC199" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L200" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="200"></td>
          <td id="file-winlogbeat-yml-LC200" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>============================== X-Pack Monitoring ===============================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L201" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="201"></td>
          <td id="file-winlogbeat-yml-LC201" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> winlogbeat can export internal metrics to a central Elasticsearch monitoring</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L202" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="202"></td>
          <td id="file-winlogbeat-yml-LC202" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> cluster.  This requires xpack monitoring to be enabled in Elasticsearch.  The</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L203" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="203"></td>
          <td id="file-winlogbeat-yml-LC203" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> reporting is disabled by default.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L204" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="204"></td>
          <td id="file-winlogbeat-yml-LC204" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L205" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="205"></td>
          <td id="file-winlogbeat-yml-LC205" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Set to true to enable the monitoring reporter.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L206" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="206"></td>
          <td id="file-winlogbeat-yml-LC206" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>monitoring.enabled: false</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L207" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="207"></td>
          <td id="file-winlogbeat-yml-LC207" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L208" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="208"></td>
          <td id="file-winlogbeat-yml-LC208" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Sets the UUID of the Elasticsearch cluster under which monitoring data for this</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L209" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="209"></td>
          <td id="file-winlogbeat-yml-LC209" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Winlogbeat instance will appear in the Stack Monitoring UI. If output.elasticsearch</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L210" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="210"></td>
          <td id="file-winlogbeat-yml-LC210" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> is enabled, the UUID is derived from the Elasticsearch cluster referenced by output.elasticsearch.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L211" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="211"></td>
          <td id="file-winlogbeat-yml-LC211" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>monitoring.cluster_uuid:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L212" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="212"></td>
          <td id="file-winlogbeat-yml-LC212" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L213" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="213"></td>
          <td id="file-winlogbeat-yml-LC213" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Uncomment to send the metrics to Elasticsearch. Most settings from the</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L214" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="214"></td>
          <td id="file-winlogbeat-yml-LC214" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Elasticsearch output are accepted here as well.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L215" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="215"></td>
          <td id="file-winlogbeat-yml-LC215" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Note that the settings should point to your Elasticsearch *monitoring* cluster.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L216" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="216"></td>
          <td id="file-winlogbeat-yml-LC216" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Any setting that is not set is automatically inherited from the Elasticsearch</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L217" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="217"></td>
          <td id="file-winlogbeat-yml-LC217" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> output configuration, so if you have the Elasticsearch output configured such</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L218" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="218"></td>
          <td id="file-winlogbeat-yml-LC218" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> that it is pointing to your Elasticsearch monitoring cluster, you can simply</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L219" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="219"></td>
          <td id="file-winlogbeat-yml-LC219" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> uncomment the following line.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L220" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="220"></td>
          <td id="file-winlogbeat-yml-LC220" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>monitoring.elasticsearch:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L221" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="221"></td>
          <td id="file-winlogbeat-yml-LC221" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L222" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="222"></td>
          <td id="file-winlogbeat-yml-LC222" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>================================= Migration ==================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L223" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="223"></td>
          <td id="file-winlogbeat-yml-LC223" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L224" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="224"></td>
          <td id="file-winlogbeat-yml-LC224" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> This allows to enable 6.7 migration aliases</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L225" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="225"></td>
          <td id="file-winlogbeat-yml-LC225" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>migration.6_to_7.enabled: true</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L226" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="226"></td>
          <td id="file-winlogbeat-yml-LC226" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
  </tbody></table>
</div>


    </div>

  </div>
</div>

      </div>
      <div class="gist-meta">
        <a href="https://gist.github.com/tristandostaler/dcd092192409c7a29cb6489eddbca4b7/raw/5db7beebb8e808e4c1b9cdd2131c4717cbd95856/winlogbeat.yml" style="float:right" class="Link--inTextBlock">view raw</a>
        <a href="https://gist.github.com/tristandostaler/dcd092192409c7a29cb6489eddbca4b7#file-winlogbeat-yml" class="Link--inTextBlock">
          winlogbeat.yml
        </a>
        hosted with &#10084; by <a class="Link--inTextBlock" href="https://github.com">GitHub</a>
      </div>
    </div>
</div>
</div><p>In this content, you&#8217;ll find the text &#8220;YOURTOKEN_PLACEHOLDER&#8221;; replace this with the token they provide in the&nbsp;<a href="https://app.logz.io/#/dashboard/settings/general">Logz.io settings page</a>&nbsp;in the section &#8220;Account settings&#8221;:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!T8j0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!T8j0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 424w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 848w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 1272w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!T8j0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp" width="532" height="245.9497487437186" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bae50920-604f-4219-8f29-7a83595fdfca_995x460.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:460,&quot;width&quot;:995,&quot;resizeWidth&quot;:532,&quot;bytes&quot;:13694,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!T8j0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 424w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 848w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 1272w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Becareful, this token is secret! If someone get his/her hand on this token, they can send fake data to your account and overload it with garbage data.</em></p><p>Now, download the Logz.io public certificate and place it in &#8220;C:\ProgramData\Winlogbeat\COMODORSADomainValidationSecureServerCA.crt&#8220;. This certificate is available at&nbsp;<a href="https://raw.githubusercontent.com/logzio/public-certificates/master/AAACertificateServices.crt">https://raw.githubusercontent.com/logzio/public-certificates/master/AAACertificateServices.crt</a>. You&#8217;ll need to do this using your text editor as Administrator.</p><p>When this is done, run the following command in a PowerShell window as Administrator:&nbsp;Restart-Service winlogbeat</p><p>That&#8217;s it, you should now receive your Windows logs in Logz.io! Head over to &#8220;Kibana&#8221; to see them come in (click &#8220;Refresh&#8221; if you don&#8217;t see them right away).</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UODt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 424w, https://substackcdn.com/image/fetch/$s_!UODt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 848w, https://substackcdn.com/image/fetch/$s_!UODt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 1272w, https://substackcdn.com/image/fetch/$s_!UODt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!UODt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp" width="1456" height="251" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:251,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14484,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!UODt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 424w, https://substackcdn.com/image/fetch/$s_!UODt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 848w, https://substackcdn.com/image/fetch/$s_!UODt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 1272w, https://substackcdn.com/image/fetch/$s_!UODt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p><em>Note: You might have noticed that in the winlogbeat.yml I enabled logging of Sysmon. I plan to make a blog post to explain what is Sysmon and how to use it. For the moment, it doesn&#8217;t mather if Sysmon is not installed, Winlogbeat will simply ignore this config line.</em></p><p><em>Hint: You can enable the Dark Theme for Kibana in the&nbsp;<a href="https://app.logz.io/#/dashboard/settings/general">Logz.io settings page</a></em></p><h3>Ubuntu</h3><p><em>Note: There is a TL;DR; section at the end.</em>&nbsp;For this section, I assume you know how to use the&nbsp;<a href="https://en.wikipedia.org/wiki/Command-line_interface">Command Line Interface (CLI)</a>. For Ubuntu, we will be using Filebeat. By default, if you send logs using rsyslog, the data will&nbsp;not&nbsp;be encrypted over the internet, which is not recomended. By using filebeat, we can send encrypted data easily. On the left navigation, in &#8220;Log Shippers&#8221; that should be opened (if not, open it), click on &#8220;Filebeat&#8221;. As they explain in the page, you first need to install Filebeat. So that&#8217;s what we&#8217;ll do. Run the following commands:&nbsp;<em>Note: here, my link is slightly different than the one they propose on their website. This is because I recommend using the OpenSource version (oss).</em></p><pre><code>curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-oss-7.10.0-amd64.deb
sudo dpkg -i filebeat-oss-7.10.0-amd64.deb
rm filebeat-oss-7.10.0-amd64.deb</code></pre><p>We also need the Logz.io public certificate. Run the following command:</p><pre><code>sudo curl https://raw.githubusercontent.com/logzio/public-certificates/master/AAACertificateServices.crt --create-dirs -o /etc/pki/tls/certs/COMODORSADomainValidationSecureServerCA.crt</code></pre><p>Next, we&#8217;ll configure filebeat to ship the logs to Logz.io using my default template and some bash-foo. When asked for the token, provide the token available&nbsp;in the&nbsp;<a href="https://app.logz.io/#/dashboard/settings/general">Logz.io settings page</a>&nbsp;in the section &#8220;Account settings&#8221;:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Zyvo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Zyvo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 424w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 848w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 1272w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!Zyvo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp" width="995" height="460" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:460,&quot;width&quot;:995,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:13694,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Zyvo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 424w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 848w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 1272w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Becareful, this token is secret! If someone get his/her hand on this token, they can send fake data to your account and overload it with garbage data.</em></p><p>Run the following commands:</p><pre><code>sudo curl <a href="https://gist.githubusercontent.com/tristandostaler/7a212a0ba23b97c97a5e2c6925bde240/raw/72c90076cf4aa16179c123316b3ef8cec775d576/filebeat.yml">https://gist.githubusercontent.com/tristandostaler/7a212a0ba23b97c97a5e2c6925bde240/raw/72c90076cf4aa16179c123316b3ef8cec775d576/filebeat.yml</a> --create-dirs -o /etc/filebeat/filebeat.yml
echo -n "Please enter your logz.io Token: " &amp;&amp; read -s LOGZ_TOKEN &amp;&amp; sudo sed -i "s|YOURTOKEN_PLACEHOLDER|$LOGZ_TOKEN|g" /etc/filebeat/filebeat.yml
</code></pre><p>Now we only need to start FIlebeat and the logs will start shipping! Run the following command:</p><pre><code>sudo systemctl start filebeat || sudo service filebeat start
(sudo systemctl enable filebeat) || (sudo update-rc.d filebeat defaults &amp;&amp; sudo update-rc.d filebeat enable)
</code></pre><p>That&#8217;s it, you should now receive your Ubuntu logs in Logz.io! Head over to &#8220;Kibana&#8221; to see them come in (click &#8220;Refresh&#8221; if you don&#8217;t see them right away).</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ccCD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 424w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 848w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 1272w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!ccCD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp" width="1456" height="251" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:251,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14484,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ccCD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 424w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 848w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 1272w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p><em>Note: You might have noticed that in the filebeat.yml I enabled logging of many systems that are not installed by default, like auditd. I plan to make a blog post to explain what is auditd and how to use it. For the moment, it doesn&#8217;t mather if auditd is not installed, filebeat will simply ignore this config line.</em></p><p><em>Hint: You can enable the Dark Theme for Kibana in the&nbsp;<a href="https://app.logz.io/#/dashboard/settings/general">Logz.io settings page</a></em></p><p>TL;DR; putting all the commands together:</p><pre><code>curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-oss-7.10.0-amd64.deb
sudo dpkg -i filebeat-oss-7.10.0-amd64.deb
rm filebeat-oss-7.10.0-amd64.deb
sudo curl https://raw.githubusercontent.com/logzio/public-certificates/master/AAACertificateServices.crt --create-dirs -o /etc/pki/tls/certs/COMODORSADomainValidationSecureServerCA.crt
sudo curl <a href="https://gist.githubusercontent.com/tristandostaler/7a212a0ba23b97c97a5e2c6925bde240/raw/72c90076cf4aa16179c123316b3ef8cec775d576/filebeat.yml">https://gist.githubusercontent.com/tristandostaler/7a212a0ba23b97c97a5e2c6925bde240/raw/72c90076cf4aa16179c123316b3ef8cec775d576/filebeat.yml</a> --create-dirs -o /etc/filebeat/filebeat.yml
echo -n "Please enter your logz.io Token: " &amp;&amp; read -s LOGZ_TOKEN &amp;&amp; sudo sed -i "s|YOURTOKEN_PLACEHOLDER|$LOGZ_TOKEN|g" /etc/filebeat/filebeat.yml
sudo systemctl start filebeat || sudo service filebeat start
(sudo systemctl enable filebeat) || (sudo update-rc.d filebeat defaults &amp;&amp; sudo update-rc.d filebeat enable)
</code></pre><h2>Conclusion</h2><p>That&#8217;s it, you now have your initial setup for a SIEM, with logs being sent! Of course, at the moment there are no alerts and the platform we are using don&#8217;t offer all the features we would like from a SIEM. But this is perfect to start learning to use a SIEM! In the next blog post&nbsp;<a href="https://www.tristandostaler.com/siem-101-basic-usage/">SIEM 101 &#8212; Basic usage</a>, I explain the basic usage of Logz.io,&nbsp;how to search logs, how to create an alert, etc.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3><strong>Donation</strong></h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 202 — Detecting remote PsExec]]></title><description><![CDATA[In this post I&#8217;ll explain how to detect an attacker that uses PsExec to connect to your computer when you don&#8217;t have visibility over the attacker&#8217;s computer.]]></description><link>https://www.tristandostaler.com/p/siem-202-detecting-remote-psexec</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-202-detecting-remote-psexec</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Thu, 14 Nov 2024 13:57:12 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ssF3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post I&#8217;ll explain how to detect an attacker that uses PsExec to connect to your computer when you don&#8217;t have visibility over the attacker&#8217;s computer.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><div><hr></div><p>For this post, I assume you&#8217;ve read my&nbsp;<a href="https://www.tristandostaler.com/category/information-technology/infosec/siem/siem-100-series/">SIEM 100 series</a>&nbsp;where I explain the basics of Logz.io. I&#8217;ll be using the stack I created in this series to demonstrate what to do.</p><div><hr></div><p>PsExec is a tool provided by Microsoft in the Sysinternals suite:&nbsp;<a href="https://docs.microsoft.com/en-us/sysinternals/downloads/psexec">https://docs.microsoft.com/en-us/sysinternals/downloads/psexec</a><br>Like they explain:<br>&nbsp;</p><blockquote><p>PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software. PsExec&#8217;s most powerful uses include launching interactive command-prompts on remote systems and remote-enabling tools like IpConfig that otherwise do not have the ability to show information about remote systems.</p><p><a href="https://docs.microsoft.com/en-us/sysinternals/downloads/psexec">https://docs.microsoft.com/en-us/sysinternals/downloads/psexec</a></p></blockquote><p>PsExec can be use as an adversary to pivot between computers and/or elevate privileges. It is rather easy to detect when executed on a monitored endpoint, but what happens when a remote computer not monitored use it to connect to a monitored endpoint?</p><p>It turns out it can be detected by looking for a chain of 3 events, distinctive of PsExec behavior when remote connecting.</p><p><em>Note: Sysmon is needed to detect this behavior. You can read my post&nbsp;<a href="https://www.tristandostaler.com/siem-201-what-is-sysmon/">SIEM 201 &#8212; What is Sysmon</a>&nbsp;on the subject.</em></p><p>The 3 events are:</p><ol><li><p>An incoming connection is made on the port 445 or 135 (Sysmon event ID 3 AND destination port: 445 OR 135)</p></li><li><p>An executable file is created in C:\Windows\ (Sysmon event ID 11 AND target filename: C:\Windows\[^\]+\.exe)</p></li><li><p>The executable from the step 2 is executed (Sysmon event ID 1 AND image: C:\Windows\[^\]+\.exe. The image should be the same as the target filename of the step 2)</p></li></ol><p>The result should have no false positive (it would detect the normal usage of PsExec, so make sure to whitelist your allowed users).</p><p>In a&nbsp;<a href="https://www.elastic.co/guide/en/elasticsearch/reference/7.6/query-dsl-query-string-query.html#query-string-syntax">Lucene</a>&nbsp;query format, it should give something like this (adapt the field names to your context):</p><pre><code>(event.code: 3 AND winlog.event_data.DestinationPort: (135 OR 445)) OR (event.code: 11 AND winlog.event_data.TargetFilename: /C:\\Windows\\[^\\]+\.exe/) OR (event.code: 1 AND winlog.event_data.Image: /C:\\Windows\\[^\\]+\.exe/)</code></pre><p>Then, you can correlate the&nbsp;winlog.event_data.Image&nbsp;with the&nbsp;winlog.event_data.TargetFilename, but with a simple hack that don&#8217;t give a lot of false positive, that&#8217;s not necessary: you can simply make sure that the number of unique&nbsp;event.code&nbsp;in your results is equal to 3. This is what I&#8217;ll be doing. Head over to&nbsp;<a href="https://app.logz.io/#/login">Logz.io and login</a>&nbsp;to your account.</p><p>The same logic can be applied to detect SCShell, WMIExec and SMBExec, but the detection details are a bit different; I might write another blog for these ones.</p><h2>In practice</h2><p>The first thing to do is to simulate a remote PsExec execution so we can detect it. First download and extract PsExec which is bundled with a few tools called the PsTools:&nbsp;<a href="https://download.sysinternals.com/files/PSTools.zip">https://download.sysinternals.com/files/PSTools.zip</a></p><p>In the location of the extraction, open PowerShell as Administrator (File -&gt; Open Windows PowerShell -&gt; Open Windows PowerShell as administrator). For me the working directory of PowerShell is &#8220;C:\Users\User\Downloads\PSTools&#8221;. Then execute the following command:</p><pre><code>(Get-NetIPAddress).IPAddress | Where-Object {($_ -ne "127.0.0.1") -and ($_ -ne "::1") -and ($_ -notlike "*:*")} | %{.\PsExec.exe \\$_ cmd}</code></pre><p>After running this command, you will be in a cmd.exe context. You can simply write &#8220;exit&#8221; to go back to PowerShell. At this point you generated a remote PsExec execution, we now need to find it in the logs.</p><p>Now in Kibana search the query (it&#8217;s the same as above):</p><pre><code>(event.code: 3 AND winlog.event_data.DestinationPort: (135 OR 445)) OR (event.code: 11 AND winlog.event_data.TargetFilename: /C:\\Windows\\[^\\]+\.exe/) OR (event.code: 1 AND winlog.event_data.Image: /C:\\Windows\\[^\\]+\.exe/)</code></pre><p>We can see that we get the pattern I described above:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ssF3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ssF3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 424w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 848w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 1272w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!ssF3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp" width="1456" height="663" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:663,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:62818,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ssF3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 424w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 848w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 1272w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now click on Create alert.</p><p>I recommend using a Group by on &#8220;beat_agent.hostname&#8221; because if you have more than 1 computer or server, the event could get mixed between computers and you could get a lot of false positives.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!b032!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!b032!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 424w, https://substackcdn.com/image/fetch/$s_!b032!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 848w, https://substackcdn.com/image/fetch/$s_!b032!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 1272w, https://substackcdn.com/image/fetch/$s_!b032!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!b032!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp" width="1236" height="833" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:833,&quot;width&quot;:1236,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:31388,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!b032!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 424w, https://substackcdn.com/image/fetch/$s_!b032!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 848w, https://substackcdn.com/image/fetch/$s_!b032!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 1272w, https://substackcdn.com/image/fetch/$s_!b032!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now, to use the small hack I described above, so we don&#8217;t have to correlate events, in the &#8220;Trigger if&#8230;&#8221; section, check that the unique count of event.code is equal to 3. That way, the alert will trigger&nbsp;if and only if&nbsp;the 3 events are met in a small period of time:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TGcS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 424w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 848w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 1272w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!TGcS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp" width="1413" height="298" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:298,&quot;width&quot;:1413,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:9950,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!TGcS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 424w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 848w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 1272w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>We need this little hack because on Logz.io we can only do 2 step correlations and we would need 3 steps for this specific detection case. There are other platforms that allow to correlate more events, so you could do the correlation logic, but there are also some platform that don&#8217;t allow correlation so this hack could come in handy.</p><h2>Conclusion</h2><p>That&#8217;s it, you can now detect when a hacker uses PsExec to move laterally. Of course, you might need to whitelist some source IP or source IP range if you use PsExec legitimately in your context to allow known Administrators&nbsp;<a href="https://en.wikipedia.org/wiki/Virtual_LAN">VLAN</a>&nbsp;to use it.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3><strong>Donation</strong></h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 102 — Detect Windows bruteforce]]></title><description><![CDATA[In this post I&#8217;ll explain how to detect a bruteforce on Windows.]]></description><link>https://www.tristandostaler.com/p/siem-102-detect-windows-bruteforce</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-102-detect-windows-bruteforce</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Wed, 13 Nov 2024 15:17:28 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!X86C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post I&#8217;ll explain how to detect a bruteforce on Windows. This is a simple case so it&#8217;s a good use case to start learning to create alerts.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><div><hr></div><p>For this post, I assume you&#8217;ve read my&nbsp;<a href="https://www.tristandostaler.com/category/information-technology/infosec/siem/siem-100-series/">SIEM 100 series</a>&nbsp;where I explain the basics of Logz.io. I&#8217;ll be using the stack I created in this series to demonstrate what to do.</p><div><hr></div><h3>Why we need to detect Windows bruteforce</h3><p>When we have a lot of Windows machine in our environment, it can be useful to be able to detect a bruteforce on a machine, be it over <a href="https://en.wikipedia.org/wiki/Remote_Desktop_Protocol">RDP</a> or not. For example, with this Use Case, we could detect an attacker trying to login on a sensitive computer or trying to pivot between machine.</p><p>This Use Case is really simple so it&#8217;s rather easy to develop and test. But it&#8217;s also prone to false positive, so it&#8217;s a good Use Case to learn to reduce the false positives.</p><h3>How</h3><p>As I explained, this use case is really really simple. We&#8217;ll send an email if the event for a failed logon is triggered at least 5 times in a 5 minutes period. The <a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4625">Event ID for a failed logon in Windows is 4625</a> so the query is pretty simple: event.code: 4625. When creating the alert, we simply need to Group by beat_agent.hostname and winlog.event_data.TargetUserName and check if the number of logs in the last 5 minutes is &#8805; than 5.</p><p>The group by beat_agent.hostname is necessary because if we have more than 1 Windows in our SIEM, as soon as 5 computers or less do 5 failed logon in the same 5 minutes block, the alert would trigger, and this is not a bruteforce and happens pretty often. The group by winlog.event_data.TargetUserName is necessary if you have some user that connects from time to time to different machines. If you were to not group by winlog.event_data.TargetUserName, you would detect a <a href="https://doubleoctopus.com/security-wiki/threats-and-tools/password-spraying/">password spray attack</a> which is an interesting Use Case but it&#8217;s not the purpose of this post.</p><p>For the sensitivity (5 failed logon in 5 minutes), I&#8217;ll explain how we can tweak it and reduce the false positive later in this post.</p><p>For the next part, head over to&nbsp;<a href="https://app.logz.io/#/login">Logz.io and login</a>&nbsp;to your account.</p><h3>In practice</h3><p>The first thing to do is simulate a bruteforce.</p><p>If you don&#8217;t have winrm enable on your computer, like it was the case for my test machine, open a PowerShell window as Administrator, and enter the following command:</p><pre><code><code>Enable-PSRemoting -SkipNetworkProfileCheck -Force
Set-Item wsman:\localhost\Client\TrustedHosts -Value * -Force
Restart-Service WinRM</code></code></pre><p>Next, enter this command to generate 5 failed logon on your computer:</p><pre><code><code>[pscredential]$credObject = New-Object System.Management.Automation.PSCredential ("Non existent", (ConvertTo-SecureString "Bad password" -AsPlainText -Force))
for ($i=0; $i -lt 5; $i++) { Enter-PSSession -ComputerName localhost -Credential $credObject }</code></code></pre><p>Now in Kibana, search the query:</p><pre><code><code>event.code: 4625</code></code></pre><p>You can add the following fields as columns: winlog.event_data.TargetUserName and beat_agent.hostname. You will get something similar to this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!X86C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!X86C!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 424w, https://substackcdn.com/image/fetch/$s_!X86C!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 848w, https://substackcdn.com/image/fetch/$s_!X86C!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 1272w, https://substackcdn.com/image/fetch/$s_!X86C!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!X86C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp" width="1281" height="705" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5514351d-d519-4be3-867f-46c172d59229_1281x705.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:705,&quot;width&quot;:1281,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:41968,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!X86C!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 424w, https://substackcdn.com/image/fetch/$s_!X86C!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 848w, https://substackcdn.com/image/fetch/$s_!X86C!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 1272w, https://substackcdn.com/image/fetch/$s_!X86C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Kibana Windows bruteforce search result</figcaption></figure></div><p>Now click on Create alert and enter the alert name &#8220;Windows bruteforce&#8221;.</p><p>In the Group by field, add winlog.event_data.TargetUserName and beat_agent.hostname.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fYYe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fYYe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 424w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 848w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 1272w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!fYYe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp" width="1262" height="712" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:712,&quot;width&quot;:1262,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:25840,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fYYe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 424w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 848w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 1272w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Alert title and group by</figcaption></figure></div><p>In the &#8220;Trigger if&#8221; section, change the values to match the following image:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iLmz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 424w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 848w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 1272w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!iLmz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png" width="1024" height="202" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:202,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:26074,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!iLmz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 424w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 848w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 1272w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div><figcaption class="image-caption">Trigger if</figcaption></figure></div><p>In the Notify section, add your email and then save your new alert.</p><h3>Managing false positives</h3><p>When we first create this alert, the level of false positive we&#8217;ll receive is directly proportional to the size of the environment. The more Windows machines we have linked to the SIEM (inherently linked to the number of users) , the more likely false positives will arise.</p><p>There are a few strategies we can use to reduce the level of false positives:</p><ol><li><p>We can reduce the sensitivity. Increase the threshold by reducing the time frame we look at, or increase the number of failed attempt.</p></li><li><p>Exclude some users from this specific alert and create a new alert less sensitive for these users.</p></li><li><p>Look only at bruteforce over RDP (query: &#8220;winlog.event_data.LogonType: 10&#8221;). And/or only at bruteforce over the nerwork (like in this example) (query: &#8220;winlog.event_data.LogonType: 3&#8221;). By doing this, we won&#8217;t alert when someone fails to enter his password on his own computer, which is the most frequent case of false positive we would get.</p></li><li><p>Whatever fits your environment. When creating an alert, it&#8217;s important to be creative and understand the usage patterns in our environments to reduce the level of false positive.</p></li></ol><p><em>Note: you can see the logon types here: <a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4624">https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4624</a></em></p><p>Edit: since I originally wrote this post, I found better ways to minimize False Positives. I summed them up in this post: <a href="https://www.tristandostaler.com/siem-103-detect-windows-bruteforce-part-2/">https://www.tristandostaler.com/siem-103-detect-windows-bruteforce-part-2/</a></p><h3>Conclusion</h3><p>That&#8217;s it, you can now detect a Windows bruteforce and know how to manage false positives!</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation </h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 201 — What is Sysmon]]></title><description><![CDATA[In this post I&#8217;ll explain what is Sysmon, how to install it and how to use it to detect important pattern.]]></description><link>https://www.tristandostaler.com/p/siem-201-what-is-sysmon</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-201-what-is-sysmon</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Wed, 13 Nov 2024 14:41:58 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!LQlj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post I&#8217;ll explain what is Sysmon, how to install it and how to use it to detect important pattern.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><div><hr></div><p>For this post, I assume you&#8217;ve read my&nbsp;<a href="https://www.tristandostaler.com/category/information-technology/infosec/siem/siem-100-series/">SIEM 100 series</a>&nbsp;where I explain the basics of Logz.io. I&#8217;ll be using the stack I created in this series to demonstate what to do.</p><div><hr></div><p>Sysmon is a tool provided by Microsoft in the Sysinternals suite:&nbsp;<a href="https://docs.microsoft.com/en-us/sysinternals/downloads/sysmon">https://docs.microsoft.com/en-us/sysinternals/downloads/sysmon.&nbsp;</a>&nbsp;</p><p>Like they explain:</p><blockquote><p><em>System Monitor</em>&nbsp;(<em>Sysmon</em>) is a Windows system service and device driver that, once installed on a system, remains resident across system reboots to monitor and log system activity to the Windows event log. It provides detailed information about process creations, network connections, and changes to file creation time. By collecting the events it generates using&nbsp;<a href="https://msdn.microsoft.com/library/windows/desktop/bb427443(v=vs.85).aspx">Windows Event Collection</a>&nbsp;or&nbsp;<a href="https://en.wikipedia.org/wiki/security_information_and_event_management">SIEM</a>&nbsp;agents and subsequently analyzing them, you can identify malicious or anomalous activity and understand how intruders and malware operate on your network.</p></blockquote><p>Sysmon can be used to detect suspicious and malicious events that would normaly not be visible in the default Windows logs. You can see all it can do and it&#8217;s corresponding event IDs here:&nbsp;<a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx?i=j">https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx?i=j</a>&nbsp;and select Sysmon from the list. &nbsp;</p><h3>Installation</h3><p><em>Note: There is a TL;DR; section at the end of this section.</em>&nbsp;</p><p>First download Sysmon here:&nbsp;<a href="https://download.sysinternals.com/files/Sysmon.zip">https://download.sysinternals.com/files/Sysmon.zip</a>&nbsp;Once downloaded, extract the content. In the Explorer window that opened after the extraction, open a PowerShell window as Administrator (FIle -&gt; Open Windows PowerShell -&gt; Open Windows PowerShell as administrator). For me, the working directory is &#8220;C:\Users\User\Downloads\Sysmon&#8221;. Next, we&#8217;ll use a config file that reduces the noise sent to the SIEM and that adds some useful logs not enabled by default. The detail of the config file we&#8217;ll use can be found at&nbsp;<a href="https://github.com/SwiftOnSecurity/sysmon-config">https://github.com/SwiftOnSecurity/sysmon-config</a>. In the PowerShell window opened as Administrator, run the command:</p><pre><code><code>Invoke-WebRequest -URI https://raw.githubusercontent.com/SwiftOnSecurity/sysmon-config/master/sysmonconfig-export.xml -OutFile sysmonconfig-export.xml</code></code></pre><p>Now we simply need to install Sysmon giving it this config file. Always in the PowerShell window opened as Administrator, run the command:</p><pre><code><code>./sysmon.exe -accepteula -i .\sysmonconfig-export.xml</code></code></pre><p>If you already had Sysmon installed, you can update the configuration with the following command:</p><pre><code><code>./sysmon.exe -c .\sysmonconfig-export.xml</code></code></pre><p>Now that we installed Sysmon, if you didn&#8217;t have it installed before, we need to restart Winlogbeat so it now sends the logs from Sysmon. Always in the PowerShell window opened as Administrator, run the following command:</p><pre><code>Restart-Service winlogbeat</code></pre><p>That&#8217;s it, you should now be receiving the Sysmon logs.</p><h4>TL;DR;</h4><p>Putting all the commands together for easy installation, in a PowerShell window as Administrator, run the following commands:</p><pre><code>cd C:\Windows\Temp\
<code>Invoke-WebRequest -URI https://download.sysinternals.com/files/Sysmon.zip&nbsp;-OutFile Sysmon.zip
Expand-Archive .\Sysmon.zip
cd .\Sysmon\
Invoke-WebRequest -URI https://raw.githubusercontent.com/SwiftOnSecurity/sysmon-config/master/sysmonconfig-export.xml -OutFile sysmonconfig-export.xml
./sysmon.exe -accepteula -i .\sysmonconfig-export.xml
./sysmon.exe -c .\sysmonconfig-export.xml
Restart-Service winlogbeat</code></code></pre><h3>How it can be used</h3><p>The number of detection patterns that Sysmon allows are to numerous to talk about in one post, so I&#8217;ll only do a quick summary. I&#8217;ll use this site as a reference (select &#8220;Sysmon&#8221; once on the page):&nbsp;<a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx?i=j">ultimatewindowssecurity.com</a>&nbsp;</p><p>Sysmon can log every process creation that happens in Windows. The processes that actually get logged depends on the config file we gave. With the config we gave in this post, we only exclude some known noisy processes so most of the activity we do can be logged. The event ID for a process creation is 1, as we can see in the&nbsp;ultimatewindowssecurity.com website. So if we go in our&nbsp;<a href="https://app.logz.io/">Logz.io account</a>&nbsp;and search for &#8220;event.code: 1&#8221; (without the quotes), we can see all the process creation logs:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LQlj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LQlj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 424w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 848w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 1272w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!LQlj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp" width="1423" height="907" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:907,&quot;width&quot;:1423,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:64504,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!LQlj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 424w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 848w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 1272w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In this picture, I added relevant fields in the columns, here is what they mean:</p><ul><li><p><strong>winlog.event_data.Image</strong>: This is the name of the process created</p></li><li><p><strong>winlog.event_data.CommandLine</strong>: This is the command line that was used when creating the process</p></li><li><p><strong>winlog.event_data.ParentImage</strong>: This is the Parent process; the process that created the current process creation log</p></li><li><p><strong>winlog.event_data.User</strong>: This is the user that created the process</p></li></ul><p>If we look at all the available fields, we can see some interesting one:</p><ul><li><p><strong>winlog.event_data.Hash.MD5</strong>: This is the MD5 of the current process that was created. This is useful to compare against a list of known malicious MD5. For example, we can look at this file tested in Virus Total:&nbsp;<a href="https://www.virustotal.com/gui/file/fb55414848281f804858ce188c3dc659d129e283bd62d58d34f6e6f568feab37/details">https://www.virustotal.com/gui/file/fb55414848281f804858ce188c3dc659d129e283bd62d58d34f6e6f568feab37/details</a>. The process here is mimikatz, which is a really popular tool used by hackers. It&#8217;s MD5 is &#8220;2c527d980eb30daa789492283f9bf69e&#8221;, so if we were to see this hash in a process creation log, we would know it&#8217;s this specific mimikatz process.</p></li><li><p><strong>winlog.event_data.Hash.SHA256</strong>: This is the same as the MD5, but instead of a MD5, it uses SHA256 to hash the process. It can be used the same way.</p></li><li><p><strong>winlog.event_data.Hash.IMPHASH</strong>: This is similar to the last 2 fields, but a bit different. This is more advance so I won&#8217;t get in the details, but if you&#8217;re curious, there is a good article here:&nbsp;<a href="https://medium.com/@malcomvetter/defeating-imphash-fb7cf0183ac">https://medium.com/@malcomvetter/defeating-imphash-fb7cf0183ac</a></p></li></ul><p><em>Hint: Remember the website virustotal.com, it&#8217;s really useful! I might write a blog about it one day, but there is plenty of information online if you want to know more.Note: A process hash can be changed really easily, so don&#8217;t rely solely on these to detect bad behavior. Although they can be really useful for basics attacks, they are not perfect.</em>&nbsp;</p><p>So at this point, we could create an alert to detect specific process name or parent process name, or look at the hashes of the process that was created. For example, you could alert when you detect the creation of PsExec by looking at the process name, or when PsExec is used with a specific utility (like PowerShell), etc.</p><h3>Conclusion</h3><p>Sysmon is one of the best tool for a Blue Teamer. It&#8217;s usage will come back a lot. Altough it can&#8217;t do everything, it&#8217;s one of the best tool in your toolset. In my next blog posts, I&#8217;ll often reference to it. I suggest you read more on Sysmon and the patterns you can detect with it. You can also read on it&#8217;s configuration file format; I gave you a decent but basic configuration file and it could be enhanced and adapted to your context.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation </h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM Solutions 101 — Basic usage]]></title><description><![CDATA[In this post I&#8217;ll explain the basics on using a SIEM: how to search logs and how to send alerts.]]></description><link>https://www.tristandostaler.com/p/siem-101-basic-usage</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-101-basic-usage</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Wed, 13 Nov 2024 13:24:07 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/06aad0b0-28cb-46b1-8798-8114f746cc84_1488x863.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post I&#8217;ll explain the basics on using a SIEM: how to search logs and how to send alerts.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><div><hr></div><p>This is the third post of the series &#8220;SIEM 101&#8221; where I explain the basics of a SIEM, from installation to simple usage. You can see the previous post&nbsp;<a href="https://www.tristandostaler.com/siem-101-initial-setup/">SIEM 101&#8202;&#8212;&#8202;Initial setup</a>.</p><div><hr></div><p>Now that we receive our logs in our&nbsp;<a href="https://logz.io/">Logz.io</a>&nbsp;account, it&#8217;s time to learn how we can navigate the logs, how they are organized and how to search for specific patterns. Once we know how to search patterns, we&#8217;ll be able to start creating alerts on specific pattern, like SSH bruteforce or Windows bruteforce.</p><h3>The technology used by this SIEM</h3><p>Let&#8217;s start with the technology. Logz.io is based on&nbsp;<a href="https://www.elastic.co/what-is/elasticsearch">Elasticsearch</a>&nbsp;as a database and uses&nbsp;<a href="https://www.elastic.co/kibana">Kibana</a>&nbsp;to interact and visualize the data in the database. They added some custom features around these two tools to provide alerting and other things.</p><h4>Elasticsearch &#8211; an ideal SIEM database</h4><p>Elasticsearch is a &#8220;<a href="https://en.wikipedia.org/wiki/NoSQL">NoSQL</a>&#8221; database that stores, indexes and provides analytics tools for&nbsp;<a href="https://en.wikipedia.org/wiki/JSON">JSON</a>&nbsp;formatted data. The official description is:</p><blockquote><p>Elasticsearch is a distributed, open source search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured. Elasticsearch is built on Apache Lucene and was first released in 2010 by Elasticsearch N.V. (now known as Elastic). Known for its simple REST APIs, distributed nature, speed, and scalability, Elasticsearch is the central component of the Elastic Stack, a set of open source tools for data ingestion, enrichment, storage, analysis, and visualization. Commonly referred to as the ELK Stack (after Elasticsearch, Logstash, and Kibana), the Elastic Stack now includes a rich collection of lightweight shipping agents known as Beats for sending data to Elasticsearch.</p><p><em>Source:&nbsp;<a href="https://www.elastic.co/what-is/elasticsearch">https://www.elastic.co/what-is/elasticsearch</a></em></p></blockquote><h4>Kibana &#8211; a basic SIEM interface</h4><p>Kibana is a web-based user interface to visualize the data stored in Elasticsearch. It was designed by the same team that developed Elasticsearch and built specifically to interact with it&#8217;s data. The official description is:</p><blockquote><p>Kibana is an open source frontend application that sits on top of the Elastic Stack, providing search and data visualization capabilities for data indexed in Elasticsearch. Commonly known as the charting tool for the Elastic Stack (previously referred to as the ELK Stack after Elasticsearch, Logstash, and Kibana), Kibana also acts as the user interface for monitoring, managing, and securing an Elastic Stack cluster &#8212; as well as the centralized hub for built-in solutions developed on the Elastic Stack. Developed in 2013 from within the Elasticsearch community, Kibana has grown to become the window into the Elastic Stack itself, offering a portal for users and companies.</p><p><em>Source:&nbsp;<a href="https://www.elastic.co/what-is/kibana">https://www.elastic.co/what-is/kibana</a></em></p></blockquote><h3>The interface</h3><p>For the next steps,&nbsp;<a href="https://app.logz.io/">login in your Logz.io account</a>&nbsp;and head over to Kibana:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!W8pQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!W8pQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 424w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 848w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 1272w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!W8pQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png" width="1456" height="844" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:844,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:55430,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!W8pQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 424w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 848w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 1272w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As you can see, there are a lot of information available in a compact manner.</p><p>The top section, like in the picture below, allows to navigate in the available Logz.io features / sections</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ih3Z!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 424w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 848w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 1272w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ih3Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png" width="1015" height="69" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:69,&quot;width&quot;:1015,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:5694,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ih3Z!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 424w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 848w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 1272w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>We&#8217;ll talk about each of them in details when the time comes, but in a few words:</p><ul><li><p><strong>Metrics</strong>&nbsp;is used to have an easy and centralized view of your server(s) metrics, like CPU usage, memory usage, etc.</p></li><li><p><strong>Live Tail</strong>&nbsp;is used to look at the logs as they come in the platform, in real-time.</p></li><li><p><strong>Send Your Data</strong>&nbsp;is where you can get details on how to connect many platforms and technologies to Logz.io.</p></li><li><p><strong>Alerts &amp; Events</strong>&nbsp;is where we go to create and modify alerts.</p></li><li><p><strong>Insights</strong>&nbsp;provide useful hints on what problems might be occurring in your server(s).</p></li><li><p><strong>ELK Apps</strong>&nbsp;is a marketplace of Dashboard, Alerts and other useful tools provided by Logz.io and the community.</p></li></ul><p>For the left section, you can press the button to the bottom to expand the section:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9Uzx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 424w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 848w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 1272w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9Uzx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png" width="43" height="45" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:45,&quot;width&quot;:43,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!9Uzx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 424w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 848w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 1272w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>Once expanded you get the following :</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2rtC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2rtC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 424w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 848w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 1272w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2rtC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png" width="224" height="387" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:387,&quot;width&quot;:224,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:7548,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!2rtC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 424w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 848w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 1272w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The&nbsp;<strong>Discover</strong>&nbsp;section is the one you see as you come on the site. It allows to search and browse the data. We&#8217;ll have a look later in this post.</p><p>The&nbsp;<strong>Visualize</strong>&nbsp;section is used to generate aggregated graphs (Pie Chart, Data Table, Heat Map, Region Map, Line Graph, etc.). This is really useful to easily make sense of a lot of data. For example, you could search for the most common processes started on a single server or on all your servers. Or you could draw the total traffic logs over time for your website to better understand your peak hours.</p><p>The&nbsp;<strong>Dashboard</strong>&nbsp;is useful to create, you guess it, dashboards. They are a centralization of multiple saved Visualize graphs. They allow to quickly see different pattern that interest us in a centralized place. Also, any filter you apply on the dashboard will be applied to all the Visualization in the dashboard. For example, if you have a dashboard for your website traffic, you can isolate a single IP and see all the Visualization graphs automatically updated to display info on that single IP.</p><p><strong>Timelion</strong>&nbsp;is useful to overlay and compare different time-based graphs. You could, for example, compare the traffic between 2 servers by having them in a single graph.</p><p>The&nbsp;<strong>Management</strong>&nbsp;section is for, well, management (of Kibana). But this is for advanced users and we don&#8217;t have to go there often, so I won&#8217;t go in details.</p><p><strong>In the top of the center section</strong>&nbsp;we have the search tools:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!a-3N!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 424w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 848w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 1272w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!a-3N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png" width="963" height="127" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:127,&quot;width&quot;:963,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:10194,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!a-3N!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 424w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 848w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 1272w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>Here we can use a&nbsp;<a href="https://www.elastic.co/guide/en/elasticsearch/reference/7.6/query-dsl-query-string-query.html#query-string-syntax">Lucene</a>&nbsp;query or a&nbsp;<a href="https://www.elastic.co/guide/en/kibana/7.6/kuery-query.html">Kibana Query Language</a>&nbsp;(KQL) query to search for the data. We can also apply filters (for example: &#8220;IP: 127.0.0.1&#8221;).</p><p>On the right we have the time period over which we apply our&nbsp;<strong>search</strong>&nbsp;(in the picture here the data displayed is from the 15 minutes before the moment the search was launched).</p><p>To refresh the data, we can press the &#8220;<strong>Refresh</strong>&#8221; button. It is possible to <strong>Save a search</strong> so they can be Opened at another time, or Shared.</p><p>The big &#8220;<strong>Create alert</strong>&#8221; button is useful to quickly jump to the section to create an alert from the currently applied query and filters. This is what we&#8217;ll be using later to create an alert.</p><p>In the left of the center section&nbsp;we have all the fields available from our logs. We can interact with these fields (filter, visualize, etc.):</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!U87o!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!U87o!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 424w, https://substackcdn.com/image/fetch/$s_!U87o!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 848w, https://substackcdn.com/image/fetch/$s_!U87o!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 1272w, https://substackcdn.com/image/fetch/$s_!U87o!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!U87o!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png" width="336" height="338" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:338,&quot;width&quot;:336,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:7824,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!U87o!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 424w, https://substackcdn.com/image/fetch/$s_!U87o!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 848w, https://substackcdn.com/image/fetch/$s_!U87o!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 1272w, https://substackcdn.com/image/fetch/$s_!U87o!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The Selected fields are the one used as columns in the main center section. When you hover on a field, the &#8220;add&#8221; button appears. You can add columns to the main center section by clicking on the &#8220;add&#8221; button. You can also click a field to get a quick view of the top values for that field.</p><p><em>Note: If you get the button &#8220;Field not indexed&#8221;, simply click on it. The page will refresh and the field will be available.</em></p><p><strong>In the center of the center section</strong>&nbsp;we have the main section:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NZeR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NZeR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 424w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 848w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 1272w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NZeR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png" width="1456" height="593" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:593,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:25746,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!NZeR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 424w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 848w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 1272w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>At the top of the main section we have a timeline for the count of messages over a period or time.</p><p>In my picture, we can see I have around 3 messages per period of 20 seconds, for a total of 68 messages (hits). You can use your mouse to select a time period and change your time frame (here being the &#8220;Last 15 minutes&#8221;).</p><p><em>Note: in my blog, &#8220;messages&#8221; and &#8220;logs&#8221; are interchangeable and are used to describe a single event that happened on the server or computer, like a logon.</em></p><p>Then we have the logs.&nbsp;<strong>This is where all the magic happens</strong>:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BVDq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BVDq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 424w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 848w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 1272w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BVDq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png" width="1046" height="312" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/036ab53b-004b-4643-92c7-3524661e1682_1046x312.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:312,&quot;width&quot;:1046,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:7730,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BVDq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 424w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 848w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 1272w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here I only have 2 columns selected: Time and message. If you where to add more fields as column, they would be visible here.</p><p>When you hover on a field (like &#8220;message&#8221;) you get an X to remove the field from the displayed columns.</p><p>If you click on the small arrow to the left of the row, you can expand the specific log to see all the fields and their values:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WEkN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 424w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 848w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 1272w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WEkN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png" width="300" height="77" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:77,&quot;width&quot;:300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WEkN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 424w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 848w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 1272w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></div></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0BXT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0BXT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 424w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 848w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 1272w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0BXT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp" width="847" height="656" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:656,&quot;width&quot;:847,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:21576,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!0BXT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 424w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 848w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 1272w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here, on the left is the name of the field, like &#8220;@metadata.beat&#8221; and on the right is the value, like &#8220;winlogbeat&#8221;. If you hover on the field, you get 4 icons:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KIbF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 424w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 848w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 1272w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KIbF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png" width="120" height="37" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:37,&quot;width&quot;:120,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!KIbF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 424w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 848w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 1272w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>The + and &#8211; are used to add a filter to specifically search for the value or to remove the value from the results, respectively. The next icon to the right is used to add the field as a column and the last one is to add a filter to make sure the field is present in the log (for example, exclude the logs that don&#8217;t have an IP).</p><h3>Navigating the logs in a SIEM</h3><p>To learn how to navigate the logs, we&#8217;ll use a useful context in windows environment: we&#8217;ll search for the last user that logged in.</p><p>A quick google for &#8220;windows view the logon events&#8221; give me many results, including&nbsp;<a href="https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/basic-audit-logon-events">https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/basic-audit-logon-events</a>.</p><p>By reading we can understand that Windows logs the logon events. By scrolling a little, we can see the &#8220;Logon events&#8221; number and their matching description. Here &#8220;4624&#8221; looks like what we are looking for: &#8220;A user successfully logged on to a computer.&#8221;.</p><p><em>Hint: learn the event IDs 4624 and 4625, they are used really often in a Windows environment!</em></p><p>So back in Logz, we need to find the field that contains the 4624. What happens if I search for &#8220;4624&#8221;?</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uozF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uozF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 424w, https://substackcdn.com/image/fetch/$s_!uozF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 848w, https://substackcdn.com/image/fetch/$s_!uozF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 1272w, https://substackcdn.com/image/fetch/$s_!uozF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uozF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp" width="958" height="250" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:250,&quot;width&quot;:958,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:16186,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uozF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 424w, https://substackcdn.com/image/fetch/$s_!uozF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 848w, https://substackcdn.com/image/fetch/$s_!uozF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 1272w, https://substackcdn.com/image/fetch/$s_!uozF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>No results&#8230; Hum&#8230; Ohhh the time frame! I didn&#8217;t login in the last 15 minutes. Let&#8217;s change that to 60 minutes ago and click the Update button.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ReBT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ReBT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 424w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 848w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 1272w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ReBT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp" width="984" height="605" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:605,&quot;width&quot;:984,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:37846,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ReBT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 424w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 848w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 1272w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>14 hits! But wait, I didn&#8217;t login 14 times in the last hour? And what are these users with a dollar &#8220;$&#8221; sign I can see in the &#8220;message&#8221; column? Let&#8217;s ask Google. A search for &#8220;windows event id 4624 user with dollar sign&#8221;, first result:&nbsp;<a href="https://www.ultimatewindowssecurity.com/securitylog/book/page.aspx?spid=chapter5">https://www.ultimatewindowssecurity.com/securitylog/book/page.aspx?spid=chapter5</a></p><p><em>Hint: you can save this site for later, ultimatewindowssecurity.com is filled with info on Windows event details, including Sysmon!</em></p><p>This page has a lot of info. Let&#8217;s jump to the explanation of the &#8220;$&#8221; sign with CTRL+F (search in page). We get this description:</p><blockquote><p>DC Security logs contain many Logon/Logoff events that are generated by computer accounts as opposed to user accounts. As with computer-generated account logon events, you can recognize these logon and logoff events because the Account Name field in the New Logon section will list a computer name followed by a dollar sign ($). You can ignore computer-generated Logon/Logoff events.</p></blockquote><p>So the events with these accounts are computer-generated Logon events. But they happen on a Domain Controller (DC). In my case, I am testing on a Windows instance not joined to a domain so this is not what I am looking for.</p><p>Let&#8217;s keep digging. The name of the field was &#8220;winlog.event_data.SubjectUserName&#8221;, I wonder if another field contains &#8220;UserName&#8221;. Looks like it: &#8220;winlog.event_data.TargetUserName&#8221;.</p><p><em>Hint: When DC joined, when you have more than one DC sending logs, you&#8217;ll get more than one user. You can enter the following query to filter our all the users with a dollar sign: &#8220;winlog.event_data.SubjectUserName: /.?$.?/&#8221; (without the quotes), the total query at this point being: &#8220;4624 AND NOT winlog.event_data.SubjectUserName: /.?$.?/&#8221; (without the quotes)</em></p><p>For simplicity, I&#8217;ll add the field &#8220;winlog.event_data.TargetUserName&#8221; as a column:<br><br>There you go, I now have useful details!<br><br>So it looks like my most recent logon was on &#8220;Nov 26, 2020 @ 21:13:04.405&#8221;.</p><p><em>Note: You might have noticed that the logs timestamp change from picture to picture, this is because as I write this post I update and refine my search so I can get useful images.</em></p><h3>Creating an Alert &#8211; the best feature of a SIEM</h3><p>Now we know how to search the logs, the only thing left is to create an alert and send an email. I&#8217;ll use the same context and create an Alert to email me every time I logon.</p><p><em>Note: this is used as an example only. If you create an alert like this, you&#8217;ll receive a lot of emails!</em></p><p>So, starting from my research for the most recent logon for my user named &#8220;User&#8221; (I know, it&#8217;s original!), I&#8217;ll add a filter specifically for my user so I don&#8217;t receive an email every time my computer generates an event:<br><br><br>We are now filtering specifically for the user &#8220;User&#8221;, but I don&#8217;t like the &#8220;4624&#8221; in the search bar, without specifying it&#8217;s field name; it&#8217;s comparing the value to all the values of all the fields! Now that we know we only have the real logon events for my user, let&#8217;s find the field name for the event ID 4624 with a CTRL+F &#8220;4624&#8221;:<br></p><p><em>Note: don&#8217;t forget to open a log so we can see all it&#8217;s field</em></p><p><em>Note: Kibana display the thousands with a comma so we need to search for &#8220;4,624&#8221;&#8230; I am Canadian, I hate this format&nbsp;</em></p><p>Let&#8217;s filter for the value &#8220;4624&#8221; for the field &#8220;event.code&#8221; and remove the &#8220;4624&#8221; from the search bar and click the &#8220;Update&#8221; button:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!m05K!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 424w, https://substackcdn.com/image/fetch/$s_!m05K!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 848w, https://substackcdn.com/image/fetch/$s_!m05K!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 1272w, https://substackcdn.com/image/fetch/$s_!m05K!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!m05K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp" width="727" height="88" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:88,&quot;width&quot;:727,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:5406,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!m05K!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 424w, https://substackcdn.com/image/fetch/$s_!m05K!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 848w, https://substackcdn.com/image/fetch/$s_!m05K!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 1272w, https://substackcdn.com/image/fetch/$s_!m05K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></div></figure></div><p><em>Hint: For performance reasons, it&#8217;s better to use filters than the search bar, but that only work for exact matches.</em></p><p>Now that we have exactly the results we want, we know our query is good. Let&#8217;s click the big blue &#8220;Create alert&#8221; button. We are redirected to the &#8220;Alerts &amp; Events&#8221; section of Logz.io.</p><p>We give the alert a name: &#8220;The user User logged on&#8221;</p><p>Leave everything as is, up to the section &#8220;Notify&#8221; (the query in the section &#8220;Search for&#8230;&#8221; is pre-filled with the filters we prepared before, thanks to the big blue button).</p><p>You can give a useful description if you want, I don&#8217;t as my alert title is clear enough.</p><p>Then in the field &#8220;Who to send it to&#8221;, simply write your email and select it.</p><p>When you&#8217;re satisfied with everything, click the &#8220;Save&#8221; button on the top right:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!d4pq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!d4pq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 424w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 848w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 1272w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!d4pq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp" width="973" height="710" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:710,&quot;width&quot;:973,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:26584,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!d4pq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 424w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 848w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 1272w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The only thing left is to test the alert. Simply login on your computer and you should receive an email in the next 15 minutes (that&#8217;s the time I defined in the &#8220;Trigger if&#8230;&#8221; section). You will now receive an alert every time you login on your computer!</p><p><em>Note: If you add more computers, because we didn&#8217;t filter for the source, you would get an alert every time the user &#8220;User&#8221; logon on any computer.</em></p><h3>Conclusion</h3><p>That&#8217;s it! You now know the basics of Logz.io, how to search logs and how to create alerts, which is the basis of using a SIEM. I will leave to you the pleasure of discovering how to create Visualize graphs and Dashboards. There are a lot more things to learn, which we&#8217;ll do in time. Everything is now in place for me to start writing blogs on detection patterns! I&#8217;ll do simple patterns in the &#8220;SIEM 102&#8221; series, and more complex detection patterns in the &#8220;SIEM 201&#8221; series. I&#8217;ll eventually talk about how we can automate responses and transform and bonify the data.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[Information Security synonyms]]></title><description><![CDATA[Information Security, Cybersecurity, IT security, and other synonyms]]></description><link>https://www.tristandostaler.com/p/information-security-synonyms</link><guid isPermaLink="false">https://www.tristandostaler.com/p/information-security-synonyms</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Wed, 13 Nov 2024 13:08:08 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Zuf4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Information Security, Cybersecurity, IT security, and other synonyms</h2><p>Information Security, Cybersecurity, IT security. We&#8217;ve all heard and read them in interchangeable ways, these synonyms all aim to define what is security. But most of them imply assumptions harmful for the Information Security domain. Let me explain.</p><h3>What we try to do</h3><p>Generally, when we, or often the media, use the term &#8220;Cybersecurity&#8221;, we want to describe the idea that we want to be secure against some kind of &#8220;hacker&#8221;. Most people who use this term imagine a &#8220;hacker&#8221;, in a black hoodie, in front of a screen full of green scribble. But this idea misses the point of what really is Security, or as I prefer to say, Information Security, or InfoSec.</p><p>What a bad actor, often named &#8220;hacker&#8221;, really want to do is to gain access to information that he/she wouldn&#8217;t normally have access otherwise to reach a goal.</p><p>In a ransomware attack, the goal is to keep you from having access to this information and extort money from you. In a phishing attack, the goal could be to steal credentials, which is a kind of information, to use them or sell them.</p><p>So once we understand what the bad actor wants, we understand what we need to protect. At the highest level, the goal is Information. Hence the word &#8220;information&#8221; in &#8220;Information Security&#8221;. The security part imply the idea that we want to protect this information against all kind of attacks.</p><h3>Why it&#8217;s a problem</h3><p>The problem with the words &#8220;Cybersecurity&#8221;, &#8220;IT security&#8221; and other similar terms is that they imply that the security must be done at the technology level: the computers, the servers, the firewalls, the switches, etc. While it is important to secure these technologies, the global strategy needs to be way larger.</p><p>For example, no technology can help us against the CEO fraud if an untrain employee falls for it. The problem in this specific case is the lack of training. Training is not a technological solution but it is one of the most effective strategy to protect the business.</p><p>If we try to reduce the security problem to only the technology, we&#8217;ll fail miserably.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Zuf4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Zuf4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!Zuf4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg" width="524" height="382" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:382,&quot;width&quot;:524,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Data security vs. the people (in a ring). Cybersecurity vs the people (in a ring).&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Data security vs. the people (in a ring). Cybersecurity vs the people (in a ring)." title="Data security vs. the people (in a ring). Cybersecurity vs the people (in a ring)." srcset="https://substackcdn.com/image/fetch/$s_!Zuf4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Data security vs. The people</figcaption></figure></div><p>The reason these terms are harmful to the domain is that they create this idea in the mind of the leaders that security is an IT problem. So it often falls in the hands of an IT officer, like the CTO. Most businesses don&#8217;t have a CISO, and those who do have him/her under the IT department. I could write a complete post on why this is a bad idea.</p><h3>What should we do</h3><p>This is a business culture problem and this is where we need to start the work. Businesses that invest in a Security culture often thrives even more than the ones that put millions on technologies.</p><p>So it is more than time that we start talking about this domain by naming it &#8220;Information Security&#8220;!</p><p><em>Note: I wrote &#8220;hacker&#8221; between quotes when talking about bad actors because this term became pejorative. Initially, a hacker is only someone who finds a way around some limitations, with good or bad intentions; mostly goods. For example, my reading light is too bright and I can&#8217;t dim it enough; so I put black tape on it to cover about 80% so I get just enough light. That&#8217;s hacking applied to something else than technology. It&#8217;s a ridiculous example to demonstrate my idea.</em></p><p><em>As explained in wikipedia:</em></p><blockquote><p>The controversy is usually based on the assertion that the term originally meant someone messing about with something in a positive sense, that is, using playful cleverness to achieve a goal. But then, it is supposed, the meaning of the term shifted over the decades and came to refer to computer criminals</p><p>Source: <a href="https://en.wikipedia.org/wiki/Hacker">https://en.wikipedia.org/wiki/Hacker</a></p></blockquote><p><em>Note 2: because of the way SEO works, I&#8217;ll hack my way to the top results by placing terms like &#8220;Cybersecurity&#8221; in my blog from time to time &#128521;</em></p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[Why the SolarWinds hack matters]]></title><description><![CDATA[Maybe you saw the news on the SolarWinds hack.]]></description><link>https://www.tristandostaler.com/p/why-the-solarwinds-hack-matters</link><guid isPermaLink="false">https://www.tristandostaler.com/p/why-the-solarwinds-hack-matters</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Tue, 12 Nov 2024 16:21:07 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/2fc092e8-2fcc-4afb-b61f-6f2594f47ff1_770x154.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Maybe you saw the news on the SolarWinds hack. If you didn&#8217;t, you should follow me on Twitter: <a href="https://twitter.com/TristanDostaler">https://twitter.com/TristanDostaler</a><br><br>In this post I want to explain, in a way understandable by everyone, why this hack matters.</p><h2>What is SolarWinds Orion</h2><p><a href="https://www.solarwinds.com/">SolarWinds</a> is a US based company. They have clients worldwide. One of the products they offer is <a href="https://www.solarwinds.com/fr/solutions/orion">Orion</a>. This tool does a lot of things, but the main feature that interest us is that it provides the ability to monitor your infrastructure. To do this, you need to install the Orion agent on one of your servers. This agent is installed with high privileges and is able to login on most of your infrastructure to gather metrics like CPU, RAM, etc.</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Do9S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ec69a59-365f-437c-a7f0-ddb3db6c5495_770x154.png 424w, https://substackcdn.com/image/fetch/$s_!Do9S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ec69a59-365f-437c-a7f0-ddb3db6c5495_770x154.png 848w, https://substackcdn.com/image/fetch/$s_!Do9S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ec69a59-365f-437c-a7f0-ddb3db6c5495_770x154.png 1272w, https://substackcdn.com/image/fetch/$s_!Do9S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ec69a59-365f-437c-a7f0-ddb3db6c5495_770x154.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Do9S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ec69a59-365f-437c-a7f0-ddb3db6c5495_770x154.png" width="770" height="154" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2ec69a59-365f-437c-a7f0-ddb3db6c5495_770x154.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:154,&quot;width&quot;:770,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Solarwinds &#8211; ITWay Hellas S.A.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Solarwinds &#8211; ITWay Hellas S.A." title="Solarwinds &#8211; ITWay Hellas S.A." srcset="https://substackcdn.com/image/fetch/$s_!Do9S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ec69a59-365f-437c-a7f0-ddb3db6c5495_770x154.png 424w, https://substackcdn.com/image/fetch/$s_!Do9S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ec69a59-365f-437c-a7f0-ddb3db6c5495_770x154.png 848w, https://substackcdn.com/image/fetch/$s_!Do9S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ec69a59-365f-437c-a7f0-ddb3db6c5495_770x154.png 1272w, https://substackcdn.com/image/fetch/$s_!Do9S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ec69a59-365f-437c-a7f0-ddb3db6c5495_770x154.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></div></figure></div><h2>What&#8217;s the hack</h2><p>At the moment I am writing these lines, it is unclear how SolarWinds got hacked. What we know is that it was perpetrated by an APT (<a href="https://en.wikipedia.org/wiki/Advanced_persistent_threat">Advanced Persistent Threat</a>, a term used to describe high profile malicious hacker groups) probably backed by Russia. In other words, <strong>they got hacked by a highly skilled group of hackers with deep pockets</strong>.</p><p>Once inside SolarWinds network, the APT added a <a href="https://en.wikipedia.org/wiki/Malware">malware</a> inside the Orion software that was then pushed to all the agents world wide. The malware was now alive inside many thousands (an estimate says 18 000+) public and private enterprises in all continents. This is what we call a &#8220;<a href="https://en.wikipedia.org/wiki/Supply_chain_attack">supply chain attack</a>&#8220;.</p><p>SolarWinds <a href="https://www.solarwinds.com/fr/securityadvisory">provided an update</a> that removes the malware from the code. You should make sure to apply it ASAP if you don&#8217;t already have it.</p><h2>Why it matters</h2><p>This impressive hack matters because now all companies that uses Orion needs to verify if they received the bad update. And if so, they need to check if the malware was used maliciously in their network.</p><p><strong>To phrase it differently, because of a single hack, the malicious actor was able to infiltrate multiple thousands companies</strong>. Quite impressive and scary.</p><h2>The good news</h2><p>The good news is that at this point this hack was used by the Russian APT only to attack specific targets (like FIreEye). In other words, you probably were affected but the malicious actor probably did not use the malware to attack you (unless you are a high profile target, in which case you&#8217;re probably aware of this threat? At least I hope&#8230;).</p><p>The other good news is that the firm FireEye published <a href="https://en.wikipedia.org/wiki/Indicator_of_compromise">IOC</a>s that can be used to verify if the malware was used in your network. The IOCs are available here: <a href="https://github.com/fireeye/sunburst_countermeasures">https://github.com/fireeye/sunburst_countermeasures</a></p><p>Sources:<br><a href="https://www.zdnet.com/article/microsoft-fireeye-confirm-solarwinds-supply-chain-attack/">https://www.zdnet.com/article/microsoft-fireeye-confirm-solarwinds-supply-chain-attack/</a><br><a href="https://www.crn.com/news/security/fireeye-us-federal-agencies-hacked-through-solarwinds-report">https://www.crn.com/news/security/fireeye-us-federal-agencies-hacked-through-solarwinds-report</a><br>And many threads on Twitter</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[Zero Trust Architecture – What it is and what I think of it]]></title><description><![CDATA[I have been reading the Zero Trust Architecture (ZTA) publication from the NIST for quite some time now.]]></description><link>https://www.tristandostaler.com/p/zero-trust-architecture-what-it-is</link><guid isPermaLink="false">https://www.tristandostaler.com/p/zero-trust-architecture-what-it-is</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Tue, 12 Nov 2024 16:11:13 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ydd8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I have been reading the Zero Trust Architecture (ZTA) publication from the NIST for quite some time now. You can find the document here: <a href="https://csrc.nist.gov/publications/detail/sp/800-207/final">https://csrc.nist.gov/publications/detail/sp/800-207/final</a>. This 41 page document is dense and full of advanced architecture patterns. It took me a while to read and understand.</p><h2><br>What is a Zero Trust Architecture</h2><p>A Zero Trust Architecture (ZTA) is an Information Security architecture based on the idea that a network shouldn&#8217;t have inherent trust on the internal boundary. Many enterprise networks are designed like an egg where they have a rather strong and robust external shell, but once inside the shell, everything is lax; it needs only a little needle that is able to break through the shell to wreak havoc inside.</p><p>By designing a network using the ZTA, you can make sure that if an attacker is able to get a foothold in the internal network, he doesn&#8217;t have access to anything. Of course, if the attacker stole credentials, he would still have access to what the user he impersonate has access to. But with a ZTA, there is a dynamic and constant evaluation of the global risk and current status of the whole enterprise assets, meaning that an access that was given to a user could be removed at any point based on many criteria.</p><p>For example, if the global risk of the enterprises reaches a critical point when a new <a href="https://cve.mitre.org/">CVE</a> with a 9.9/10 <a href="https://nvd.nist.gov/vuln-metrics/cvss">CVSS</a> score appears within it&#8217;s assets, the algorithm could block access to sensitive information to users until the CVE is patched, or could enforce <a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA</a> verification to get access to the data where there would normally be only a single factor.</p><p>Another interesting example is that an access could be denied if it&#8217;s discovered that some credentials of the user trying to get access were leaked recently (for example by using </p><p>https://haveibeenpwned.com/</p><p>).</p><h2>Why it matters</h2><p>A Zero Trust Architecture is a key element in modern architecture, cloud or not. For example, it is one of the main elements of the new architecture recommendation by Microsoft: <a href="https://docs.microsoft.com/en-us/security/compass/privileged-access-strategy">https://docs.microsoft.com/en-us/security/compass/privileged-access-strategy</a>.</p><p>This model significantly reduces the risk that an attacker could escalate it&#8217;s privileges, maintain an access for a long period and it makes it harder to use elevated privileges when they are available to the attacker (for example: through phishing).</p><h2>How is a Zero Trust Architecture implemented</h2><p>As I explained, the official documentation is dense so I won&#8217;t be able to summarize how to design and implement a ZTA here. For that, I would recommend you read the official document. But I will try to make the intent of the architecture clear enough so that you can decide if it&#8217;s something you should do in your enterprise.</p><p>The whole principle of the architecture is summarized in the section 3 of the document at page 9: <strong>Logical components of Zero Trust Architecture</strong>. Without going to much in the details, we can get a pretty good idea of what&#8217;s going on with this picture:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ydd8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ydd8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png 424w, https://substackcdn.com/image/fetch/$s_!ydd8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png 848w, https://substackcdn.com/image/fetch/$s_!ydd8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png 1272w, https://substackcdn.com/image/fetch/$s_!ydd8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!ydd8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png" width="1024" height="414" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:414,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Zero Trust Architecture design&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Zero Trust Architecture design" title="Zero Trust Architecture design" srcset="https://substackcdn.com/image/fetch/$s_!ydd8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png 424w, https://substackcdn.com/image/fetch/$s_!ydd8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png 848w, https://substackcdn.com/image/fetch/$s_!ydd8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png 1272w, https://substackcdn.com/image/fetch/$s_!ydd8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c0c7e06-0274-44af-a5b9-32c666bd5aa0_1024x414.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Core Zero Trust Logical Components</figcaption></figure></div><p>In this graph, we can see many components:</p><p><strong>Subject</strong>: The subject is the user using the System (a computer) to get access to some Enterprise Resource (some piece of information)</p><p><strong>System</strong>: This is simply the computer, or something similar, being used by the Subject (user) to get access to something.</p><p><strong>Policy Enforcement Point</strong>: This is one of the core components of a ZTA. It&#8217;s purpose is to receive access requests from Systems (users) and ask the Policy Decision Point if an access is granted. It is important to note that the access can be revoked at any moment as everything goes through it, even once an access is granted. A Policy Enforcement Point can be a single system, but can also be split in 2: the Client (like a computer) and the Resource (like a website allowing access to the user).</p><p><strong>Policy Decision Point</strong>: This is a logical component encompassing the other 2 main components of a ZTA: the Policy Engine and the Policy Administrator.</p><p><strong>Policy Administrator</strong>: This is the component that handles all the session information, like the authentication token. It is also responsible of allowing or stopping the communication between the System and the Resource depending on the Policy Engines decision.</p><p><strong>Policy Engine</strong>: This is the component that makes the ultimate access decision based on the policies defined by the enterprise. When the Policy Enforcement Point asks if a System is allowed to communicate to a resource, the Policy Administrator communicates with the Policy Engine. The Policy Engine makes a decision using multiple decision points (including external resources like Threat Intelligence) and the policy for the resource. The Policy Administrator will then execute the decision by creating the token for the sessions and other related things. If at any point the Policy Engine decides that the communication should be stopped, the Policy Administrator will revoke the validity of the token and the communication between the System and the Resource won&#8217;t be allowed anymore.</p><p>So, to summarize the flow, the Subject (user) using a System (computer) will try to connect to a Resource. To establish the connection, the System will ask access to the Policy Enforcement Point. The Policy Enforcement Point will ask how to proceed to the Policy Administrator which validates with the Policy Engine if the access should be allowed or denied. If access is granted, the Policy Administrator generated all the required information for the session to be authenticated and authorized and returns the session details to the Policy Enforcement Point which grants access to the System to the Resource.</p><h2>How can we implement a ZTA</h2><p>The previous section explains in an architectural concept how a ZTA can be implemented but it doesn&#8217;t explain how to actually install and use it. Because of the complexity of the architecture, I won&#8217;t go into the details on how this can be achieved, but I&#8217;ll direct you towards great resources.</p><p>If you&#8217;re in a Windows environment, the best way is to follow the guidelines and steps provided by Microsoft: <a href="https://docs.microsoft.com/en-us/security/compass/privileged-access-strategy">https://docs.microsoft.com/en-us/security/compass/privileged-access-strategy</a></p><p>If you&#8217;re in a Linux environment, there are some providers that can help implement this strategy, one of them being Okta: <a href="https://www.okta.com/resources/datasheet-advanced-server-access-a-zero-trust-approach-to-linux-and-windows-server-access-via-ssh-and-rdp/">https://www.okta.com/resources/datasheet-advanced-server-access-a-zero-trust-approach-to-linux-and-windows-server-access-via-ssh-and-rdp/</a></p><h2>What I think of the ZTA</h2><p>Because of the current context with the COVID-19 and the fact that a lot of enterprises now have to support people working from home, the idea of a ZTA starts to get traction. Since I started reading about it I have seen more and more blog posts talking about it.</p><p>In an ideal world, everyone would implement a ZTA. That would make most enterprise really resilient to attacks and reduce the number of successful hacks we see weeks after weeks. But like it is for everyone, budgets are limited and technical human resources that can make these changes are scarce.</p><p>The main problem is that, like most secure features, it is not enabled by default. This implies that we need to assign a skilled resources fulltime for a significant amount of time on this project, slowing us on all the other important things we need to do.</p><p>If you go to the <a href="https://docs.microsoft.com/en-us/security/compass/privileged-access-strategy">link for Microsoft Windows</a>, you&#8217;ll quickly realize that this architecture is no simple task. And if you know Microsoft, you know everything won&#8217;t be perfectly documented and some feature won&#8217;t work like you think it should, meaning you&#8217;ll have to do some trial and error to make it work.</p><p>I think a ZTA should be applied to everyone, but because of the effort needed, it will be applied mostly by some medium and large enterprises that value Security as a core business need.</p><h3>Sources</h3><ul><li><p><a href="https://csrc.nist.gov/publications/detail/sp/800-207/final">https://csrc.nist.gov/publications/detail/sp/800-207/final</a></p></li><li><p><a href="https://docs.microsoft.com/en-us/security/compass/privileged-access-strategy">https://docs.microsoft.com/en-us/security/compass/privileged-access-strategy</a></p></li><li><p><a href="https://docs.microsoft.com/en-us/security/zero-trust/identity">https://docs.microsoft.com/en-us/security/zero-trust/identity</a></p></li><li><p><a href="https://docs.microsoft.com/en-us/security/compass/esae-retirement">https://docs.microsoft.com/en-us/security/compass/esae-retirement</a></p></li><li><p><a href="https://www.techrepublic.com/article/zero-trust-security-a-cheat-sheet/">https://www.techrepublic.com/article/zero-trust-security-a-cheat-sheet/</a></p></li><li><p><a href="https://www.helpnetsecurity.com/2020/03/02/building-zero-trust/">https://www.helpnetsecurity.com/2020/03/02/building-zero-trust/</a></p></li><li><p><a href="https://www.okta.com/resources/datasheet-advanced-server-access-a-zero-trust-approach-to-linux-and-windows-server-access-via-ssh-and-rdp/">https://www.okta.com/resources/datasheet-advanced-server-access-a-zero-trust-approach-to-linux-and-windows-server-access-via-ssh-and-rdp/</a></p></li><li><p><a href="http://www.digitaljournal.com/tech-and-science/technology/a-zero-trust-framework-is-no-longer-optional-for-enterprises/article/582718?s=09">http://www.digitaljournal.com/tech-and-science/technology/a-zero-trust-framework-is-no-longer-optional-for-enterprises/article/582718?s=09</a></p></li></ul><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 102 — Detect WordPress bruteforce]]></title><description><![CDATA[Why we need to detect WordPress bruteforce attack]]></description><link>https://www.tristandostaler.com/p/siem-102-detect-wordpress-bruteforce</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-102-detect-wordpress-bruteforce</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Tue, 12 Nov 2024 15:52:04 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!6ZP2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Why we need to detect WordPress bruteforce attack</h2><p>WordPress is one of the most popular CMS and website server in the world. It handles &#8220;<a href="https://techjury.net/blog/percentage-of-wordpress-websites/">more than 30%</a>&#8221; of the websites on the internet. Because of this, bad actors are really interested in finding ways to get control of them.</p><p>One of the most easy way for them to achieve this is by bruteforcing the login for common username and password combinaisons, including from past leaks. This is a working strategy because by default WordPress doesn&#8217;t protect against bruteforce attacks.</p><h2>How do we detect a WordPress bruteforce attack</h2><p>In the WordPress world, there are many ways to handle bruteforce attacks, as this is rather simple to detect. But because we are in the SIEM series, I&#8217;ll talk about how to detect the attack using a SIEM.</p><p>For this post, I assume you have WordPress installed on linux using Apache and that you are sending Apache&#8217;s logs, as defined in the filebeat configuration I provided in the &#8220;<a href="https://www.tristandostaler.com/siem-101-initial-setup/">Initial Setup</a>&#8221; post.<br><em>(Hint:&nbsp;<a href="https://medium.com/better-programming/how-to-install-lamp-stack-on-ubuntu-db77ac018116">LAMP</a>)</em></p><h3>Some background</h3><p>To understand the next section, we need to understand how WordPress works when someone tries to login and how we can see this in the logs.</p><p>There are two ways to login to wordpress:</p><ol><li><p>Through the standard login page (wp-login.php)</p></li><li><p>Through&nbsp;<a href="https://www.hostinger.com/tutorials/xmlrpc-wordpress">xmlrpc</a> when not disabled</p></li></ol><p>After a successful logon, we get redirected (<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302">302 Found</a>) to the WordPress dashboard. When a failed logon occures, the response is different (we get a 200 OK and the page contains an error message).</p><h3>The detection pattern</h3><p>Now that we know how WordPress behaves when logging in, we know what to look for to detect a bruteforce attack.</p><p>The idea is to count the number of times the same IP sent a request to one of the login pages and got something else than a successful logon response. When the count reaches a defined threshold (like 10) in a defined time window (like 5 minutes), we consider it as being a bruteforce attack. In our case, we&#8217;ll simply send an email, but we could automatically block the attacking IP.</p><p>Here are the useful elements:</p><p>The <strong>query</strong>:&nbsp;request: (/.*<em>wp-login.*</em>/ OR /.<em>*xmlrpc.*</em>/) AND NOT response: 302<br>The field &#8220;request&#8221; is the field, after parsing, that stores the page being accessed. The field &#8220;response&#8221; is the field, after parsing, that stores the response code of the request.</p><p>First&nbsp;<strong>group by</strong>:&nbsp;beat_agent.hostname<br>This group by is necessary if we plan, or do, have more than 1 WordPress website, or any website with these login pages.</p><p>Second <strong>group by</strong>: geoip.ip<br><em>(or simply &#8220;ip&#8221;, depending on your config)</em></p><p>This group by is necessary because we want to know what IP is attacking us so we can eventually take an action. This info could also be usefull in an investigation.</p><p>For the sensitivity (10 failed login in 5 minutes), I find it to be sensitive enough for most attacks and it has a low level of false positives. But you can always tweak it to fit your context.</p><p>For those of you who tells me that &#8220;an attacker could make 9 attemps every 5 minutes to bypass your measure&#8221;, that is true, but a bruteforce attacks that does 9 attemps every 5 minutes will probably never succeed and the attacker will go elsewhere, to a more juicy target.</p><p>For the next part, head over to&nbsp;<a href="https://app.logz.io/#/login">Logz.io and login</a>&nbsp;to your account.</p><h2>In practice</h2><p>The first thing to do is simulate a bruteforce. Because we are only looking for 10 tries in 5 minutes, it&#8217;s feasible manually. If you had a more agressive threshold, you would need to develop a script to send login requests.</p><p>Head over to the login page of your WordPress website. For me that would be <a href="https://www.tristandostaler.com/wp-login.php">https://www.tristandostaler.com/wp-login.php</a>.<br><em>Note: because I have some security plugins, this link is not normally working</em>. <em>I disabled the plugin while writing this post.</em></p><p>You can write anything in the fields Username and Password, then press &#8220;Log In&#8221;. Do this 10 times. You should now have 10 failed logon visible in the logs.</p><p>In Kibana, search the query: <em>request: (/.wp-login./ OR /.xmlrpc./) AND NOT response: 302</em></p><p>You can add the following fields as columns: beat_agent.hostname, geoip.ip (or simply ip) and response (this one is not useful for the alert but we&#8217;ll add it to see the behavior I described). You will get something similar to this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6ZP2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6ZP2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 424w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 848w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 1272w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!6ZP2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png" width="1024" height="571" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:571,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!6ZP2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 424w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 848w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 1272w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">WordPress bruteforce pattern</figcaption></figure></div><p>Here, we can notice a few things:</p><ol><li><p>My hostname is &#8220;novutech.ca&#8221; and not &#8220;tristandostaler.com&#8221;. This is because I am hosting my site on the same server as the website I use to advertise my <a href="https://novutech.ca/en/">hosting services</a> (the website needs to be updated, I know!)</p></li><li><p>The responses are &#8220;200&#8221;. This is, as I explained, the behavior that happens when a bad logon occurs.</p></li><li><p>We can see the IP 43.250.249.5 trying to bruteforce my site at the same time!</p></li></ol><p>You can now click on <strong>Create alert</strong> and enter the alert name &#8220;WordPress bruteforce&#8221;.</p><p>In the <strong>Group by</strong> field, add <em>geoip.ip</em> (or <em>ip</em>) and <em>beat_agent.hostname</em>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uGHJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uGHJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 424w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 848w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 1272w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!uGHJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png" width="1024" height="575" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/133125d1-963a-491b-8769-f229b3e04528_1024x575.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:575,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!uGHJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 424w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 848w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 1272w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Alert title and group by</figcaption></figure></div><p>In the&nbsp;<strong>Trigger</strong> if&nbsp;section, change the values to match the following image:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bU3s!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 424w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 848w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 1272w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!bU3s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png" width="1024" height="191" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:191,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!bU3s!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 424w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 848w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 1272w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div><figcaption class="image-caption">Trigger if</figcaption></figure></div><p>In the&nbsp;Notify&nbsp;section, add your email and then save your new alert.</p><h2>Managing false positives</h2><p>After creating the alert, the number of false positive should be pretty low. But if you happen to get too much false positives in your environment, there are a few strategies we can use to reduce the level of false positives:</p><ol><li><p>We can reduce the sensitivity. Increase the threshold by reducing the time frame we look at, or increase the number of failed attempt. A smaller timeframe will detect aggressive bruteforce but can be bypassed more easily. A higher number of failed attempts will increase the risk that an attacker guesses the right username / password combination before being locked out.</p></li><li><p>If you do have <a href="https://www.maxmind.com/en/geoip2-services-and-databases">geoip</a> enabled, you can have more sensitive alerts for some countries and less sensitive alerts for other countries.</p></li><li><p>Whatever fits your environment. When creating an alert, it&#8217;s important to be creative and understand the usage patterns in our environments to reduce the level of false positive.</p></li></ol><h2>Conclusion</h2><p>That&#8217;s it, you can now detect a WordPress bruteforce and know how to manage false positives!</p><p>Don&#8217;t hesitate to write to me if you have any questions. This could also help me better understand how to write a good blog that answers most questions.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[An overview of a good InfoSec Strategy]]></title><description><![CDATA[A friend of mine recently challenged my post SIEM 102 &#8212; Detect WordPress bruteforce where he proposed a tool that can effectively bruteforce WordPress from a lot of different IPs:]]></description><link>https://www.tristandostaler.com/p/an-overview-of-a-good-infosec-strategy</link><guid isPermaLink="false">https://www.tristandostaler.com/p/an-overview-of-a-good-infosec-strategy</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Tue, 12 Nov 2024 15:46:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!_-0Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A friend of mine recently challenged my post <a href="https://www.tristandostaler.com/siem-102-detect-wordpress-bruteforce/">SIEM 102 &#8212; Detect WordPress bruteforce</a> where he proposed a tool that can effectively bruteforce WordPress from a lot of different IPs:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_-0Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_-0Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 424w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 848w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 1272w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_-0Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png" width="543" height="312" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:312,&quot;width&quot;:543,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:32978,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!_-0Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 424w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 848w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 1272w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Source: <a href="https://twitter.com/OffenseTeacher/status/1351927187180572673">https://twitter.com/OffenseTeacher/status/1351927187180572673</a></p><h2>Some background</h2><p>Some background are required to understand his response.</p><p>First, it is important to know that Guillaume is an excellent attacker / hacker (Red Team). He works at the same company as me (Okiok) on the offense side. He is hired by companies, through Okiok, to test their defenses. It&#8217;s his job to know the best attacking tools available. His job is to simulate an attack by a highly skilled bad actor.</p><p>Second, Fireprox is a tool that uses some features of Amazon Web Services (AWS) to send requests from AWS&#8217;s IPs. AWS is a cloud provider; they offer many cloud services like storage, computing, etc. They own a <a href="https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html">huge amount of IP addresses</a> so Fireprox leverages this feature to send requests to website using a new IP on almost every request (with some limitations).</p><p>In my post, I explain that we can detect a simple bruteforce if the same IP does 10 tries in 5 minutes. Because Fireprox uses a different IP (almost) every request, it can bypass this detection pattern.</p><h2>My answer: a good InfoSec Strategy</h2><p>The short answer is: you need a good InfoSec Strategy. There are a few key elements to answer this comment:</p><ol><li><p>A SIEM, and any detection use cases, is not a silver bullet. One use case is designed to detect one pattern of attack, but there are always new attacks. A SIEM is something that keeps evolving. It&#8217;s important to add new detection use cases as needed, and remove the old ones that are out of date.</p></li><li><p>A <a href="https://www.cisecurity.org/spotlight/cybersecurity-spotlight-defense-in-depth-did/">defense in depth</a> approach is key. It&#8217;s important to have many layers of security measures.</p></li><li><p>Understand your <a href="https://en.wikipedia.org/wiki/Threat_model">Threat Model</a>. The idea is to understand who might target you, from an unskilled bad actor to an <a href="https://fr.wikipedia.org/wiki/Advanced_Persistent_Threat">APT</a>.</p></li></ol><h3>The lifecycle of a Use Case</h3><p>When using a SIEM, we&#8217;ll develop more and more detection use cases as we learn of new attacks, we introduce new software and systems, etc. The problem with this is that the more use cases we have, the more resources are needed to run and operate the SIEM, without counting the false positive rate and time to maintain them.</p><p>As we add people, devices, systems and software in our environment, the existing use cases might start to generate more and more false positives. Because of this, it&#8217;s important to revisit the existing use cases and evaluate what strategy can be used to reduce the level of false positives. To get some ideas on false positive mitigation strategies, you can review the following posts:</p><ol><li><p><a href="https://www.tristandostaler.com/siem-102-detect-wordpress-bruteforce/">SIEM 102 &#8212; Detect WordPress bruteforce</a></p></li><li><p><a href="https://www.tristandostaler.com/siem-102-detect-windows-bruteforce/">SIEM 102 &#8212; Detect Windows bruteforce</a></p></li><li><p>Be creative! Try to find new ways to reduce the level of false positives without increasing the level of false negatives</p></li></ol><p>As a use case ages, it might become obsolete if, for example, the technology we try to protect is not used anymore. For example, if I were to change from WordPress to another CMS for my blog, any use case base on WordPress would become obsolete, but they would continue to impact the SIEM&#8217;s performance and it&#8217;s maintenance. For this reason, it&#8217;s important to periodically revisit and question if the use case is still useful.</p><p><em>When I say it would impact maintenance, this is because when you have a lot of use cases, it clusters the view of the SIEM and/or reports and affects any statistics you have (ex: what&#8217;s the percentage of use cases that trigger every weeks)</em></p><h3>A defense in depth strategy</h3><p>I couldn&#8217;t presume to produce a better definition of what is <em>Defense in Depth</em> than the CIS:</p><blockquote><p><em>Defense in Depth (DiD) refers to an information security approach in which a series of security mechanisms and controls are thoughtfully layered throughout a computer network to protect the</em>&nbsp;<em><a href="https://www.cisecurity.org/spotlight/ei-isac-cybersecurity-spotlight-cia-triad/">confidentiality, integrity, and availability</a></em>&nbsp;<em>of the network and the data within. While no individual mitigation can stop all cyber threats, together they provide mitigations against a wide variety of threats while incorporating redundancy in the event one mechanism fails. When successful, this approach significantly bolsters network security against many attack vectors. An effective DiD strategy may include these (and other) security best practices, tools, and policies.</em></p><p><a href="https://www.cisecurity.org/spotlight/cybersecurity-spotlight-defense-in-depth-did/">https://www.cisecurity.org/spotlight/cybersecurity-spotlight-defense-in-depth-did/</a></p></blockquote><p>With an analogy, it&#8217;s like a car and it&#8217;s many defense mechanism to reduce injuries and deaths: Collision avoidance system, Anti-lock braking system, air bags, seatbelt, etc. Like with a car, it&#8217;s not completely risk proof. But the more layer you have, the less risk you have.</p><p>Using my WordPress server as an example, I have many layers to secure it as much as possible according to my Threat Model:<br><em>Note: this list is incomplete as I do not want this post to be too big, but it give a good idea of what I&#8217;ve done</em></p><ol><li><p>WordPress and all the plugins are always up to date</p></li><li><p>I have a few security plugins, some of them provide bruteforce protection</p></li><li><p>I have <a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA</a> enabled for the login</p></li><li><p>The login page is unavailable (it is, but you need to know how. A little bit of security through obscurity can help sometime!)<br><em>Note: this point changed since I did this post. I am now using another security plugin and other tools and I needed to keep the normal URL for the login page. But I added other mitigation strategies around the login page.</em></p></li><li><p>The web server logs are sent to my logz.io stack with a few detection use cases and automated actions to block attacking IPs</p></li><li><p>My server has <a href="https://www.fail2ban.org/wiki/index.php/Main_Page">fail2ban</a></p></li><li><p>My server provider offers some basic protection, like <a href="https://en.wikipedia.org/wiki/Denial-of-service_attack">DDOS</a>.</p></li><li><p>I have write-only backups (you need special access to read and restore)</p></li><li><p>Etc.</p></li></ol><h2>Understand your Threat Model</h2><p>A <a href="https://en.wikipedia.org/wiki/Threat_model">Threat Model</a> analysis is where you carefully analyze what are your attack vectors, what bad actors might be interested in your assets and to which ones. There are many ways to analyze this and I will dedicate a post for this at some point.</p><p>I didn&#8217;t do a complete and thorough Threat Model analysis for my blog, but I am basing mine on my gut feeling and my experience (if you are doing this for an enterprise, don&#8217;t! You are way more interesting to bad actors than me!).</p><p>In my case, I don&#8217;t have much asset of value and I have backups in case of a ransomware or a DOS of some kind (like if I do an error in a config). The most important thing I try to protect is my time because restoring a backups or something like that is time consuming. From the bad actors point of view, my server could also be useful in a botnet. Since I started publicizing my blog, I know some script kiddies might try to hack my website in some way, including with a DDOS.</p><p>Based on this, I think that the protection layers I have are more than enough. If I look at the attacks I block almost everyday, I know I am protected against the most probable attacks on my server, including a distributed bruteforce, like my fiend was proposing.</p><h2>Conclusion</h2><p>Like I thought, it took me more than 280 characters to answer this question &#128521;<br>I know I touched some point I didn&#8217;t address yet in my blog, but I plan on talking in depth about most of them at some point. Don&#8217;t forget that the initial post name was &#8220;SIEM 102 (&#8230;)&#8221;. For the moment I am only talking about the base and I already have plans for some &#8220;SIEM 401&#8221; posts!</p><p>I am glad Guillaume asked me this question though, as this allowed me to see what subject I should address in the future. Thanks Guillaume!</p><p>Don&#8217;t hesitate to write to me,&nbsp;like Guillaume did, if you have any questions. This could also help me better understand how to write a good blog that answers most questions.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p><p></p>]]></content:encoded></item><item><title><![CDATA[Where to start in Cybersecurity for new comers]]></title><description><![CDATA[Where to start in Cybersecurity &#8211; Context]]></description><link>https://www.tristandostaler.com/p/where-to-start-in-cybersecurity-for</link><guid isPermaLink="false">https://www.tristandostaler.com/p/where-to-start-in-cybersecurity-for</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Tue, 12 Nov 2024 04:47:09 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!rJ8-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Where to start in Cybersecurity &#8211; Context</h2><p><em>Note: I used &#8220;Cybersecurity paths&#8221; , &#8220;where to start in cybersecurity&#8221; and &#8220;Cybersecurity jobs&#8221; just so I get good SEO results. To know why, you can read my post <a href="https://www.tristandostaler.com/information-security-synonyms/">Information Security Synonyms</a>.</em></p><p>If you Google &#8220;Cybersecurity paths&#8221;, &#8220;Cybersecurity career&#8221;, &#8220;Cybersecurity jobs&#8221; and other similar terms, you&#8217;ll find an array of results with all kind of advices all addressed at people already in the field. In this post, I&#8217;ll try to explain my take on this subject, but destined for new comers that have no idea where to start.</p><p>The Information Security domain is wide, really wide. I used to surprise people in meetings because I would be interested in what they where doing and how they where doing it. In their mind, security was about hackers and viruses. It&#8217;s not the case.</p><p>A good way to see this, is to search on Google for &#8220;cybersecurity mind map&#8221;. You&#8217;ll find a lot of results like these ones:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rJ8-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rJ8-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rJ8-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rJ8-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rJ8-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rJ8-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg" width="466" height="257.3241758241758" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:804,&quot;width&quot;:1456,&quot;resizeWidth&quot;:466,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!rJ8-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rJ8-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rJ8-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rJ8-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F510efeec-b037-4783-a01a-e65a90925fa7_2232x1233.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LgCq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LgCq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png 424w, https://substackcdn.com/image/fetch/$s_!LgCq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png 848w, https://substackcdn.com/image/fetch/$s_!LgCq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png 1272w, https://substackcdn.com/image/fetch/$s_!LgCq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LgCq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png" width="346" height="302.0370879120879" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1271,&quot;width&quot;:1456,&quot;resizeWidth&quot;:346,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!LgCq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png 424w, https://substackcdn.com/image/fetch/$s_!LgCq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png 848w, https://substackcdn.com/image/fetch/$s_!LgCq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png 1272w, https://substackcdn.com/image/fetch/$s_!LgCq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61e4c0a3-0715-4237-a1f7-b46225ed5dc0_1714x1496.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>It&#8217;s important to know that these are incomplete, but they give a good idea on the size of the domain.</p><p>But, when looking at all this, it&#8217;s normal to ask &#8220;where do I start?&#8221;. Let&#8217;s answer this question.</p><h2>Where do I start?</h2><p>This is a big question because there are multiple paths possible. I&#8217;ll explain some possible paths based on my experience, but in reality, there is no clear way to get in Information Security. I think the most important thing to have is passion!<br><em>Note: notice I wrote &#8220;some&#8221; paths and not &#8220;the&#8221; paths!</em></p><p>First I&#8217;ll explain the most frequents roles we see in cybersecurity jobs offers, based on the website <a href="https://www.cyberseek.org/pathway.html">https://www.cyberseek.org/pathway.html</a>. Then I&#8217;ll explain how these entry roles can lead to the more advanced roles. These parts will be based on my comprehension of the roles and aimed at new comers. It&#8217;s important to note that I focus mainly on the technical roles as they are the ones I know, but there are other non-technical roles that exists. For example, you can be a lawyer expert in cybersecurity. I&#8217;ll be writing about common roles but it&#8217;s important to know that a lot of roles are missing from this post.</p><p>I&#8217;ll split the explanation by paths so you can jump ahead to the section of your interest:</p><ul><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#First-step">First step</a></p><ul><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#Networking">Networking</a></p></li><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#Software-Development">Software Development</a></p></li><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#Systems-Engineering">Systems Engineering</a></p></li><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#Financial-and-Risk-Analysis">Financial and Risk Analysis</a></p></li><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#Security-Intelligence">Security Intelligence</a></p></li></ul></li><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#How-to-get-one-of-these-jobs">How to get one of these jobs</a></p></li><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#The-main-roles">The main roles</a></p><ul><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#Entry-level-roles">Entry-level roles</a></p></li><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#Mid-level-roles">Mid-level roles</a></p></li><li><p><a href="https://www.tristandostaler.com/where-to-start-in-cybersecurity-for-new-comers/#Advanced-level-roles">Advanced-level roles</a></p></li></ul></li></ul><h2>The principals Information Security roles</h2><p>As we can see in <a href="https://www.cyberseek.org/pathway.html">https://www.cyberseek.org/pathway.html</a>, the InfoSec roles all assume some kind of basic experience in IT. It can be in networking, software development, etc. The idea is that in order to protect systems you must have a good understanding of how it works. The following roles can lead to cybersecurity jobs.</p><h3>First step</h3><p>So the first step to start in InfoSec is to get some experience or follow a recognized course in one of the feeder role: Networking, Software Development, Systems Engineering, Financial and Risk Analysis, Security Intelligence. Some people are able to get a job without a degree in some of these roles when they have enough experience through personal experimentation and they are able to demonstrate these abilities. Here is a quick summarize of what these jobs are:</p><h4>Networking</h4><p>A network analyst will configure devices and computers to make sure they can talk to each others. For example, when you are reading this post through your device, there are multiple devices in-between that need to be well configured so that the communication can flow flawlessly. To get this job, you need to have a good understanding of network protocols. Some experience with vendor devices (like <a href="https://www.cisco.com/c/fr_ca/index.html">Cisco</a>) will definitely open doors. You will also need to learn to debug network communications.</p><h4>Software Development</h4><p>A software developer is someone who know how to code. Coding is the act of writing, in some form, instructions to a computer that it will then execute. For example: when I was writing this post, I was telling my server (a computer dedicated to serve websites) what text to display and how to display it. To get this job, you need to know at least one <a href="https://en.wikipedia.org/wiki/Programming_language">programming language</a>. The first one I learned was Java but my favorite ones nowadays are Python and C#. Onece you learn one, the other ones are a lot easier to learn as they all share similarities.</p><h4>Systems Engineering</h4><p>A systems analyst is someone who has a good understanding of code, networking and hardware but do not work specifically in one of these field. His or her job would be to oversee the development of a system that involves one or more of these fields. It could be to oversee the cost, design, staff and timeline implication of a project. <a href="https://en.wikipedia.org/wiki/Systems_analyst">Wikipedia has a good and more complete description</a>. To get this job, you need to have a good general understanding of the fields previously mentioned. In other words, you need to know a little bit of everything related to computers and IT.</p><h4>Financial and Risk Analysis</h4><p>A financial and risk analyst is someone who analyses what risks faces a company but on the financial point of view. This can be based on the market volatility, laws, environment, within the corporation, etc. I have to say I have no experience on this so the input I can provide is limited. You can find more information here: <a href="https://www.investopedia.com/terms/r/risk-analysis.asp">https://www.investopedia.com/terms/r/risk-analysis.asp</a>. This risk analysis process can be used in Information Security to analyze an enterprise risk.</p><h4>Security Intelligence</h4><p>A security Intelligence analyst is someone who analyzes the threats and malicious actors that threaten a company. Because these change based on the size and field of the company, that person needs to understand how a bad actor thinks. This can be done by monitoring different trends and/or reviewing reports and analysis of companies renowned in this field (there are a few). This analysis can then be used to make informed decision on the priorities of the company.</p><h2>How to get one of these jobs</h2><p>For these jobs, you can be lucky and get a cybersecurity job without a degree if you have some experience and you can demonstrate your understanding, but a good way to start would be a degree of some kind in IT or software development. It can be at a university, and that would definitely open a lot of doors, but it doesn&#8217;t have to be. There are a lot of schools that offer good formations. I personally did a bachelor degree in Software Engineering.</p><p>When I said there are multiple paths possible, I know people that came from all sorts of background. For example, I know lawyers that now work in Information Security! I mentioned a formation in IT or software development because this is what I know.</p><p>If you have questions regarding where to start, if a program is good, or anything like that, don&#8217;t hesitate to write me, I can definitely help you find your way in this field!</p><h3>The main roles</h3><p>Once you have your foot in the door from one of the feeder roles, there are some key entry-level roles you can have. I&#8217;ll write about the ones mentioned on <a href="https://www.cyberseek.org/pathway.html">https://www.cyberseek.org/pathway.html</a> but these are mainly technically focused. In reality there are some other non-technical roles where you &#8220;only&#8221; need global knowledge of the Information Security principles which can translate to cybersecurity jobs. If you look at the following sites, you&#8217;ll see that there are a lot of roles in the field (though there are some overlaps in the roles mentioned in these sites):</p><ul><li><p><a href="https://www.cs.seas.gwu.edu/cybersecurity-roles-and-job-titles">https://www.cs.seas.gwu.edu/cybersecurity-roles-and-job-titles</a></p><ul><li><p>This one is technically focused.</p></li></ul></li><li><p><a href="https://www.snhu.edu/about-us/newsroom/2020/07/cyber-security-roles">https://www.snhu.edu/about-us/newsroom/2020/07/cyber-security-roles</a></p><ul><li><p>This one is interesting as they mention some interesting roles like in management. They also have good advices</p></li></ul></li><li><p><a href="https://cybersecurityventures.com/50-cybersecurity-titles-that-every-job-seeker-should-know-about/">https://cybersecurityventures.com/50-cybersecurity-titles-that-every-job-seeker-should-know-about/</a></p><ul><li><p>This one demonstrate the number of roles (or different name of roles) that exists, but there is a lot of overlap, meaning that some of these are different name for the same role.</p></li></ul></li><li><p><a href="https://www.cyberdb.co/3-non-technical-positions-in-high-demand-in-the-cybersecurity-industry/">https://www.cyberdb.co/3-non-technical-positions-in-high-demand-in-the-cybersecurity-industry/</a></p><ul><li><p>This one is clearly incomplete, but they mention 3 non-technical roles</p></li></ul></li><li><p><a href="https://www.educause.edu/focus-areas-and-initiatives/policy-and-security/cybersecurity-program/resources/information-security-guide/toolkits/information-security-governance">https://www.educause.edu/focus-areas-and-initiatives/policy-and-security/cybersecurity-program/resources/information-security-guide/toolkits/information-security-governance</a></p><ul><li><p>This one is a detailed view of what is InfoSec governance and how to do it. This role is non-technical but requires to work partly with technical people.</p></li></ul></li></ul><h3>Entry-level roles</h3><p>The roles in this section require basic knowledge of Information Security principles but they allow beginners to start gaining real hands-on experience. Once you get enough experience in these roles, you can aspire to get in a mid-level role. Generally, these roles require 1-5 year in IT and/or a bachelor degree. The idea is that you need to have basic knowledge in IT and InfoSec.</p><h4>Cybersecurity Technician</h4><p>A cybersecurity technician is someone that work at the operation level. They will be responsible to maintain software and devices used by the cybersecurity team, assist users and manage basic alerts. They are the first line of defense. Example of what they maintain are:</p><ul><li><p><a href="https://en.wikipedia.org/wiki/Firewall_(computing)">Firewall</a></p></li><li><p><a href="https://en.wikipedia.org/wiki/Web_application_firewall">Web application firewall</a></p></li><li><p><a href="https://en.wikipedia.org/wiki/Antivirus_software">Antivirus</a> or it&#8217;s more advanced brother: the <a href="https://en.wikipedia.org/wiki/Endpoint_detection_and_response">EDR</a></p></li><li><p><a href="https://en.wikipedia.org/wiki/Security_information_and_event_management">SIEM</a> and it&#8217;s alerts</p></li></ul><p>This role is really interesting because you touch a lot of different systems and software. If they see an alert and think it could be an incident, they would call an incident responder to help them.</p><h4>Cyber Crime Analyst</h4><p>This role and it&#8217;s derivatives are not my expertise, so I&#8217;ll rely on someone else&#8217;s definition:</p><blockquote><p>Investigates a number of crimes, ranging from recovering file systems on computers that have been hacked or damaged to investigating crimes against children. Recovers data from computers that can be used in prosecuting crimes in court. Computer crime investigators must also write reports for and testify in court. Also may work for large corporations to test security systems that are currently in place. Investigators do this by trying various ways to hack into the corporation&#8217;s computer networks. At corporations, computer crime investigators also maximize optimal computer system performance levels.</p><p>https://online-distance.ncsu.edu/career/cyber-crime-analyst-investigator/</p></blockquote><p>In other words, someone in this role will investigate a cyber incident but will do so with a potential optimal goal of going to court. This involves careful analysis and evidence collection and handling.</p><h4>Incident Responder</h4><p>An incident responder is a technical person with a deep understanding of how a typical environment behaves that will be able to analyze events when an incident occurs. He/she will then have to understand if it&#8217;s a false alarm or if a complete response needs to be done. Because of the amount of knowledge required to be an excellent responder, I would divide this role in two and have one of the two as a mid-level role; that person would be the second line of defense to solve harder incidents.</p><p>In my opinion, this role is one that provides a lot of thrill as you are directly in the fire, trying to extinguish it. But because of this, it can also be stressful. This role requires some level of organization because there are reports to be done on what happened, what action was taken to remediate the incident, etc.</p><h4>IT Auditor</h4><p>In the modern era that we live in, enterprises must legally meet certain security criteria, depending on what information you handle. For example, an enterprise that handles credit cards must meet the <a href="https://www.imperva.com/learn/data-security/pci-dss-certification/">PCI-DSS</a> requirements. To make sure these requirements are met, an IT Auditor will do an audit (a <a href="https://www.imperva.com/learn/data-security/pci-dss-certification/">PCI audit</a>, in the case of PCI-DSS) of the <a href="https://www.sweetprocess.com/what-are-the-differences-between-a-policy-a-process-and-a-procedure-why-knowing-this-is-the-key-to-scaling-and-automating-your-business/">policies, processes and procedures</a> in place to make sure they meet the minimum criteria.</p><h3>Mid-level roles</h3><p>These roles assume you have good experience in InfoSec. They typically require 3-5 years of experience in InfoSec. This experience is mostly gained through the entry-level roles, but that&#8217;s not the only way.</p><h4>Cybersecurity Analyst</h4><p>A cybersecurity analyst is a mid-level expert in InfoSec that is able to do all (or most) of the entry-level jobs. A cybersecurity analyst can be asked to handle devices, respond to incidents, etc. They are the second line of defense for an incident. This role is really fun because you get to touch to pretty much all aspects of InfoSec for a single company. I had this role before the one I have right now and I enjoyed it because of the amount of things I learned in a short amount of time.</p><p>A cybersecurity analyst will also be asked to manage user awareness campaign (like phishing), choose the best fit for the company between multiple products (like an antivirus, a password manager, etc.), and many other tasks.</p><h4>Cybersecurity Consultant</h4><p>A cybersecurity consultant is a mid-level expert on a wide array of domains to help and advise clients (like the cybersecurity analysts in other enterprises) on cybersecurity subjects. A consultant can help find a strategy to mitigate a problem, review configurations, mitigate a vulnerability, select a product between multiple providers, etc. In this role you&#8217;re not part of an enterprise team but you provide your diverse expertise to your clients. The positive point is that you get to see many way of doing things and learn from it. The negative point is that, because you don&#8217;t go in the details as much as the cybersecurity analyst, you need to compensate on your own time or assume you won&#8217;t gain deep knowledge as quickly as an analyst on some specific subjects. In other words, a cybersecurity consultant jobs is to covers more broad but in less depth.</p><p>In my opinion, it is a great role if you&#8217;re curious to learn as much as possible on many different subjects. You&#8217;re essentially paid to learn and then use this knowledge to advise your clients.</p><h4>Penetration Tester</h4><p>A penetration tester also known as &#8220;pentester&#8221;, is someone that&#8217;s hired by enterprises to test the security of their network, applications, implementations, websites, etc. They use techniques used by hackers and then provide their clients with a report that explain where and how they were able to exploit a vulnerability, and they explain how to fix them. Enterprises use their services so they can patch the vulnerabilities before an malicious attacker can exploit them.</p><p>This job is really interesting and fun because you get paid to hack things. I had this job a few years back and I really liked it! It&#8217;s important to know that a good pentester is highly technical. That&#8217;s because to understand how to bypass or hack something, you need to understand how it works and how you can modify the intended behavior to make it do something unintended. The natural evolution of a pentester is to be a <a href="https://www.redteamsecure.com/blog/what-is-red-teaming-and-why-do-i-need-it-2">Red Teamer</a>, which isn&#8217;t discussed in this post.</p><h3>Advanced-level roles</h3><h4>Cybersecurity Manager</h4><p>A cybersecurity manager is someone with manager skills but adapted to the cybersecurity context. This last part is important because that person could be asked to make decisions that would have an impact on the security of the enterprise. For example, that person could be asked to choose between accepting a risk or displacing resources towards a problem that needs to be resolved timely; and <a href="https://www.cm-alliance.com/cybersecurity-blog/understanding-cybersecurity-risk-management#Pillars">accepting a risk</a> is not something that should be done lightly. The cybersecurity manager is the link between the technical teams and the upper management.</p><p>In order to get this role, you need a lot of experience in management and a lot of experience in cybersecurity. It is frequent to see technical persons from the mid-level roles move to this job at some point. This job is one of the jobs that could lead you to the <a href="https://en.wikipedia.org/wiki/Chief_information_security_officer">Chief Information Security Officer</a> (CISO) role, although in some enterprises where cybersecurity is not represented in the upper management, this is the highest role.</p><h4>Cybersecurity Engineer</h4><p>A cybersecurity engineer is the natural evolution of the cybersecurity analyst or consultant. It is a senior role that entails a lot of experience in cybersecurity, focused mainly on the technical aspects. In that role, you get to be the main advisor for less experienced teams to guide them towards the best solutions. Because of the changing nature of technology, you need to keep learning and stay ahead of the news so that role is ideal for curious people.</p><p>The name &#8220;engineer&#8221; is important in this role title: because of your experience, you could be asked to help developer teams and operation teams find the ideal solution to a problem and how to do it securely. This role is the &#8220;Sec&#8221; in &#8220;<a href="https://www.redhat.com/en/topics/devops/what-is-devsecops">DevSecOps</a>&#8220;.</p><h4>Cybersecurity Architect</h4><p>A cybersecurity architect is a senior role that requires a lot of knowledge. An architect needs to have an in-depth understanding of a wide area of domains, both technical and non-technical, to be able to design secure systems, evaluate where these systems could fail and mitigate these risks. In other words, a cybersecurity architect&#8217;s knowledge is both broad and in depth. That role also requires continuous learning of the new trends and technologies. The persons in this role need to be able to explain complex concept in a simple manner because they need to communicate the architecture to the management.</p><p>This is one of the most challenging cybersecurity jobs because security is hard. But it&#8217;s also one of the most interesting and rewarding for a technical person.</p><h2>Conclusion</h2><p>As you can see, the cybersecurity field is large, challenging and super interesting. As we can see in the news, this field is recognized as being more and more important so we will see an increase in demand for these roles and cybersecurity jobs offers.</p><p>I understand that it can be daunting to choose this path but I can reassure you, as long as you have passion, there is nothing to fear. Once you start in this path, you&#8217;ll discover that the community can be generous.</p><p><em>Note: If you find some people in the community to be judgmental, like someone saying something along the line of &#8220;<a href="https://en.wikipedia.org/wiki/RTFM">RTFM</a>&#8220;, don&#8217;t mind them. Some people like to flatter themselves by being elitist but in reality they mostly lack self confidence. If it happens to you, you can always write to me, I&#8217;ll be more than happy to help you.</em></p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[Lockbit ransomware – How to recover your data]]></title><description><![CDATA[Update: Lockbit patched this bug&#8230; however, if you are hit by the version 2.0, you can still try it, it might just work!]]></description><link>https://www.tristandostaler.com/p/lockbit-ransomware-how-to-recover</link><guid isPermaLink="false">https://www.tristandostaler.com/p/lockbit-ransomware-how-to-recover</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Tue, 12 Nov 2024 04:39:37 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Kjln!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Update: Lockbit patched this bug&#8230; however, if you are hit by the version 2.0, you can still try it, it might just work!</strong></p><p>Lockbit is a &#8220;<a href="https://www.upguard.com/blog/what-is-ransomware-as-a-service#:~:text=Ransomware%20as%20a%20service%20(RaaS)%20is%20a%20subscription%2Dbased,Service%20(SaaS)%20business%20model.">Ransomware as a Service</a>&#8221; which means you can buy a powerful ransomware, launch it in your target&#8217;s network and Lockbit will take care of the rest. They even have support teams to assist victims into the payment and recovery steps. So I was proud that I could recover the data from a file encrypted with the Lockbit ransomware.</p><p>It is important to know that they are using the <a href="https://securityintelligence.com/articles/ransomware-double-extortion/">double extorsion tactic</a>, which means that they exfiltrate the data they encrypt and then threaten to publish this data of the ransom is not paid.</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xlU6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d356ef-e508-4bc9-83ba-d1fee6bb00de_878x91.png 424w, https://substackcdn.com/image/fetch/$s_!xlU6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d356ef-e508-4bc9-83ba-d1fee6bb00de_878x91.png 848w, https://substackcdn.com/image/fetch/$s_!xlU6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d356ef-e508-4bc9-83ba-d1fee6bb00de_878x91.png 1272w, https://substackcdn.com/image/fetch/$s_!xlU6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d356ef-e508-4bc9-83ba-d1fee6bb00de_878x91.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xlU6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d356ef-e508-4bc9-83ba-d1fee6bb00de_878x91.png" width="878" height="91" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/49d356ef-e508-4bc9-83ba-d1fee6bb00de_878x91.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:91,&quot;width&quot;:878,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!xlU6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d356ef-e508-4bc9-83ba-d1fee6bb00de_878x91.png 424w, https://substackcdn.com/image/fetch/$s_!xlU6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d356ef-e508-4bc9-83ba-d1fee6bb00de_878x91.png 848w, https://substackcdn.com/image/fetch/$s_!xlU6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d356ef-e508-4bc9-83ba-d1fee6bb00de_878x91.png 1272w, https://substackcdn.com/image/fetch/$s_!xlU6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49d356ef-e508-4bc9-83ba-d1fee6bb00de_878x91.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></div><figcaption class="image-caption">The header of the Lockbit website</figcaption></figure></div><h3>The context</h3><p>I was recently working on a Lockbit ransomware incident and I was able to recover the data from encrypted <a href="https://en.wikipedia.org/wiki/VMDK">VMDK</a> and <a href="https://en.wikipedia.org/wiki/VHD_(file_format)">VHDX</a> files (virtual machines hard drives). I am really proud because this allowed us to get the backups back and we will be able to restore everything!</p><p><em>Note: Your mileage may vary! Lockbit is evolving quickly. But I think it is worth a try!</em> If unsure, write to me. I would be really curious to know if it works everywhere!</p><p>Everything started when I was reading the blog post &#8220;<a href="https://unit42.paloaltonetworks.com/lockbit-2-ransomware/#:~:text=LockBit%202.0%20is%20ransomware%20as,first%20observed%20in%20September%202019.">LockBit 2.0: How This RaaS Operates and How to Protect Against It</a>&#8221; looking for <a href="https://en.wikipedia.org/wiki/Indicator_of_compromise">IOC</a>s for my investigation. In this post, we can read:</p><blockquote><p>The LockBit group claimed that LockBit 2.0 is &#8220;the fastest encryption software all over the world&#8221; and provided a comparative table showing the encryption speed of various ransomware samples.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Kjln!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Kjln!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png 424w, https://substackcdn.com/image/fetch/$s_!Kjln!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png 848w, https://substackcdn.com/image/fetch/$s_!Kjln!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png 1272w, https://substackcdn.com/image/fetch/$s_!Kjln!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Kjln!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png" width="1024" height="479" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:479,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Kjln!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png 424w, https://substackcdn.com/image/fetch/$s_!Kjln!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png 848w, https://substackcdn.com/image/fetch/$s_!Kjln!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png 1272w, https://substackcdn.com/image/fetch/$s_!Kjln!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6547a102-3ed3-414e-b0ec-f9c85df66d36_1024x479.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Source:<a href="https://unit42.paloaltonetworks.com/lockbit-2-ransomware/#:~:text=LockBit%202.0%20is%20ransomware%20as,first%20observed%20in%20September%202019.">https://unit42.paloaltonetworks.com/lockbit-2-ransomware/#:~:text=LockBit%202.0%20is%20ransomware%20as,first%20observed%20in%20September%202019.</a></p></blockquote><p>When I saw this, I immediately realized that the data might be only partially encrypted. Enough to effectively destroy most of the files, but allowing the ransomware to be more rapid. They are not the first to use this strategy. I had this realization because in cryptography, you can&#8217;t simply &#8220;have more speed&#8221;. So either they were using symmetric encryption (which means the key is in memory) because it&#8217;s faster, or they only partially encrypt files. The second option makes more sense because the first one would be a really bad design choice, and let&#8217;s admit: these groups are smart!</p><p>As soon I as realized this, I ran the &#8220;<a href="https://www.howtoforge.com/linux-strings-command/">strings</a>&#8221; command on an encrypted VHDX. And guess what? I could see a lot of known strings like &#8220;This program cannot be run in DOS mode&#8221;. This means that some part of the file is still intact and could maybe be restored!</p><h3>The path to victory</h3><p>Knowing this, I started looking for hints and ideas online to help me understand how we could get access to the intact data. This is when I found this video:</p><div id="youtube2-sQB_on71VzY" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;sQB_on71VzY&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/sQB_on71VzY?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><h6>Youtube video: Recovery for vhdx file, encrypted with ransomware &#8220;lucky&#8221;</h6><p></p><p>Even though this video is talking about the <a href="https://www.enigmasoftware.com/luckyransomware-removal/">&#8220;lucky&#8221; ransomware</a>, the idea is the same. What we need to understand from this video is that only the header of the VHDX file was encrypted (using Lockbit 2.0). This header is important because it holds information about the virtual drive (partitions, block locations, etc.) and without it, most software can&#8217;t read the data. So what they show in the video is how to essentially fake a corrupted but working VHDX file, allowing normal tools like <a href="https://en.wikipedia.org/wiki/7-Zip">7-Zip</a> to access the data. They do it by essentially replacing the first 2048 <a href="https://en.wikipedia.org/wiki/Disk_sector">sectors</a> of the drive with the data from an empty but working VHDX file using <a href="https://www.ufsexplorer.com/ufs-explorer-professional-recovery.php">UFS Explorer Professional Recovery</a>.</p><p>After this is done, you can save the &#8220;<a href="https://en.wikipedia.org/wiki/RAID">RAID</a>&#8221; generated with the tool to a new VHDX file. This file won&#8217;t be readable with <a href="https://en.wikipedia.org/wiki/Hyper-V">Hyper-V</a>, but you&#8217;ll be able to open it with 7-Zip and get your data back.</p><p>I tried to use the same technique on a VMDK file, but it was not working. I believe this is because it was encrypted with <a href="https://www.bleepingcomputer.com/news/security/lockbit-30-introduces-the-first-ransomware-bug-bounty-program/">Lockbit 3.0</a> which, I think, encrypts more data. Also, I think a VMDK file is less permissive than a VHDX file because it is more complex.</p><p>For the VMDK file, I could still see readable information but I could not see the <a href="https://www.netspi.com/blog/technical/web-application-penetration-testing/magic-bytes-identifying-common-file-formats-at-a-glance/#:~:text=This%20is%20what's%20often%20called,is%20of%20the%20proper%20format.">magic bytes</a> for a NTFS partition. I was looking for something similar to this:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2Y8T!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00448cc0-c89d-4447-9bd0-46636e9e076a_830x40.png 424w, https://substackcdn.com/image/fetch/$s_!2Y8T!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00448cc0-c89d-4447-9bd0-46636e9e076a_830x40.png 848w, https://substackcdn.com/image/fetch/$s_!2Y8T!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00448cc0-c89d-4447-9bd0-46636e9e076a_830x40.png 1272w, https://substackcdn.com/image/fetch/$s_!2Y8T!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00448cc0-c89d-4447-9bd0-46636e9e076a_830x40.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!2Y8T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00448cc0-c89d-4447-9bd0-46636e9e076a_830x40.png" width="830" height="40" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/00448cc0-c89d-4447-9bd0-46636e9e076a_830x40.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:40,&quot;width&quot;:830,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!2Y8T!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00448cc0-c89d-4447-9bd0-46636e9e076a_830x40.png 424w, https://substackcdn.com/image/fetch/$s_!2Y8T!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00448cc0-c89d-4447-9bd0-46636e9e076a_830x40.png 848w, https://substackcdn.com/image/fetch/$s_!2Y8T!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00448cc0-c89d-4447-9bd0-46636e9e076a_830x40.png 1272w, https://substackcdn.com/image/fetch/$s_!2Y8T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F00448cc0-c89d-4447-9bd0-46636e9e076a_830x40.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div><figcaption class="image-caption">An example of the magic bytes for a NTFS partition</figcaption></figure></div><p>For the VMDK file, I tried the &#8220;Scan for lost data&#8221; feature of the software and it worked! It could see all the files on the drive. It was not able to repair the partition so I was not able to rebuild a virtual drive, but using the paid version, I was able to extract all the files!</p><p><em>Note: the VHDX technique can be done without the paid version.</em></p><p>At the time of writing this post, I am not sure how Lockbit does this. Do they encrypt a percentage of every files, or do they encrypt the X first bytes of every files. My gut feeling (based on a few files I tested) tells me they are only encrypting the first bytes of every files. This could mean that any large file could be recovered, at least partially!</p><p>I do need more data to better understand how they operate, so please leave comments below or contact me if you have information!</p><h3>Victory</h3><p>The Lockbit ransomware is aggressive and I was hoping we could recover the data because they encrypted the backups.</p><p>To prove the technique was effective, I then proceeded to recover the data from 2 VHDX and 2 VMDK files to prove it was not a fluke. And it worked!</p><p>So next time I am working on a ransomware incident, I&#8217;ll remember to try the simple but effective &#8220;strings&#8221; command on the encrypted files!</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[Join my new subscriber chat]]></title><description><![CDATA[A private space for us to converse and connect]]></description><link>https://www.tristandostaler.com/p/join-my-new-subscriber-chat</link><guid isPermaLink="false">https://www.tristandostaler.com/p/join-my-new-subscriber-chat</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Fri, 25 Oct 2024 02:16:53 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!KYZT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><p>Today I&#8217;m announcing a brand new addition to my Substack publication: Tristan&#8217;s Cybersecurity Substack subscriber chat.</p><p>This is a conversation space exclusively for subscribers&#8212;kind of like a group chat or live hangout. I&#8217;ll post questions and updates that come my way, and you can jump into the discussion.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://open.substack.com/pub/tristandostaler/chat&quot;,&quot;text&quot;:&quot;Join chat&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://open.substack.com/pub/tristandostaler/chat"><span>Join chat</span></a></p><div><hr></div><h2>How to get started</h2><ol><li><p><strong>Get the Substack app by clicking <a href="https://substack.com/app/app-store-redirect">this link</a> or the button below.</strong> New chat threads won&#8217;t be sent sent via email, so turn on push notifications so you don&#8217;t miss conversation as it happens. You can also access chat <a href="https://open.substack.com/pub/tristandostaler/chat">on the web</a>.</p></li></ol><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://substack.com/app/app-store-redirect&quot;,&quot;text&quot;:&quot;Get app&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://substack.com/app/app-store-redirect"><span>Get app</span></a></p><ol start="2"><li><p><strong>Open the app and tap the Chat icon.</strong> It looks like two bubbles in the bottom bar, and you&#8217;ll see a row for my chat inside.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KYZT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KYZT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!KYZT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!KYZT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!KYZT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!KYZT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg" width="1456" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:728,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:241528,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://kylewarrentest.substack.com/i/114198534?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KYZT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg 424w, https://substackcdn.com/image/fetch/$s_!KYZT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg 848w, https://substackcdn.com/image/fetch/$s_!KYZT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!KYZT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0f63c9a-2296-4c96-a2f9-52648999bb00_2000x1000.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ol start="3"><li><p><strong>That&#8217;s it!</strong> Jump into my thread to say hi, and if you have any issues, check out <a href="https://support.substack.com/hc/en-us/sections/360007461791-Frequently-Asked-Questions">Substack&#8217;s FAQ</a>.</p></li></ol><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.tristandostaler.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Tristan&#8217;s Cybersecurity Substack is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item></channel></rss>