<?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 Shreenkhala Bhattarai on Medium]]></title>
        <description><![CDATA[Stories by Shreenkhala Bhattarai on Medium]]></description>
        <link>https://medium.com/@shreenkhalabhattarai?source=rss-9dedf3d69dfc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*acg07ihvZNbjW7--17KxdQ.jpeg</url>
            <title>Stories by Shreenkhala Bhattarai on Medium</title>
            <link>https://medium.com/@shreenkhalabhattarai?source=rss-9dedf3d69dfc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 17:15:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shreenkhalabhattarai/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[International Women’s Day 2025: Accelerate Action for Gender Equality]]></title>
            <link>https://shreenkhalabhattarai.medium.com/international-womens-day-2025-accelerate-action-for-gender-equality-db8dd6182e24?source=rss-9dedf3d69dfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/db8dd6182e24</guid>
            <category><![CDATA[international-womens-day]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[womens-day]]></category>
            <category><![CDATA[iwd2025]]></category>
            <dc:creator><![CDATA[Shreenkhala Bhattarai]]></dc:creator>
            <pubDate>Fri, 07 Mar 2025 16:00:12 GMT</pubDate>
            <atom:updated>2025-03-07T16:00:12.258Z</atom:updated>
            <content:encoded><![CDATA[<p>Every year, March 8 marks <strong><em>International Women’s Day (IWD)</em></strong> — a global celebration of women’s achievements strength and resilience. But more than that, it’s a reminder that there’s still so much work to be done. This year’s theme, “<strong>Accelerate Action</strong>,” is a powerful call to step up to close the gender gap, dismantle systemic barriers, and create a world where every woman and girl can thrive.</p><p><em>Equality is not something that can wait. Change must happen now.</em></p><p>We can’t afford to wait. Women and girls around the world are still fighting for equal pay, safe workplaces, education, leadership opportunities, and freedom from violence. Progress is happening, but not fast enough. At the current pace, true gender equality could take more than a century. That’s far too long.</p><p>It’s time to act now — for ourselves, for the next generation, and for a better future.</p><p>Despite progress, gender inequality continues to affect millions of women and girls worldwide. Women still face wage gaps, underrepresentation in leadership, limited access to education, and widespread gender-based violence. At the current rate of change, the World Economic Forum estimates it could take over 130 years to close the global gender gap. That is simply too long.</p><p>We must move faster. We must push harder. We must take action now.</p><h3>Key Areas Where We Need Urgent Action</h3><ol><li><strong>Closing the Economic Gender Gap</strong></li></ol><p>Women continue to earn less than men, face barriers to career growth, and lack access to financial resources. To accelerate action, we need to:</p><ul><li>Ensure equal pay for equal work</li><li>Increase women’s participation in leadership roles</li><li>Provide funding and support for women entrepreneurs</li></ul><p><strong>2. Breaking Barriers in Education and Technology</strong></p><p>In many parts of the world, girls are still denied education. Women are also underrepresented in science, technology, engineering, and mathematics (STEM) fields. To accelerate action, we must:</p><ul><li>Invest in girls’ education and skills training</li><li>Promote women’s participation in STEM careers</li><li>Close the digital divide by increasing women’s access to technology</li></ul><p><strong>3. Eliminating Gender-Based Violence</strong></p><p>Violence against women remains one of the most pressing human rights issues. To accelerate action, we must:</p><ul><li>Strengthen laws and policies to protect women</li><li>Increase support services for survivors</li><li>Challenge cultural norms that perpetuate violence</li></ul><p><strong>4. Increasing Women’s Representation in Leadership</strong></p><p>Women’s voices are still missing in decision-making spaces — from politics to corporate boardrooms. To accelerate action, we need:</p><ul><li>More women in leadership roles</li><li>Inclusive policies that support working mothers and caregivers</li><li>Stronger mentorship and sponsorship programs for women</li></ul><p><strong>5. Ensuring Equal Healthcare Access</strong></p><p>Women’s health is often underfunded and overlooked. To accelerate action, we must:</p><ul><li>Improve access to reproductive healthcare</li><li>Address disparities in maternal health</li><li>Prioritize mental health support for women and girls</li></ul><h3><strong>What You Can Do Right Now ?</strong></h3><p><strong><em>Speak Up:</em></strong>Use your voice to challenge inequality wherever you see it.</p><p><strong><em>Support Women-Owned Businesses:</em></strong>Economic empowerment fuels change.</p><p><strong><em>Educate and mentor:</em></strong>Help younger generations access opportunities.</p><p><strong><em>Advocate for Equal Pay</em></strong> — Push for workplace policies that promote fairness.</p><p><strong><em>Raise Awareness </em></strong>— Share stories, support movements, and demand change.</p><p>This International Women’s Day, let’s do more than just talk about gender equality. Let’s take bold, decisive action to speed up progress. Together, we can accelerate change and create a world where all women and girls have the opportunities they deserve.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db8dd6182e24" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OODA LOOP: The Security Operation Framework]]></title>
            <link>https://shreenkhalabhattarai.medium.com/ooda-loop-the-security-operation-framework-eb8ec8b5afb9?source=rss-9dedf3d69dfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb8ec8b5afb9</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[blue-team]]></category>
            <dc:creator><![CDATA[Shreenkhala Bhattarai]]></dc:creator>
            <pubDate>Mon, 03 Mar 2025 03:20:05 GMT</pubDate>
            <atom:updated>2025-03-03T03:20:05.383Z</atom:updated>
            <content:encoded><![CDATA[<p>The OODA loop, also known as Boyd’s Cycle, is a decision-making model created by military strategist and US Air Force Colonel John Boyd to describe how people and organizations may win in an unpredictable and chaotic environment. Col. Boyd thought that a strategist employing the OODA decision-making process may gain an edge by swiftly observing and understanding an adversary’s behavior. Accepting the chaos associated with quick analysis and learning is more effective than the opponent helps a decision-maker to look unpredictable and induce chaos in the decision-making of the adversary.</p><p>The OODA loop is a four-stage process for decision-making: observe, orient, decide and act. A strategist should cycle through these phases often and rapidly as part of their analysis and decision-making process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*ZKmnr6Wv_uwONHY25i9Scw.png" /></figure><p>Observe<br>This stage is all about the collection of information from the environment.<br>For a SOC, this translates to the collection function, the ability to<br>see the network and endpoint data required to spot an attack.</p><p>Orient<br>Of all the phases, the orient phase has one of the largest impacts as<br>it is where we try to interpret the situation given the data presented<br>to us. For security operations, this is taking the content from the<br>available network and endpoint data and using it to form a hypothesis<br>of what might be occurring. Without a team trained to understand<br>attacks or the available information, this stage may lead to an incorrect<br>interpretation of the data or a slower-than-necessary response.</p><p>Decide<br>In this stage, it is time to decide, given your interpretation of events from the<br>orient stage, the next best move to take against your opponent. For security<br>operations, this is deciding on how to best disrupt attackers such that we<br>will be able to have an advantage over them in the coming loop iterations.<br>For a SOC, effectiveness in this stage often comes down to experience and<br>training on how to best respond to any given situation. Playbooks and<br>incident response procedures may be of large assistance at this stage.</p><p>Act<br>The action stage is all about following through on the course of action<br>decided upon at the deciding stage. In the SOC, this can be translated<br>to your ability to quickly respond to an attack. Do you have the<br>permission and tools and procedures in place to act fast and minimize<br>damage? The act stage leads to the feedback of the impact of your<br>action to the next iteration of the observer step, where the SOC will<br>need to see if the action taken had the desired consequences.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb8ec8b5afb9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Defenders Have to Be Right Every Time. Attackers Only Need to Be Right Once]]></title>
            <link>https://shreenkhalabhattarai.medium.com/defenders-have-to-be-right-every-time-attackers-only-need-to-be-right-once-b77b441304f1?source=rss-9dedf3d69dfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/b77b441304f1</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[attack]]></category>
            <category><![CDATA[defense]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Shreenkhala Bhattarai]]></dc:creator>
            <pubDate>Wed, 22 Jan 2025 04:56:50 GMT</pubDate>
            <atom:updated>2025-01-24T08:44:06.712Z</atom:updated>
            <content:encoded><![CDATA[<p>In cybersecurity, one phrase often captures the endless struggle between defender and attacker: “<strong><em>Defenders have to be right all the time. Attackers only need to be right once.</em></strong>” This harsh reality emphasizes the asymmetry in effort and stakes of protecting versus attacking digital systems. Let’s understand what this statement means, and how the defender should strategize to outwit the attackers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*3k3K9BmvyZ0SZWB4phf-4A.png" /><figcaption>Defender v/s Attacker</figcaption></figure><h3>Burden on the Defenders</h3><p>Here lie the enormous responsibilities of defenders-cybersecurity professionals, IT teams, and Security Operations Centers (SOCs)-of an organization&#39;s digital infrastructure, including networks, servers, applications, user accounts, and sensitive data. They face the following challenges:</p><p><strong>Covering Their Assets</strong>: Every system and endpoint that exists on the corporate network must be swiped. This single, seldom-outfit entry point could be a single phishing email or a misconfigured server, outdated software, or a weak password.<br><strong>On Constant Alert</strong>: The defenders have to keep a constant watch on their laptops in order to detect any similes. Every time a cyber attack is initiated, there’s generally little warning; in most instances, the attack happens when they are least expecting it.<br><strong>Evolving Threats</strong>: The vulnerable landscape evolves with the rise of more dangerous attacks almost day after day. New attack strategies, malware, and vulnerabilities surface and escalate rapidly into a very clamorous, dragging approval track.<br><strong>Limited Resources</strong>: The fix is limited by its own budget, the supposed talent drain, and infrastructure complexities.</p><h3>Attacker’s Advantage</h3><p>Attackers differ enormously from defenders in their conditions and roles, which would be simpler and narrower.</p><p><strong>Makes what one Weakness Enough</strong>: Opposite to what defenders do, attackers only need to find exploitable weaknesses, and that is enough. This could include phishing emails prompting employees, unpatched systems, or poorly secured cloud storage buckets.</p><p><strong>Limitless Attempts</strong>: Attackers can keep trying on a system, using brute force, social engineering, or malware delivery. If the defenses are weak and the persistence is there, it usually pays off.</p><p><strong>Element of Surprise</strong>: Attackers control the timing and method of the attack, usually creating a surprise for defenders, who are often put under pressure to react.</p><p><strong>Asymmetric Resources</strong>: An automated or small group of attackers with the right level of skills, as few as two or three, can be sufficient for a sophisticated assault at a very low cost.</p><h3>Strategies for Defenders to Succeed</h3><p>Defenders can, however, utilize several strategies designed to level the playing field in favor of the defenders and limit the chances of the attackers mounting a successful offensive. Some of the key approaches include:</p><p><strong>Defense in Depth</strong>:<br>Have multiple layers of security controls in place, firewalls, intrusion detection systems, endpoint protection, multi-factor authentication et cetera. Other layers can keep protecting even if one layer is breached.</p><p><strong>Proactive Threat Hunting</strong>:<br>Look proactively for signs of compromise anywhere in the environment and do not wait for alerts. This proactive approach can often be effective in detecting the adversary in time so that effective containment is done to mitigate the threat.</p><p><strong>Incident Response Planning</strong>:<br>Think through and continually test the incident response plan so that the team can contain and recover from an attack before it does too much damage. Swiftness and acceptability are vital in minimizing the damage.</p><p><strong>Staff Awareness Training</strong>:<br>Human error is a common attack vector. Educate employees regularly about recognizing phishing attempts, social engineering tactics, and other common threats.</p><p><strong>Patch Management</strong>:<br>It is everyone’s responsibility to have all systems updated promptly and patched as early as possible to reduce some known security vulnerabilities.</p><p><strong>Zero Trust Architecture</strong>:<br>Assume by default that no user or device is to be trusted. Give the best shot possible to verify identities, minimize access and privileges, and keep an eye on all network activity in a hunt to reduce the attack surface.</p><p><strong>Use Threat Intelligence</strong>:<br>Use threat intelligence to gain awareness about emerging threats, tactics of attackers, and specific risks in the industry. This information serves to strengthen defensive strategies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*52DjllU3VrxH0ADMNbt4yQ.png" /></figure><p>The fight between the defenders and the attackers continues and is far from impossible. Aiding the other is the principle of layered proactive security where the defenders may be enabled to mitigate the asymmetry and enhance the chances of success. Collaboration between organizations, sharing threat intelligence, and investing in cybersecurity talent and tools are critical to shifting the balance in favor of defense.</p><p>In simple terms, yes, the attacker has to be right only one time, but it could never be if the defense had already been prepared for this and would not be caught unawares.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b77b441304f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Threat Detection Bypass in Active Directory: Techniques and Mitigation Strategies]]></title>
            <link>https://shreenkhalabhattarai.medium.com/threat-detection-bypass-in-active-directory-techniques-and-mitigation-strategies-b36259b08807?source=rss-9dedf3d69dfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/b36259b08807</guid>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[threat]]></category>
            <dc:creator><![CDATA[Shreenkhala Bhattarai]]></dc:creator>
            <pubDate>Wed, 15 Jan 2025 12:41:14 GMT</pubDate>
            <atom:updated>2025-01-15T13:27:48.702Z</atom:updated>
            <content:encoded><![CDATA[<p>Active Directory (AD) is a cornerstone of modern enterprise IT infrastructure, managing authentication, authorization, and centralized resource management. Consequently, it is a prime target for attackers seeking to infiltrate and operate within an organization’s network. Threat detection mechanisms, such as SIEM tools and endpoint detection solutions, are designed to monitor and respond to malicious activity in AD environments. However, attackers continually develop sophisticated methods to bypass these defenses. In this article, we explore common techniques used for bypassing threat detection in AD and outline strategies to detect and mitigate them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ep6yPAcVcXnAjbyFl5ZTRA.png" /><figcaption>Techniques for Bypass Threat Detection</figcaption></figure><h3>Common Techniques for Bypassing Threat Detection in Active Directory</h3><h4>1. Credential Dumping with Obfuscation</h4><p>Attackers often extract credentials from memory, the Security Account Manager (SAM) database, or AD’s NTDS.dit file. Tools like Mimikatz, CrackMapExec, or custom scripts are frequently used for this purpose.</p><ul><li><strong>Bypass Methods:</strong></li><li>Encoding outputs to evade signature-based detection.</li><li>Leveraging fileless attacks that operate entirely in memory.</li><li>Modifying well-known tools to avoid detection by security products.</li></ul><h4>2. Golden and Silver Ticket Attacks</h4><p>In these attacks, forged Kerberos tickets are created to impersonate users or access services without authentication.</p><ul><li><strong>Bypass Methods:</strong></li><li>Customizing tickets with unusual flags or altered timestamps to avoid detection.</li><li>Conducting ticket-based operations during low-traffic periods to minimize anomalies.</li></ul><h4>3. Enumeration with Stealthy Tools</h4><p>Enumeration is a reconnaissance technique used to map AD environments. Popular tools like BloodHound or ADRecon are used to identify targets.</p><ul><li><strong>Bypass Methods:</strong></li><li>Using less noisy PowerShell scripts or stealthy API calls.</li><li>Encrypting traffic to hide enumeration activity from network monitoring tools.</li><li>Operating from a compromised insider’s account to blend in with legitimate traffic.</li></ul><h4>4. Pass-the-Hash/Pass-the-Ticket Attacks</h4><p>Attackers exploit captured credentials or tickets without needing plaintext passwords to authenticate and move laterally.</p><ul><li><strong>Bypass Methods:</strong></li><li>Obfuscating the use of stolen credentials with tools that mimic legitimate user behavior.</li><li>Pivoting through multiple accounts to hide traces of lateral movement.</li></ul><h4>5. DCShadow and DCSync Attacks</h4><p>These attacks involve mimicking domain controllers to manipulate or synchronize directory data.</p><ul><li><strong>Bypass Methods:</strong></li><li>Compromising accounts with subtle privilege escalation.</li><li>Synchronizing data in small increments to avoid detection.</li></ul><h4>6. Group Policy Manipulation</h4><p>By modifying Group Policy Objects (GPOs), attackers can enforce malicious settings across the network.</p><ul><li><strong>Bypass Methods:</strong></li><li>Making staged changes to GPOs to avoid raising alarms.</li><li>Exploiting rarely monitored GPO settings for malicious actions.</li></ul><h4>7. Disabling or Altering Audit Policies</h4><p>To reduce visibility, attackers may disable event logging or modify audit policies.</p><ul><li><strong>Bypass Methods:</strong></li><li>Temporarily disabling logging during specific operations.</li><li>Clearing logs post-operation to erase the evidence.</li></ul><h3>How do you mitigate and detect bypasses in the Active Directory?</h3><h4>1. Enable Advanced Monitoring</h4><p>Advanced monitoring tools, such as Microsoft Defender for Identity, Azure ATP, or Splunk, can detect suspicious activities in AD.</p><ul><li><strong>Recommended Audit Logs:</strong></li><li>Logon/Logoff events (Event IDs: 4624, 4634).</li><li>Kerberos ticketing activity (Event IDs: 4768, 4769, 4771).</li><li>Account creation and modification (Event IDs: 4720, 4738).</li></ul><h4>2. Harden Active Directory Configurations</h4><p>Reducing the attack surface is critical for preventing threat detection bypass.</p><ul><li>Restrict access to sensitive accounts and groups.</li><li>Implement tiered administrative models to isolate high-privilege accounts.</li><li>Regularly audit privileged groups like Domain Admins and Enterprise Admins.</li></ul><h4>3. Deploy Behavioral Analytics</h4><p>Behavioral analytics can identify anomalies indicative of bypass attempts.</p><ul><li>Use heuristics to detect lateral movement and unusual ticket activity.</li><li>Deploy honeypot accounts or systems to monitor attacker behavior.</li></ul><h4>4. Strengthen Credential Security</h4><p>Protecting credentials reduces the impact of techniques like Pass-the-Hash and credential dumping.</p><ul><li>Enforce strong, unique passwords and multi-factor authentication (MFA).</li><li>Regularly rotate service account credentials.</li><li>Restrict credential caching on sensitive endpoints.</li></ul><h4>5. Implement Network Segmentation</h4><p>Limiting lateral movement opportunities can stop attackers from expanding their foothold in the network.</p><ul><li>Use firewalls and network access controls to enforce AD boundaries.</li><li>Segment high-value assets into isolated zones.</li></ul><h4>6. Regular Updates and Patches</h4><p>Outdated systems and software are prime targets for attackers.</p><ul><li>Apply security patches to domain controllers, workstations, and servers promptly.</li><li>Regularly review and update security configurations.</li></ul><h4>7. Conduct Regular Red Team Exercises</h4><p>Simulated attacks help identify gaps in detection and response.</p><ul><li>Use tools like Atomic Red Team, CALDERA, or custom scenarios to test detection capabilities.</li><li>Document findings and update defenses accordingly.</li></ul><h4>8. Threat Intelligence Integration</h4><p>Staying informed about emerging threats allows proactive defense measures.</p><ul><li>Subscribe to threat intelligence feeds focused on AD exploitation techniques.</li><li>Regularly update detection rules to address new bypass methods.</li></ul><p>Threat detection bypass in Active Directory represents a serious challenge for defenders. As attackers develop increasingly sophisticated methods, adopting a multi-layered approach that combines robust configurations, continuous monitoring, and proactive testing is essential. By understanding and mitigating the abovementioned techniques, organizations can fortify their AD environments and reduce the risk of undetected intrusions.</p><p>Staying vigilant and adaptive in the face of evolving threats is the cornerstone of effective Active Directory security. Regular training, updated defenses, and a commitment to best practices are critical to staying ahead of attackers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b36259b08807" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Powershell logging for Blue Teamers]]></title>
            <link>https://medium.com/infosecstories/powershell-logging-for-blue-teamers-c7d21660ea5d?source=rss-9dedf3d69dfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7d21660ea5d</guid>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[Shreenkhala Bhattarai]]></dc:creator>
            <pubDate>Mon, 26 Feb 2024 11:11:11 GMT</pubDate>
            <atom:updated>2024-02-26T11:55:29.973Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dyZGP6ZlMSu-isdiv41pDg.jpeg" /></figure><p>‍As a blue teamer, having a robust and comprehensive logging system is essential for effective PowerShell monitoring and detection. PowerShell, being highly versatile and commonly used in both legitimate and malicious activities, requires meticulous logging to identify any suspicious behavior in your network. In this article, we will explore the importance of PowerShell logging for blue teamers and delve into best practices to maximize its potential.</p><h3>Why is PowerShell logging important for blue teamers?</h3><p>Proactively logging PowerShell activities is crucial for blue teamers to gain valuable insights into potential security threats, spot anomalous behavior, and promptly respond to security incidents. From tracking script execution to monitoring system-wide events, PowerShell logging provides crucial visibility into the actions taking place within your environment.</p><p>By enabling PowerShell logging, you can capture detailed information about the commands executed, the parameters used, and the context in which they were executed. This information can be invaluable in identifying malicious activity, such as attempts to bypass security controls, privilege escalation, or data exfiltration. PowerShell logs can also aid in post-incident analysis, allowing you to understand the extent of a compromise and take appropriate remediation measures.</p><h3>PowerShell logging basics</h3><p>To enable PowerShell logging on Windows machines, you need to configure the appropriate Group Policy settings or modify the Windows Registry. By default, PowerShell logging is not enabled, so it’s crucial to take the necessary steps to enable and configure it properly.</p><p>There are three main types of PowerShell logs that you should be aware of:</p><ol><li><strong>Module logging</strong>: This type of logging captures information about the PowerShell modules loaded during a session. It records the module name, version, and the path from which it was loaded. Module logging can be useful in identifying potentially malicious or unauthorized modules being used within your environment.</li><li><strong>Transcription logging</strong>: Transcription logging records all input and output from a PowerShell session, including commands entered, their output, and any errors encountered. It provides a comprehensive record of the activities performed within a session, making it useful for both troubleshooting and forensic analysis.</li><li><strong>Event logging</strong>: Event logging involves capturing PowerShell-related events generated by the operating system. These events can include script block logging, module logging, and PowerShell script execution events. Event logs can be monitored in real time or analyzed retrospectively to identify suspicious patterns or behaviors.</li></ol><h3>Enabling PowerShell logging on Windows machines</h3><p>To enable PowerShell logging on Windows machines, you can use either Group Policy or modify the Windows Registry. Here’s a step-by-step guide on how to enable PowerShell logging using Group Policy:</p><ol><li>Open the Group Policy Management Console and navigate to the desired Group Policy Object (GPO) or create a new one.</li><li>Expand the tree structure to find the following path: Computer Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; Windows PowerShell.</li><li>Double-click on “Turn on PowerShell Script Block Logging” and set it to “Enabled”.</li><li>Double-click on “Turn on PowerShell Module Logging” and set it to “Enabled”.</li><li>Double-click on “Turn on PowerShell Transcription” and set it to “Enabled”.</li><li>Click “OK” to save the changes.</li><li>Apply the GPO to the desired organizational units or computers.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lrM9qVMBNIqTB6DkO8Qo9w.png" /><figcaption>Enable logging with Group Policy</figcaption></figure><p>Alternatively, you can modify the Windows Registry to enable PowerShell logging. Here’s how:</p><ol><li>Press Win + R to open the Run dialog box.</li><li>Type regedit and press Enter to open the Registry Editor.</li><li>Navigate to the following path: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging.</li><li>Right-click on the right-hand pane and select “New” -&gt; “DWORD (32-bit) Value”.</li><li>Name the new value EnableScriptBlockLogging and set its value to 1.</li><li>Repeat steps 4 and 5 to create two more DWORD values: EnableModuleLogging and EnableTranscripting, with values set to 1.</li><li>Close the Registry Editor.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ucJ-IPo4UR09K9OmxcxXLw.png" /><figcaption>Enable logging through the Registry</figcaption></figure><p>By following these steps, you can ensure that PowerShell logging is enabled on your Windows machines, allowing you to capture valuable information for analysis and detection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rE-LQc0md-Gtd1Kvn6lzcA.png" /><figcaption>PowerShell Log on Event Viewer</figcaption></figure><p>This screenshot was taken after launching a PowerShell session on a computer. Throughout the process, a multitude of unique script block log entries were produced, offering vital, comprehensive information on each of the multiple script blocks that were being executed.</p><h3>Configuring advanced PowerShell logging options</h3><p>While enabling basic PowerShell logging is a good starting point, you can further enhance your logging capabilities by configuring advanced options. These options provide more granular control over what is logged and allow you to tailor the logging settings to your specific requirements.</p><p>One advanced logging option is <strong>JEA (Just Enough Administration)</strong> logging, which allows you to log activities performed using JEA endpoints. JEA enables you to delegate administrative tasks to non-administrative users by providing them with a limited and controlled PowerShell session. By enabling JEA logging, you can capture detailed information about the commands executed by these users, providing an additional layer of visibility and accountability.</p><p>Another advanced logging option is <strong>Script Block Logging and Transcription</strong>, which allows you to log the full content of PowerShell script blocks executed on your system. This level of logging captures the actual code being executed, enabling you to identify and analyze the specific commands used. It can be particularly useful in detecting and analyzing malicious PowerShell scripts.</p><p>To configure these advanced logging options, you can modify the Group Policy settings or the Windows Registry as described earlier. However, it’s important to carefully evaluate the impact of enabling these options, as they can generate a significant amount of log data. Ensure that you have sufficient storage capacity and the necessary log management tools in place to effectively handle and analyze the logs.</p><h3>Analyzing PowerShell logs for security incidents</h3><p>Once you have PowerShell logging enabled and configured, the next step is to analyze the logs for potential security incidents. PowerShell logs can provide valuable insights into the activities taking place within your environment and help you identify suspicious or malicious behavior.</p><p>To effectively analyze PowerShell logs, you can leverage various techniques and tools. Here are some key considerations:</p><ol><li><strong>Log aggregation</strong>: Collect and centralize all PowerShell logs from your systems into a centralized log management solution or SIEM (Security Information and Event Management) platform. This allows you to correlate events across your network and gain a holistic view of PowerShell activities.</li><li><strong>Automated log analysis</strong>: Utilize log analysis tools that can automatically parse and analyze PowerShell logs for known indicators of compromise (IOCs) and suspicious patterns. These tools can help you identify potential security incidents more efficiently and reduce the time required for manual analysis.</li><li><strong>Threat intelligence integration</strong>: Integrate threat intelligence feeds into your log analysis process to enhance the detection of known malicious PowerShell commands or techniques. By cross-referencing your logs with up-to-date threat intelligence, you can identify potential threats more accurately.</li><li><strong>Anomaly detection</strong>: Implement anomaly detection algorithms or machine learning models to identify unusual or abnormal PowerShell behavior. These techniques can help you detect unknown threats or insider attacks that may not match known IOCs.</li></ol><p>Remember that PowerShell logs are just one piece of the puzzle. To perform effective log analysis, it’s essential to combine PowerShell logs with logs from other sources, such as network devices, endpoint protection solutions, and authentication systems. This holistic approach allows you to correlate events and detect sophisticated attack techniques that span multiple layers of your infrastructure.</p><h3>Tools and techniques for PowerShell log analysis</h3><p>To aid in the analysis of PowerShell logs, there are several tools and techniques available. Here are some commonly used ones:</p><ol><li><strong>PowerShell Logging Frameworks</strong>: Frameworks such as the <strong>PowerShell Logging Module</strong> provide an easy and standardized way to enable and manage PowerShell logging. These frameworks offer additional features like log rotation, customizable log formats, and integration with log management tools.</li><li><strong>Log Analysis Tools</strong>: Log analysis tools like <strong>ELK Stack (Elasticsearch, Logstash, Kibana)</strong>, <strong>LogRhythm</strong>, <strong>Logpoint</strong>, and<strong> FortiSIEM</strong> can help you parse, search, and visualize PowerShell logs. These tools offer powerful search capabilities, dashboards, and alerting mechanisms to facilitate log analysis.</li><li><strong>YARA Rules</strong>: YARA is a powerful pattern-matching tool that can be used to create rules for identifying specific patterns or behaviors in PowerShell logs. By creating YARA rules tailored to your organization’s specific requirements, you can automate the detection of known malicious activity.</li><li><strong>PowerShell Logging Cheat Sheets</strong>: Various cheat sheets and resources are available online that guide configuring and analyzing PowerShell logs. These cheat sheets can help you navigate the complexities of PowerShell logging and ensure you are leveraging the full potential of your logs.</li></ol><p>By leveraging these tools and techniques, you can streamline the analysis of PowerShell logs and enhance your organization’s ability to detect and respond to security incidents effectively.</p><h3>Best practices for PowerShell logging on enterprise networks</h3><p>To establish an effective PowerShell logging strategy on enterprise networks, consider the following best practices:</p><ol><li><strong>Define a logging policy</strong>: Develop a comprehensive logging policy that outlines the specific PowerShell logging requirements for your organization. This policy should cover what should be logged, how long logs should be retained, and who should have access to the logs.</li><li><strong>Regularly review and update logging configurations</strong>: PowerShell logging configurations should be periodically reviewed and updated to align with your organization’s evolving security requirements. Stay up to date with the latest logging best practices and adjust your configurations accordingly.</li><li><strong>Monitor and analyze logs in real-time</strong>: Establish real-time log monitoring and alerting mechanisms to detect potential security incidents promptly. Implementing a Security Operations Center (SOC) or leveraging managed security services can help ensure continuous monitoring and timely response to any threats.</li><li><strong>Secure log storage</strong>: Protect the integrity and confidentiality of your PowerShell logs by implementing appropriate access controls and encryption mechanisms. Apply the principle of least privilege to limit access to log files and ensure logs are securely transmitted and stored.</li><li><strong>Regularly train and educate personnel</strong>: Provide training and educational resources to your security teams and system administrators to ensure they understand the importance of PowerShell logging and know how to effectively analyze the logs. Regularly update their knowledge to keep up with emerging threats and techniques.</li><li><strong>Perform log analysis and incident response drills</strong>: Regularly conduct log analysis exercises and incident response drills to validate the effectiveness of your PowerShell logging strategy. These drills can help identify any gaps or deficiencies in your logging configurations and response procedures.</li></ol><p>By following these best practices, you can establish a robust PowerShell logging strategy that enhances your organization’s security posture and strengthens your defense against cyber threats.</p><p>PowerShell logging is a crucial component of a blue teamer’s arsenal for effective monitoring and detection. By enabling and configuring PowerShell logging, you can gain valuable insights into potential security threats, spot anomalous behavior, and respond promptly to security incidents.</p><h3><strong>References</strong></h3><ul><li><a href="https://admx.help/?Category=Windows_10_2016&amp;Policy=Microsoft.Policies.PowerShell::EnableModuleLogging">Turn on Module Logging</a></li><li><a href="https://learn.microsoft.com/en-us/powershell/scripting/learn/remoting/jea/overview?view=powershell-7.4">Overview of Just Enough Administration (JEA) - PowerShell</a></li><li><a href="https://powershellisfun.com/2022/07/31/powershell-and-logging/">PowerShell is fun :)PowerShell and logging</a></li></ul><p><a href="https://ashishbogati.com.np/posts/PowershellLogging/">Powershell Logging Recommendations for detecting Malicious PowerShell | ashizZz (ashishbogati.com.np)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7d21660ea5d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/infosecstories/powershell-logging-for-blue-teamers-c7d21660ea5d">Powershell logging for Blue Teamers</a> was originally published in <a href="https://medium.com/infosecstories">InfoSecStories</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sysmon For Linux]]></title>
            <link>https://shreenkhalabhattarai.medium.com/sysmon-for-linux-c4acb93a53e3?source=rss-9dedf3d69dfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4acb93a53e3</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[sysmon]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[threat-detection]]></category>
            <dc:creator><![CDATA[Shreenkhala Bhattarai]]></dc:creator>
            <pubDate>Mon, 05 Feb 2024 08:31:39 GMT</pubDate>
            <atom:updated>2024-02-05T08:31:39.706Z</atom:updated>
            <content:encoded><![CDATA[<p>Sysmon for Linux is a powerful system monitoring tool designed to give deep insights into the processes and activities occurring in Linux settings. Sysmon provides an extensive range of logging and monitoring features, giving system administrators the means to ensure system security and integrity. Sysmon makes proactive threat identification and response possible by tracking important system events such as file modifications, network connections, and process creations. Administrators can obtain significant insight into system activity by utilizing Sysmon&#39;s real-time monitoring capabilities. This allows for the timely detection and mitigation of any suspicious actions.</p><p>Organizations strengthen their defenses against malware infections, unauthorized access, and other security threats by integrating Sysmon into their Linux systems. Sysmon’s intricate logging methods make it possible to analyze system events in-depth, which helps with compliance audits and forensic investigations. Furthermore, Sysmon is a perfect fit for both small-scale deployments and big business systems because of its lightweight and efficient architecture, which guarantees little influence on system performance. Linux administrators may more effectively monitor, assess, and defend their systems against changing threats by using Sysmon, which also improves overall system security posture and resilience. It’s essential to note the current limitations of Sysmon for Linux, as not all event types are supported at the time of release.</p><h3>Installation &amp; Configuration</h3><h3>1. Install and configure Sysmon for Linux</h3><p>Installation instructions for a range of Linux distributions are available on the <a href="https://github.com/Sysinternals/SysmonForLinux/blob/main/INSTALL.md">official Microsoft Sysmon for Linux GitHub</a>.</p><p>In this example, I install on Ubuntu 22.04</p><pre># 1. Register Microsoft key and feed<br>wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor &gt; microsoft.asc.gpg<br>sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/<br>wget -q https://packages.microsoft.com/config/debian/11/prod.list<br>sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list<br>sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg<br>sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list<br><br># 2. Install SysmonForLinux<br>sudo apt-get update<br>sudo apt-get install apt-transport-https<br>sudo apt-get update<br>sudo apt-get install sysmonforlinux</pre><p>Once installed you can use Sysmon as you would on a Windows platform, e.g.,</p><pre>$ sysmon -h<br><br>Sysmon v1.3.1 - Monitors system events<br>Sysinternals - www.sysinternals.com<br>By Mark Russinovich, Thomas Garnier and Kevin Sheldrake<br>Copyright (C) 2014-2023 Microsoft Corporation<br>Licensed under MIT/GPLv2<br>Using libxml2. libxml2 is Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.<br>Usage:<br>Install:                 sysmon -i [&lt;configfile&gt;]<br>Update configuration:    sysmon -c [&lt;configfile&gt;]<br>Print schema:            sysmon -s<br>Uninstall:               sysmon -u [force]<br>  -c   Update configuration of an installed Sysmon driver or dump the<br>       current configuration if no other argument is provided. Optionally<br>       take a configuration file.<br>  -i   Install service and driver. Optionally take a configuration file.<br>  -s   Print configuration schema definition of the specified version.<br>       Specify &#39;all&#39; to dump all schema versions (default is latest)).<br>  -u   Uninstall service and driver. Adding force causes uninstall to proceed<br>       even when some components are not installed.<br>  -btf Use the specified standalone BTF file.<br>The service logs events immediately and the driver installs as a boot-start driver to capture activity from early in the boot that the service will write to the event log when it starts.<br>On Linux, events are stored in the Syslog, often found at /var/log/syslog.<br>Use the &#39;-? config&#39; command for configuration file documentation. More examples are available on the Sysinternals website.<br><br>Neither install nor uninstall requires a reboot.</pre><p>In a similar fashion to the Windows version of Sysmon, we can use an XML configuration file during (or post) installation to tune as required.</p><p>💡<em>Example configurations for Sysmon for Linux can be found on MSTIC Sysmon Resources:</em></p><p><a href="https://github.com/microsoft/MSTIC-Sysmon/blob/main/linux/configs/main.xml?source=post_page-----19c6b18f54bc--------------------------------">https://github.com/microsoft/MSTIC-Sysmon/blob/main/linux/configs/main.xml</a></p><p>In this example, I am using the default installation configuration.</p><pre>$ sudo sysmon -i<br><br>Sysmon v1.3.1 - Monitors system events<br>Sysinternals - www.sysinternals.com<br>By Mark Russinovich, Thomas Garnier and Kevin Sheldrake<br>Copyright (C) 2014-2023 Microsoft Corporation<br>Licensed under MIT/GPLv2<br>Using libxml2. libxml2 is Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.<br>Created symlink /etc/systemd/system/multi-user.target.wants/sysmon.service → /etc/systemd/system/sysmon.service.</pre><p>Sysmon for Linux will write to /var/log/syslog Ubuntu, and you can verify that logs are being generated by Sysmon by checking your syslog log:</p><pre>sudo grep -i sysmon /var/log/syslog<br><br>Feb 04 8:26:35 debian sysmon: &lt;Event&gt;&lt;System&gt;&lt;Provider Name=&quot;Linux-Sysmon&quot; Guid=&quot;{ff032593-a8d3-4f13-b0d6-01fc615a0f97}&quot;/&gt;&lt;EventID&gt;1&lt;/EventID&gt;&lt;Version&gt;5&lt;/Version&gt;&lt;Level&gt;4&lt;/Level&gt;&lt;Task&gt;1&lt;/Task&gt;&lt;Opcode&gt;0&lt;/Opcode&gt;&lt;Keywords&gt;0x8000000000000000&lt;/Keywords&gt;&lt;TimeCreated SystemTime=&quot;2024-02-04 T8:26:35.489184000Z&quot;/&gt;&lt;EventRecordID&gt;17&lt;/EventRecordID&gt;&lt;Correlation/&gt;&lt;Execution ProcessID=&quot;54611&quot; ThreadID=&quot;54611&quot;/&gt;&lt;Channel&gt;Linux-Sysmon/Operational&lt;/Channel&gt;&lt;Computer&gt;lin-01&lt;/Computer&gt;&lt;Security UserId=&quot;0&quot;/&gt;&lt;/System&gt;&lt;EventData&gt;&lt;Data Name=&quot;RuleName&quot;&gt;-&lt;/Data&gt;&lt;Data Name=&quot;UtcTime&quot;&gt;2024-02-04 8:26:35.494&lt;/Data&gt;&lt;Data Name=&quot;ProcessGuid&quot;&gt;{3724345b-168f-6551-2954-0b2b41560000}&lt;/Data&gt;&lt;Data Name=&quot;ProcessId&quot;&gt;54622&lt;/Data&gt;&lt;Data Name=&quot;Image&quot;&gt;/usr/bin/grep&lt;/Data&gt;&lt;Data Name=&quot;FileVersion&quot;&gt;-&lt;/Data&gt;&lt;Data Name=&quot;Description&quot;&gt;-&lt;/Data&gt;&lt;Data Name=&quot;Product&quot;&gt;-&lt;/Data&gt;&lt;Data Name=&quot;Company&quot;&gt;-&lt;/Data&gt;&lt;Data Name=&quot;OriginalFileName&quot;&gt;-&lt;/Data&gt;&lt;Data Name=&quot;CommandLine&quot;&gt;grep -i sysmon /var/log/syslog&lt;/Data&gt;&lt;Data Name=&quot;CurrentDirectory&quot;&gt;/home/admin_altostrat_co&lt;/Data&gt;&lt;Data Name=&quot;User&quot;&gt;root&lt;/Data&gt;&lt;Data Name=&quot;LogonGuid&quot;&gt;{3724345b-0000-0000-0000-000000000000}&lt;/Data&gt;&lt;Data Name=&quot;LogonId&quot;&gt;0&lt;/Data&gt;&lt;Data Name=&quot;TerminalSessionId&quot;&gt;7&lt;/Data&gt;&lt;Data Name=&quot;IntegrityLevel&quot;&gt;no level&lt;/Data&gt;&lt;Data Name=&quot;Hashes&quot;&gt;SHA256=5212564899a46d5c342f3f49b42587446794a5b06389942db3145154a3fcd5c8&lt;/Data&gt;&lt;Data Name=&quot;ParentProcessGuid&quot;&gt;{3724345b-168f-6551-2dea-da77eb550000}&lt;/Data&gt;&lt;Data Name=&quot;ParentProcessId&quot;&gt;54621&lt;/Data&gt;&lt;Data Name=&quot;ParentImage&quot;&gt;/usr/bin/sudo&lt;/Data&gt;&lt;Data Name=&quot;ParentCommandLine&quot;&gt;sudo&lt;/Data&gt;&lt;Data Name=&quot;ParentUser&quot;&gt;admin_1823127835827_altostrat_co&lt;/Data&gt;&lt;/EventData&gt;&lt;/Event&gt;</pre><p>As the Sysmon for Linux logging is written by default to the generic OS log, it will require using Regex Filtering while forwarding logs to any Syslog collector.</p><h3>Event ID Numbers</h3><p>As we may have noticed from the previous config snippet, there aren’t quite as many event IDs as there are in Windows, however, this is in the Similarities section. The similarities exist on the Event IDs that have been used from Windows keep the same Event IDs, meaning that a file creation is the same event ID across architectures. The table below shows the Event IDs which are used between Sysmon for Windows and Sysmon for Linux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*CkgS__HrJX6mxPocFfwphQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4acb93a53e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Maximizing SIEM Efficiency: A Guide to Prioritizing Log Sources for Effective SOC Implementation]]></title>
            <link>https://shreenkhalabhattarai.medium.com/maximizing-siem-efficiency-a-guide-to-prioritizing-log-sources-for-effective-soc-implementation-263d5af2e459?source=rss-9dedf3d69dfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/263d5af2e459</guid>
            <category><![CDATA[made4security]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <dc:creator><![CDATA[Shreenkhala Bhattarai]]></dc:creator>
            <pubDate>Tue, 12 Sep 2023 05:27:36 GMT</pubDate>
            <atom:updated>2023-09-12T05:27:36.064Z</atom:updated>
            <content:encoded><![CDATA[<p>Security information and event management (SIEM) is an essential part of a strong cybersecurity strategy. It helps organizations detect and respond to security incidents by collecting and analyzing logs from a variety of sources. To deploy SIEM effectively, it’s important to prioritize log sources for maximum efficiency. This guide explores the importance of log sources in SIEM and provides best practices for prioritizing them to improve your Security Operations Center (SOC) implementation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*vLijsg7J6jUAml4n2a6b8Q.png" /></figure><h3>Understanding the Importance of Log Sources in SIEM</h3><p>Log sources form the foundation of SIEM, providing valuable information about network activities, system events, and user behavior. They include many types of data, including firewall logs, intrusion detection system logs, authentication logs, and more. By aggregating and correlating these logs, SIEM solutions can identify potential threats and security incidents in real-time.</p><p>To maximize SIEM effectiveness, it is essential to understand the importance of each log source. Some log sources may contain important information that can help detect advanced threats, while others may provide information about insider threats or compliance violations. By prioritizing log sources based on their relevance and potential impact, organizations can allocate resources effectively and focus on the most important security risks.</p><h3>Key Considerations for Prioritizing Log Sources</h3><p>When prioritizing log sources for SIEM, there are some key considerations to keep in mind:</p><h3>1. Relevance to Security Objectives:</h3><p>Evaluate the relevance of each log source to your organization’s security goals. Focus on log sources that provide information about potential threats or vulnerabilities that align with your security goals. For example, if your organization is highly concerned about unauthorized access attempts, prioritizing authentication logs is important.</p><h3>2. Regulatory and Compliance Requirements:</h3><p>Consider legal and compliance requirements specific to your industry. Log sources that help meet these requirements should be given high priority. For example, healthcare organizations can prioritize logs related to the access and handling of sensitive patient information to comply with HIPAA regulations.</p><h3>3. Potential Impact and Severity:</h3><p>Assess the potential impact and severity of security incidents that may be detected through specific log sources. Log sources with a higher probability of detecting important security events should be prioritized accordingly. This ensures that your SOC team can focus on addressing the most important threats first.</p><h3>Identifying Critical Log Sources for Effective SOC Implementation</h3><p>To effectively implement SIEM and SOC monitoring, it is crucial to identify critical log sources. Here are some log sources that are typically considered essential for a comprehensive SOC implementation:</p><h3>1. Firewall Logs:</h3><p>Firewalls play a vital role in securing network perimeters. Analyzing firewall logs can help detect unauthorized access attempts, port scans, and other suspicious activities. Prioritize firewall logs to ensure prompt detection and response to potential network breaches.</p><h3>2. Intrusion Detection System (IDS) Logs:</h3><p>IDS logs provide insights into potential intrusion attempts and unauthorized activities within your network. By analyzing IDS logs, SOC teams can identify patterns and indicators of compromise, enabling them to take proactive measures to mitigate threats.</p><h3>3. Endpoint Logs:</h3><p>Endpoint logs, including those from workstations and servers, provide visibility into user activities and potential security incidents at the device level. Monitoring these logs can help identify malware infections, suspicious file activity, and other indicators of compromise.</p><h3>4. Application Logs:</h3><p>Application logs contain valuable information about application activities and can help detect anomalies, such as unauthorized access attempts or suspicious transactions. Prioritize application logs based on the criticality of the applications and the potential impact of security incidents.</p><h3>5. Authentication Logs:</h3><p>Authentication logs provide insights into user login activities, failed login attempts, and potential brute force attacks. By analyzing authentication logs, SOC teams can detect unauthorized access attempts and take appropriate actions to prevent further compromise.</p><p>By focusing on these critical log sources, organizations can lay a strong foundation for an effective SOC implementation and enhance their ability to detect and respond to security incidents promptly.</p><h3>Best Practices for Logging and Monitoring in SIEM</h3><p>To maximize SIEM efficiency, it is essential to follow best practices for logging and monitoring. Here are some key recommendations:</p><h3>1. Define Clear Logging Policies:</h3><p>Establish clear logging policies that outline what events should be logged, including log sources, log levels, and retention periods. Ensure that these policies align with your organization’s security objectives and compliance requirements.</p><h3>2. Enable Centralized Log Management:</h3><p>Implement a centralized log management system that aggregates logs from various sources. This allows for efficient log collection, storage, and analysis. Consider leveraging SIEM solutions that offer robust log management capabilities.</p><h3>3. Regularly Review and Update Log Sources:</h3><p>Periodically review and update your log sources to adapt to evolving security threats and organizational changes. New applications, network devices, or cloud services may require additional log sources to be integrated into your SIEM solution.</p><h3>4. Implement Real-time Log Monitoring:</h3><p>Enable real-time log monitoring to detect and respond to security incidents promptly. Leverage automated alerts and correlation rules to identify potential threats and anomalies in real time.</p><h3>5. Conduct Regular Log Analysis and Reporting:</h3><p>Regularly analyze logs to identify patterns, trends, and potential security incidents. Generate comprehensive reports to provide visibility into the security posture of your organization and support decision-making processes.</p><p>By following these best practices, organizations can ensure that their SIEM implementation is optimized for maximum efficiency and effectiveness.</p><h3>Example of a Comprehensive SIEM Log Source Hierarchy</h3><p>A comprehensive SIEM log source hierarchy helps organizations structure their log collection and analysis processes. Here is an example of a log source hierarchy that demonstrates the relationship between different log sources:</p><p><strong>Network Logs:</strong></p><ul><li>Firewall Logs</li><li>Router Logs</li><li>Switch Logs</li></ul><p><strong>System Logs:</strong></p><ul><li>Operating System Logs</li><li>Application Logs</li><li>Database Logs</li></ul><p><strong>Security Logs:</strong></p><ul><li>Intrusion Detection System (IDS) Logs</li><li>Intrusion Prevention System (IPS) Logs</li><li>Anti-malware Logs</li></ul><p><strong>User Activity Logs:</strong></p><ul><li>Authentication Logs</li><li>Privileged User Logs</li><li>User Behavior Analytics (UBA) Logs</li></ul><p>By organizing log sources into a hierarchy, organizations can better prioritize their collection and analysis efforts, ensuring that critical log sources receive the necessary attention.</p><h3>Tools for Efficient Log Collection and Analysis</h3><p>To maximize SIEM efficiency, organizations can leverage various tools for log collection and analysis. Here are some commonly used tools:</p><h3>1. SIEM Solutions:</h3><p>SIEM solutions provide the necessary infrastructure for log collection, storage, and analysis. They offer features such as real-time monitoring, correlation rules, and automated alerts, enabling efficient threat detection and response.</p><h3>2. Log Management Systems:</h3><p>Log management systems help centralize and manage logs from various sources. They provide scalable storage, search capabilities, and log retention policies, ensuring that organizations can efficiently analyze logs and meet compliance requirements.</p><h3>3. Security Orchestration, Automation, and Response (SOAR) Platforms:</h3><p>SOAR platforms automate security operations, including log collection, analysis, and incident response. They streamline workflows, enabling SOC teams to focus on critical tasks and improve overall efficiency.</p><h3>4. Endpoint Detection and Response (EDR) Solutions:</h3><p>EDR solutions provide enhanced visibility and threat detection capabilities at the endpoint level. They collect and analyze endpoint logs, enabling proactive threat hunting and incident response.</p><p>By leveraging these tools, organizations can streamline log collection and analysis processes, enabling efficient detection and response to security incidents.</p><h3>Challenges and Solutions in Managing Log Sources</h3><p>Managing log sources can present several challenges for organizations. Here are some common challenges and their corresponding solutions:</p><h3>1. Volume of Logs:</h3><p>The sheer volume of logs generated by various sources can overwhelm organizations, making it challenging to analyze and respond to security incidents promptly. Implementing log management systems with scalable storage and real-time analysis capabilities can help address this challenge.</p><h3>2. Log Source Integration:</h3><p>Integrating log sources from diverse systems, applications, and network devices can be complex. Organizations should leverage standardized log formats, such as Syslog or Common Event Format (CEF), and SIEM solutions with pre-built integrations to simplify the log source integration process.</p><h3>3. Log Source Visibility:</h3><p>Lack of visibility into certain log sources can hinder the effectiveness of SIEM and SOC monitoring. Regularly review and update log sources to ensure comprehensive coverage and visibility into potential security incidents.</p><h3>4. Log Source Validation:</h3><p>Validating log sources and ensuring the accuracy and integrity of log data is crucial. Implement log validation mechanisms, such as secure log transport protocols and digital signatures, to prevent tampering or unauthorized modifications.</p><p>By addressing these challenges proactively, organizations can optimize log source management and enhance the effectiveness of their SIEM and SOC implementation.</p><h3>Implementing a Log Management Strategy for Maximum SIEM Efficiency</h3><p>To maximize SIEM efficiency, organizations should implement a log management strategy that addresses key aspects of log collection, analysis, and storage. Here are some essential steps to consider:</p><h3>1. Define Log Collection Requirements:</h3><p>Identify and document the log collection requirements based on your organization’s security objectives, compliance requirements, and industry best practices. Consider the log sources that need to be collected, log levels, and retention periods.</p><h3>2. Establish Log Source Prioritization:</h3><p>Prioritize log sources based on their relevance to security objectives, potential impact, and compliance requirements. Assign appropriate resources and allocate sufficient storage capacity to critical log sources.</p><h3>3. Implement Log Collection Mechanisms:</h3><p>Implement log collection mechanisms, such as agents, forwarders, or log collectors, to efficiently collect logs from various sources. Ensure that these mechanisms are properly configured, secure, and capable of handling the volume and velocity of log data.</p><h3>4. Establish Log Analysis and Retention Processes:</h3><p>Implement log analysis processes, including automated log parsing, correlation rules, and real-time monitoring. Define log retention periods based on compliance requirements and establish processes for secure log storage and archiving.</p><h3>5. Regularly Monitor and Review Log Sources:</h3><p>Continuously monitor and review log sources to ensure their effectiveness in detecting security incidents. Conduct regular audits and assessments to identify gaps or areas for improvement in your log management strategy.</p><p>By implementing a well-defined log management strategy, organizations can enhance SIEM efficiency, improve threat detection capabilities, and strengthen their overall cybersecurity posture.</p><p>Log sources play a crucial role in a successful SOC implementation. By prioritizing log sources based on their relevance, potential impact, and compliance requirements, organizations can maximize SIEM efficiency and improve their ability to detect and respond to security incidents promptly.</p><p>Implementing best practices for logging and monitoring, using a comprehensive log source hierarchy, and leveraging efficient log collection and analysis tools are essential steps for optimizing SIEM effectiveness. Overcoming challenges in managing log sources and implementing a robust log management strategy further enhances SIEM efficiency and strengthens an organization’s cybersecurity defenses.</p><p>By recognizing the importance of log sources and implementing a prioritization strategy, organizations can enhance their SOC monitoring capabilities and stay one step ahead of evolving cyber threats.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=263d5af2e459" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unraveling RDP Events: Understanding Remote Desktop Protocol for Enhanced Security.]]></title>
            <link>https://shreenkhalabhattarai.medium.com/unraveling-rdp-events-understanding-remote-desktop-protocol-for-enhanced-security-78e6c1222bf?source=rss-9dedf3d69dfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/78e6c1222bf</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[made4security]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[security-operation-center]]></category>
            <dc:creator><![CDATA[Shreenkhala Bhattarai]]></dc:creator>
            <pubDate>Fri, 28 Jul 2023 18:46:27 GMT</pubDate>
            <atom:updated>2023-07-28T18:46:27.834Z</atom:updated>
            <content:encoded><![CDATA[<p>Within the security operation center, visibility is everything. The security operations team responds swiftly and forcefully to potential risks while being aware of information about users, assets, and known threats across security devices, servers, networks, and other sources.</p><p>Windows event logs can help with this by offering crucial observability into what is happening across the network of your organization and digital footprint. But for SOC teams, figuring out where to look is not always simple. This is so because your logs are probably capturing huge amounts of data. It’s not always obvious which events, such as a security breach, indicate something significant and require further investigation.</p><p>It is becoming more and more common for bad actors to manipulate or clear the security event logs on compromised machines, and depending on the situation, RDP sessions sometimes don’t even register as just a type 10 logon. As actions are taken and various processes are involved, RDP activities will record events in a number of different logs.</p><p>Here are some event IDS to look on for Remote Desktop Services :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ReG1oRCYek2ayxt4shy_Fg.png" /><figcaption>Event IDs</figcaption></figure><p>According to research on remote desktop connections, a single event id is insufficient to identify the connection. RDP connection logging can be comprehended more clearly with the help of multiple sequences of event ids relevant to events. The following are some events for enhancing visibility on logs:</p><h4>Successful RDP connection</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2uz3OAbTGq4nDPHi3ehtnw.png" /><figcaption>RDP Successful Logon</figcaption></figure><p><strong>Event ID 1149</strong> does not denote a successful user authentication; rather, it denotes a successful network authentication, i.e., that an RDP network connection to the target machine was successfully made, and that the target machine successfully responded by displaying a login window for the subsequent step of entering credentials. For instance, WELL BEFORE I even entered any credentials, if I launched the RDP Desktop Connection program on my computer, entered the target IP, and hit enter, it would immediately display the target system’s screen and generate an 1149 Event ID indicating I had successfully connected to the target.</p><p><em>“An Event ID 1149 DOES NOT indicate successful authentication to a target, only a successful RDP network connection”.</em></p><p><strong>Event ID 4624 r</strong>efers to the user successfully logged on to the system. Type 3 logon (for Network level authentication)</p><p>Type 10 logons for RDP</p><p>Logon type 7 reconnection to the machine through RDP (occurs when a user unlocks (or attempts to unlock) a previously locked workstation.)</p><p><strong>Event ID 21</strong>:This event appears after a user has been successfully authenticated remote desktop services (session logon succeeded)</p><p><strong>Event ID 22</strong>: This event follows Event ID 21 immediately. A “Source Network Address” of “LOCAL” simply denotes a local logon and DOES NOT denote a remote RDP logon, it should be noted. During system (re)boot/initialization, this event with the “Source Network Address” of “LOCAL” will also be produced (shortly after the previous associated Event ID 21).</p><h4><strong>Unsuccessful RDP connection</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*To0EkGivGKPe8uv2YnEQvA.png" /><figcaption>RDP Unsuccesful logon</figcaption></figure><p><strong>Event ID 4625</strong>: When an attempt to log into RDP fails after the user has been authenticated, a 4625 Type 3 failure (if NLA is enabled) or a 4625 Type 10 failure (if NLA is not enabled) will be generated (Remote Interactive/Terminal Services/Remote Desktop).</p><p>This is helpful in recognizing (brute force) failure attempts and determining when and where an attacker might be using compromised or stolen credentials. The Status/Sub Status Code will also be useful in identifying legitimate failures (such as “expired password”) and possibly offering insight into attacker activity (for example, repeated “user name does not exist” codes could indicate brute force guessing by a tool and/or a more targeted lack of username knowledge/awareness by the attacker).</p><p><strong>RDP Session Disconnect (Windows Close)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9TLL3Ov-S9yiVLWrXbrhwQ.png" /><figcaption>RDP Session Disconnect</figcaption></figure><p><strong>Event ID 24</strong>:While investigating the RDP session, we should determine why it was terminated; this can be done by looking at Event ID 40. Additionally, look into any previous user activity that occurred during this session. You can do this by using the Session ID.</p><p>When the “Source Network Address” contains a remote IP address, the user has ended an RDP session. A local session disconnection and <em>NOT</em> a remote RDP disconnection are both indicated by a “Source Network Address” of “LOCAL”. Take note of the “Source Network Address” for the RDP connection’s origin. This is frequently used in conjunction with Event ID 40. Additionally, take note of the SessionID to track/link additional Event Log activity to this user’s RDP session.</p><p><strong>Event ID 40:</strong> Even though “Session has been disconnected” is always the description, these events also indicate or relate to reconnections, not just disconnections. Reason Code 0 — “No additional information is available” — is the most useful piece of information in this case. (Happens when a user abruptly Xs out of a session; frequently used in conjunction with Event ID 24)</p><h4><strong>RDP Session Disconnect (Purposeful Disconnect via start &gt; Disconnect)</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G8LXVPK_Xy9RiUmevv048A.png" /><figcaption>RDP purposeful session disconnect</figcaption></figure><p><strong>Event ID 39:</strong> This refers that a user, as opposed to merely X’ing out of the RDP window, has formally disconnected from an RDP session via purposeful Disconnect (for example, via the Windows Start Menu Disconnect option). A separate RDP session may have disconnected (i.e. kicked off) the specified user in situations where the Session IDs of X and Y are different.</p><p><strong>Event ID 40:</strong> Although “Session has been disconnected” is always the description, these events also indicate or relate to reconnections, not just disconnections. The Reason Code, 0, “No additional information is available,” is the most useful piece of information in this case. (Happens when a user Xs out of a session indiscriminately; frequently used in conjunction with Event ID 24)</p><p><strong>Event ID 4779</strong>: This occurs when a user disconnects from an RDP session. Typically paired with Event ID 24 and likely Event IDs 39 and 40. The SessionName, ClientAddress, and LogonID can all be useful for identifying the source and associated activity.</p><p><strong>Event ID 4634:</strong> These occur whenever a user simply disconnects from an RDP session or formally logs off (via Windows Start Menu Logoff). It may be positively correlated with a logon event using the Logon ID i.e. Logon Type 10</p><h4><strong>RDP Session Reconnect</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PQh8yXX8FkniW6I-OR3DAA.png" /><figcaption>RDP session reconnect</figcaption></figure><p><strong>Event ID 4624 r</strong>efers to the user successfully logged on to the system.</p><p>Logon type 7 reconnection to the machine through RDP (occurs when a user unlocks (or attempts to unlock) a previously locked workstation.)</p><p><strong>Event ID 25:</strong> When the “Source Network Address” contains a remote IP address, the user has reconnected to an RDP session. A local session reconnection and NOT a remote RDP session reconnection are both indicated by a “Source Network Address” of “LOCAL”. Take note of the “Source Network Address” for the RDP connection’s origin. This is frequently used in conjunction with Event ID 40. When tracking or connecting additional Event Log activity to this user’s RDP session, take note of the SessionID.</p><p><strong>Event ID 40:</strong> Although the description is always “Session has been disconnected”, these events also indicate/correlate to reconnections, not just disconnections. The most helpful information here is the Reason Code, 5 — “The client’s connection was replaced by another connection.” (Occurs when a user reconnects to an RDP session, typically paired with an Event ID 25)</p><p><strong>Event ID 4778</strong>:Occurs when a user reconnects to an existing RDP session. Typically paired with Event ID 25. The SessionName, ClientAddress, and LogonID can all be useful for identifying the source and associated activity.</p><h4><strong>RDP Session Logoff</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fKa6hbWtNgxpX48cTfGpSA.png" /><figcaption>RDP session logoff</figcaption></figure><p><strong>Event ID 23:</strong> The user has initiated a logoff. This is typically paired with an Event ID 4634 (logoff). Take note of the SessionID as a means of tracking/associating additional Event Log activity with this user’s RDP session. This event will also be generated upon a system shutdown/reboot.</p><p><strong>Event ID 4634:</strong> These occur whenever a user simply disconnects from an RDP session or formally logs off (via Windows Start Menu Logoff). It may be positively correlated with a logon event using the Logon ID i.e. Logon Type 10, Logon Type 7 for reconnect.</p><p><strong>Event ID 4647</strong>: These are not necessarily RDP-specific and happen whenever a user initiates a formal system logoff. As there is no associated LogonType to specify which it is, you will need to use reasoning and temporal analysis to determine whether or not it is connected to a system logoff via an RDP session or is from a local interactive session.</p><p><strong>Event ID 9009:</strong> This event id occurs when a user formally closes an RDP connection and indicates the RDP desktop GUI has been shut down as a result. This is useful to identify a closed/finalized RDP connection.</p><h4><strong>Logon Type</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*edJXFBzM88FpLT8QA8oH-A.png" /><figcaption>Logon Type</figcaption></figure><h4><strong>Failed Logon Status</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ha9F7CyZty2NlVHUzGUvyA.png" /><figcaption>Failed Logon Status</figcaption></figure><p><strong><em>References:</em></strong></p><p><a href="https://ponderthebits.com/2018/02/windows-rdp-related-event-logs-identification-tracking-and-investigation/">Windows RDP-Related Event Logs: Identification, Tracking, and Investigation</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FmyzG11BP3Sk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DmyzG11BP3Sk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FmyzG11BP3Sk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ca85f90712f0ec64ee97d50185b934ca/href">https://medium.com/media/ca85f90712f0ec64ee97d50185b934ca/href</a></iframe><p><a href="https://nullsec.us/windows-rdp-related-event-logs-the-client-side-of-the-story/">Windows RDP-Related Event Logs: The Client Side of the Story</a></p><p><a href="https://frsecure.com/blog/rdp-connection-event-logs/">https://frsecure.com/blog/rdp-connection-event-logs/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78e6c1222bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Threat Intelligence 101: An Introduction to Cybersecurity’s Frontline Defense]]></title>
            <link>https://shreenkhalabhattarai.medium.com/threat-intelligence-101-an-introduction-to-cybersecuritys-frontline-defense-c0ce4a14a6aa?source=rss-9dedf3d69dfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0ce4a14a6aa</guid>
            <category><![CDATA[threat]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[soc]]></category>
            <dc:creator><![CDATA[Shreenkhala Bhattarai]]></dc:creator>
            <pubDate>Thu, 20 Jul 2023 03:41:44 GMT</pubDate>
            <atom:updated>2023-07-20T03:41:44.180Z</atom:updated>
            <content:encoded><![CDATA[<p>Cybersecurity has historically been inward-looking on identifying what we want to protect and then building defenses around them over time as adversaries successfully breach those defenses. While it’s important to make sure that our defenses are strong, this alone is not enough to prevent intrusions from happening in the future.</p><blockquote>Then when it comes to <strong>Threat intelligence.</strong></blockquote><p>Through the use of cyber threat intelligence, the organization is better able to comprehend, foresee, and adjust to the actions of nefarious actors, including terrorists, criminals, activist groups, and even nation-state threat actors.</p><p>Threats can take many forms info about malware, attackers groups, IOCS, Known C2 Servers, and techniques used in attacks with this information we can fine-tune our defense against the threat we face. Many sources of threat intelligence such as Past incidents, commercial threat feeds, or government threat feed programs</p><p>By that, we can strengthen our collective ability to detect and defend against malicious activity</p><p><strong>Threat intelligence</strong> is evidence-based knowledge, including context, mechanisms, indicators, implications, and actionable advice, about existing or emerging threats or hazards to assets that we can use to inform decisions regarding the subject’s response to that threats.</p><h3>Importance of Threat Intelligence</h3><p><strong>Cyber Threat Intelligence</strong> refers to the process of collecting, analyzing, and interpreting information about potential and existing cyber threats. It entails assembling information from various sources, analyzing it to comprehend the strategies, tactics, and practices employed by threat actors, and disseminating takeaways to support organizations’ proactive defense against cyberattacks.</p><p>Importance of Cyber Threat Intelligence in Cybersecurity:</p><ol><li>Proactive Defense: By identifying new attack vectors, weaknesses, and threat actors, cyber threat intelligence enables organizations to stay ahead of potential threats. It aids in the implementation of proactive defense strategies to reduce risks before they are taken advantage of.</li><li>Risk Mitigation: Cyber threat intelligence enables proactive risk management by giving organizations timely and accurate information about potential threats. It aids in setting priorities for security measures and efficient resource allocation to address the most serious risks.</li><li>Incident Response: Information on cyber threats is essential for incident response. It gives businesses immediate access to information about active attacks, including indicators of compromise (IOCs) and attack patterns, enabling quick detection and quick response to security incidents.</li><li>Strategic Planning: Strategic planning is aided by cyber threat intelligence, which analyzes trends and spots new threat actors. In order to ensure long-term security preparedness, it assists organizations in matching their cybersecurity strategies and investments with the changing threat landscape.</li><li>Collaboration and Information Sharing: The sharing of information about cyber threats fosters cooperation between businesses, security providers, and trade associations. By pooling resources and knowledge to effectively combat shared threats, the community is able to defend itself by using a collective defense strategy.</li><li>Fraud Detection and Prevention: Identifying patterns and signs linked to fraud and cybercrime activities is made easier with the aid of effective cyber threat intelligence. Organizations can improve their fraud detection and prevention skills by utilizing intelligence, minimizing financial losses and reputational harm.</li><li>Regulatory Compliance: Regulations pertaining to cybersecurity are applicable to several businesses. By revealing new threats, weaknesses, and suggested security procedures, cyber threat intelligence helps firms comply with regulatory requirements.</li></ol><h3>Threat Intelligence Life Cycle</h3><p>The process used to convert raw data into intelligence is known as the intelligence lifecycle. To make decisions based on evidence and intelligence information for defense, decision-makers need intelligence. Threat Intelligence offers a comprehensive framework that enables teams to make the most of their resources and successfully address the continually evolving world of cyber threats.</p><blockquote>Why threat intelligence life cycle is a circle?</blockquote><p>The fact that its never-ending cycle begins with the need for fully formed intelligence, which has the six steps below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*yeJSefvtjdjyJqe-qfdawQ.png" /></figure><p><strong>Planning and Direction</strong></p><p>The Cyber Threat Intelligence program’s objectives and goals are set during this phase. It entails deciding on the parameters of information gathering, identifying key players, allocating resources, and creating a budget. Aligning the intelligence activities with the organization’s overall cybersecurity strategy is made easier with planning and guidance.</p><ul><li>Identify initial access brokers (cybercriminals who hack into corporate IT environments and then sell their access to other criminals on specialized dark web forums) targeting healthcare companies</li><li>Create a list of personas that the initial access brokers use, along with relevant data about the size of organizations that they attack</li><li>Gather relevant information around any identifiable tactics, techniques, and procedures (TTPs) that the threat actors use to gain access or escalate privileges</li><li>Provide recommendations to the organization about how they can reduce the risk associated with being compromised by an initial access broker</li></ul><p><strong>Collection</strong></p><p>In this stage, threat intelligence sources are located, and raw data collecting is started. Data may be gathered directly from the organization’s specific threat intelligence platform if it is in use; otherwise, data may be gathered from pertinent sources.<br>This stage involves gathering information about potential risks from a variety of sources. Open Source Intelligence, or OSINT, is the process of gathering information from freely accessible sources such as news articles, social media, and public databases. It might also entail human intelligence (HUMINT) information gathering, such as interacting with reliable business contacts or working with partners. Additionally, network traffic monitoring, log analysis, and other methods are used to gather technical intelligence (TECHINT).</p><p><strong>Processing</strong></p><p>Once relevant data has been collected during the threat intelligence collection phase, the team would set about processing it. This involves filtering out irrelevant data that was collected incidentally, structuring data to make the analysis phase easier, and grouping similar data together that can be used during the analysis phase. This step could involve:</p><ul><li>Creating spreadsheets and linking disparate data elements together to create a context for events and assets</li><li>Uploading vendor-supplied IOCs to a SIEM or SOAR tool to compare against real traffic</li><li>In our example, the CTI team would likely create a matrix to show relationships between initial access brokers, identifiable TTP data discovered during collection, along with the specific forums and marketplaces they operate on</li></ul><p><strong>Analysis</strong></p><p>The analysis phase is pivotal for providing the business with actionable, relevant data that can be used to reduce risk or inform corporate information security decisions. During the analysis phase threat intelligence analysts will work to create meaningful context and actionable intelligence out of the data that has been formatted and structured during the processing phase. CTI analyst teams should work to ensure that:</p><ul><li>Analysis effectively and clearly communicates to the right audience. The analysis focused on commonly exploited vulnerabilities that is destined for the vulnerability management team can be highly technical, but reports destined for the board and other executives should be focused on actionable recommendations and risk</li><li>Analysis should be only as verbose as necessary to clearly explain the results and provide recommendations</li><li>In our example, the CTI team would likely provide context around IABs discovered on the dark web, identify those that pose the greatest threat to the organization, and provide additional information about identifiable TTPs and countermeasures</li><li><strong>Dissemination</strong></li></ul><p>In this phase, the analyzed intelligence is transformed into actionable information and shared with relevant stakeholders. Reporting and documentation are crucial aspects of dissemination, as they help in conveying the findings effectively. The intelligence should be tailored for different audiences, such as executives, security operations teams, or incident response teams. Sharing intelligence with external partners, industry communities, or government entities also promotes collaboration and collective defense.</p><ul><li><strong>Feedback</strong></li></ul><p>Continuous improvement is vital in the Cyber Threat Intelligence lifecycle. This phase involves assessing the effectiveness and impact of the intelligence program. Feedback is gathered from stakeholders to evaluate the usefulness of the intelligence in detecting and mitigating threats. The intelligence team analyzes the feedback and identifies areas for improvement, such as refining collection methods, enhancing analysis techniques, or adjusting objectives and goals. This feedback loop ensures the intelligence program evolves and remains effective over time.</p><h3>Types of Threat Intelligence</h3><h4><strong>Operational</strong></h4><p>Operational threat intelligence is concerned with the methods and instruments that cyber attackers employ to accomplish their objectives (such as infrastructure, malware, etc.). Analysts and danger hunters may recognize and comprehend assault operations with the aid of this kind of expertise.</p><h4>Tactical</h4><p>Using compromise (IoCs) indicators, tactical threat intelligence focuses on identifying specific forms of malware or other intrusions. Cybersecurity solutions employ this kind of threat data to detect and stop approaching or current threats.</p><h4>Strategical</h4><p>Strategic threat intelligence is high-level and focuses on pervasive patterns in the cyber threat landscape. This kind of threat information is intended for executives (sometimes without a background in cybersecurity) who need to comprehend the cyber risk to their firm as part of their strategic strategy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0ce4a14a6aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enhancing Threat Detection with Microsoft Sysmon]]></title>
            <link>https://shreenkhalabhattarai.medium.com/enhancing-threat-detection-with-microsoft-sysmon-8ebe7faad2f9?source=rss-9dedf3d69dfc------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ebe7faad2f9</guid>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[sysmon]]></category>
            <dc:creator><![CDATA[Shreenkhala Bhattarai]]></dc:creator>
            <pubDate>Tue, 20 Jun 2023 15:45:32 GMT</pubDate>
            <atom:updated>2023-06-20T16:07:22.217Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Threat Hunting" src="https://cdn-images-1.medium.com/max/246/1*ee6JK6zhObTG87vl-vwEuQ.jpeg" /><figcaption>Threat Hunting</figcaption></figure><p>Cyber Threats are becoming more sophisticated and common these days. These threats have the potential to compromise sensitive data, disrupt operations, and cause significant financial and reputational harm. To combat these threats effectively, organizations need proactive and comprehensive threat detection capabilities. Threat hunting is a proactive approach to cybersecurity that focuses on identifying and mitigating potential threats before they cause harm.</p><p>As security analysts in a dedicated Security Operations Center (SOC), our main objective is to identify and neutralize threats before they can inflict harm on our organization’s infrastructure. To achieve this, it is essential that we have the right tools and strategies in place for efficient threat hunting.</p><p>Threat hunting is more than just a trendy term; it is an essential part of an all-encompassing cybersecurity strategy. Although they are reactive in nature, traditional security measures like firewalls and antivirus software are necessary. They rely on detection techniques that use signatures to identify known threats. Threat hunting, in contrast, adopts a proactive approach by actively looking for potential threats that might have evaded conventional security measures. Organizations can find hidden threats, identify advanced persistent threats (APTs), and gain insightful information about their network by engaging in threat hunting. Through the identification and patching of vulnerabilities, they are able to improve their overall security posture. For organizations to stay competitive in a time of increasingly sophisticated cyberattacks, threat hunting with Sysmon is essential.</p><p>Sysmon is a powerful system monitoring tool created by Microsoft. It provides security analysts complete insight into potential threats and suspicious activity by providing detailed information about activities incorporated into a Windows and Linux system. Sysmon keeps track of events relating to the creation of processes, network connections, files, and more, enabling analysts to monitor and look into potential security incidents. On systems, a small service is installed by Sysmon to perform its functions. Based on preset configurations and rules, this service monitors and logs events. A SIEM (Security Information and Event Management) system or other log analysis tools can then be used to gather and analyze these logs. Organizations can more effectively detect and respond to threats by utilizing Sysmon, which gives them valuable network insights.</p><p>Utilizing Sysmon’s sophisticated monitoring tools allows you to explore your organization’s systems in greater detail, identify malicious activity, and take appropriate action. Microsoft Sysmon (System Monitor) offers a range of powerful features that enhance threat detection and provide deep visibility into system activities. Some notable features of Sysmon include:</p><p><strong>Process monitoring:</strong></p><p>Sysmon records specific details about processes that are active on a system, such as their start-up, end-of-life, and command-line arguments. This makes it possible to spot shady or malicious processes.</p><p><strong>Network connection Monitoring:</strong></p><p>Sysmon monitors records of network connections, recording their source and destination IP addresses, ports, and protocol. This assists in identifying suspicious communications with known malicious IP addresses or unauthorized network activity.</p><p><strong>File System Monitoring :</strong></p><p>Sysmon monitors file creation, deletion, modifications, and access attempts in the file system. Additionally, it tracks changes in the file creation time, giving organizations the ability to spot potentially malicious or unauthorized file system changes.</p><p><strong>Registry Activity Monitoring:</strong></p><p>Sysmon records modifications to the Windows registry, including the creation, deletion, and modification of registry keys and values. This assists in identifying unauthorized changes that might point to malicious activity or attempts to stay on the system.</p><p><strong>Advanced Threat Detection and Hunting:</strong></p><p>Organizations can engage in advanced threat-hunting activities by utilizing the rich event logs produced by Sysmon. Sysmon’s detailed data collection aids in the detection of advanced threats and the identification of indicators of compromise (IOCs).</p><p>Sysmon’s extensive data can be leveraged for proactive threat hunting. By actively analyzing and investigating Sysmon logs, organizations can uncover hidden threats that may evade traditional security measures. Proactive threat hunting allows for the identification and mitigation of potential risks before they escalate.</p><p>Sysmon logs can be correlated with threat intelligence feeds to enrich the organization’s threat detection capabilities. Threat intelligence provides valuable insights into known malicious entities, indicators of compromise (IOCs), and emerging threats. By cross-referencing Sysmon logs with threat intelligence, organizations can identify patterns and indicators that may signify potential attacks or the presence of malicious actors.</p><p>Utilizing Sysmon for threat hunting presents a robust cybersecurity approach that empowers organizations to proactively identify and respond to potential threats. By harnessing the detailed event logs offered by Sysmon, organizations can achieve comprehensive visibility across their network and uncover concealed threats. Through the implementation of effective analysis and investigation techniques, organizations can maintain an advantageous position against cyber threats and safeguard their sensitive data and systems.</p><p>To optimize the advantages of threat hunting with Sysmon, it is imperative for organizations to adhere to best practices, ensure the tool and its configuration remain up to date, and leverage advanced strategies and tools. By maintaining a vigilant and proactive stance in their threat-hunting endeavors, organizations can proactively mitigate potential risks and maintain a robust cybersecurity posture.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ebe7faad2f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>