<?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 Simran Karki on Medium]]></title>
        <description><![CDATA[Stories by Simran Karki on Medium]]></description>
        <link>https://medium.com/@simrankarki?source=rss-77db81997a6d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AjrC9A7BODPuvIlQjIxPIg.jpeg</url>
            <title>Stories by Simran Karki on Medium</title>
            <link>https://medium.com/@simrankarki?source=rss-77db81997a6d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 21:25:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@simrankarki/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[Hunting Down Remcos RAT: How CrowdStrike Update Mishaps Can Reveal Hidden Threats]]></title>
            <link>https://medium.com/@simrankarki/hunting-down-remcos-rat-how-crowdstrike-update-mishaps-can-reveal-hidden-threats-0f9c78a2bd37?source=rss-77db81997a6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f9c78a2bd37</guid>
            <dc:creator><![CDATA[Simran Karki]]></dc:creator>
            <pubDate>Mon, 22 Jul 2024 09:34:12 GMT</pubDate>
            <atom:updated>2024-07-22T09:40:53.548Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, the cybersecurity community faced a significant challenge worldwide due to a BSOD (Blue Screen of Death) error caused by a CrowdStrike update. As attackers attempt to exploit this situation, it is crucial for organizations to strengthen their defenses and actively hunt for potential threats. Here’s a comprehensive guide on how to conduct threat hunting for this incident.</p><h3>Threat Landscape</h3><p>Threat actors are now actively exploiting this incident to target CrowdStrike customers through various malicious activities. The original issue stemmed from a content update for the CrowdStrike Falcon sensor on Windows hosts, which caused system crashes and blue screens on affected machines.</p><p>CrowdStrike Intelligence has reported several tactics employed by these malicious actors:</p><p><strong>Phishing Emails:</strong> Cybercriminals are sending fraudulent emails posing as CrowdStrike support, attempting to trick customers into revealing sensitive information or granting unauthorized access. Impersonation on Phone Calls: There have been instances of threat actors impersonating CrowdStrike staff during phone calls, likely aiming to manipulate victims into compromising their security.</p><p><strong>Fake Researchers:</strong> Some attackers are presenting themselves as independent researchers, falsely claiming to have evidence linking the technical issue to a cyberattack and offering dubious remediation advice.</p><p><strong>Malicious Scripts:</strong> Criminals are attempting to sell scripts that supposedly automate recovery from the content update issue, which may instead introduce malware or create new vulnerabilities.</p><h3>Threat Hunting</h3><p>To address this evolving threat landscape, the threat hunting process outlines a systematic approach to detect, investigate, and mitigate these malicious activities, ensuring the security and integrity of affected systems and users.</p><p>Threat hunting can be conducted through various methods, as I discussed in previous blogs.</p><p><a href="https://medium.com/@simrankarki">Link to my previous blogs on threat hunting</a></p><ol><li>IOC Based Hunting</li><li>Hypothesis Based Hunting</li><li>Baseline Based Hunting</li><li>Anomaly Based Hunting</li></ol><p>In this blog, I will focus on hypothesis-based threat hunting, using the hypothesis outlined below.</p><h3>Importance of Hypothesis in Threat Hunting</h3><p>Formulating a hypothesis is crucial in threat hunting because a well-defined hypothesis directs the investigation, focusing on specific threats or activities. Hypotheses provide a structured approach to threat hunting, ensuring that the process follows a logical sequence. This structure helps in systematically identifying, analyzing, and mitigating threats.</p><p><strong>Hypothesis: Cybercriminals Exploit CrowdStrike Update Mishap to Distribute Remcos RAT Malware</strong></p><h3>Methodologies of Hypothesis Based hunting</h3><p>P.S. This is my own methodology for threat hunting. If you have any suggestions or modifications, feel free to share or modify.</p><h3>1. Plan</h3><ol><li>Formulate your hypothesis as demonstrated above.</li><li>Define the goal of your hunt. For this hunt, my goal is to determine if Remcos exists in my network. The primary objective is to validate or invalidate my hypothesis.</li><li>Research the technical context, including Indicators of Compromise (IOCs), attack behaviors/patterns, and similar incidents.</li><li>Build analytics for the hunt if you are using SIEM or EDR tools.</li></ol><p><strong>For example: (source_address or destination_address in IOC and action=”allow” | chart count() by source_address, destination_address,action,device_name )</strong></p><h3>2. Document</h3><p>Create a plan document that includes your hypothesis, hunting goals, the analytics you will use, and the technical context.</p><h3>3. IOCs Gathering</h3><p>To begin, gather all information related to the attacks happening recently due to the CrowdStrike incident, such as IOCs (Indicators of Compromise) and TTPs (Tactics, Techniques, and Procedures). Some IOCs that have been identified include:</p><h4><strong>Phishing Email Domains</strong></h4><ul><li>crowdstrike.phpartners[.]org</li><li>crowdstrike0day[.]com</li><li>crowdstrikebluescreen[.]com</li><li>crowdstrike-bsod[.]com</li><li>crowdstrikeupdate[.]com</li><li>crowdstrikebsod[.]com</li><li><a href="http://www.crowdstrike0day[.]com">www.crowdstrike0day[.]com</a></li><li><a href="http://www.fix-crowdstrike-bsod[.]com">www.fix-crowdstrike-bsod[.]com</a></li><li>crowdstrikeoutage[.]info</li><li><a href="http://www.microsoftcrowdstrike[.]com">www.microsoftcrowdstrike[.]com</a></li><li>crowdstrikeodayl[.]com</li><li>crowdstrike[.]buzz</li><li><a href="http://www.crowdstriketoken[.]com">www.crowdstriketoken[.]com</a></li><li><a href="http://www.crowdstrikefix[.]com">www.crowdstrikefix[.]com</a></li><li>fix-crowdstrike-apocalypse[.]com</li><li>microsoftcrowdstrike[.]com</li><li>crowdstrikedoomsday[.]com</li><li>crowdstrikedown[.]com</li><li>whatiscrowdstrike[.]com</li><li>crowdstrike-helpdesk[.]com</li><li>crowdstrikefix[.]com</li><li>fix-crowdstrike-bsod[.]com</li><li>crowdstrikedown[.]site</li><li>crowdstuck[.]org</li><li>crowdfalcon-immed-update[.]com</li><li>crowdstriketoken[.]com</li><li>crowdstrikeclaim[.]com</li><li>crowdstrikeblueteam[.]com</li><li>crowdstrikefix[.]zip</li><li>crowdstrikereport[.]com</li></ul><h4>Domains Impersonating CrowdStrike</h4><ul><li>crowdstrike.phpartners[.]org</li><li>crowdstrike0day[.]com</li><li>crowdstrikebluescreen[.]com</li><li>crowdstrike-bsod[.]com</li><li>crowdstrikeupdate[.]com</li><li>crowdstrikebsod[.]com</li><li><a href="http://www.crowdstrike0day[.]com">www.crowdstrike0day[.]com</a></li><li><a href="http://www.fix-crowdstrike-bsod[.]com">www.fix-crowdstrike-bsod[.]com</a></li><li>crowdstrikeoutage[.]info</li><li><a href="http://www.microsoftcrowdstrike[.]com">www.microsoftcrowdstrike[.]com</a></li><li>crowdstrikeodayl[.]com</li><li>crowdstrike[.]buzz</li><li><a href="http://www.crowdstriketoken[.]com">www.crowdstriketoken[.]com</a></li><li><a href="http://www.crowdstrikefix[.]com">www.crowdstrikefix[.]com</a></li><li>fix-crowdstrike-apocalypse[.]com</li><li>microsoftcrowdstrike[.]com</li><li>crowdstrikedoomsday[.]com</li><li>crowdstrikedown[.]com</li><li>whatiscrowdstrike[.]com</li><li>crowdstrike-helpdesk[.]com</li><li>crowdstrikefix[.]com</li><li>fix-crowdstrike-bsod[.]com</li><li>crowdstrikedown[.]site</li><li>crowdstuck[.]org</li><li>crowdfalcon-immed-update[.]com</li><li>crowdstriketoken[.]com</li><li>crowdstrikeclaim[.]com</li><li>crowdstrikeblueteam[.]com</li><li>crowdstrikefix[.]zip</li><li>crowdstrikereport[.]com</li></ul><h4>Malicious File Names and Hashes</h4><ul><li><strong>crowdstrike-hotfix.zip</strong>: c44506fe6e1ede5a104008755abf5b6ace51f1a84ad656a2dccc7f2c39c0eca2</li><li><strong>Setup.exe</strong>: 5ae3838d77c2102766538f783d0a4b4205e7d2cdba4e0ad2ab332dc8ab32fea9</li><li><strong>madBasic_.bpl</strong>: d6d5ff8e9dc6d2b195a6715280c2f1ba471048a7ce68d256040672b801fda0ea</li><li><strong>maidenhair.cfg</strong>: 931308cfe733376e19d6cd2401e27f8b2945cec0b9c696aebe7029ea76d45bf6</li><li><strong>RemCos Payload</strong>: 48a3398bbbf24ecd64c27cb2a31e69a6b60e9a69f33fe191bcf5fddbabd9e184</li></ul><p><strong>RemCos C2 Address</strong>:</p><ul><li>213.5.130[.]58[:]443</li></ul><h3>4. TTPs Information</h3><p>Research on the TTPs that aligns with your hypothesis, here I will be focusing on the Remcos since, my hypothesis is related with Remcos RAT malware.</p><p>Mapping with the MITRE ATT&amp;CK framework will significantly enhance threat hunting for malware by providing a structured approach to identifying and understanding adversary behavior. So, here is the information of Remcos RAT malware TTPS as per MITRE framework:</p><h4><strong>MITRE Mapping</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BBQaTT35d_t_IgIzkvgKJA.png" /><figcaption>Remcos RAT Malware MITRE Mapping</figcaption></figure><h3><strong>5. Behavioral Analysis</strong></h3><p>Next, analyze the collected information, such as IOCs and TTPs, to validate your formulated hypothesis. Use the above information and the MITRE ATT&amp;CK framework to identify techniques associated with Remcos RAT. Here are some recommended actions:</p><ul><li>Monitor the execution of command-line interpreters and scripting engines, such as cmd.exe, PowerShell, and scripting files (e.g., .bat, .ps1, .js).</li><li>Look for modifications to autostart registry keys, the creation of new services, or scheduled tasks that are set to run at boot or logon.</li><li>Identify attempts to bypass User Account Control (UAC) and other elevation control mechanisms, such as the use of runas or schtasks with elevated privileges.</li><li>Monitor changes to the registry that could disable security features or hide the malware.</li><li>Look for scanning activities on the file system aimed at discovering sensitive files or directories.</li><li>Identify attempts to inject code into running processes, which can be used to remain hidden and access process memory.</li><li>Monitor for the use of proxies to route Command and Control (C2) traffic, which can hide the source and destination.</li></ul><h3>6. Investigate</h3><p>Next, conduct an in-depth investigation into the suspicious activities identified during the analysis phase. Correlate your findings across multiple data sources — such as endpoints, networks, and security devices — to verify the presence of threats.</p><h3>7. Mitigate</h3><p>Finally, to neutralize the detected threats, inform your Incident Response (IR) team so they can take appropriate action. Ensure you provide them with all relevant details from your investigation to facilitate a swift and effective response.</p><p><strong>Note: This step is optional and should be followed only if your hypothesis is confirmed and there are threats that need to be mitigated.</strong></p><h3>Conclusion</h3><p>In conclusion, assess the success of your hunt using the metrics and KPIs defined in your planning document. Document your findings, actions taken, and lessons learned from the hunt. This will help refine your methodology for future hunts and improve overall threat detection and response strategies.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f9c78a2bd37" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Threat Hunting — Part Two]]></title>
            <link>https://medium.com/@simrankarki/getting-started-with-threat-hunting-part-two-6a86a6a1ff47?source=rss-77db81997a6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a86a6a1ff47</guid>
            <dc:creator><![CDATA[Simran Karki]]></dc:creator>
            <pubDate>Fri, 12 Apr 2024 06:39:42 GMT</pubDate>
            <atom:updated>2024-04-12T06:46:16.096Z</atom:updated>
            <content:encoded><![CDATA[<h3>Getting Started with Threat Hunting — Part Two</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z7b_DPmywQkqIS8a.jpeg" /></figure><p>In my last blog post, I discussed the fundamental concepts necessary to grasp before delving into threat hunting. Now, in this blog, I will elaborate on how to conduct hunts based on specific use cases.</p><h3>1. Process Spawn cmd.exe</h3><p>Below is my proposed hypothesis for this use case analysis:</p><p><strong>Hypothesis :</strong> The Windows Command Prompt (cmd.exe) is a utility that provides command line interface to Windows operating systems. It provides the ability to run additional programs and also has several built-in commands such as dir, copy, mkdir, and type, as well as batch scripts (.bat).</p><p>Typically, when a user runs a command prompt, the parent process is explorer.exe or another instance of the prompt. There may be automated programs, logon scripts, or administrative tools that launch instances of the command prompt in order to run scripts or other built-in commands. Spawning the process cmd.exe from certain parents may be more indicative of malice.</p><p>To hunt for threats based on the provided hypothesis and scenario, follow these steps:</p><ol><li><strong>Monitoring via Tool:</strong> Utilize process monitoring tools or logs that capture information about process creation and termination. This includes Windows Event Logs (e.g., Security, Sysmon), endpoint detection and response (EDR) solutions, or third-party logging tools.</li><li><strong>Build Hunt Query: </strong>Develop a query or set of queries based on the hypothesis. Focus on identifying instances of <strong>cmd.exe</strong> spawned from unusual or unexpected parent processes, such as Adobe Reader (<strong>AcroRd32.exe</strong>) or Microsoft Outlook (<strong>outlook.exe</strong>).</li><li><strong>Crafting the Query</strong>: Use specific event log fields to filter and search for suspicious activity:</li></ol><ul><li><strong>Event ID</strong>: Use event IDs associated with process creation, such as <strong>4688</strong> (Process Creation) in Windows Security logs.</li><li><strong>Process Name</strong>: Look for instances where <strong>cmd.exe</strong> is the target process.</li><li><strong>Parent Process Name</strong>: Filter for specific parent processes like <strong>AcroRd32.exe</strong> or <strong>outlook.exe</strong>.</li></ul><p>An example query in Windows Event Log might look like:</p><ul><li>eventid=4688 AND process_name=&quot;cmd.exe&quot; AND (parent_process_name=&quot;AcroRd32.exe&quot; OR parent_process_name=&quot;outlook.exe&quot;)</li></ul><p><strong>4. Execute the Query</strong>:</p><ul><li>Run the query across your defined data sources (e.g., centralized logging system, SIEM) covering relevant timeframes.</li><li>Analyze the results for any occurrences of <strong>cmd.exe</strong> being spawned from unexpected parent processes.</li></ul><p><strong>5. Investigate Findings</strong>: Review each identified event to determine the context and potential threat level:</p><ul><li><strong>Timestamp Analysis</strong>: Note when the suspicious process was initiated and if it coincides with any known events or activities.</li><li><strong>Parent Process Context</strong>: Investigate why the suspected parent process initiated <strong>cmd.exe</strong>. Look for signs of script execution, automated processes, or potential exploitation.</li></ul><p><strong>6. Correlation</strong>: Correlate findings with other security events or logs to validate the suspicion. If necessary, escalate for further investigation or incident response actions based on the severity and context of the findings.</p><p><strong>7. Refine and Iterate</strong>: Continuously refine your query and hunting approach based on new learnings, threat intelligence, or evolving attack techniques.</p><p>By following these steps, you can effectively hunt for threats using the hypothesis that abnormal parent processes spawning cmd.exe could indicate malicious activity, such as exploitation through malicious documents or scripts. This proactive approach helps in early detection and response to potential security incidents.</p><h3>2. RDP Activities</h3><p>Below is my proposed hypothesis for this usecase analysis:</p><p>Hypothesis: A remote desktop logon, through RDP, may be typical of a system administrator or IT support, but only from select workstations.</p><p>Monitoring remote desktop logons and comparing to known originating systems can detect lateral movement of an adversary.</p><p>To hunt for threats based on the provided hypothesis and scenario, follow these steps:</p><ol><li><strong>Identify Relevant Data Sources:</strong> Determine which data sources are necessary for this investigation. Key sources include logs from the remote desktop protocol (RDP) service, such as Windows Event Logs (Security Logs), and possibly GeoIP logs if available.</li><li><strong>Collect and Centralize Logs:</strong> Gather logs from relevant systems, especially those hosting RDP services, and ensure they are centralized in a secure location for analysis.</li><li><strong>Create Queries for Hunt:</strong> Develop queries or rules to filter and analyze the logs based on the use case:</li></ol><ul><li>Filter for successful RDP logins.</li><li>Narrow down to logins originating from outside the country (using GeoIP data).</li><li>Focus on logins occurring after normal office hours.</li></ul><p><strong>4. Implement Monitoring and Alerting:</strong> Configure real-time monitoring based on the developed queries/rules.<br>Set up alerts for any matches that meet the criteria (successful RDP logins from foreign GeoIPs after office hours).<br>Investigate Alerts:</p><p><strong>5. When alerts trigger, initiate a thorough investigation:</strong> Check the legitimacy of the login attempt (e.g., was it authorized or unauthorized?).<br>Verify the originating IP against GeoIP data.<br>Cross-check the time of login against office hours to confirm if it’s after hours.</p><p><strong>6. Correlate with Other Data:</strong></p><ul><li>Look for additional contextual data that can help in the investigation:<br>Check for other related activities or anomalies on the affected system or network.</li><li>Cross-reference with user activity logs to confirm if the user account was compromised.</li></ul><p><strong>7. Based on the findings, take appropriate incident response actions:</strong></p><ul><li>If unauthorized access is confirmed, isolate the affected systems.</li><li>Reset compromised credentials and perform forensic analysis if necessary.</li><li>Update security controls or policies to prevent future incidents.</li></ul><p><strong>8. Review and Improve:</strong> Regularly review the effectiveness of these hunting techniques. Modify and improve queries/rules based on new threats or insights gained from previous incidents.</p><p>By following this structured process, you can effectively hunt for threats aligned with the hypothesis provided, specifically targeting suspicious RDP logins from foreign locations outside of office hours.</p><h3>3. Stopping Windows Defensive Services</h3><p>Below is my proposed hypothesis for this usecase analysis:</p><p><strong>Hypothesis:</strong> Spyware and malware remain a serious problem and Microsoft developed security services, Windows Defender and Windows Firewall, to combat this threat. In the event Windows Defender or Windows Firewall is turned off, administrators should correct the issue immediately to prevent the possibility of infection or further infection and investigate to determine if caused by crash or user manipulation.</p><p>To hunt for threats according to the provided hypothesis and use case, follow these steps:</p><ol><li><strong>Identify Data Sources:</strong></li></ol><ul><li>Collect relevant logs from systems involved, including logs from Windows Defender, Windows Firewall, and network services.</li><li>Look for logs related to system crashes, Windows Defender status changes, and network logons.</li></ul><p><strong>2. Timeline Analysis:</strong></p><ul><li>Identify the timeline of events starting from the successful internal network logon.</li><li>Look for events shortly after the logon that correlate with the antivirus service stopping.</li></ul><p><strong>3. Log Analysis:</strong></p><ul><li>Search for events indicating changes in Windows Defender or Windows Firewall status (e.g., service start/stop events).</li><li>Look for logs showing any crash-related events or user actions that could have disabled these services.</li></ul><p><strong>4. Correlation:</strong></p><ul><li>Correlate the events to establish a cause-and-effect relationship.</li><li>Check for any abnormal activities or anomalies around the time of service disruption.</li></ul><p><strong>5. User and System Investigation:</strong></p><ul><li>Investigate if the service stoppage was due to a crash or deliberate action by a user (e.g., manual service stop).</li><li>Determine if the logon was legitimate or potentially malicious.</li></ul><p><strong>6. Incident Response:</strong></p><ul><li>Take immediate action to restart Windows Defender or Windows Firewall if they are stopped.</li><li>Investigate further if there are indications of malware infection or suspicious activities.</li><li>Isolate affected systems if necessary to prevent further spread of potential threats.</li></ul><p>By following this process, you can effectively hunt for threats based on the provided hypothesis and use case scenario, focusing on identifying potential malware or security breaches affecting antivirus services and internal network access.</p><p><strong>Note: In part three, I will delve into further detail regarding the remaining use cases that were introduced in part one.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a86a6a1ff47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Threat Hunting — Part One]]></title>
            <link>https://medium.com/@simrankarki/getting-started-with-threat-hunting-part-one-f77c0ff8669b?source=rss-77db81997a6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f77c0ff8669b</guid>
            <dc:creator><![CDATA[Simran Karki]]></dc:creator>
            <pubDate>Sun, 11 Feb 2024 11:40:12 GMT</pubDate>
            <atom:updated>2024-02-12T07:19:48.118Z</atom:updated>
            <content:encoded><![CDATA[<h3>Getting Started with Threat Hunting — Part One</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/0*OyCuo29QJwfICN89" /></figure><p>Threat hunting is a proactive method of defending against cyber threats. It involves actively searching through networks, endpoints, and other parts of infrastructure to find and deal with cybersecurity threats that might not be caught by existing security measures. This process is ongoing and involves continuous discovery and response to potential threats.</p><p>Well, starting threat hunting isn’t that easy; it requires a grasp of fundamental concepts like understanding how systems and security devices function. Familiarity with the environment’s baseline is crucial before initiating the hunt. In this blog, I’ll outline the approaches that we should take while conducting threat hunting</p><h3>Threat Hunting Principle</h3><p>The principle of threat hunting revolves around being proactive rather than reactive in cybersecurity. Instead of waiting for security breaches to occur, threat hunting involves actively seeking out potential threats before they can cause harm. The goal is to stay ahead of cyber attackers by anticipating and addressing vulnerabilities before they can be exploited.</p><p>Threat hunting involves evaluating and testing hypotheses to uncover potential security threats. The primary challenge lies in creating hypotheses that are both easily testable and yield valuable insights when examined.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*WqrdXevnR-YAez0VPfe4Rg.png" /><figcaption>Five main stages of Threat Hunting</figcaption></figure><p>References: <a href="https://www.clearnetwork.com/cyber-threat-hunting-what-why-and-how/">Threat Hunting. Basic Concepts | ClearNetwork, Inc</a></p><h3>What is it for?</h3><p>Threat hunting is for both business and technical domains:<br><strong>BUSINESS:</strong><br>• Minimize residual risks<br>• Minimize Mean Time to Detect (MTTD)<br><strong>TECHNICAL:</strong><br>• Enhancing detection of advanced targeted attacks<br>• Detecting non-malware attacks<br>• Identifying Tactics, Techniques, and Procedures (TTPs) used in attacks.</p><h3>Security Monitoring vs Threat Hunting vs DFIR</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BofzHo86NnC_RzQwohaHDQ.png" /><figcaption>Sec Mon vs Threat Hunting vs DFIR</figcaption></figure><p>Security Monitoring, Threat Hunting, and Digital Forensics and Incident Response (DFIR) play distinct yet interconnected roles in cybersecurity. Security Monitoring focuses on real-time detection and response by utilizing automated tools such as SIEM systems and intrusion detection systems. Threat Hunting, a proactive approach, involves human-driven analysis to uncover advanced threats that might evade automated detection. It relies on skills, threat intelligence, and data analytics to identify hidden threats. On the other hand, DFIR is concerned with investigating and responding to security incidents after they occur. This process includes systematic collection and analysis of digital evidence using forensic tools and techniques.</p><p>While Security Monitoring is continuous, Threat Hunting is an ongoing proactive search, and DFIR is conducted post-incident, aiming to determine the scope, impact, and root causes of security breaches. Together, these practices contribute to a comprehensive cybersecurity strategy, encompassing real-time monitoring, proactive threat discovery, and thorough post-incident investigation.</p><h3>People Process and Technology</h3><p>The effectiveness of threat hunting relies on the synergy between people, processes, and technology.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*JSf-d2og9S_ceKd-MmGG9Q.png" /><figcaption>People, Process and Technology</figcaption></figure><h4>People</h4><p>Threat hunters require a diverse skill set to effectively identify and mitigate potential threats. Here’s a concise summary of the essential skills and knowledge areas:</p><ol><li><strong>Analytical Mindset:</strong> Curiosity-driven with the ability to generate and explore hypotheses, asking specific questions during threat investigations.</li><li><strong>Operating Systems:</strong> Understanding OS internals, security mechanisms, and common security issues across different operating systems.</li><li><strong>Network Architecture:</strong> Familiarity with OSI Layer, TCP/IP, and basic protocols (DNS, DHCP, HTTP, SMTP, FTP, SMB) to grasp network operations.</li><li><strong>Attack Methods and TTPs:</strong> Knowledge of attack vectors, attacker behaviors throughout the attack life cycle, and tools used at different stages.</li><li><strong>Log Analysis:</strong> Proficiency in analyzing various log sources for anomalies and correlating data from different sources for comprehensive insights.</li><li><strong>Network Analysis:</strong> Ability to interpret packet capture data and identify malicious network traffic patterns.</li><li><strong>Cyber Threat Intelligence:</strong> Skill in utilizing threat intelligence for proactive threat hunting, continuously seeking new insights from intelligence reports.</li><li><strong>Malware Analysis:</strong> Malware analysis a highly specialized skill that aims to determine the origin and purpose of an identified instance of malware.</li><li><strong>Tools for Threat Hunting:</strong> Understand how to use security analytics platform (e.g. ELK) and SIEM, how to use packet sniffer, how open PCAP, how to see and export logs in OS, how to collect logs from different source, etc</li></ol><p>These skills collectively empower threat hunters to detect, analyze, and respond to potential threats effectively.</p><h4><strong>Process</strong></h4><p>While skilled threat hunters are one of the key for successful Threat Hunting capability, threat hunting process is also very important. Having a formal hunting process is ensured the consistency and efficiency across all hunts process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/210/1*4fSA2c6rp8bpAmIaQehbTw.png" /><figcaption>Threat Hunting Loop</figcaption></figure><ol><li><strong>Creating a Hypothesis: </strong>Threat hunting initiates with inquiries like “How could a threat actor breach our infrastructure?” These questions are refined into specific hypotheses, addressing the critical assets, potential threats in the network, and methods to identify threat actors. Hypotheses stem from the threat hunter’s mindset and knowledge, tailored to their environment, and cannot be automated by tools.</li><li><strong>Investigate Via Tools and Techniques:</strong> After generating hypotheses, they must be tested using relevant tools and techniques. The organization’s data sources and detection engineering capability are crucial in determining the outcome of this process. Tools like SIEM, EDR and TIP are utilized to query data. Visualization can help threat hunters in identifying anomalies and anomalous patterns.</li><li><strong>Uncover New Pattern and TTPs:</strong> The primary goal of testing hypotheses formulated by threat hunters, which initiates the threat hunting process, is to either prove or disprove their validity. However, the absence of proof does not definitively indicate the absence of malicious activity or the incorrectness of the hypotheses. It could signify insufficient visibility within the organization or limitations in the tools employed by threat hunters, hindering their investigative capabilities. Over time, these hypotheses may uncover previously unknown Tactics, Techniques, and Procedures (TTPs), even if they are not immediately validated. Valid hypotheses thus serve as a foundational, iterative process for ongoing threat hunting efforts.</li><li><strong>Inform and Enrich Analytics:</strong> Automating successful hunting processes in threat detection enhances efficiency by reducing repetitive tasks for threat hunters. Various methods such as scheduling saved searches, integrating new analytics into existing tools, or refining supervised machine learning algorithms can streamline this automation. By enabling the security analytic platform to replicate previous successful hunting activities, threat hunters can focus on devising new hypotheses to uncover previously unidentified malicious processes. This approach optimizes resource utilization and facilitates proactive threat detection.</li></ol><h4>Technology</h4><p>Utilizing existing security tools like SIEM, EDR, and others within the SOC enhances threat hunting capabilities. Additional tools such as open source tools might be combined with existing tools to help threat hunters speed up the hunting process and analysis. One of the part that also can help for efficiency in threat hunting process is Threat Hunting Playbook. The playbook consist of all hypotheses and step process for hunting created by threat hunters and prevent the threat hunters doing the same hunting process repetitively. The playbook can be also included the sample of dataset from previous hunt activity to help new threat hunters understand what this playbook talking about.</p><p><strong>Example of Open Source Threat Hunting Playbook:</strong></p><p><a href="https://medium.com/threat-hunters-forge/threat-hunter-playbook-mordor-datasets-binderhub-open-infrastructure-for-open-8c8aee3d8b4">https://medium.com/threat-hunters-forge/threat-hunter-playbook-mordor-datasets-binderhub-open-infrastructure-for-open-8c8aee3d8b4</a></p><h3>Threat Hunting Framework</h3><p>Threat hunting relies on established frameworks to provide a foundational structure for the hunting process. Commonly utilized frameworks in cybersecurity for threat hunting include:</p><ol><li>Pyramid of Pain</li><li>Cyber Kill Chain</li><li>MITRE ATT&amp;CK</li></ol><p>These frameworks serve as baselines for threat hunters, guiding them in understanding adversary behaviors, identifying attack patterns, and strategizing effective mitigation approaches.</p><p>To better understand these framework use I recommend you to go through these sites:</p><ul><li><a href="https://www.slideshare.net/KatieNickels/putting-mitre-attck-into-action-with-what-you-have-where-you-are">Putting MITRE ATT&amp;CK into Action with What You Have, Where You Are</a></li><li><a href="http://detect-respond.blogspot.com/2013/03/the-pyramid-of-pain.html">The Pyramid of Pain</a></li><li><a href="https://threatexpress.com/redteaming/mitre_attack/">Red Teaming and MITRE ATT&amp;CK - Threatexpress</a></li></ul><h3>Types of Threat Hunting</h3><p>We can hunt on the basis of these four types of threat hunting</p><ol><li><strong>IOC Based Threat Hunting:</strong> Threat hunters hunt based on IOCs collected from threat intelligence, which is more like compromise assesment. In this type of threat hunting threat hunters basically check whether these IOCs are presented in the enviroment or not. It’s like checking on specific threat actor.</li><li><strong>Hypotheses Based Threat Hunting:</strong> In this type of hunting, threat hunters create hypotheses for certain TTPs. For example: Hypothesis for Hunting threats on Network. Threat hunters leverage framework such as MITRE ATT&amp;CK for creating hypotheses on TTPs of threat actor defining specific asset.</li><li><strong>Baseline Based Threat Hunting:</strong> In this type of hunting, threat hunters detect something which haven’t seen before based on baseline data in the enviroment. Larger set of data is needed to conduct this hunting for creating baseline. This can trigger lot of false positive sometimes.</li><li><strong>Anomaly Based Threat Hunting:</strong> In this type of threat hunting, threat hunters check log data for anything suspicious, apply patterns to their infrastructure, and focus on detecting fraud.</li></ol><h3>Threat Hunting Usecases</h3><ol><li>Process Spawn cmd.exe</li><li>RDP Activities</li><li>Stopping Windows Defensive Services</li><li>Task Scheduler</li><li>Credential Dumping via Windows Task Manager</li></ol><p>In next blog I will explain how we can hunt on the basis of these usecases through SIEM.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f77c0ff8669b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to OODA Loop]]></title>
            <link>https://medium.com/cryptogennepal/introduction-to-ooda-loop-3355a42eacf?source=rss-77db81997a6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/3355a42eacf</guid>
            <category><![CDATA[made4security]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[cryptogennepal]]></category>
            <category><![CDATA[ooda-loop]]></category>
            <dc:creator><![CDATA[Simran Karki]]></dc:creator>
            <pubDate>Thu, 26 Aug 2021 11:43:39 GMT</pubDate>
            <atom:updated>2021-08-26T12:50:15.433Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*Rn-1slAigPGtld94gfdi6w.png" /></figure><p>A military combat offense necessitates quick decision-making, decisions that could mean life or death at any moment. This level of quick thinking and decision making is critical to gaining a competitive advantage on the battlefield and can even determine who ultimately wins. According to Art of war by Sun Tzu “Victorious warriors win first, and then go to war, while defeated warriors go to war first, and then seek to win”. It’s important to remember that success is typically the result of meticulous planning and effective implementation. Simply said, whether on the battlefield or in the marketplace, success is dependent on well-defined insights and strategies prior to taking action. As a result, we must begin to make better decisions in our lives. Allow me to introduce you to the OODA loop which is the method for making better decisions in 4 steps.</p><h3>History of OODA Loop</h3><p>The OODA (Observe, Orient, Decide, Act) loop was developed by Military strategist and US Air Force Colonel John Boyd in the mid-20th century. The strategy’s purpose was to develop a model for rational decision making so that the best decisions could be made in the smallest amount of time. The method can be used on a personal as well as a corporate level. It’s especially important in situations when there’s a lot of competition and being able to react to changing conditions faster than your opponent gives you an edge. Most organizations struggle to improve the quality of their decision-making. If a corporation continues to make decisions that do not yield a beneficial result, for example, it is failing to learn from its mistakes. The OODA loop recognizes this pattern and offers a method for addressing it.</p><h3><strong>OODA Loop in SOC</strong></h3><p>The OODA Loop is an agile iterative learning and operations cycle that is utilized in the military as well as in cyber security domain. The OODA loop has been converted to general operations connected with establishing and running a SOC (Security Operation Center). The diagram of OODA loop is given below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*MjvZkMmrYwrjT2ouueYG8g.png" /><figcaption>OODA Loop Patching</figcaption></figure><p>Patching OODA loop can also be used in incident response methodology, it is a set of methods for identifying, investigating, and responding to possible security issues in a way that minimizes damage and allows for quick recovery. Different steps of OODA loop are given below.</p><ol><li><strong>Observe</strong></li></ol><p>The first stage is to identify the problem or threat and get a general sense of the internal and external environments. The more observations you can make and document about your business activities and network during this phase of incident response technique, the more successful your response and defense will be. Tools and techniques used in these stages are Vulnerability Analysis; SIEM Alerts; Application Performance Monitoring; IDS Alerts; Net flow Tools; Traffic Analysis; Log Analysis.</p><p><strong>2. Orient</strong></p><p>This stage of incident response methodology mainly focuses on data analysis (Correlation, Dashboarding and reporting). It’s critical to think like an attacker in order to tailor your defense strategies to the latest attack tools and tactics. These are constantly evolving, so make sure your security monitoring solutions have the most up-to-date threat intelligence. This ensures that your tools are collecting the correct data and delivering proper context. Tools and techniques used in these stages are Security Research; Incident Triage; Situational Awareness; Security Research.</p><p><strong>3. Decide</strong></p><p>In this phase of incident response methodology, catalog all areas of incident response process. Communication around data collecting and the decision-making process is maybe one of the most crucial topics to describe here. Tools and techniques used in these stages are hard copy documentation (pen, notebook and clock),company’s corporate security policy.</p><p><strong>4. Act</strong></p><p>In this phase of incident response methodology, the importance of training, communication, and continuous development in responding successfully during an incident cannot be overstated. Everyone on team should be aware of their responsibilities and expectations. It’s also a good idea to stay up to date on security best practices and empower team members to speak out when they see places where your incident response technique might be improved. Tools and techniques used in these stages are system backup and recovery tools; data capture and forensics analysis tools; patch management and other systems management, security awareness training tools and programs.</p><p>In next blog, I will be focusing on practical implication of OODA Loop in SOC.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3355a42eacf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cryptogennepal/introduction-to-ooda-loop-3355a42eacf">Introduction to OODA Loop</a> was originally published in <a href="https://medium.com/cryptogennepal">CryptoGen Nepal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>