<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Gökay Akın on Medium]]></title>
        <description><![CDATA[Stories by Gökay Akın on Medium]]></description>
        <link>https://medium.com/@akingokayyy?source=rss-3c6f1c3300a3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Jh9b-vGJWthECveBFuLSjQ.jpeg</url>
            <title>Stories by Gökay Akın on Medium</title>
            <link>https://medium.com/@akingokayyy?source=rss-3c6f1c3300a3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 17:42:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@akingokayyy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Threat Profiling with Detection Insight]]></title>
            <link>https://medium.com/@akingokayyy/threat-profiling-with-detection-insight-49156c50b0fb?source=rss-3c6f1c3300a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/49156c50b0fb</guid>
            <dc:creator><![CDATA[Gökay Akın]]></dc:creator>
            <pubDate>Fri, 05 Sep 2025 09:13:56 GMT</pubDate>
            <atom:updated>2025-09-05T09:15:39.318Z</atom:updated>
            <content:encoded><![CDATA[<p><em>With the advancement of technology, the size and scope of the data we process are growing rapidly! If we are racing against time and fighting against unknown malicious activities, one of the most important factors for us is our GAP’s and time management. Considering the recent changes in the industry, we see that the era of unified technologies has arrived. For exactly this reason, together with </em><a href="https://medium.com/@saadettin_atay"><strong><em>Saadettin Atay</em></strong></a><em> , we have decided to launch our Detection Insight portal, which we have been working on for a long time.</em></p><p><em>In the later sections of my blog post, I will discuss our application in detail. However, I believe it is important to emphasize the significance of GAP analysis and Profiling in Cybersecurity, as I see these as major shortcomings. Many organizations move to the action phase without considering their current needs or conducting a proper feasibility study.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QNUHuGcFrTFG6DFCWTpwuw.gif" /></figure><p><em>The most important key point I have experienced so far is this: All actions to be taken in Cybersecurity need to be carried out according to specific procedures and in a synchronized flow. When we ask ourselves what kind of synchronization is needed, </em><a href="https://www.snapattack.com/"><em>SnapAttack</em></a><em> has explained this process very well with a visual above.</em></p><blockquote>For example, when we integrate data into a SIEM environment, properly parsing that data will benefit the analyst team during their search operations and ensure that the rules written by the detection team follow certain standards. Additionally, if you plan to use this data in an automation process, it needs to be in a format that the SOAR application can understand. At this point, when you step back and look at the bigger picture, you realize the need for a well-orchestrated flow. This is where the importance of documentation, procedures, and flow diagrams comes into play.</blockquote><p><em>When we look at the topic from a high-level perspective, profiling our work and understanding what we are doing and why is the first and most important step that will raise our awareness and take us to the next level.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*D7Zpqwm2nSQ7uWL5ovh-XQ.gif" /></figure><h3><strong>So, what is Profiling?</strong></h3><blockquote>Profiling is the process of analyzing and categorizing the behavioral, technical, or strategic characteristics of an entity (such as an attacker, organization, system, user, or process). In cybersecurity, profiling is carried out to understand both threat actors (APT groups) and internal assets and processes within an organization.</blockquote><p><strong>Purpose and Benefits of Profiling!!</strong></p><p><em>Purpose;</em></p><ul><li><em>To clearly identify and make threats, organizational behaviors, and security levels more predictable.</em></li></ul><p>Benefits;</p><ul><li><em>Developing more targeted and context-aware detection rules for the organization.</em></li><li><em>Saving resources and time.</em></li><li><em>Reducing false positive rates.</em></li><li><em>Revealing behavioral patterns (e.g., “PowerShell should only be used by the IT team within the organization”).</em></li></ul><p><strong>Combining Gap Analysis with Profiling!</strong></p><ul><li><em>Profiling: Reveals the current state (who is using what and how?).</em></li><li><em>Gap Analysis: Shows the difference between the current state and the ideal security level.</em></li><li><em>Combined Benefit: Priority detection scenarios are identified, and the use case development process becomes clearer.</em></li></ul><p><strong>Approach Difference from a Detection Engineer’s Perspective!</strong></p><p><em>Rule Development Without Profiling (Randomly)</em></p><ul><li><em>Example: “Generate an alert if PowerShell runs.”</em></li><li><em>Result: High false positives, noisy alerts, loss of trust.</em></li></ul><p><em>Use Case Development After Profiling;</em></p><ul><li><em>First, the organization’s profile is created: systems in use, normal user behaviors, past attack scenarios.</em></li><li><em>Example: “PowerShell is only run by the IT Admin group on specific servers. If PowerShell is seen on a user outside of IT, generate an alert.”</em></li><li><em>Result: Low false positives, high reliability, organization-specific detection.</em></li></ul><p><em>While actively working on this topic, we have launched our website </em><a href="https://www.detectioninsight.com/"><strong><em>www.detectioninsight.com</em></strong></a><strong><em> </em></strong><em>which we hope will benefit cybersecurity professionals. This web application will host our future live projects. Our first project, where we have mapped APT groups end-to-end, is the “Unified Threat Mapper” application.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*4KsimbrytGk83xBzXYCGQw.png" /></figure><p><em>So why did we call it unified? The answer is that we brought together a chain of structures serving a similar purpose onto a single platform. Here, you can access </em><a href="https://attack.mitre.org/,"><em>MITRE ATT&amp;CK,</em></a><em> </em><a href="https://caldera.mitre.org/"><em>Caldera</em></a><em>, </em><a href="https://www.atomicredteam.io/"><em>Atomic Red Team</em></a><em>, </em><a href="https://sigmahq.io/"><em>SigmaHQ</em></a><em>, and </em><a href="https://research.splunk.com/"><em>Splunk Detections</em></a><em> through a single path.</em></p><p><em>For example, when you view the details of the APT18 group, you can learn about the group and see the techniques or sub-techniques they have used.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*nufz9kw_NpTuXuqe8ZbeEg.png" /></figure><p><em>Or, you can access the software used by this group and the reports written about them all on a single page.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*k5EdXwRgh26ew3UjmhvBGg.png" /></figure><p><em>The main function of the application is that, for example, when you click on the T1053.002 sub-technique, you can easily access insight information related to this technique.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*og4ck61fb5b-6ZMnhc4Vxg.png" /></figure><p><em>For this sub-technique, if available, you can access the following information with a single click:</em></p><ul><li>Sigma Rules</li><li>Splunk Detections</li><li>Atomic Tests</li><li>Caldera Tests</li></ul><p><em>Yes, this information is already available somewhere on the internet, but the missing part is that you have to research each platform separately to understand the relationships between all these data points. We save you time by bringing everything together under one roof and make it easier for you to see the connections between these resources.</em></p><p><em>The rest is up to you! You can analyze the Sigma rules written for T1053.002 and integrate them into your own environment, for example;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*YnGXICv6HOsr87L9p0AL8Q.png" /></figure><p><em>Alternatively, you can view the Splunk Detections written for this technique, adapt them to your environment, and then deploy the rule production.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*aqFg4Fm9KKa494_TO-y7Uw.png" /></figure><p>These are just some of the internal features of our application, and the list goes on…</p><p><em>We invite you to explore all these innovations and our user-friendly interface at </em><a href="http://www.detectioninsight.com/"><em>www.detectioninsight.com</em></a></p><p><em>Remember! In the cybersecurity ecosystem, establishing the right orchestration is important, but being able to build accurate relationships between distributed data is just as crucial.</em></p><blockquote>This application we have developed represents phase 1 for us. In phase 2, we plan to enrich the platform with more data using the MCP server. For phases 3 and 4, our goal is to work on vulnerability and threat intelligence data. Who knows, maybe the data here will help us turn this into an application that provides operational benefits for the Detection As Code concept…</blockquote><p><strong><em>Thank you for patiently reading our article up to this point.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49156c50b0fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Search Optimization For Detection & SOC Engineers]]></title>
            <link>https://medium.com/@akingokayyy/search-optimization-for-detection-soc-engineers-1fc3a1b268af?source=rss-3c6f1c3300a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fc3a1b268af</guid>
            <category><![CDATA[splunk-administration]]></category>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Gökay Akın]]></dc:creator>
            <pubDate>Sat, 19 Jul 2025 13:35:10 GMT</pubDate>
            <atom:updated>2025-07-19T13:35:10.270Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Part 1 of the Series</strong> — This blog post is relevant not only for Detection Engineers but also for SOC engineers responsible for managing Splunk SIEM. The goal of this blog post is to help deploy threat detection rules in a more optimized way without putting unnecessary load on the system. Additionally, it aims to guide the investigation of lesser-known logs that play a critical role in ensuring the system’s healthy operation.</blockquote><p><strong>KEY POINT = SKIPPED &amp; DELAYED SEARCH</strong></p><p>Have you ever heard the term “skipped search” while developing threat detections on Splunk SIEM?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OMa3rgvVTiCpmf_5hf_i4g.png" /><figcaption><em>Splunk notifies you when your skipped search count exceeds a certain threshold.</em></figcaption></figure><ul><li><em>But what happens if your searches are delayed, as seen in the screenshot above?</em></li><li><em>Or what if you haven’t reached the threshold that would trigger an alert, but your scheduled searches are delayed — what critical things might you be missing?</em></li></ul><p>So, what exactly is a skipped search and what is its impact?<br>Or what does it mean when a search is delayed, and how does it affect your environment?</p><p><strong>What Is a Skipped Search?</strong></p><blockquote>📌 In Splunk, a <strong>“skipped search”</strong> refers to a scheduled search that is entirely bypassed without being executed. This typically occurs due to insufficient system resources or when the <strong>concurrent search limit</strong> is exceeded.</blockquote><p>Impact of skipped search;</p><ul><li><em>A skipped search is never executed → it won’t trigger alerts, update reports, or populate dashboards with data.</em></li><li><strong><em>If a scheduled search responsible for generating security alerts is skipped, your threat visibility drops to zero.</em></strong></li><li><em>In SOAR/SIEM integrations, this can break the entire automation chain, leading to missed or delayed incident response actions.</em></li></ul><p><strong>What Is a Delayed Search?</strong></p><blockquote>📌 A <strong>“delayed search”</strong> refers to a situation where a scheduled search cannot run at its intended time but is instead started after a certain delay. For example, if a scheduled search is set to run at <strong>1:00 PM</strong>, but due to resource limitations it actually starts at <strong>2:00 PM</strong>, then a <strong>1-hour delay</strong> has occurred.</blockquote><p>Impact of delayed search;</p><ul><li><strong><em>Late Data Processing</em></strong><em>: In systems using near-real-time (NRT) alerting logic, delayed searches lead to delayed detection of incoming data.</em></li><li><strong><em>Time-Sensitive Correlations Fail</em></strong><em>: For example, a rule designed to detect three different events occurring within 5 minutes may not trigger if the search runs too late.</em></li><li><strong><em>SOAR Triggers Are Delayed</em></strong><em>: Playbook executions are postponed, reducing response speed.</em></li><li><strong><em>Dashboards Show Outdated Data</em></strong><em>: Analysts may see stale information and make incorrect assessments based on delayed updates.</em></li><li><strong><em>Event Window Might Be Missed</em></strong><em>: If a search targets a specific time window, any events outside that range may be skipped and never analyzed.</em></li></ul><p>What if you’re under attack at that very moment, and the attack logs reach your system, but due to these issues, no alert is generated?</p><p>Are you aware that in such a case, all your efforts in detection engineering may go to waste?</p><p>🚨 ⚠️ For all these reasons, <strong>detection engineers must ensure</strong> that every detection rule they develop is optimized and capable of running with <strong>maximum efficiency and performance</strong>.</p><p>In Splunk, a skipped search alert or warning is triggered when the percentage of skipped searches exceeds a defined threshold. You can view and configure this threshold under <strong>Settings → Health Report Manager</strong>, specifically in the <strong>feature: searches_skipped</strong> section.</p><p>But as I mentioned earlier, for detection engineers writing threat detection rules, there should be <strong>no skipped</strong> searches at this stage — likewise, no searches should be experiencing excessive delays either.</p><p><strong>The key question is</strong>: how can we detect these delay and skipped search conditions using internal logs, and how do we write alerts for them?</p><p><strong>For skipped search detection:</strong></p><pre>index=_internal sourcetype=scheduler status=skipped<br>| stats count by  _time, user, savedsearch_name, app, reason, host<br>| sort -_time</pre><p><strong>For delayed search detection:</strong></p><pre>index=_internal sourcetype=scheduler  scheduled_time=* <br>| eval time=strftime(_time,&quot;%Y-%m-%d %H:%M:%S&quot;) <br>| eval delay_in_start = (dispatch_time - scheduled_time) <br>| eval scheduled_time=strftime(scheduled_time,&quot;%Y-%m-%d %H:%M:%S&quot;) <br>| eval dispatch_time=strftime(dispatch_time,&quot;%Y-%m-%d %H:%M:%S&quot;) <br>| table savedsearch_name,delay_in_start, scheduled_time, dispatch_time, time, run_time, status<br>| search delay_in_start!=&quot;&quot;<br>| where delay_in_start&gt;300</pre><p>“| where delay_in_start&gt;300“ The value <strong>300</strong> represents the threshold you’ll define for your rule. You can set the most optimal value based on what’s appropriate for your organization.</p><p><strong>Yes, we’ve identified the problems!</strong><br>Now, I’ll highlight the key points that cause these issues and what we need to pay close attention to from the very beginning to prevent them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6tjx8-SO7dknJvCplIFfpA.png" /></figure><p>We all know the snowball effect. When it comes to developing use cases in Splunk — whether it’s writing detection rules, onboarding data, or other components — you must understand that every part of the process is interconnected from start to finish.</p><blockquote>Let me explain why I used the snowball effect as an example here. Based on my experience and perspective, if you want to build a reliable and sustainable threat detection mechanism in the long time, <strong>it’s crucial to have proper orchestration and synchronization — starting from the initial project planning all the way down to each individual detection rule that will be written.</strong></blockquote><p>The sentence I mentioned earlier — “start to finish” — carries critical importance!</p><p>In this context, “start” refers to the data onboarding phase, while “finish” represents the stage where a threat detection rule is written and deployed into production. This entire pipeline must be carefully designed, because in the short term, the chances of encountering delayed or skipped search warnings in your system are quite low — (<strong>There needs to be certain rule writing standards for the Detection Engineer Team</strong>, I will cover this topic in a separate blog post). But what about one or two years from now? Data will continue to grow. New attack techniques will keep emerging. And detection engineers will be expected to develop new rules not only for the latest threats but also by learning from past use cases. This ongoing evolution makes it clear: your detection strategy must be scalable, adaptable, and well-structured from day one.</p><p>All of these detection developments require a certain level of synchronization. Over time, you will inevitably feel the need to develop within a defined set of standards and guidelines.</p><p>If you establish a solid plan from the very beginning and stay committed to it, you’ll find it much easier to build a sustainable, reliable, and low-error detection system in the long run.</p><p>Summarize — it’s not enough to say “I wrote the detection rule, and now it runs in the background as a scheduled search.” A detection engineer is also responsible for ensuring that the rules they write run efficiently and perform well.</p><p><strong>So, what should we do to avoid these problems in the long term?</strong></p><ul><li><em>If a new log source is going to be onboarded into the SIEM, it should first be integrated into a test environment. This log source should be monitored for at least 7 days in the test environment to evaluate its behavior. Additionally, proper CIM compliance configurations must be applied to ensure that high-performance queries using </em><em>tstats and data models can be executed efficiently.</em></li><li><em>It’s necessary to transition from index-based searches to high-performance tstats-based searches. If your data is suitable for data model-based searches, you will gain significant performance efficiency from your system. For example, a query written with index based may take 45 seconds to complete, whereas the same query written with tstats can finish in around 4–5 seconds.</em></li><li><em>One of the most frequently mentioned tips 🙂 — </em><strong><em>avoid using wildcards whenever possible.</em></strong></li><li><em>Lastly, one of the most important points I want to highlight — something you must pay close attention to in the long run — is the execution frequency of scheduled searches. Some SIEM platforms are designed to perform real-time detections by default. However, in Splunk, detections are typically executed as scheduled searches rather than real-time. The main reason for this is that each search you run consumes one CPU core in the background.</em></li></ul><p>To elaborate on my previous point: the number of searches you can run at time t is important, and this is actually related to the resources you’ve allocated to the system.</p><p><a href="https://community.splunk.com/t5/Monitoring-Splunk/How-to-calculate-max-and-actual-search-concurrency/m-p/536330">You can use the calculation provided in this link to estimate the number of searches you can run at time t in Splunk.</a></p><p>Finally, I’d like to emphasize this: <strong>No matter which SIEM technology you use, you must have a clear standard and strategy for threat detection development. </strong>It’s not just about writing a detection rule — it’s about making sure those searches operate correctly within a well-orchestrated system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fc3a1b268af" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>