<?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 Seth Goldhammer on Medium]]></title>
        <description><![CDATA[Stories by Seth Goldhammer on Medium]]></description>
        <link>https://medium.com/@seth-goldhammer?source=rss-a34fa1bcc3d1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1iHzp1bGNeAX_qGmnVqiCQ.png</url>
            <title>Stories by Seth Goldhammer on Medium</title>
            <link>https://medium.com/@seth-goldhammer?source=rss-a34fa1bcc3d1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:37:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@seth-goldhammer/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[The Curse of the Medium-Priority Alert]]></title>
            <link>https://seth-goldhammer.medium.com/the-curse-of-the-medium-priority-alert-4536d0d1250c?source=rss-a34fa1bcc3d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/4536d0d1250c</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[security-operations]]></category>
            <dc:creator><![CDATA[Seth Goldhammer]]></dc:creator>
            <pubDate>Tue, 15 Dec 2020 15:43:04 GMT</pubDate>
            <atom:updated>2020-12-15T15:59:57.551Z</atom:updated>
            <content:encoded><![CDATA[<h4>What comes back to bite us when we stop looking?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BHi_cqr5zgeL5a8g" /><figcaption>Photo by <a href="https://unsplash.com/@davidclode?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">David Clode</a> on <a href="https://unsplash.com/collections/60455417/hidden/3383a1677e5216d9c09cab4acaf6e604?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>As a security analyst, it is likely that a lot of your time is spent on high priority alerts, especially any that occur with regular frequency. Your alert criteria will be highly tuned for these frequent, high-priority alerts providing a high level of confidence when triggered. Your playbooks will be fairly mature for these common attacks, such as phishing attempts or common malware behaviors. You may have even already invested in developing automation for these playbooks.</p><p>But what about the medium-priority alerts?</p><p>Even medium-priority alerts that occur with any regular frequency are likely less tuned, and when reviewed have less available data, raising the probability of false positives or capturing minor IT operational issues rather than threat activity. Playbooks for these alerts, if they exist, are likely generic descriptions of common investigation tactics.</p><p>If your alerts follow a typical bell curve, medium-priority alerts represent your largest volume. Hence, the medium-priority conundrum: Do you investigate?</p><p>If it is a credible threat indicator early in its attack life cycle then it is an optimal time to mitigate before incurring any damage. But is it worth the time to investigate over other higher priority alerts? What amount of time should you invest?</p><p>The problem with investigating a medium-priority alert is a lack of corroborating evidence. It is possible that this is an early threat indicator, but if the malware/threat actor is intentionally pausing before taking its next step there is little supporting evidence yet of a threat. Adding the user/host to a watch list may catch followup activity only if the malware/threat actor takes known steps and in a time interval that aligns to your security controls’ analytics.</p><p>This is effectively the ‘wait and see’ approach. It leaves a nagging feeling for any security analyst: Is this going to come back to bite me?</p><p>A concern with the ‘watch list, wait and see’ approach is the difficulty in connecting alerts. Two weeks later not many analysts will recognize a new high priority alert involving a different user account on a different system is actually connected to the previous medium-priority alert without a lot of digging. Most SIEMs perform investigations at the log level without providing any context to previous alerts. And if the threat actor deliberately takes actions to obfuscate their steps, crude aggregation methods such as compiling alerts from the same user/system will not be effective anyway.</p><p>Since breaches rarely occur in a single step, establishing connections across alerts is extremely valuable. Attacks evolve over time and leave bread crumbs along the way. Tracking the relationship across low, medium, and high priority alerts surfaces “constellations” of alert activity that more accurately recognizes qualified threat activity than investigating a single high priority alert. However, due to the threat actor’s lateral movements and changes in user accounts, security analysts cannot rely on crude alert aggregation methods.</p><p>Linking alerts together requires a linkage at the operational level. For example, take these two medium-priority alerts:</p><ol><li>User-String: ‘nmap’ used on multiple apache http access requests on server: web-server</li><li>Multiple authentication request failed for user ‘rob’ followed by successful authentication on server: File-Server</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/0*F0FPTavjurDjO3sr" /></figure><p>On the surface these alerts do not seem at all related. Exploring the web server and system logs reveals:</p><ol><li>External IP requests index.php using user-string nmap &lt;medium-priority alert #1&gt;</li><li>External IP requests http access for webpage joomla/configuration.php</li><li>index.php re-written</li><li>External IP request http access for index.php</li><li>User ‘www-data’ runs command ‘cat /var/www/apachw2/joomla/configuration.php</li><li>User ‘www-data’ runs mysql -u joomla</li><li>‘Rob’ fails then successfully authenticates from ‘web server’ to server ‘fileshare’ &lt;medium-priority alert #2&gt;</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/0*FjUoClVoSvl3Wca1" /></figure><p>Seeing two connected medium-priority alerts changes the situation completely. It now appears that both the web server has been compromised with a reverse shell, mysql has been compromised to some degree, and the user account ‘rob’ is compromised and has access to an internal file share. This is clearly the early stages of an alert, however many organizations would not have dedicated the time to investigate the medium-priority alerts. The two alerts have different sources, destinations, and users. But they are connected via a string of operational transactions.</p><p>Using operational transactions to connect alerts changes security operations’ prioritization to focus on ‘constellations’ of alerts that substantiate threat activity over single high priority alerts. Similarly, alerts with no connections to other alerts may be dismissed as a false positive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*V9FLtlMhbu7qjy3M5QlLzQ.png" /></figure><p>With operation activity binding alerts together, security teams are in a stronger position to recognize early threat indicators to prevent data breaches and larger-scope compromises.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4536d0d1250c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Log Analysis is Still Our Primary Security Investigation Tool]]></title>
            <link>https://seth-goldhammer.medium.com/why-log-analysis-is-still-our-primary-security-investigation-tool-e8881ab54fa3?source=rss-a34fa1bcc3d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8881ab54fa3</guid>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[security-operations]]></category>
            <dc:creator><![CDATA[Seth Goldhammer]]></dc:creator>
            <pubDate>Tue, 01 Dec 2020 17:32:20 GMT</pubDate>
            <atom:updated>2020-12-01T17:32:20.025Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*d0CzjzrpIXxyTrIUToxP7Q.png" /><figcaption>Photo by <a href="https://unsplash.com/@sharonmccutcheon?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Sharon McCutcheon</a> on <a href="https://unsplash.com/collections/9490645/nocode?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>It started with a moderately prioritized Security Information and Event Management (SIEM) alert triggered by the firewall allowing external traffic right after the Intrusion Detection System (IDS) blocked an attack from the same external IP. And now the tabs on your browser are growing as you review and compare firewall logs, IDS logs, host activity logs, user authentication logs, VirusTotal lookups, Active Directory user lookups, Configuration Management Database (CMDB) lookups, and views from other internal and external tools.</p><p>The security vendor’s demonstration portrayed investigations from an alert look so easy. They only briefly showed log tables and mostly advanced their investigation by clicking on visualizations such as pie and trend charts. During the demo, they quickly identified the host visible in a narrow pie slice is related to the user in a smaller pie slice on a different chart on a different page. And they completed the investigation in less than 2 minutes. But actual investigations rarely resemble sales demos. The pie charts, event counts, and trend charts only give hints and not enough credible, detailed information to make true determinations to qualify the threat, understand its entry point and its current scope.</p><p>In sales pitches, many sales engineers suffer from the <a href="https://en.wikipedia.org/wiki/Curse_of_knowledge">Curse of Knowledge</a>. They know the conclusion of the story before it begins, leading to a set of unnatural steps during the investigation. In hindsight, why did they double-click on that pie chart? Would you have done the same?</p><p>Instead, security analysts compare log tables <em>to see what actually happened </em>and to manually connect activities based on timestamps to understand the sequence of related events. Log analysis is not the glamorous side of blue team activity. It’s challenging, tedious work. But it delivers the level of detail required by a security analyst to make critical decisions during the investigation. Using the previous IDS/FW alert as an example, the analyst needs to answer:</p><ol><li>What process established the network connection out to the external IP?</li><li>What service owns that process and who is the user?</li><li>Was it spawned from an interactive or non-interactive shell?</li><li>When did that service initiate?</li><li>What files/configurations does that service rely on and have these recently changed?</li><li>Is that service installed on other machines or unique to this one? Is that user logged in anywhere else (as anyone else)?</li><li>And the list goes on….</li></ol><p>Note, these activities may be separated by hours, days, even weeks before the alert triggered.</p><p>To answer these questions, security analysts perform pivot searches e.g. searches on the system log data, network traffic, or user activity before and after the alert. This results in pages of search results which mix both superfluous and pertinent data to the investigation. Event classifications and user risk scores help to identify broad areas to review, but ultimately security analysts use log and audit data to ultimately understand what happened and in what order. The sequence of the log data will determine if there are qualified threat indicators and if so, what is its root cause and scope.</p><p>Security analysts use audit and log data because it is a trusted source of information, whereas security events, detected anomalies, and visualizations infer results that introduce a probability of error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*0Mh1aildEmIAQ3_X450Rkg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/0*3aE_NriDsrlsmsdI" /></figure><p><em>Alerts generated by correlation rules or behavioral anomalies will always need to be validated.</em></p><p>While the security industry will (and should) continue to focus on better threat detection, security analysts will also benefit from a tool focused on the investigation that:</p><ul><li>Establishes the causal connections of activities leading to and following a security alert.</li><li>Bases causal connections with ground truth data, rather than inferred data, to become trusted sources of relevant information.</li></ul><p>Establishing causal connections based with ground-truth data leading to and following a security alert removes the most challenging and tedious process performed by the security analyst, enabling security analysts to make faster and more accurate determinations to mitigate qualified threats.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8881ab54fa3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Security Analytics Should Start With the End in Mind]]></title>
            <link>https://seth-goldhammer.medium.com/why-security-analytics-should-start-with-the-end-in-mind-da695c1cca1a?source=rss-a34fa1bcc3d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/da695c1cca1a</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Seth Goldhammer]]></dc:creator>
            <pubDate>Tue, 10 Nov 2020 15:57:11 GMT</pubDate>
            <atom:updated>2020-11-10T15:57:11.621Z</atom:updated>
            <content:encoded><![CDATA[<p><em>While many organizations collect data to ‘see what they get’, successful implementations take an analytics first approach</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*23UJCdCux06d5KMVujjXUA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@scw1217?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Suzanne D. Williams</a> on <a href="https://unsplash.com/s/photos/butterfly-cocoon?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>When it comes to detection and response, the trend from the past decade is to gather as much data as possible. Log data. Network data. Endpoint data. Application data. Gather it all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/0*Uov9Fn9g2Pnx3JZw" /></figure><p>The trend is logical.</p><ul><li>It is unclear where the next threat indicator will come from.</li><li>If we analyze user, endpoint, and application behaviors through log, network, and endpoint analysis, we are in the best position to identify and remediate the threat.</li></ul><p>This logic also aligns to drops in cloud storage and processing costs, enabling longer time periods and breadth of log data along with more advanced analytics such as statistical analysis and machine learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/0*6BL356DxDpbvhiQW" /><figcaption>Figure 1: Data First Implementation Model</figcaption></figure><p>This premise of collecting all/any data to then perform analytics ‘to see what you get’ is faulty and does not provide effective results. Engineers designing the self-driving car didn’t load up the car with all kinds of sensors to see what it can then make sense of the outside world. They instead used focused sensors specific to the questions they needed to answer. How many of you have tried to write a query into log data only to discover that the data wasn’t there, or in the right format, or the query itself became so complex that performance became an issue? Take this query to discover PowerShell command execution as an example:</p><pre>index=powershell LogName=”Windows Powershell” (EventCode=500) | eval MessageA=split(Message,”Details:”) | Eval Short_Message=mvindex(MessageA,0) | Eval MessageB=mvindex(MessageA,1) | eval MessageB = replace (MessageB,”[\n\r]”,”!”) | eval MessageC=split(MessageB,”!!!!”) | Eval Message1=mvindex(MessageC,0) | Eval Message2=mvindex(MessageC,1) | Eval Message3=mvindex(MessageC,2) | eval MessageD=split(Message3,”!!”) | Eval Message4=mvindex(MessageD,3) | eval Message4=split(Message4,”=”) | eval PS_Version=mvindex(Message4,1) | Eval Message5=mvindex(MessageD,4) | Eval Message6=mvindex(MessageD,5) | Eval Message7=mvindex(MessageD,6) | eval Message7=split(Message7,”=”) | eval Command_Name=mvindex(Message7,1) | Eval Message8=mvindex(MessageD,7) | eval Message8=split(Message8,”=”) | eval Command_Type=mvindex(Message8,1) | Eval Message9=mvindex(MessageD,8) | eval Message9=split(Message9,”=”) | eval Script_Name=mvindex(Message9,1)| Eval Message10=mvindex(MessageD,9) | eval Message10=split(Message10,”=”) | eval Command_Path=mvindex(Message10,1) | Eval Message11=mvindex(MessageD,10) | eval Message11=split(Message11,”=”) | eval Command_Line=mvindex(Message11,1) | table _time EventCode, Short_Message, PS_Version, Command_Name, Command_Type, Script_Name, Command_Path, Command_Line</pre><p>Whether used as a query (unstructured data) or to classify a common event (structured data), the query exemplifies an ineffective process. The performance of the query is inoperable, requires a high degree of ongoing tuning, and is vulnerable to omit information (false negatives) especially with version changes, OS changes, etc.</p><p>Whether we are talking about commercial or open source implementations, the ‘see what you get’ approach does not align to security use cases.</p><ul><li><strong>The ‘T’ in ETL is “transform”.</strong> Data needs to be transformed to answer questions. If you want to create a histogram of successful user authentications, the data needs to be transformed to recognize that ‘logon’,’login’, and ‘authentication success’ are all the same. There is a risk when down-stream analytics (e.g. machine-learning data features, correlations) are dependent on the outcome from the transform step due to parsing errors, missing data, or other defects. For example, a company that was in the process of terminating and prosecuting an employee for introducing malware into its supply chain system only to realize their SIEM was not accounting for DHCP IP address changes.</li><li><strong>Data collection is not ‘free’.</strong> Even with excellent free and open source tools such as Elastic Beat, FluentD, or the collector provided by your SIEM, collecting, processing, and storing data comes with a large amount of administrative overhead regardless if your SIEM is SaaS or on-prem. Data-first implementations lose themselves in the management of data collection and tuning before they even solve a security use case. Updates to data sources often change log formats or API calls, creating a constant cat &amp; mouse game of recognizing log sources no longer collecting the full set of content or parsing log content correctly. While it’s relatively easy to recognize a silent log source (zero logs from a data source), it’s incredibly difficult to recognize a specific log event from a data source has altered its format and rendered downstream parsing ineffective. This is critical if machine learning or correlation rules rely on classifications or events from parsed log data. While you can transform on read instead of write, it’s both disk I/O and processing intensive that may cause long delays producing results from advanced analytics.</li><li><strong>All data is not equivalent</strong>. While collecting all the data makes logical sense since threat evidence may lie anywhere, it also creates excess noise that impacts analytics and search performance. The excess volume of data may also render dashboards useless because of the limited span of time represented (e.g. dashboards that can only present that last 4 hours of data instead of the last 7 days). Heterogeneity of data across environments also makes sharing analytics impractical without involving high amounts of customization and ongoing tuning. This is one of the reasons the off-the-shelf correlation rules provided by your SIEM vendor are rarely useful without customization and ongoing tuning.</li><li><strong>Signal-to-Noise. </strong>With more data collected across more data sources, it adversely impacts the signal-to-noise ratio. The <a href="https://machinelearningmastery.com/roc-curves-and-precision-recall-curves-for-classification-in-python/">Precision Recall Curve</a> describes the balancing act between allowing more visibility with events/alerts but allowing more false positives, or fine tuning to have a small number of events and alerts but risk missing an activity (false negative). Allowing more data to ‘see what you get’ creates more administrative burden on tuning alert criteria and increases false positives impacting SOC effectiveness.</li></ul><p>Instead of starting with a collect the data first mentality, similar to our self-driving car example above, security-focused implementations should start with the end in mind.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/0*T0288frg-6whI-8-" /><figcaption>Figure 2: Analytics First Implementation Model</figcaption></figure><p>Note, examples are simplified for this exercise:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*rIDsOMAsFqVWlz1_jy9afg.png" /><figcaption>Table 1 — Analytics First Steps Explained</figcaption></figure><p>Organizations taking this use-case approach will find greater return-on-investment with demonstrable evidence of program success to share with key stakeholders.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da695c1cca1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Four Steps for Faster Security Alert Triage]]></title>
            <link>https://seth-goldhammer.medium.com/four-steps-for-faster-security-alert-triage-517e40605f66?source=rss-a34fa1bcc3d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/517e40605f66</guid>
            <category><![CDATA[security-analysis]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-technology]]></category>
            <dc:creator><![CDATA[Seth Goldhammer]]></dc:creator>
            <pubDate>Tue, 22 Sep 2020 17:18:27 GMT</pubDate>
            <atom:updated>2020-09-22T17:21:01.585Z</atom:updated>
            <content:encoded><![CDATA[<p>Discover how to use your existing controls to consolidate alerts and tune severity scores to respond to the highest probability of active threats</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*Ggq_FmpujY8_RSkNKRFzPg.png" /><figcaption>Photo by <a href="https://unsplash.com/@avesmhl?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Avery Lewis</a> on <a href="https://unsplash.com/collections/28616012/faster/3cb057d9c613ec2ce58737ca0fd84a8c?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>The volume of security events and alerts remains the bane of most cybersecurity programs. In 2019, <a href="https://www.imperva.com/blog/27-percent-of-it-professionals-receive-more-than-1-million-security-alerts-daily/">Imperva polled RSA Security conference attendees </a>and found 55% of the 179 IT professional respondents indicated that their companies received over 10,000 alerts per day, with 27% indicating it was over 1 million! Most organizations admit they receive more alerts beyond their capacity to triage and investigate forcing a greater dependency on prioritization.</p><p>Is the problem the tools or how we are using them?</p><p>What leads to these extremely high rates of alerts? It is not just false positives. In Enterprise Management Associates’ (EMA) report, <a href="https://www.enterprisemanagement.com/research/asset.php/3441/InfoBrief:-A-Day-in-the-Life-of-a-Cyber-Security-Pro">“InfoBrief: A Day in the Life of a Cyber Security Pro”</a>, they found “on average, analysts were spending 24 to 30 minutes to investigate each incident they received” and only 31% of the time was the alert found to be a false positive. More likely, alerts were found to be incorrectly marked as critical and misprioritized.</p><p>Some misidentified alerts may be indicators of actual emerging threats. Without additional evidence and without sufficient time to thoroughly investigate, its easy to dismiss the alert as a false positive. However, many of our existing security controls allow methods to increase the integrity of our alerts while reducing the overall alert volume.</p><ol><li><strong>Think in Incidences — Not Alerts</strong>. Many organizations make the mistake of setting every correlation rule or behavior anomaly to generate an alert. Unless there is a high degree of confidence that a single behavior captures a credible Indicator of Compromise (IOC) every time, you should instead configure your correlation rules and behavioral rules to generate “events”. Note that the actual term may vary based on your security control (e.g. “notable events”, “observances”, etc.). With observable events, you can create “master” rules capturing multiple observable events into an ‘incident’ and only alert on these incidents. Master rules should look for a commonality across observable events, e.g. all stemming from the same user or the same target host within a specified amount of time. Think of these master rules as a use case, a scenario, or previously established IOC. While only your master rules generate alerts, you can still use all the observable events in dashboards to enable greater precision in threat hunting activities. This allows you to manage your <a href="https://machinelearningmastery.com/roc-curves-and-precision-recall-curves-for-classification-in-python/">Precision Recall Curve</a> — or the ability to retain visibility to activities without increasing your false positives, while the consolidation of multiple observable events in your master rules reduces false negatives.</li><li><strong>Tune Your Analytics</strong>. Now that we have established that there are specific behaviors we just want to ‘note’ versus ‘alarm’, we can tune accordingly. Even the correlation rules and ML/AI analytics the vendor says will just “work out of the box” — require tuning. Vendors’ off-the-shelf content makes general assumptions about IT environments, while every IT environment has its own idiosyncrasies. For each correlation and behavior rule you deploy in production, recognize that you have signed up for both an initial tuning phase and ongoing, periodic tuning. Monthly is a good start as you learn which environmental changes impact rules more dramatically. Later, you can reduce the frequency or even shift to a trigger-based system. The goal is not to tune rules so rigorously to only trigger in rare occurrences. Your ‘master’ rules will temper any observable events seen with a high frequency. You will need to constantly tune and adjust content so plan accordingly.</li><li><strong>Tune Your Risk/Severity Calculation</strong>. Learn how your security controls calculate risk or severity scores and tune the parameters to align to your environment. This should also be an ongoing exercise, as frequent as weekly, since there are constant changes to your environment such as new Internet-facing assets, new subdomains/networks, new data sources into your security controls. This allows you to sort your new alerts (which are now only consisting of master rules) by risk/severity without relying on the vendor’s default outcomes. This gives you the best probability of reviewing and taking action on the alerts recognizing a qualified, emerging threat earlier.</li><li><strong>Use automation. </strong>While you can invest in a SOAR solution, you can get started by automating low hanging fruit without making a purchase. The easiest place to find low hanging fruit is in the retrieving of additional details or context surrounding the observable events captured in the master rule. For example, if you manually copy/paste every external IP into VirusTotal to see the results when investigating external IPs — take the time to create a simple script that does it for you. Be careful when selecting your ‘low hanging fruit’ if you have to interface with a product’s API. You will find that many vendor’s APIs change frequently, requiring more of your time to maintain these scripts. Just like signing up for tuning for each rule you deploy, you are signing up for script maintenance for each script so prioritize and choose accordingly. Script maintenance means — when you execute the script does it still do what it is supposed to do. For this purpose, it is handy to have test variables you can run on a periodic basis that wont disrupt/interfere with your security controls and integrated systems. With most security controls, you can add these simple scripts to execute automatically each time the corresponding alert triggers. If this isn’t an option, having the script on-hand still saves you plenty of time. If you are not a programmer, it may be time to learn simple shell scripting like bash or sh. Most SOAR products use languages like Python or YAML.</li></ol><p>If you take a use case oriented approach to steps 1–4, you will see big dividends in reducing the number of alerts while fulfilling specific use cases for yourself and demonstrate value back to your company.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=517e40605f66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cybersecurity is Like Playing Dungeons & Dragons]]></title>
            <link>https://medium.com/swlh/cybersecurity-is-like-playing-dungeons-dragons-5197e84528a3?source=rss-a34fa1bcc3d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5197e84528a3</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[security-analytics]]></category>
            <category><![CDATA[incident-response]]></category>
            <dc:creator><![CDATA[Seth Goldhammer]]></dc:creator>
            <pubDate>Tue, 08 Sep 2020 17:07:07 GMT</pubDate>
            <atom:updated>2020-09-08T17:07:07.336Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*hbDFjUke_g13N9UdSFyK-A.png" /><figcaption>Photo by <a href="https://unsplash.com/@cramtek?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Carlos Cram</a> on <a href="https://unsplash.com/collections/11721951/d%26d?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4>How our security operations mirror the fantasy tabletop role-playing game</h4><p>In our current security operations’ workflows, qualifying threats, understanding the threat’s scope, and determining root cause closely resemble how players interact with their Dungeon Master (DM). With each alert, analysts must determine which ‘paths’ to investigate. There isn’t sufficient time to explore each and everything path. This means that if an analyst doesn’t ask the right question or interpret the response correctly, they find themselves going down the wrong path all too easily.</p><p>Take this example from a group playing Dungeons and Dragons <br>(based on <a href="http://hackslashmaster.blogspot.com/2012/05/on-missed-treasure.html">http://hackslashmaster.blogspot.com/2012/05/on-missed-treasure.html</a>):</p><pre><strong>DM</strong>: You have come across a clearing in the forest. In the clearing is a small pond.<br><strong>Ranger</strong>: Are there signs of animals in the pond?</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*T1CR75CDIR-VQGj8kIS9_Q.jpeg" /><figcaption><a href="http://justinyun.blogspot.com/">http://justinyun.blogspot.com/</a></figcaption></figure><pre><strong>DM</strong>: You see a giant floating frog corpse about five feet in length.<br><strong>Ranger</strong>: Are there signs the frog was killed or eaten by anything?<br><strong>DM</strong>: The frog corpse is fairly intact. To get closer to it you will need to either get in the pond or pull it closer to you somehow.<br><strong>Fighter</strong>: Is it obviously dead?<br><strong>DM:</strong> It doesn’t appear alive. Its lying belly up floating in the pond.<br><strong>Fighter:</strong> Can I check it with a rock?<br><strong>Ranger</strong>: No, I’ll grapple it.<br><strong>DM</strong>: OK, you grapple the frog. You now have a frog corpse near the shore.</pre><pre><strong>Ranger</strong>: Can we see anything on the frog?<br><strong>DM</strong>: You see several gashes all over the lower stomach as if it’s been stabbed a dozen times with a short blade. The wounds look ragged.<br><strong>Warlock</strong>: Are they in a pattern, like teeth marks?<br><strong>DM</strong>: No.<br><strong>Ranger:</strong> Are the punctures facing inward or outward?<br><strong>DM</strong>: Sorry?<br><strong>Ranger</strong>: Could the marks be from something coming out of the frog as opposed to it being stabbed?<br><strong>DM</strong>: It’s possible.<br><strong>Alchemist</strong>: Let’s dissect it.<br><strong>Warlock</strong>: Sounds gross.<br><strong>Fighter</strong>: Right, let’s just move on.<br><strong>Ranger</strong>: Yes, we decide to keep walking in the forest.</pre><pre><strong>Narrator:</strong> And thus ends the tale of how the body of the gnome Hyusi-bigglebag and his magical sword (among other valuable possessions), who was swallowed by a giant frog that died from his repeated dagger stabs, was never discovered. The body was later eaten by a Grue.</pre><p>If this story seems familiar it’s because it happens far too often in security. If we retell the story as a threat investigation, it goes something like this:</p><pre><strong>Security Information and Event Management (SIEM):</strong> Alert — The firewall just allowed traffic from an internal IP to an external IP, right after the IPS blocked traffic from the same external IP to the internal IP.<br><strong>Security Analyst</strong>: OK, SOAR, what’s the playbook for this?<br><strong>Security Orchestration, Automation and Response (SOAR)</strong>: Get contextual data for the external IP and pivot search on the target IP’s activities.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*NZPkyEPlmCSDPlazg2_nNw.jpeg" /><figcaption><a href="https://www.deviantart.com/aaronmiller/art/Map-Check-498444550">https://www.deviantart.com/aaronmiller/art/Map-Check-498444550</a></figcaption></figure><pre><strong>Security Analyst</strong>: SIEM, what do you know about this external IP?<br><strong>SIEM</strong>: No hits from any threat intelligence list. Want me to get the registrar info from whois?<br><strong>Analyst</strong>: No.  Hey EDR, can you show me everything that happened on the internal IP 10 minutes before and after the alert?<br><strong>Endpoint Detection and Response (EDR)</strong>: OK, there are a dozen parent processes with a few hundred child processes running.<br><strong>Analyst</strong>: Who is on the system?<br><strong>EDR</strong>: There are two users with running sessions, root and bsmith.<br><strong>Security Analyst</strong>: What has Root been doing?</pre><pre><strong>EDR</strong>: No recent activity.  Root is the owner of several services that have a long uptime.<br><strong>Security Analyst</strong>: What was the network traffic that was allowed through the firewall?<br><strong>NextGen Firewall (NGFW)</strong>: An HTTPS get request.<br><strong>Security Analyst</strong>: Was there a response?<br><strong>NGFW</strong>: No.<br><strong>Security Analyst</strong>: Are there any EPP events for this host during this time frame?<br><strong>Endpoint Protection Platform (EPP)</strong>: No.<br><strong>Security Analyst:</strong> OK, this sounds like a false positive. I am going to move onto the next alert.</pre><pre><strong>Narrator</strong>: And thus ends the story of how the COMpfun remote access trojan (RAT) capable of carrying out man-in-the-middle (MitM) attacks on encrypted traffic wasn’t discovered until much later after compromised account information was already successfully exfiltrated. The security analyst was later eaten by a Grue.</pre><p>Similar to D&amp;D, there are multiple paths for the security analysts. However, the security analyst does not have the luxury of time. Its not always intuitive which path to investigate, even when guided by prior experiences and playbooks. While playing D&amp;D and exploring multiple paths is enjoyable, it’s highly stressful to rely on guesswork to perform security investigations. There are too many paths to investigate with dead ends that reach inconclusive results.</p><p>It is time technology began to work more intelligently to guide us down the right path. Note, this isn’t a playbook for <em>how</em> to investigate, but a mechanism to tell us <em>what</em> to investigate. This looks like technology evaluating investigation paths on the security analysts’ behalf to determine which provides the clearest evidence that qualifies the threat indicator and shines details on its root cause and the threat’s scope.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5197e84528a3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/cybersecurity-is-like-playing-dungeons-dragons-5197e84528a3">Cybersecurity is Like Playing Dungeons &amp; Dragons</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Security Analysts Don’t Trust Alerts]]></title>
            <link>https://medium.com/swlh/why-security-analysts-dont-trust-alerts-54ff1a2f1ffd?source=rss-a34fa1bcc3d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/54ff1a2f1ffd</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosecurity]]></category>
            <category><![CDATA[information-technology]]></category>
            <dc:creator><![CDATA[Seth Goldhammer]]></dc:creator>
            <pubDate>Wed, 26 Aug 2020 16:17:54 GMT</pubDate>
            <atom:updated>2020-08-26T16:36:00.007Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*xyiSkBsqKr0fDLhwdJZUCg.png" /><figcaption>Photo by <a href="https://unsplash.com/@mrszoe?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Lisa Zoe</a> on <a href="https://unsplash.com/collections/12049229/trust?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Think about what it means to be a security analyst. Do you have a picture in mind? The variety is amazing. Some work in mature security operation centers with rows of dual monitors and the glow of mechanical backlit keyboards. Some are not even a security analyst by title. The title may be “IT Specialist” and yet take on security responsibilities. And there is everything in between.</p><p>Across this variety there is a universal truth. Even with all the technology at our disposal, threat investigations remain time consuming and challenging. <a href="https://securityintelligence.com/posts/whats-new-2020-cost-of-a-data-breach-report/https://www.ibm.com/security/data-breach">Ponemon’s 2020 Cost of a Breach Report</a> captures the average time to identify and contain a data breach was 280 days, nearly identical to the average of 279 days in 2019.</p><p>This seems counterintuitive when you consider that as security analysts, we have access to more data than ever before:</p><ul><li>Our endpoints are heavily monitored and protected with advanced heuristics and behavioral modelling</li><li>Our networks are heavily monitored with ubiquitous technologies like netflow</li><li>It’s easier than ever to collect and search across custom application logs</li><li>We have access to contextual data about our internal systems and users</li><li>We have access to threat intelligence, both public, in focused industry groups, and paid-for curated content inserted directly into our security controls</li></ul><p>And perhaps that’s part of the problem. We have more data than ever without any insight as to whether or how this data applies to a specific threat investigation.</p><p>I began to understand why people outside cybersecurity do not recognize the challenges of threat investigation during a recent conversation. They watch police dramas like CSI and see a detective enter a crime scene and immediately they can recognize the crime (a dead body) and the murder weapon (he was shot). Instead, imagine if during the CSI episode the phone keeps ringing off the hook, each reporting a crime, and each time they begin to investigate only one in a hundred calls is there actually a dead body.</p><p>In reality, we show up to the ‘crime scene’ without knowing if any crime occurred. The data we use to figure out ‘what happened’ is an odd mix of alert, audit, and meta data generated by a blend of both deterministic and non deterministic methods.</p><p>Take the case of an authentication failure:</p><figure><img alt="Spyderbat Table 1: Examples of Authentication Failure across Data Types" src="https://cdn-images-1.medium.com/max/1024/1*OstWkxHge2WdswnjKwTevw.png" /><figcaption>Table 1: Examples of Authentication Failure across Data Types</figcaption></figure><p>The alert is the easiest to read but trusted the least. This results in security analysts investigating each alarm to qualify it (did a crime actually occur?). Investigation requires digging through meta data and audit data to find out what actually happened. This is usually performed by conducting pivot searches — e.g. show everything that happened on 192.168.1.13 or activities related to user ‘root’ around this particular time.</p><p>Here is what that might look like:</p><figure><img alt="Process data in system out" src="https://cdn-images-1.medium.com/max/1024/0*ExMnfYTV6ZJTx0gq" /><figcaption>Figure 1: Operating System Process Data</figcaption></figure><p>And as a security analyst, our job is to scour through the log and audit data and make a determination of what may be connected to your investigation while trying to ignore the larger volume of superfluous data. It is time consuming, tedious work relying on experience and intuition. Even a highly experienced security analyst with previous exposure to investigating successful attacks won’t necessarily recognize the <em>next</em> attack.</p><p>So with all the data now available to security analysts it obscures true threat indicators during the investigation. If we can’t trust alert data and only have a slightly better trust in meta data, the solution to reducing investigation time is not more data!</p><p>If we accept the premise that alerts can never be fully trusted and will always require investigation, we must focus on improving the threat investigation to reduce threat recognition and containment time. This solution doesn’t add more and more data to the security analysts, but instead provides focus, direction and guidance on trusted, ground truth data. Trusted data that is focused to the audit and contextual data that pertains to the specific investigation, removing all the superfluous endpoint, network, user data and context that only obscure threat activities. With a clear view of trusted data, security analysts are enabled to make faster determinations to qualify threats and have faster recognition to a true threat’s scope and root cause.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54ff1a2f1ffd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/why-security-analysts-dont-trust-alerts-54ff1a2f1ffd">Why Security Analysts Don’t Trust Alerts</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three Impediments to Cybersecurity Operations]]></title>
            <link>https://medium.com/swlh/three-impediments-to-cybersecurity-operations-159efb1dd166?source=rss-a34fa1bcc3d1------2</link>
            <guid isPermaLink="false">https://medium.com/p/159efb1dd166</guid>
            <category><![CDATA[security-analytics]]></category>
            <category><![CDATA[security-operations]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Seth Goldhammer]]></dc:creator>
            <pubDate>Tue, 11 Aug 2020 15:05:34 GMT</pubDate>
            <atom:updated>2020-09-04T15:49:00.460Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Why is Ground Truth so critical for cybersecurity operations?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CQH8B98vAbidSVhgVsdfEQ.jpeg" /><figcaption>Photo by<a href="https://unsplash.com/@katekerdi?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"> Katerina Kerdi</a> on<a href="https://unsplash.com/s/photos/searching?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"> Unsplash</a></figcaption></figure><p>Security analysts need quick access to the observable ground truth linked to threat activity in order to detect threats earlier in their lifecycle and perform faster, more accurate threat investigations.</p><p><strong>What is ground truth?</strong></p><p><a href="https://en.wikipedia.org/wiki/Ground_truth">Ground truth</a> is a term used in various fields to refer to information provided by direct observation (i.e. empirical evidence) as opposed to information provided by inference.</p><p><strong>How is ground truth related to cybersecurity?</strong></p><p>Most security analytics solutions perform event identification and generate security alerts from analysis of secondary and even tertiary derived information. This means the data used to draw an observation (e.g. correlation, behavioral anomaly, etc) uses inferential data. There is a chance — a good chance — the analysis omitted data. The analysis is flawed since inferential analysis is not deterministic.</p><p>In <a href="https://medium.com/anton-on-security/security-correlation-then-and-now-a-sad-truth-about-siem-fc5a1afb1001">Security Correlation Then and Now: A Sad Truth About SIEM</a>, Anton Chuvakin admits</p><blockquote>“The normalized and taxonomized approach in SIEM never actually worked!”</blockquote><p>He states several reasons why: impossible to keep up, to test, to develop across vendors consistently, etc.</p><p>Using indeterministic analysis models generates a variety of symptoms in both false positives and false negatives. As a result, analysts must perform initial triage of most alerts to determine if the activity captured is even a real threat (threat qualification), and if so then perform lengthy investigations to understand how this threat originated (root cause) and how far it has spread (threat scope). Does it mean we should abandon our security controls if their analytics require impossibly clean and structured data? Certainly not. It does give us a clue to strong impediments we should understand and how they impact our security operations.</p><p><strong>How lack of ground truth creates barriers in cybersecurity</strong></p><p>There are three unfortunate side-effects without analysis grounded in observable ground truth.</p><ol><li><strong>Impeded threat detection</strong>. According to <a href="https://www.crowdstrike.com/blog/2019-services-report-key-findings-part-1/">Crowdstrike’s 2020 Cyber Front Lines Report</a>, “Average dwell time grew 10 days to 95 in 2019, up from 85 in 2018.” In 95 days, it is highly unlikely an attacker did not produce evidence of their attack tactics. Why aren’t these recognized as a threat indicator leading to earlier detection and circumvention? This is because without observable ground truth linking detected threat indicators it is impossible to quickly and accurately qualify early threat indicators.</li><li><strong>Impeded threat investigation</strong>. Making connections across attack tactics is a manual exercise. Instead of having immediate access to ground truth related to all threat progression activity, the security analyst must weed through system and application logs from around the same time period of the initial suspected attack. They rely on experience and guesswork to identify and determine from the voluminous audit logs, mostly innocuous and unrelated, which capture anything relevant to the investigation. It’s time consuming work with a high potential for mistakes. This allows an analyst to easily miss the details that connect log activity and previous alerts together. Keep in mind, these individual threat activities may be separated by hours, days, or even weeks and are hiding among uninvolved log activities.</li><li><strong>Inability to implement automation</strong>. With an extremely high volume of false positives, and an inability to quickly corroborate alerts with ground-truths, analyst teams are unable to immediately trust their alerts. If you can’t trust the alert, you can’t automate actions triggered by the alert. Instead, most organizations only automate gathering additional contextual information to help the analyst. Knowing the external IP’s reputation, the user’s identity, and the host’s services helps to prioritize the investigation, but it does not help to quickly understand the threat’s scope or root cause. Security analysts still perform these most difficult aspects of the threat investigation manually.</li></ol><p>If the security industry is going to take a meaningful step towards reducing dwell, investigation, and remediation time, the solution must automate collecting, filtering, and linking ground truth to each alert and present it in a meaningful way to the analyst.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=159efb1dd166" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/three-impediments-to-cybersecurity-operations-159efb1dd166">Three Impediments to Cybersecurity Operations</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>