<?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 Harshavardhan Reddy Ramireddy on Medium]]></title>
        <description><![CDATA[Stories by Harshavardhan Reddy Ramireddy on Medium]]></description>
        <link>https://medium.com/@ramireddy.harsha01?source=rss-d139a72a888c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*1s_r7hCK_VXperpA</url>
            <title>Stories by Harshavardhan Reddy Ramireddy on Medium</title>
            <link>https://medium.com/@ramireddy.harsha01?source=rss-d139a72a888c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 08:35:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ramireddy.harsha01/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[Incident Handling Guide]]></title>
            <link>https://medium.com/@ramireddy.harsha01/incident-handling-guide-864b38421070?source=rss-d139a72a888c------2</link>
            <guid isPermaLink="false">https://medium.com/p/864b38421070</guid>
            <dc:creator><![CDATA[Harshavardhan Reddy Ramireddy]]></dc:creator>
            <pubDate>Tue, 21 May 2024 18:43:30 GMT</pubDate>
            <atom:updated>2024-05-21T18:43:30.386Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Incident Handling </strong>— This is a set of procedures to manage and respond to security incidents in a computer or network environment.</p><p>While preventive measures are constantly implemented to prevent the number of security incidents, an <strong>incident-handling capability</strong> is still important for any organization that cannot afford to compromise its confidentiality, integrity, and availability.</p><p><strong>Event </strong>— It is an action occurring in a system or network. E.g.- A user logging into a system, A user clicking on a link.</p><p><strong>Incident </strong>— It is an event with a negative impact causing compromise of confidentiality, integrity, and availability. It can also occur due to natural disasters, power outages, etc. E.g. — Multiple failed login attempts, and unauthorized access to sensitive data.</p><p>All incidents are events but not vice versa.</p><h3>Importance of Incident Handling Team -</h3><ul><li>Security incidents involve the compromise of personal and business data, it is crucial to respond quickly and effectively.</li><li>The benefit of having an incident-handling team is they handle and respond systematically to minimize the theft of information or the disruption of services that the incident is causing.</li><li>The incident-handling team is led by an incident manager.</li></ul><h3>Cyber Kill Chain</h3><p>It is important to understand the attack lifecycle. This lifecycle describes from how an attacker gets into a network to the actions he takes. These stages help organizations understand and defend against cyber threats.</p><p><strong>It consists of 7 different stages -</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7LZu-8Kpzuh04VJKC7lTsg.png" /></figure><ol><li><strong>Reconnaissance </strong>— The attacker gathers ****information about the target to identify vulnerabilities and plan the attack.</li></ol><ul><li><strong>Passive Recon</strong> — Gathering information without directly interacting with the target system from web sources or social media.</li><li><strong>Active Recon </strong>— Gathering information by actively probing the target, which includes sending packets to the target and analyzing the responses, port scanning, and vulnerability scanning. It can sometimes alert the target.</li></ul><p><strong>2. Weaponization </strong>— Malware is to be used for initial access, Malicious tools or payloads are created to exploit the identified vulnerabilities.</p><p><strong>3. Delivery </strong>— The weaponized payload is delivered to the target system, often through phishing emails that contain malicious attachments or links like hosting a malicious payload on the webpage or mimicking the legitimate website.</p><p><strong>4. Exploitation </strong>— The payload is executed on the target system, exploiting the vulnerabilities to gain access or control.</p><p><strong>5. Installation </strong>— The attacker installs malware or establishes a foothold in the target in the target system to maintain access. Installs backdoors and rootkits.</p><ul><li><strong>Command and Control (C2) — T</strong>he attacker establishes communication channels with the compromised system to control it remotely. Attackers use various techniques to communicate with the compromised systems</li><li><strong>Command and Control servers</strong> — Attackers use C2 servers to send commands to compromise systems, receive data, and update malware. These act as a centralized control point for attackers.</li><li><strong>Domain generation ALgorithms (DGAs)</strong> — attackers use DGA to dynamically generate domains that can be used to communicate with compromised systems.</li><li><strong>Peer-to-Peer Communication (P2P)</strong> — It is a decentralized form of communication without the need for a central server.</li></ul><p><strong>6. Action </strong>— It is the objective of the attack, it can be data exfiltrating confidential data, or privileged access, or ransomware.</p><h3>Incident Handling Process Overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*Eb_p7w0uQgW-CmdG7p0Elg.png" /></figure><p><strong>Incident Handling process </strong>— It defines a capability for organizations to prepare, detect, and respond to incidents. The NIST incident handling process has 4 different stages -</p><ul><li><strong>Preparation</strong>, <strong>Detection &amp; Analysis</strong> are important, incident handlers spend most of their time.</li><li>It is a cyclic process, if new evidence is discovered, the next steps may change as well.</li></ul><h3>NIST Incident Handling Process</h3><ol><li><strong>Preparation stage 1</strong> — It is the establishment of incident handling capability within the organization.</li></ol><ul><li>Skilled incident handling team</li><li>Trained workforce</li><li>Clear policies and documentation -</li><li>Contact information and roles of incident handling team members</li><li>Contact information of compliance team, IT support, management team, ISP, etc.</li><li>Incident response policy, plan, and procedures</li><li>Network diagrams</li><li>Documentation</li><li>User accounts with excessive privileges can be used on-demand by the team when necessary.</li><li>Investigative cheat sheets</li><li>Tools (Software &amp; Hardware)</li></ul><p><strong>2. Preparation stage 2</strong> — The ability to protect against and prevent IT security incidents by implementing appropriate protective measures.</p><ul><li>DMARC — Email security</li><li>EDR tools</li><li>Network Protection -IDS/IPS, Network segmentation.</li><li>MFA</li><li>Vulnerability scanning</li><li>Awareness training</li><li>Purple Team Exercises</li></ul><p><strong>3. Detection and Analysis 1</strong> — It involves all aspects of detecting an incident, such as utilizing sensors, logs, and trained personnel.</p><p><strong>Detection can come from</strong></p><ul><li>An employee who notices abnormal behavior</li><li>An alert from tools like EDR, IDS/IPS, Firewall, SIEM</li><li>Threat hunting activities</li><li>Third-party notification</li></ul><p><strong>Levels of detection</strong></p><ul><li>At network perimeter — Using firewalls, NIDS/NIPS, DMZs</li><li>Internal network — internal firewalls, HIDS/HIPS</li><li>Endpoint — Antivirus, EDR</li><li>Application level — Application logs, service logs</li></ul><p><strong>Initial Investigation</strong> — We should conduct some initial investigation and establish a context before communicating with the team.</p><ul><li>Date/Time when incident reported, who detected and who reported</li><li>How was the incident detected</li><li>what is the incident? like is it phishing, DDoS,…..?</li><li>List of impacted systems</li><li>Physical location, IP addresses, hostnames, system owner, and current state of the system</li><li>if malware is there, the type of malware.</li><li>With the initial gathered information, we can start building an incident timeline.</li></ul><p><strong>Incident Severity and Extent questions</strong> -</p><ul><li>What is the exploitation impact?</li><li>How many systems have been impacted?</li><li>Does this exploit have any worm-like capabilities?</li><li>Are any critical systems affected by the incident?</li><li><strong>High-impact i</strong>ncidents will be handed first</li></ul><p><strong>4. Detection and Analysis 2</strong>- Incident handling team members need deep technical knowledge and experience in the field to analyze incident-related data properly. We need to know how an incident happened or what was impacted, then we can plan remediation to ensure that this attack path cannot be replicated.</p><p><strong>Investigation -</strong></p><ul><li>Creation and usage of indicators of compromise (IOC)</li><li>Identification of new leads and impacted systems</li><li>data collection and analysis from new leads and impacted systems</li></ul><p>The incident handling team should bring <strong>new leads constantly</strong> and not go solely after a specific finding. Or else will get limited findings, premature conclusions, and an incomplete understanding of the overall impact.</p><p><strong>Creation and Usage of IOCs</strong></p><ul><li>IOC is a sign that an incident has occurred.</li><li>Yara is used for documenting in a standard manner.</li></ul><p><strong>Identification of New leads and Impacted systems</strong></p><ul><li>After creating IOCs, we might have some signs in other systems with the same sign of compromise.</li><li>Identify and eliminate false positives</li><li>We need to prioritize when have a large number of similar incidents.</li></ul><p><strong>Data Collection and analysis from new leads and impacted systems</strong> -</p><ul><li>Once we have identified systems that include our IOCs, we will collect and preserve the state of those systems for further analysis to uncover new leads.</li><li>Once the data has been collected, it is time to analyze it. Malware analysis, Memory forensics, and disk forensics are the most common examination types.</li><li>Any newly discovered and validated leads are added to the timeline, which is constantly updated.</li></ul><p><strong>5. Containment, Eradication, and recovery stage</strong> — Once we understand the type of incident and impact, now we contain the systems to prevent incidents from causing more damage.</p><p><strong>Containment </strong>— we need to coordinate and execute the containment actions across the systems simultaneously. Or else the attacker might be able to know that we are after him and might change their techniques and tools to persist in the environment.</p><ul><li>Long-term containment — Permanent solutions to prevent similar incidents. Include changing user passwords, applying a firewall rule, applying a system patch, and updating security policies.</li><li>Short-term containment — Implemented quickly to immediately stop or limit the impact. Include isolating affected systems, blocking malicious traffic, or shutting down compromised services.</li></ul><p><strong>Eradication</strong> — Eradicate the threat. It is to eliminate the root cause of the incident and what is left of it to ensure that the adversary is out of the systems and network.</p><p>We may extend the previously performed containment activities by applying additional patches, which were not immediately required. Additional system hardening activities are often performed during the eradication stage.</p><p><strong>Recovery</strong> — we bring systems back to normal operation, these will be subject to heavy logging and monitoring, as compromised systems tend to be targeted again if the adversary regains access to the environment in a short period.</p><p><strong>6. Post-incident Activity</strong> — Document the incident and improve our capabilities based on lessons. it allows reflecting on the threat by understanding <strong>what occurred, what we did, and how our actions and activities worked out.</strong></p><p><strong>Reporting</strong> -</p><ul><li>What happened and when?</li><li>Performance of the team dealing with the incident with plan, playbooks, and procedures.</li><li>What actions have been implemented to contain and eradicate the incident?</li><li>what preventive measures should be put to prevent similar incidents?</li><li>what tools and resources are used to detect and analyze?</li></ul><p>This stage is a great place to train new team members by showing them how the incident was handled by the team. If necessary the team should also evaluate whether updating plans, playbooks, policies, and procedures</p><p><strong>References</strong> -</p><ol><li>Hack The Box — Academy</li><li>Try Hack Me</li><li>Lets Defend</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=864b38421070" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>