<?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 Noble W. Antwi on Medium]]></title>
        <description><![CDATA[Stories by Noble W. Antwi on Medium]]></description>
        <link>https://medium.com/@noble-antwi?source=rss-5a223e7f552c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rAusqwtCFzJ86ACFkostwA.jpeg</url>
            <title>Stories by Noble W. Antwi on Medium</title>
            <link>https://medium.com/@noble-antwi?source=rss-5a223e7f552c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:08:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@noble-antwi/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 Cloud Security is No Longer Optional for Growing Businesses]]></title>
            <link>https://aws.plainenglish.io/why-cloud-security-is-no-longer-optional-for-growing-businesses-812f04a708cb?source=rss-5a223e7f552c------2</link>
            <guid isPermaLink="false">https://medium.com/p/812f04a708cb</guid>
            <dc:creator><![CDATA[Noble W. Antwi]]></dc:creator>
            <pubDate>Tue, 08 Jul 2025 22:01:15 GMT</pubDate>
            <atom:updated>2025-07-28T01:09:23.508Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XhvFUjqZLKKVFtHlhLuHbw.png" /><figcaption>Cloud Security Risks: Misconfigurations and Human Error</figcaption></figure><p>Cloud computing has fundamentally reshaped how businesses operate. By providing virtually unlimited scalability, cost efficiency, and operational agility, it has empowered organizations of all sizes to innovate faster and serve customers better.</p><p>However, the very attributes that make the cloud attractive: its accessibility and ease of deployment, also make it prone to missteps. Without deliberate and disciplined security practices, cloud environments can quickly become vulnerable.</p><p>According to a 2023 analysis by the Cloud Security Alliance (CSA), citing Gartner research, misconfiguration-related issues continue to account for 80% of data security breaches, and human error is expected to cause up to 99% of cloud environment failures in 2025(<a href="https://cloudsecurityalliance.org/blog/2023/08/14/managing-cloud-misconfigurations-risks/">CSA, 2023</a>).</p><p>These figures are a stark reminder: cloud security is no longer a mere technical detail to be handled by IT teams in isolation, it is a strategic imperative that every business leader must prioritize.</p><h3>The Business Case for Proactive Cloud Security</h3><p>Cloud security today is not just about protecting systems — it is about protecting trust, ensuring compliance, and sustaining business continuity.</p><h4>1. Protecting Customer Trust</h4><p>Customers entrust businesses with their personal, financial, and health information. In an era where data is the most valuable commodity, breaches can have devastating consequences for customer relationships and brand reputation. Even a single incident of unauthorized access can erode years of trust.</p><h4>2. Ensuring Regulatory Compliance</h4><p>Governments and regulatory bodies worldwide have enacted strict data privacy and security laws, such as the European Union’s GDPR, the United States’ HIPAA for healthcare data, and California’s CCPA. Non-compliance, even due to a simple cloud misconfiguration, can result in substantial fines, lawsuits, and even criminal liability.</p><h4>3. Maintaining Business Continuity</h4><p>Cloud disruptions caused by poor security practices can halt critical business operations. Whether it’s a ransomware attack or a misconfigured storage bucket exposed to the internet, the impact can include financial losses, downtime, and permanent data loss.</p><p>Proactive cloud security, therefore, is no longer optional. It is a foundational pillar of any forward-thinking organization’s success strategy.</p><h3>Practical Steps to Strengthen Your Cloud Security Posture</h3><p>Having worked in cloud deployments and cybersecurity in both emerging and advanced economies, I have seen firsthand that security is not just a matter of budget; it is primarily a matter of awareness and discipline. Here are three actionable steps any business can take today:</p><h4>1. Implement Robust Identity and Access Management (IAM)</h4><p>In cloud environments, identity is the new perimeter. Unauthorized access remains one of the leading causes of breaches. Effective Identity and Access Management (IAM) ensures that only authorized individuals and systems can access the right resources and nothing more.</p><h4>Best practices for IAM include:</h4><ul><li>Adopting the <strong>Principle of Least Privilege (PoLP):</strong> Only grant users and applications the minimum permissions required to perform their tasks.</li><li>Enabling <strong>Multi-Factor Authentication (MFA):</strong> A simple yet powerful control to prevent account takeovers even if passwords are compromised.</li><li>Regularly auditing user accounts and permissions to eliminate orphaned or excessive privileges.</li><li>Using role-based access control (RBAC) instead of individual permissions, to simplify and standardize access governance.</li></ul><p>All major cloud platforms, including AWS IAM, Azure Entra ID, and Google Cloud IAM, offer comprehensive IAM features. Yet, their effectiveness depends on how diligently they are implemented and maintained.</p><h4>2.⃣ Monitor, Audit, and Automate Security Operations</h4><p>One of the biggest misconceptions about the cloud is that the provider is fully responsible for security. In reality, cloud security is a <strong>shared responsibility</strong> — providers secure the infrastructure, but customers are responsible for securing what they deploy on it.</p><p><strong>Why monitoring and automation matter:</strong></p><p>Human error is inevitable, but continuous monitoring and automated checks can catch and correct missteps before they escalate. Organizations should enable and regularly review logs using native tools such as AWS CloudTrail, Amazon CloudWatch, and AWS Config for AWS; Azure Monitor, Activity Logs, and Microsoft Defender for Cloud for Azure; and Google Cloud Audit Logs, Cloud Monitoring, and Security Command Center for GCP. For more advanced visibility and analytics, consider integrating with third-party platforms like Splunk, Grafana, IBM QRadar, Microsoft Sentinel, Prisma Cloud, Datadog, etc, which offer centralized monitoring, correlation, and threat detection across multi-cloud environments. Automation is not a luxury. It reduces operational overhead, enhances accuracy, and frees up teams to focus on strategic issues rather than reactive firefighting.</p><h4>3. Align With Industry Best Practices and Evolve Continuously</h4><p>Cloud security is not static. Both threats and defenses evolve rapidly, requiring businesses to stay informed and adaptive. Aligning with well-established frameworks ensures your strategy remains effective as technology and risks change.</p><h4>Key frameworks and practices to follow:</h4><ul><li><strong>Zero Trust Architecture:</strong> Assume no implicit trust within your network and validate every access request.</li><li><strong>CIS Controls:</strong> A prioritized set of actions that form a solid baseline for cloud security.</li><li>Guidance from bodies like the <strong>Cloud Security Alliance (CSA)</strong> and the <strong>National Institute of Standards and Technology (NIST)</strong>.</li></ul><p>Equally important is cultivating a <strong>security-aware culture</strong> within the organization. Regularly train technical teams on the latest practices, and educate all employees about the role they play in safeguarding data.</p><h3>Turning Security Into a Competitive Advantage</h3><p>Far from being just a defensive necessity, strong cloud security can differentiate a business in the marketplace. Organizations that demonstrate robust security practices gain the confidence of customers, partners, and regulators alike.</p><p>In industries such as finance, healthcare, and e-commerce, a secure cloud environment can open new opportunities, from government contracts to certifications and partnerships that would otherwise remain out of reach.</p><p>Ultimately, secure cloud practices are not just about protecting what you have; they’re about unlocking the full potential of what you can achieve.</p><h3>Final Thoughts</h3><p>Cloud computing has leveled the playing field for businesses of all sizes, but it has also raised the stakes. The same agility that makes the cloud transformative also means mistakes can spread faster and farther than ever before.</p><p>Implementing robust identity and access controls, monitoring and automating security operations, and staying aligned with best practices, organizations can transform the cloud from a source of risk into a platform of trust and innovation.</p><p>In today’s digital economy, cloud security is not just about keeping the lights on — it is about keeping the doors open to growth, opportunity, and resilience.</p><p>If you’d like to exchange ideas or discuss strategies for building secure, scalable cloud environments, feel free to connect — I am always open to meaningful discussions that help advance our collective knowledge.</p><p><em>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</em></p><p><em>Written by Noble Antwi — Cloud Engineer and Graduate Student in Cybersecurity &amp; Forensics at Illinois Institute of Technology. Passionate about helping businesses secure their digital transformation while empowering teams to embrace innovation with confidence.</em></p><p>#CloudSecurity #Cybersecurity #DevSecOps #CloudComputing #IAM #ZeroTrust #DataProtection #RiskManagement #DigitalTransformation #CloudStrategy #InfoSec</p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏️<strong>️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/@InPlainEnglish"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a> | <a href="https://twitch.tv/inplainenglish"><strong>Twitch</strong></a></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=812f04a708cb" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/why-cloud-security-is-no-longer-optional-for-growing-businesses-812f04a708cb">Why Cloud Security is No Longer Optional for Growing Businesses</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Service Control Policies (SCPs) to Restrict AWS Account Access: A Hands-On Guide]]></title>
            <link>https://aws.plainenglish.io/using-service-control-policies-scps-to-restrict-aws-account-access-a-hands-on-guide-f818be31c88f?source=rss-5a223e7f552c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f818be31c88f</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[iam-policy]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[iac]]></category>
            <dc:creator><![CDATA[Noble W. Antwi]]></dc:creator>
            <pubDate>Wed, 16 Apr 2025 04:12:30 GMT</pubDate>
            <atom:updated>2025-07-28T01:09:29.045Z</atom:updated>
            <content:encoded><![CDATA[<p>Amazon Web Services (AWS) provides a powerful feature set for managing multiple accounts through <strong>AWS Organizations</strong>. One key capability is the ability to control service permissions using <strong>Service Control Policies (SCPs)</strong>. In this walkthrough, I will guide you through how to apply SCPs to restrict access to specific AWS services, using a real-world example from my own AWS setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hiz2kN1xOPsT0yyaYt43PA.png" /></figure><h3>Introduction to AWS Organizations</h3><p>AWS Organizations helps you <strong>centrally manage and govern your environment</strong> as you grow and scale your AWS resources. It allows you to group AWS accounts into organizational units (OUs), manage permissions with SCPs, and apply consolidated billing. At the top of the structure is the <strong>root</strong>, under which you can create OUs and nest accounts accordingly.</p><p>In my current configuration, I manage three AWS accounts:</p><ul><li><strong>Management Account</strong></li><li><strong>Development Account</strong></li><li><strong>Production Account</strong></li></ul><p>Initially, all three accounts were organized under the <strong>Root container</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vigqh5lHhebKMPVJWN3C7w.png" /><figcaption>Accounts Under Root OU</figcaption></figure><p>To improve structure and enforce policies at scale, I decided to separate the accounts using <strong>Organizational Units</strong>.</p><h3>Creating Organizational Units (OUs)</h3><p>To establish a hierarchical model, I created two new OUs:</p><ul><li><strong>DEV</strong> (for the Development account)</li><li><strong>PROD</strong> (for the Production account)</li></ul><p>To do this:</p><ol><li>I selected the <strong>Root OU</strong> using the checkbox.</li><li>Clicked <strong>Actions &gt; Create new OU</strong>.</li><li>Named the first OU PROD and the second DEV.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*36Ek6zy0bW7HPe4EXdbzGQ.png" /><figcaption>Two OU Created</figcaption></figure><p>The resulting structure now includes two distinct OUs under the root.</p><h3>Moving Accounts to OUs</h3><p>Next, I moved each account into its corresponding OU:</p><ol><li>Selected each account by checkbox.</li><li>Used the <strong>Action &gt; Move</strong> menu to select the destination OU.</li></ol><p>This effectively moved the <strong>Production Account</strong> into PROD OU and the <strong>Development Account</strong> into DEV OU, while the <strong>Management Account</strong> remained under the root.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5f-qcmR74uNVSfwezqpO3A.png" /><figcaption>Accounts Moved into OU</figcaption></figure><h3>Testing S3 Access from the PROD Account</h3><p>To test SCP restrictions later, I needed a baseline. I switched roles from the Management account to the <strong>PROD account</strong> and attempted to access <strong>Amazon S3</strong>.</p><p>Using the S3 console:</p><ul><li>I created a bucket called catpics12345-20.</li><li>Uploaded an image to test full access.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BHCzqouTD8Vc0Hz6_wrrRA.png" /><figcaption>Switching Role</figcaption></figure><p>Since I had assumed the role into the PROD account and no SCPs were applied yet, full S3 access was available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u6pgSCgD25YLoMvFA0152w.png" /><figcaption>Object Uploaded</figcaption></figure><h3>Enabling and Creating a Service Control Policy (SCP)</h3><p>I returned to the <strong>Management Account</strong>, opened <strong>AWS Organizations</strong>, and navigated to <strong>Policies</strong> to enable Service Control Policies.</p><p>Next, I created a new SCP with the following policy document:</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: &quot;*&quot;,<br>            &quot;Resource&quot;: &quot;*&quot;<br>        },<br>        {<br>            &quot;Effect&quot;: &quot;Deny&quot;,<br>            &quot;Action&quot;: &quot;s3:*&quot;,<br>            &quot;Resource&quot;: &quot;*&quot;<br>        }<br>    ]<br>}</pre><p>This policy grants full access to all AWS services <strong>except</strong> Amazon S3. In SCPs, the <strong>Deny statements always override</strong> any Allow statements, making this policy highly effective.</p><p>I named the policy: <strong>Allow All Except S3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XXXjmfPgPMwdhayDoM3Chg.png" /><figcaption>Policy Created</figcaption></figure><h3>Applying the SCP to the PROD OU</h3><p>To enforce the policy, I:</p><ol><li>Selected the <strong>PROD OU</strong> from AWS Organizations.</li><li>Went to the <strong>Policies</strong> tab.</li><li>Attached the Allow All Except S3 policy.</li></ol><p>At this point, all accounts under the PROD OU — including the Production Account — inherit this SCP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I--IpXT_mTo9dJ30h3-KYA.png" /><figcaption>Policy Application to PROD Account</figcaption></figure><h3>Verifying the Policy Impact</h3><p>Switching back to the Production account again and trying to access <strong>Amazon S3</strong>, I encountered <strong>access denied errors</strong>. This verified that the SCP was working correctly:</p><ul><li>Full access was maintained to other AWS services.</li><li>S3 actions such as listing buckets, uploading, or viewing objects were blocked.</li></ul><p>Kindly use the Link to watch the SCP InAction</p><p><a href="https://youtu.be/VV_2nkBTPh4">https://youtu.be/VV_2nkBTPh4</a></p><h3>Conclusion</h3><p>By implementing Service Control Policies, you can enforce powerful guardrails within your AWS Organization. In this project, I demonstrated:</p><ul><li>Creating and organizing accounts into OUs</li><li>Creating a custom SCP to deny access to S3</li><li>Applying the SCP to restrict actions for specific accounts</li><li>Testing the results to verify policy enforcement</li></ul><p>SCPs are especially useful in enterprise environments where <strong>least privilege access</strong>, <strong>compliance</strong>, and <strong>operational governance</strong> are top priorities.</p><p>If you’re building secure AWS environments at scale, learning to wield SCPs effectively is essential.</p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏️<strong>️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/@InPlainEnglish"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a> | <a href="https://twitch.tv/inplainenglish"><strong>Twitch</strong></a></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f818be31c88f" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/using-service-control-policies-scps-to-restrict-aws-account-access-a-hands-on-guide-f818be31c88f">Using Service Control Policies (SCPs) to Restrict AWS Account Access: A Hands-On Guide</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an AWS Multi-Account Structure with AWS Organizations — Hands-On Guide]]></title>
            <link>https://medium.com/@noble-antwi/building-an-aws-multi-account-structure-with-aws-organizations-hands-on-guide-e09a0f0d2bf6?source=rss-5a223e7f552c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e09a0f0d2bf6</guid>
            <category><![CDATA[aws-organizations]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Noble W. Antwi]]></dc:creator>
            <pubDate>Tue, 15 Apr 2025 04:00:01 GMT</pubDate>
            <atom:updated>2026-01-06T08:10:16.000Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building an AWS Multi-Account Structure with AWS Organizations : Hands-On Guide</h3><p>In this hands-on lab, I walk through the practical steps I took to implement an AWS Organization setup for managing multiple AWS accounts under a single management plane.</p><p>This setup is essential for companies adopting best practices around account separation — typically by environment — such as Production, Development, and Testing accounts.</p><h3>AWS Organizations Architecture — Visual Overview</h3><p>To provide a clearer view of the structure I have built using AWS Organizations, the diagram below visualizes the architecture of this multi-account setup.</p><p>The architecture illustrates a Management Account (qerbros-management) centrally managing two member accounts:</p><ul><li>qerbros-prod (Production Account)</li><li>qerbros-development (Development Account)</li></ul><p>Both member accounts have been configured with the standard OrganizationAccountAccessRole role, allowing secure role switching from the Management Account for administrative tasks.</p><p>This setup aligns with AWS best practices for environment isolation, security boundaries, and account governance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cDnSvOlb5Izf2zSMSMBZlQ.png" /><figcaption>Architectual Implementation</figcaption></figure><h3>Step 1: Logging into the Management Account</h3><p>To begin, I logged into my primary AWS account, named qerbros-management, with MFA enabled for security.</p><p>Once authenticated, I navigated to the <em>AWS Organizations</em> service and created a new Organization. This action automatically converts my standard AWS account into the <em>Management Account</em> (previously known as the Master Account).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iKIl4T8J8hfn4CXMcAEpJw.png" /><figcaption>qerbros-managment account</figcaption></figure><h3>Step 2: Adding an Existing AWS Account (Production Account)</h3><p>In a separate browser, I logged into another AWS account I had created earlier — qerbros-prod — using its admin credentials.</p><p>To bring this account under my new AWS Organization, I went back into the Management Account and sent an <em>invite</em> to qerbros-prod using its AWS Account ID.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U-U9SfTLufUNP_dfHhX6-A.png" /><figcaption>Sending An Invitation</figcaption></figure><p>Once the invitation was sent, I switched to the qerbros-prod account and accepted the invitation from within the AWS Organizations console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fzFla-gLqkjFtEAd_c2_Tw.png" /><figcaption>Accepting an Invite</figcaption></figure><h3>Step 3: Setting Up Cross-Account Role for Access</h3><p>It’s important to note that when an account is invited into an Organization (instead of being created within it), AWS does not automatically create the role needed for switching between accounts.</p><p>Therefore, in the qerbros-prod account, I navigated to the <em>IAM Console</em> and created a new role:</p><ul><li>Trusted Entity: <em>Another AWS Account</em></li><li>Account ID: The Management Account ID</li><li>Permissions: <em>AdministratorAccess</em></li><li>Role Name: OrganizationAccountAccessRole (AWS Recommended Standard Name)</li></ul><p>This role defines a <em>Trust Relationship</em> allowing the Management Account to assume it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YggfsoaHCJxaNpW8cB3jcg.png" /><figcaption>Trust Relationship</figcaption></figure><h3>Step 4: Switching Roles from Management to Production Account</h3><p>After setting up the role, I switched back to the qerbros-management account.</p><p>Using the <em>Switch Role</em> feature in the AWS Console, I provided:</p><ul><li>The Account ID of qerbros-prod</li><li>The Role Name: OrganizationAccountAccessRole</li><li>Display Name: Prod (with a red color badge for easy identification)</li></ul><p>This allowed me to pivot seamlessly into the Production Account from the Management Account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HxqWPJED0D5v87QOlcjtUA.png" /><figcaption>Switching Role</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ilPi3rULRiDXF1BkYamy8A.png" /><figcaption>Role Switched</figcaption></figure><h3>Step 5: Creating a New Development Account within the Organization</h3><p>Next, I created a new AWS Account directly from the Organization Console — this time for development purposes.</p><p>AWS handles the heavy lifting of provisioning this account and automatically sets up the necessary role for role switching.</p><ul><li>Account Name: qerbros-development</li><li>Account Email: nobleantwi9+development@gmail.com</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QD6KLKvZzg4oM2PClZcezQ.png" /><figcaption>Creating A New Account</figcaption></figure><p>Once provisioned, I added the Development account to my AWS Console switch role history with a yellow badge for easy context switching.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*JBzqspvUNQluQ5KZg8sMog.png" /><figcaption>DEV and PROD Roles</figcaption></figure><h3>Final Architecture Overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DIRtTmtD0dPnGIvRonpZkQ.png" /></figure><h3>Conclusion</h3><p>AWS Organizations provides a powerful and scalable way to manage multiple AWS accounts, enforce governance, and apply security controls across environments.</p><p>By separating accounts based on environments (Management, Production, Development), organizations benefit from:</p><ul><li>Strong isolation boundaries</li><li>Simplified billing &amp; consolidated management</li><li>Centralized security &amp; role switching</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e09a0f0d2bf6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GuardDuty -Runtime Monitoring for EC2: A Hands-on Guide with Troubleshooting]]></title>
            <link>https://medium.com/@noble-antwi/guardduty-runtime-monitoring-for-ec2-a-hands-on-guide-with-troubleshooting-3d4976cb4158?source=rss-5a223e7f552c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d4976cb4158</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Noble W. Antwi]]></dc:creator>
            <pubDate>Thu, 27 Feb 2025 06:55:21 GMT</pubDate>
            <atom:updated>2025-02-27T06:55:21.073Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Introduction</strong></h3><p>Security is a top priority when managing cloud environments, and <strong>Amazon GuardDuty Runtime Monitoring</strong> plays a crucial role in providing <strong>real-time threat detection</strong> at the instance level. By continuously monitoring runtime activity such as <strong>file access, process execution, and network connections</strong>, GuardDuty helps identify potential security risks before they escalate.</p><p>In this project, I implemented <strong>GuardDuty Runtime Monitoring for EC2</strong>, ensuring that instances were properly configured, troubleshooting unhealthy instances, and optimizing security settings to achieve <strong>full coverage</strong>. Rather than simply following a checklist, I took a <strong>methodical approach</strong> to fully understand the nuances of how GuardDuty interacts with EC2 and AWS Systems Manager.</p><p>This guide goes beyond just <strong>enabling GuardDuty</strong> — it serves as a <strong>practical hands-on reference</strong> for anyone looking to gain deeper insights into <strong>troubleshooting GuardDuty runtime monitoring issues</strong>. Whether you are enabling this feature for the first time or refining an existing setup, this step-by-step breakdown will help ensure your EC2 instances are effectively monitored and secured.</p><h4>Enabling GuardDuty Runtime Monitoring for EC2</h4><p>Amazon GuardDuty’s <strong>Runtime Monitoring</strong> introduces an advanced layer of security by capturing <strong>real-time runtime activities</strong> within EC2 instances. Traditional GuardDuty monitoring primarily relies on analyzing logs from <strong>AWS CloudTrail, VPC Flow Logs, and Route 53 DNS queries</strong>, but these sources focus on network and API-level events. GuardDuty’s <strong>Runtime Monitoring</strong> extends AWS security capabilities by providing <strong>real-time visibility</strong> into activities occurring within EC2 instances. Unlike traditional GuardDuty monitoring, which focuses on analyzing logs from AWS services, runtime monitoring operates at the <strong>process level</strong>, detecting <strong>suspicious file access, network activity, and privilege escalation attempts</strong> directly within instances. This deeper level of insight allows for more precise detection of threats that could otherwise go unnoticed by log-based security mechanisms.</p><p>To activate <strong>GuardDuty Runtime Monitoring</strong>, the process begins within the <strong>Amazon GuardDuty Console</strong>. The <strong>Runtime Monitoring</strong> section contains the necessary configuration settings. Once inside, enabling runtime monitoring is a straightforward process. The console provides a clear <strong>Enable</strong> button — at this stage, the only selectable option — indicating that <strong>runtime event collection has not yet been activated</strong> for the account. Clicking <strong>Enable</strong> triggers AWS to <strong>provision the necessary backend infrastructure</strong>, allowing GuardDuty to start monitoring runtime activity across eligible EC2 instances. A confirmation prompt follows to ensure that the feature is being intentionally enabled. Once confirmed, GuardDuty immediately <strong>begins scanning for EC2 instances</strong> that meet the prerequisites for monitoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OaOROGCrrQKgym8rY8j26A.png" /><figcaption>Enabling Runtime Monitoring and Automated Agent Configuration for EC2</figcaption></figure><p>Runtime monitoring relies on a <strong>security agent</strong> to collect and transmit runtime activity data from instances. To ensure comprehensive coverage without requiring manual intervention, AWS offers an <strong>Automated Agent Configuration</strong> setting. By enabling this option, GuardDuty is given the <strong>permission to automatically deploy and update the security agent</strong> across all supported EC2 instances in the account. This eliminates the need for manual installations, reducing <strong>administrative overhead</strong> and ensuring that every instance remains <strong>continuously protected</strong> with the latest updates.</p><p>Within the <strong>Automated Agent Configuration</strong> section, enabling the setting for <strong>Amazon EC2</strong> allows GuardDuty to begin deploying the security agent where required. Once this option is enabled and confirmed, AWS <strong>automatically installs and maintains the security agent</strong> on all EC2 instances that qualify for monitoring. The same automation can be extended to <strong>Amazon EKS and AWS Fargate.</strong></p><p>Once runtime monitoring is enabled and the <strong>automated agent deployment is in place</strong>, it becomes necessary to confirm that EC2 instances are <strong>successfully receiving the security agent and reporting runtime data</strong>. The <strong>Runtime Coverage</strong> tab in the GuardDuty console provides a <strong>real-time overview of monitored instances</strong>. By navigating to the <strong>EC2 Instance Runtime Coverage</strong> section, the system displays the status of instances as they <strong>transition to being actively monitored</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8A4yFtqhwzOpMtBwLOnZkA.png" /><figcaption>Runtime EC2 Coverage Few Minutes after Enabling it</figcaption></figure><p>Typically, within <strong>five minutes</strong>, EC2 instances that meet the prerequisites begin appearing in the coverage list with a <strong>“Healthy”</strong> status. However, instances that were already configured before enabling runtime monitoring may take slightly longer — <strong>up to ten minutes</strong> — to reflect their status accurately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4CMh1fcj4R4vGjuJ-SObWg.png" /><figcaption>Healthy Intances Detected</figcaption></figure><p>At this point, with runtime monitoring fully operational for several EC2 instances, the GuardDuty console allows for an initial assessment of <strong>whether security findings are being generated</strong>. The <strong>Findings</strong> page provides a central location where detected threats and anomalies are displayed. With the EC2 instances now appearing as <strong>Healthy</strong> in the <strong>Runtime Coverage</strong> section, GuardDuty has successfully started monitoring their runtime activities. As a result, it has begun <strong>generating runtime security events</strong> for these instances. These findings, which can be viewed in the <strong>Findings</strong> page of the GuardDuty console, are specifically tagged with <strong>“Runtime”</strong> in their titles. This confirms that GuardDuty is actively analyzing and detecting <strong>potential threats</strong> based on the real-time behavior of the monitored instances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GKdvkryP3o1Z47nK00O5MA.png" /><figcaption>Security Event Findings.</figcaption></figure><h4>Identifying and Troubleshooting Unhealthy EC2 Instances in GuardDuty Runtime Monitoring</h4><p>With GuardDuty Runtime Monitoring now actively generating <strong>runtime events</strong> for the <strong>EC2 instances marked as Healthy</strong>, it becomes evident that not all instances in the environment have been successfully configured. Some EC2 instances are still appearing as <strong>Unhealthy</strong>, which indicates that GuardDuty has encountered issues preventing it from properly monitoring these instances.</p><p>To address this, the next steps will focus on <strong>identifying and troubleshooting the causes</strong> of these <strong>unhealthy</strong> instances. The <strong>Runtime Coverage</strong> section in GuardDuty provides visibility into the affected instances, highlighting specific errors that might be preventing the security agent from functioning as expected. Investigating these instances further in the <strong>EC2 Console</strong> allows for a more detailed examination of their configuration and potential misconfigurations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gLBOjBnPbO0rAkSntaacEA.png" /><figcaption>One of the Unhealthy instances to be Troubleshooted</figcaption></figure><p>For example, in this case, an instance named <strong>“MaliciousEC2WithoutRT”</strong> was found to be improperly configured. A deeper review of this instance in the <strong>EC2 Console</strong> reveals several possible reasons why runtime monitoring is failing. One of the key factors influencing this issue is how <strong>automated agent configuration</strong> is managed in the account.</p><p>When automated agent configuration is enabled, <strong>GuardDuty manages the security agent installation and updates</strong> for all eligible instances. However, specific <strong>tag configurations</strong> may override this behaviour. If an instance has an <strong>inclusion tag (GuardDutyManaged: true)</strong>, it explicitly tells GuardDuty to install and manage the agent, even if automation is disabled. On the other hand, an <strong>exclusion tag (GuardDutyManaged: false)</strong> prevents GuardDuty from managing the agent for that instance, which could result in it being displayed as <strong>Unhealthy</strong> in the <strong>Runtime Coverage</strong> tab.</p><p>Another important factor in troubleshooting <strong>unhealthy instances</strong> is the network and security group configurations. GuardDuty automatically creates <strong>VPC endpoints</strong> to facilitate secure communication between monitored instances and AWS services. These endpoints are created in <strong>all VPCs containing Linux-based EC2 instances</strong>, ensuring that runtime event data can be transmitted securely. Alongside these endpoints, <strong>new security groups</strong> are added, with ingress rules tailored to match the VPC’s CIDR range. If these security configurations are modified or misconfigured, the instance may <strong>fail to communicate</strong> with GuardDuty, leading to an <strong>Unhealthy</strong> status.</p><p>To determine the root cause of an instance appearing <strong>Unhealthy</strong>, reviewing GuardDuty’s troubleshooting guide provides further insights. Several potential reasons for failure include:</p><ul><li>The <strong>SSM agent</strong> is either missing from the instance or is not running.</li><li>The instance’s <strong>security group settings</strong> prevent it from communicating with GuardDuty.</li><li>The IAM <strong>instance profile lacks the necessary permissions</strong> for GuardDuty to manage and monitor the security agent</li></ul><p>To <strong>accelerate troubleshooting</strong>, AWS provides an <strong>Automation Runbook</strong> in <strong>Systems Manager</strong>, named <strong>AWSSupport-TroubleshootManagedInstance</strong>, which can be executed to identify and resolve configuration issues. By selecting the affected instance (such as <strong>“MaliciousEC2WithoutRT”</strong>) in the <strong>Systems Manager Console</strong>, this automation runbook diagnoses whether the instance is properly managed by AWS Systems Manager. The process typically takes around <strong>five minutes</strong> to complete and provides clear output logs detailing any configuration errors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z6mk9iCqmc0vBf8U2ap4GQ.png" /><figcaption>AWSSupport-TroubleshootManagedInstance Automation Runned</figcaption></figure><p>After running the <strong>AWSSupport-TroubleshootManagedInstance</strong> automation runbook, the root cause of the issue with the <strong>unhealthy</strong> EC2 instance, <strong>MaliciousEC2WithoutRT</strong>, becomes evident. The execution output confirms the error:</p><p><em>“[ERROR] No permissions found attached to the EC2 instance profile”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RQtiEGwhDBuAzAAAzxuosw.png" /><figcaption>Error Identified After RUnning the AUtomation</figcaption></figure><p>This indicates that the instance <strong>lacks the necessary IAM permissions</strong> to communicate with <strong>AWS Systems Manager (SSM)</strong>, which is required for <strong>GuardDuty Runtime Monitoring</strong> to function correctly. Without these permissions, the instance remains <strong>unmanaged</strong> by SSM, preventing GuardDuty from deploying and managing the security agent.</p><p><strong>Identifying the Misconfigured IAM Role</strong></p><p>o address the issue, the <strong>IAM instance profile</strong> attached to the EC2 instance must first be identified. From the execution output, it is clear that the <strong>instance profile name</strong> follows a recognizable pattern, beginning with:</p><p>The exact role attached to the instance, as revealed in the output, is:</p><blockquote><strong><em>cfn-GuardDutyLabsInfrastr-InstanceRoleMisconfigured-6MK4F6NZGpSZ</em></strong></blockquote><p>Since this role does not have any <strong>attached permission policies</strong>, the EC2 instance does not have <strong>the required authorization</strong> to interact with <strong>AWS Systems Manager</strong>, leading to its <strong>Unhealthy</strong> status in GuardDuty’s Runtime Monitoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_wDJJ4xqFpYhQi2LGZoY6g.png" /></figure><p><strong>Restoring Proper IAM Permissions</strong></p><p>To fix the issue, the <strong>AmazonSSMManagedInstanceCore</strong> policy — an AWS-managed policy that provides EC2 instances with the necessary permissions to connect with Systems Manager — must be attached to the misconfigured IAM role.</p><p>Once inside the <strong>IAM Console</strong>, the next step involves attaching the <strong>AmazonSSMManagedInstanceCore</strong> policy to the misconfigured role. This AWS-managed policy grants the instance the ability to register with Systems Manager, allowing it to receive <strong>runtime monitoring configurations</strong> from GuardDuty.</p><p>Attaching the policy involves selecting <strong>Add Permissions</strong>, choosing <strong>Attach Policies</strong>, and searching for <strong>AmazonSSMManagedInstanceCore</strong>. Once the correct policy is selected, confirming the change results in a <strong>“Policy was successfully attached to role”</strong> banner appearing.</p><p>With this step completed, the EC2 instance now has the required <strong>IAM permissions</strong> to interact with <strong>AWS Systems Manager</strong>, setting the stage for it to transition from <strong>Unhealthy</strong> to <strong>Healthy</strong> within GuardDuty’s <strong>Runtime Coverage</strong> section. Further verification will be required to ensure that the instance successfully registers with Systems Manager and that <strong>GuardDuty can deploy the security agent</strong> as intended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LKAunLcP0e_ziHdszwjuBg.png" /><figcaption>Policy Attached to the Role</figcaption></figure><h4>Verifying and Restoring the EC2 Instance to a Healthy State</h4><p>With the <strong>IAM role misconfiguration resolved</strong> and the necessary <strong>AmazonSSMManagedInstanceCore</strong> policy attached, the next step is to verify whether the <strong>EC2 instance has transitioned from an “Unhealthy” to a “Healthy” state</strong> in <strong>GuardDuty Runtime Monitoring</strong>. While resolving the IAM issue was a critical fix, other underlying issues could still prevent the instance from being successfully monitored.</p><p>To <strong>speed up the process</strong>, the instance was <strong>restarted from the EC2 Console</strong>. After the reboot, the instance successfully registered under <strong>Fleet Manager</strong>, confirming that it was now being recognized as a <strong>managed node</strong> within Systems Manager. However, despite this progress, the <strong>GuardDuty Runtime Coverage tab</strong> continued to show the instance as <strong>Unhealthy</strong>, suggesting that the security agent had not yet been deployed as expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FPY4cZZT9AzkgnRdcaXGEA.png" /><figcaption>Instance Registered Under Fleet Manager</figcaption></figure><p>Since the expected automatic installation of the <strong>GuardDuty security agent</strong> did not occur, I proceeded with the <strong>manual execution</strong> of the <strong>AmazonGuardDuty-ConfigureRuntimeMonitoringSsmPlugin</strong> document within <strong>AWS Systems Manager</strong> to resolve the issue.</p><p>To manually trigger the security agent installation, the <strong>Run a Command</strong> page in <strong>Systems Manager</strong> was accessed. Searching for <strong>“AmazonGuardDuty-ConfigureRuntimeMonitoringSsmPlugin”</strong> brought up the required document, which was then selected. Within the <strong>Command Parameters</strong>, &quot;AmazonGuardDuty-RuntimeMonitoringSsmPlugin&quot; was specified as the value for <strong>Name</strong>, and under <strong>Target Selection</strong>, the affected EC2 instance (<strong>MaliciousInstanceWithoutRT</strong>) was manually chosen. All <strong>output options were left unchecked</strong>, and the command execution was initiated by clicking <strong>Run</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ILHGMC5ueg8fROe9FNdRNg.png" /><figcaption>AmazonGuardDuty-ConfigureRuntimeMonitoringSsmPlugin Run Command</figcaption></figure><p>The execution progress was monitored in real-time, and once the <strong>Overall Status</strong> displayed <strong>“Success”</strong>, the instance was re-evaluated in <strong>GuardDuty Runtime Coverage</strong>. This time, the instance had successfully transitioned to a <strong>Healthy</strong> status, confirming that <strong>GuardDuty Runtime Monitoring</strong> was now fully functional on the EC2 instance, completing the resolution process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uXW8V0IeYifvCC8HY9TtBw.png" /><figcaption>Instance Moved to a Healthy State</figcaption></figure><h4>Final Validation: Checking for Runtime Detections and Optimizing Instance Management</h4><p>With the <strong>EC2 instance now fully monitored</strong> under GuardDuty Runtime Monitoring and successfully reflecting a <strong>Healthy</strong> status, the next step was to confirm that it was actively <strong>detecting and reporting security events</strong>. Since runtime monitoring focuses on <strong>real-time process execution, network activity, and file system modifications</strong>, any potential threats should now start appearing in <strong>GuardDuty Findings</strong>.</p><p>To verify this, the <strong>Findings</strong> page in the GuardDuty console was accessed. Filtering by <strong>Instance ID</strong> allowed for a targeted view of security alerts related to the newly monitored instance. As expected, multiple <strong>runtime findings</strong> had been generated, confirming that GuardDuty was actively detecting potential security risks. These detections reinforced the importance of <strong>runtime monitoring coverage</strong>, as threats that would have otherwise remained <strong>undetected at the log level</strong> were now being surfaced in real-time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X7IrdnK2ThHC53am8jrufg.png" /><figcaption>FIndings for the newly registered EC2 Instance</figcaption></figure><h4>Optimizing Future Instance Management with Default Host Management Configuration</h4><p>While the immediate issue with the <strong>MaliciousInstanceWithoutRT</strong> instance had been successfully resolved, the troubleshooting process highlighted the challenges associated with <strong>managing multiple EC2 instances individually</strong>. To <strong>prevent similar issues from occurring across a broader fleet of instances</strong>, enabling <strong>Default Host Management Configuration</strong> in <strong>AWS Systems Manager Fleet Manager</strong> was identified as a strategic solution.</p><p>This <strong>account-level setting</strong> ensures that <strong>all EC2 instances within a given AWS region automatically become managed instances</strong>, reducing the risk of instances missing the necessary configurations required for <strong>GuardDuty Runtime Monitoring</strong>.</p><p>To implement this, the <strong>Configure Default Host Management Configuration</strong> page in <strong>Fleet Manager</strong> was accessed. Enabling the <strong>Default Host Management Configuration</strong> option allowed Systems Manager to take control of <strong>instance management at scale</strong>. Under the <strong>IAM Role</strong> section, the recommended role <strong>AWSSystemsManagerDefaultEC2InstanceManagementRole</strong> was selected to ensure that all future EC2 instances received the necessary permissions for <strong>automated security agent management</strong>.</p><p>Once confirmed, clicking <strong>Configure</strong> finalized the setup, and a success banner appeared, stating:</p><blockquote><strong><em>“Successfully enabled Default Host Management Configuration.”</em></strong></blockquote><p>With this configuration in place, future EC2 instances would no longer require <strong>manual intervention</strong> to be recognized and managed by AWS Systems Manager, significantly improving <strong>security visibility</strong> and <strong>operational efficiency</strong>. However, it remained important to periodically review the <strong>EC2 Instance Runtime Coverage</strong> section in <strong>GuardDuty</strong> to catch any <strong>newly emerging issues</strong> that might still require attention.</p><p>At this point, the GuardDuty Runtime Monitoring setup had been <strong>successfully completed</strong>, ensuring that <strong>EC2 instances were actively monitored for runtime threats, properly managed, and protected from security vulnerabilities.</strong></p><h4>Conclusion</h4><p>Implementing <strong>GuardDuty Runtime Monitoring for EC2</strong> proved to be a critical step in strengthening <strong>cloud security visibility</strong> by enabling <strong>real-time threat detection</strong> at the <strong>instance level</strong>. The process involved configuring <strong>runtime monitoring</strong>, troubleshooting <strong>unhealthy instances</strong>, and ensuring that GuardDuty could effectively <strong>detect and report security events</strong>.</p><p>While enabling runtime monitoring was straightforward, addressing <strong>unhealthy instances</strong> required <strong>in-depth troubleshooting</strong>, including reviewing <strong>IAM permissions</strong>, verifying <strong>SSM agent status</strong>, and manually executing <strong>AWS Systems Manager commands</strong> to ensure proper agent deployment. These challenges highlighted the importance of <strong>proactive configuration management</strong>, as misconfigurations — such as missing permissions — could prevent GuardDuty from <strong>fully securing an instance</strong>.</p><p>The successful <strong>resolution and validation</strong> of GuardDuty findings confirmed that runtime monitoring was now functioning as expected, surfacing <strong>previously undetectable threats</strong> and enhancing the overall <strong>security posture</strong> of the AWS environment.</p><p>To <strong>optimize future instance management</strong>, enabling <strong>Default Host Management Configuration</strong> in <strong>AWS Systems Manager Fleet Manager</strong> ensured that <strong>all EC2 instances</strong> in the account would be <strong>automatically recognized and managed</strong>, reducing manual intervention and minimizing the risk of unmonitored instances.</p><p>Through this process, it became evident that while <strong>AWS provides powerful automated security tools</strong>, a <strong>deep understanding of configurations, permissions, and troubleshooting techniques</strong> is necessary to ensure that these services function effectively. By methodically identifying and addressing gaps, GuardDuty Runtime Monitoring was successfully deployed, allowing for <strong>continuous runtime security monitoring</strong> and <strong>proactive threat detection</strong> across EC2 instances.</p><p><strong>References &amp; Further Reading</strong><br>This project was based on AWS’s official documentation and training materials. For further details, refer to: <a href="https://catalog.workshops.aws/event/dashboard/en-US/workshop/0-introduction-to-threat-detection-and-response-services/guardduty/guardduty-runtime-monitoring-ec2">AWS Threat Detection and Response Activation Day</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d4976cb4158" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing Envelope Encryption with AWS KMS — A Step-by-Step Guide]]></title>
            <link>https://medium.com/@noble-antwi/implementing-envelope-encryption-with-aws-kms-a-step-by-step-guide-91fda46879c4?source=rss-5a223e7f552c------2</link>
            <guid isPermaLink="false">https://medium.com/p/91fda46879c4</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Noble W. Antwi]]></dc:creator>
            <pubDate>Sun, 16 Feb 2025 00:28:27 GMT</pubDate>
            <atom:updated>2025-02-16T00:45:01.335Z</atom:updated>
            <content:encoded><![CDATA[<h3>Implementing Envelope Encryption with AWS KMS : A Step-by-Step Guide</h3><h3>Introduction</h3><p>In today’s cloud-driven world, ensuring the security of sensitive data is critical. As someone passionate about cybersecurity, I recently explored <strong>Envelope Encryption</strong> using <strong>AWS Key Management Service (KMS)</strong> to understand how AWS securely manages encryption keys while optimizing performance.</p><p>Unlike traditional encryption methods, <strong>Envelope Encryption</strong> adds an additional layer of security by encrypting the encryption keys themselves instead of the raw data. This ensures that even if an encrypted data file is compromised, it cannot be decrypted without access to the secured encryption key.</p><p>In this post, I will take you through a <strong>step-by-step, hands-on guide</strong> on how I implemented <strong>Envelope Encryption</strong> using AWS KMS. This includes:</p><p>✅ <strong>Listing and managing KMS keys</strong><br>✅ <strong>Generating and encrypting a Data Encryption Key (DEK)</strong><br>✅ <strong>Encrypting and decrypting data using OpenSSL</strong><br>✅ <strong>Following best security practices in key management</strong><br>✅ <strong>Cleaning up resources after encryption tasks</strong></p><p>This project was a fantastic learning experience, and I’m excited to share the detailed process, along with all commands and visual representations. Let’s dive in!</p><h3>Listing Available AWS KMS Keys</h3><p>Before working with encryption keys, I first checked for existing keys in my AWS KMS environment. To do this, I ran the following command:</p><pre>aws kms list-keys</pre><p>This command lists all KMS keys within my AWS account, whether they are in use or <strong>pending deletion</strong>. The output contains unique <strong>Key IDs</strong>, which are required for managing the keys.</p><p>Here’s a graphical view of the retrieved KMS keys:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zoX2epQj24V5kYAsO3HfEQ.png" /></figure><h3>Understanding AWS Managed Keys vs. Customer Managed Keys</h3><p>When working with KMS, AWS provides two types of keys:</p><ul><li><strong>AWS Managed Keys</strong> — These are automatically created and managed by AWS services (e.g., S3, RDS). Users do not have full control over these keys.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y3Zt3KoEPsBF-8No9suAjg.png" /><figcaption>AWS Managed Keys</figcaption></figure><ul><li><strong>Customer Managed Keys (CMKs)</strong> — These are user-generated keys that provide full control over their lifecycle, including key rotation, permissions, and deletion policies.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y3Zt3KoEPsBF-8No9suAjg.png" /><figcaption>Customer Managed Keys</figcaption></figure><h3>Filtering Out Keys Pending Deletion</h3><p>By default, aws kms list-keys shows all keys, including those pending deletion. To list only <strong>active keys</strong>, I used:</p><pre>aws kms list-keys --query &quot;Keys[].KeyId&quot; --output text | tr &#39;\t&#39; &#39;\n&#39; | xargs -I {} aws kms describe-key --key-id {} --query &quot;KeyMetadata&quot; --output json | jq -r &#39;select(.KeyState == &quot;Enabled&quot;) | .KeyId&#39;</pre><p>This <strong>filters out keys that are pending deletion</strong> and returns only <strong>enabled keys</strong> that can be used for encryption.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jZxHR5eXcIpp06z7y9cLyw.png" /><figcaption>Active KMS Keys without any Deletion Time Frame Attached</figcaption></figure><h3>Creating a New Customer Managed KMS Key</h3><p>To have full control over my encryption process, I created a new <strong>Customer Managed KMS Key (CMK)</strong> using the following command:</p><pre>aws kms create-key --description &quot;KMS workshop - envelope encryption KMS key&quot;</pre><p>This command:</p><ul><li>Creates a new KMS key in my AWS account.</li><li>Assigns it a description to indicate its purpose.</li><li>Returns a <strong>Key ID</strong>, which I need for future encryption tasks.</li></ul><p>The <strong>Key ID</strong> returned from the command was:</p><pre>1e310506-37f9-4668-bc8c-7453a001ddfa</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BOSuSpJaFUi5B3Mrvk_7pw.png" /><figcaption>Creation of Encryption Key</figcaption></figure><p>To verify the key creation, I checked the <strong>AWS Console</strong>, and the key appeared as <strong>Enabled</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aM30D7OIMcvOdDezhwpepA.png" /><figcaption>Key Creation in GUI Status</figcaption></figure><h4><strong>Creating an Alias for the KMS Key</strong></h4><p>Creating an alias for a KMS key simplifies key management by providing a human-readable identifier instead of using long key IDs. It enhances flexibility by allowing key rotation without modifying application configurations, improves security by abstracting key references, and makes access control more manageable. This approach ensures seamless encryption operations while maintaining a clear and organized key management structure.</p><p>To create an alias for the KMS key, a variable was first defined to store the key ID using the command:</p><blockquote><em>KEY_ID=1e310506–37f9–4668-bc8c-7453a001ddfa</em></blockquote><p>Following this, the alias was assigned to the key using the command:</p><pre>aws kms create-alias --target-key-id ${KEY_ID} --alias-name alias/workshop-kms` </pre><p>This alias allows me to reference the key in future commands using alias/workshop-kms instead of the long Key ID. This simplifies key management and improves readability.</p><p>After running the command, I confirmed the alias was set in the <strong>AWS Console</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dx6UJ3HRuOY9saHPRHIX0w.png" /><figcaption>Key Alias Creation</figcaption></figure><h3>Generating a Data Encryption Key (DEK)</h3><p>In Envelope Encryption, the KMS key we created will not be used directly to encrypt our data. Instead, it will be used to encrypt another key, known as the data encryption key (DEK), which will be generated specifically for encrypting our sensitive data locally. This approach enhances security by ensuring that the actual data encryption process is performed with a separate key while the KMS key remains responsible for securely protecting the DEK. By leveraging this method, we minimize direct interactions.</p><pre>aws kms generate-data-key --key-id alias/workshop-kms --key-spec AES_256</pre><p>This command produced the following output:</p><pre>------------------  <br>|                   GenerateDataKey                   |  <br>+----------------+----------------------------------------------------------------------------------------------------------------------------------+  <br>|  CiphertextBlob |  AQIDAHhHfY4TFsfp9CaMaISKsTqsGqDOTOrqaRUJbUjhCzB4GgGvXUFQYXWytosBiiU3agxWAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMEWtKxkIGwxrsKeyfAgEQgDuCP3fXzkyIanvgXN06WxeqrAwH4EznYcfegdpbWqO8fYnJqx5BPppFSmxec3xrHxeqpc+T1OYMug6Dnw==   |  <br>|  KeyId         |  arn:aws:kms:us-east-1:831285844664:key/1e310506-37f9-4668-bc8c-7453a001ddfa                                                   |  <br>|  Plaintext     |  Orsp1OjNFC7E0E6T4Rrc5WVv8Udxtk0cbRbEBXC+iDM=                                                                                   |  <br>+----------------+------------------------------------------------------------------------------------------------------</pre><p>The command generates two forms of the data key — an encrypted version and an unencrypted version. These fields are particularly important:</p><ol><li><strong>CiphertextBlob: </strong>This is the encrypted version of the data key, which has been secured using the <strong>workshop-kms</strong> KMS key. This encrypted key can be safely stored in a database or other persistent storage without risk, as it cannot be used directly without first being decrypted. Whenever encrypted data needs to be decrypted, this stored key will be sent to AWS KMS for decryption before use.</li></ol><p><strong>2. Plaintext: </strong>This is the raw, unencrypted version of the data key. It is the actual key that can be used to encrypt and decrypt sensitive data immediately. However, since it is in plaintext format, it poses a security risk if stored or logged. To follow best security practices, the plaintext key should be used only in memory for encryption and then discarded immediately after use.</p><h4><strong>Storing the Encrypted Data Key</strong></h4><p>When following best practices for <strong>envelope encryption</strong>, I make sure to discard the <strong>plaintext data key</strong> and securely store only the <strong>encrypted version</strong> for future use. To do this, I first assign the <strong>encrypted data key (CiphertextBlob)</strong> to an environment variable and then store it in a file using the following commands</p><pre>export DATA_KEY_CIPHERTEXT=&quot;AQIDAHhHfY4TFsfp9CaMaISKsTqsGqDOTOrqaRUJbUjhCzB4GgGvXUFQYXWytosBiiU3agxWAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMEWtKxkIGwxrsKeyfAgEQgDuCP3fXzkyIanvgXN06WxeqrAwH4EznYcfegdpbWqO8fYnJqx5BPppFSmxec3xrHxeqpc+T1OYMug6Dnw==&quot;</pre><p>The export command sets an <strong>environment variable</strong> named <strong>DATA_KEY_CIPHERTEXT</strong> and assigns it the <strong>Base64-encoded CiphertextBlob</strong> returned from <strong>AWS KMS</strong>. This allows me to reference the encrypted data key in other commands without manually copying and pasting it each time.</p><p>After setting the variable, I store the encrypted data key securely by running:</p><pre>echo $DATA_KEY_CIPHERTEXT | base64 --decode &gt; data_key_ciphertext</pre><p>The command echo $DATA_KEY_CIPHERTEXT | base64 --decode &gt; data_key_ciphertext prints the Base64-encoded encrypted key stored in the DATA_KEY_CIPHERTEXT environment variable, pipes it to base64 --decode to convert it back into its original binary format, and redirects the output to a file named data_key_ciphertext, ensuring the encrypted data key is securely stored without exposing the plaintext key.</p><h4>Why This Matters for My Project</h4><p>By using the <strong>export</strong> command, I make sure that the encrypted key is handled efficiently in the shell without needing to copy and paste it manually.<br>The <strong>Base64 decoding and storage</strong> step ensures that the encrypted key is preserved in its original <strong>binary format</strong>, so I can later request decryption from <strong>AWS KMS</strong> whenever I need to use it again.</p><p>This approach helps me practice <strong>secure key management</strong> while maintaining <strong>compliance with encryption best practices</strong>.</p><p>Here’s a <strong>visual representation</strong> of the process:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*cn8OkYHNT5fG3vTvRlyo8g.png" /><figcaption>Relationship Establised</figcaption></figure><h4>Note on KMS and Data Key Storage</h4><p>AWS Key Management Service (KMS) does not store the data key itself. Instead, I am responsible for securely storing the encrypted version of the data key. This is crucial because whenever I need to decrypt data, I must retrieve the stored encrypted key and send it to KMS for decryption before using it again.</p><p>In this example, I have stored the encrypted data key temporarily in an environment variable (DATA_KEY_CIPHERTEXT). However, in a real-world scenario, this approach is not sufficient for long-term storage. Instead, best practices suggest storing the encrypted data key alongside the encrypted data in a secure storage solution. Some recommended options include:</p><ul><li>Storing the encrypted data key in the same record as the encrypted data within a database.</li><li>Keeping it in a secure object store, such as Amazon S3, with appropriate access controls.</li><li>Using dedicated secrets management services, such as AWS Secrets Manager or HashiCorp Vault, to ensure secure storage.</li></ul><h4>Envelope Encryption with Asymmetric Keys</h4><p>In this example, I have used a symmetric key for envelope encryption, meaning the same key is used for both encryption and decryption. However, envelope encryption can also be performed using asymmetric encryption, which involves a public-private key pair.</p><p>In this case, instead of a symmetric data key, I would use a private key as the data key. The public key remains openly available and does not need to be encrypted. The private key, however, would be encrypted using KMS, ensuring that it remains protected. Whenever decryption is needed, I would use KMS to decrypt the private key, which could then be used to decrypt the data.</p><p>This approach is particularly useful in scenarios such as secure key exchange, digital signatures, and hybrid encryption models, where public-private key cryptography is required.</p><h3>Decrypting the Data Key</h3><p>To use the encrypted data key, I first need to decrypt it. Since I previously discarded the original plaintext data key as part of best practices, I now have to decrypt the stored ciphertext version using <strong>AWS Key Management Service (KMS)</strong>. This step is crucial because it allows me to retrieve the plaintext data key, which is necessary for performing encryption or decryption operations.</p><p>The command to decrypt the encrypted data key is:</p><pre>export DATA_KEY_PLAINTEXT=`aws kms decrypt --ciphertext-blob fileb://./data_key_ciphertext --query Plaintext --output text`</pre><p>This command invokes <strong>AWS KMS</strong> to decrypt the data key. The <strong>--ciphertext-blob</strong> option specifies the file containing the encrypted data key. By using the <strong>fileb://</strong> prefix, the system reads the ciphertext in <strong>binary format</strong>. The <strong>--query Plaintext</strong> flag ensures that only the decrypted plaintext key is extracted from the response. The <strong>--output text</strong> option formats the output as plain text, making it easier to handle in the terminal. Finally, the decrypted key is stored in the DATA_KEY_PLAINTEXT environment variable so that I can use it in future operations.</p><p>Once the decryption is complete, I can check the decrypted plaintext data key by running:</p><pre>echo $DATA_KEY_PLAINTEXT</pre><p>For reference, the decrypted plaintext data key looks like this:</p><pre>Orsp1OjNFC7E0E6T4Rrc5WVv8Udxtk0cbRbEBXC+iDM=</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l8Ercd9eF3QD7Nvu2Ey6Mw.png" /><figcaption>Decrypted Plaintext</figcaption></figure><p>This confirms that the decryption was successful and that the key is now available for securely encrypting or decrypting sensitive data, following the <strong>envelope encryption strategy</strong>.</p><h3>Encrypting with the Plaintext Data Key</h3><p>Now that I have successfully decrypted the data key, I can use it for encryption tasks. The first step is to prepare the plaintext data key by decoding it from base64 format and storing it in a file.</p><p>To do this, I use the following command:</p><pre>echo &quot;$DATA_KEY_PLAINTEXT&quot; | base64 --decode &gt; ./data-key-plaintext</pre><p>This command starts by referencing the DATA_KEY_PLAINTEXT environment variable, which holds the <strong>base64-encoded</strong> version of the plaintext data key. The echo &quot;$DATA_KEY_PLAINTEXT&quot; part prints the content of the variable, which is then passed to the <strong>base64 --decode</strong> command. This decoding operation converts the base64-encoded string back into its original <strong>binary format</strong>. Finally, the decoded content is redirected and saved to the file <strong>./data-key-plaintext</strong> using the &gt; operator. Now, this file contains the plaintext data key and is ready for encryption operations as well as decryption tasks.</p><h4>Encrypting Data Using the Decrypted Key</h4><p>With the plaintext data key stored in a file, I can now use it to encrypt some content. In this example, I will encrypt a simple text string:</p><p><strong><em>“Hello! I would like to be encrypted, thanks.”</em></strong></p><p>To perform the encryption, I run the following command:</p><pre>echo &quot;Hello! I would like to be encrypted, thanks.&quot;  | openssl enc -e -aes256 -k file://./data-key-plaintext &gt; ./ciphertext</pre><p>This command works as follows:</p><ul><li>The plaintext string is first passed to <strong>openssl enc -e</strong>, which is an <strong>OpenSSL encryption command</strong>.</li><li>The -e flag specifies that I am <strong>encrypting</strong> the data.</li><li>The -aes256 option tells OpenSSL to use the <strong>AES encryption algorithm</strong> with a <strong>256-bit key length</strong>.</li><li>The -k file://./data-key-plaintext option points to the file that contains the <strong>plaintext data key</strong>, instructing OpenSSL to use it for encryption.</li><li>The &gt; operator redirects the encrypted output into a file called <strong>./ciphertext</strong>.</li></ul><p>Now, the data is securely encrypted using the locally stored data key.</p><h4>Verifying the Encryption Process</h4><p>To confirm that the encryption was successful, I can check the contents of the <strong>ciphertext file</strong> using the following command:</p><pre>cat ./ciphertext</pre><p>The output appears as a <strong>random sequence of characters and symbols</strong>, like this:</p><pre>Salted__����zw�`���W�B] ��І-�N�d��(�2��ښ�������f��Nx��.�&lt;�Rnoble@tcm:~$</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*FzC8H3bFOIQ32zBj1-FzEg.png" /><figcaption>Encrypted Data</figcaption></figure><p>This unreadable output confirms that the data has been <strong>successfully encrypted</strong>. Without the correct decryption key, this data cannot be understood or recovered.</p><blockquote><em>Understanding the Role of KMS in This Process</em></blockquote><blockquote>An important note here is that <strong>AWS KMS was not used for the actual encryption step</strong>. Instead, the encryption was performed <strong>locally</strong> using the plaintext data key that was <strong>previously decrypted</strong> from KMS.This demonstrates the flexibility of <strong>envelope encryption</strong>, where the actual data encryption happens <strong>locally</strong> with the data key, while <strong>KMS is responsible only for securing and managing the encryption key itself</strong>. In a <strong>real-world</strong> scenario, I would store the <strong>encrypted data</strong> securely, and whenever I need to decrypt it, I would retrieve the <strong>encrypted data key</strong>, send it to <strong>AWS KMS for decryption</strong>, and then use the decrypted key to unlock my data. This ensures a <strong>secure and scalable</strong> encryption workflow.</blockquote><h4>Decrypting with the Plaintext Data Key</h4><p>Now that I have successfully encrypted my data, the next step is to <strong>decrypt</strong> it using the same data key that was previously used for encryption. This will allow me to recover the original content.</p><p>To begin the decryption process, I use the following command:</p><pre>cat ./ciphertext | openssl enc -d -aes256 -k file://./data-key-plaintext</pre><p>This command <strong>reads the encrypted content</strong> (ciphertext) and <strong>pipes it into OpenSSL</strong>, which performs <strong>decryption</strong> using:</p><ul><li><strong>openssl enc -d</strong>: Specifies decryption (-d flag).</li><li><strong>-aes256</strong>: Ensures the same <strong>AES-256 encryption algorithm</strong> is applied.</li><li><strong>-k file://./data-key-plaintext</strong>: References the <strong>plaintext data key</strong> required for decryption.</li></ul><p>Upon execution, the decrypted output is displayed:</p><pre>Hello! I would like to be encrypted, thanks.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xUg31nx1TZwarbWAUCq5jQ.png" /><figcaption>Decrypted Value</figcaption></figure><h4>Role of KMS in the Decryption Process</h4><p>It’s important to note that <strong>AWS KMS is not directly involved in this decryption step</strong>. The entire process — from <strong>encrypting to decrypting the actual data</strong> — is performed <strong>locally</strong> using the <strong>plaintext data key</strong>.</p><p>KMS’s role in this setup is <strong>limited to securely managing the encryption key itself</strong>. KMS is used to <strong>encrypt and decrypt</strong> the data key, but the <strong>actual encryption and decryption of sensitive data happen locally</strong>.</p><p>This is a key feature of <strong>envelope encryption</strong>, where <strong>KMS secures the encryption key</strong>, while the <strong>actual data encryption and decryption are handled separately</strong>. This setup ensures both <strong>security and efficiency</strong>, especially when encrypting and decrypting large amounts of data.</p><h3>Conclusion</h3><p>This exercise provided a <strong>comprehensive understanding</strong> of encryption and decryption using <strong>AWS Key Management Service (KMS)</strong>, emphasizing the <strong>secure management of encryption keys</strong> through <strong>envelope encryption</strong>. By following best practices, I was able to securely generate, store, and handle data keys while ensuring sensitive information remains protected.</p><p>Through this process, I gained key insights into:</p><ul><li><strong>Envelope Encryption in Action</strong>: AWS KMS is primarily used to encrypt and decrypt <strong>data keys</strong>, while the actual data encryption and decryption happen <strong>locally</strong> using these keys. This enhances both <strong>security and efficiency</strong> by minimizing exposure of sensitive data to external services.</li><li><strong>Security Best Practices</strong>: Discarding plaintext keys after use prevents unauthorized access, ensuring that sensitive information remains protected. Additionally, <strong>Base64 encoding and decoding</strong> play a crucial role in safely handling data keys within shell environments.</li><li><strong>Key Lifecycle Management</strong>: Using <strong>KMS key aliases</strong> simplifies key management, making it easier to reference keys without directly handling their metadata.</li><li><strong>Cleanup and Decommissioning</strong>: Properly managing <strong>key deletion</strong> ensures that unused encryption keys do not pose security risks or incur unnecessary AWS costs.</li></ul><h3>Cleanup Process</h3><p>After completing encryption and decryption tasks, it is essential to <strong>clean up resources</strong> to maintain security and avoid additional costs. The cleanup process consists of two key steps:</p><h4>1. Deleting the KMS Key Alias</h4><p>The first step in cleanup is removing the <strong>KMS key alias</strong>, which serves as a <strong>human-readable identifier</strong> for the key. Deleting the alias prevents further association between the key and the alias, ensuring that it cannot be mistakenly used in future operations.</p><p>To delete the alias, I run:</p><pre>aws kms delete-alias --alias-name alias/workshop-kms</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EhJTym_Gygqqa52R3lAORA.png" /><figcaption>Deletion of Alias</figcaption></figure><ul><li><strong>aws kms delete-alias</strong>: Removes the alias linked to the KMS key.</li><li><strong>--alias-name alias/workshop-kms</strong>: Specifies the alias being deleted. Ensure to use the correct alias for your setup.</li></ul><h4>2. Scheduling the KMS Key for Deletion</h4><p>Once the alias is removed, the next step is to <strong>schedule the KMS key for deletion</strong>. This permanently removes the key after a <strong>waiting period</strong>, ensuring it is no longer available for encryption or decryption operations.</p><p>To initiate key deletion, I execute:</p><pre>aws kms schedule-key-deletion --key-id 1e310506-37f9-4668-bc8c-7453a001ddfa --pending-window-in-days 7</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b4sQAci7E_gRLerN2JwZ2A.png" /><figcaption>Scheduled Delection In Command Line</figcaption></figure><ul><li><strong>aws kms schedule-key-deletion</strong>: Marks the key for deletion, ensuring its permanent removal after the waiting period.</li><li><strong>--key-id 1e310506-37f9-4668-bc8c-7453a001ddfa</strong>: Specifies the unique <strong>KMS key ID</strong> for deletion.</li><li><strong>--pending-window-in-days 7</strong>: Defines the waiting period (7 days) before the key is permanently deleted.</li></ul><p>During this <strong>pending deletion</strong> period:<br>✅ The key <strong>cannot</strong> be used for new encryption operations.<br>✅ The key <strong>can still</strong> be used for decryption.<br>✅ After the waiting period, the key is <strong>permanently deleted</strong>, preventing future access.</p><h4>What Happens After Scheduling Key Deletion?</h4><p>Once a KMS key is scheduled for deletion, it enters a <strong>“pending deletion”</strong> state. This means:</p><ul><li>The key <strong>can still be used for decryption</strong> within the waiting period.</li><li>The key <strong>cannot be used for new encryption</strong> tasks.</li><li>After the waiting period, the key is <strong>permanently removed</strong>, eliminating future access and <strong>stopping AWS charges</strong> for that key.</li></ul><p>If I later decide that the key is still needed, I can <strong>cancel the deletion</strong> before the waiting period expires using:</p><pre>aws kms cancel-key-deletion --key-id 1e310506-37f9-4668-bc8c-7453a001ddfa</pre><p>This restores the key to an <strong>active state</strong>, making it available for encryption and decryption again.</p><h3>Final Thoughts</h3><p>This hands-on experience with <strong>AWS KMS</strong> reinforced <strong>key security principles</strong> such as <strong>proper key lifecycle management, encryption best practices, and the importance of secure cleanup</strong>.</p><p>By leveraging <strong>KMS for key protection</strong> and <strong>local encryption for data security</strong>, I now understand how <strong>envelope encryption</strong> provides a scalable and <strong>secure way to manage sensitive data</strong>.</p><p>Additionally, <strong>cleanup and decommissioning</strong> are <strong>critical</strong> to ensuring <strong>unnecessary keys</strong> do not create security risks or incur extra AWS charges. Understanding how to <strong>delete, schedule, and cancel key deletions</strong> ensures effective <strong>control over cryptographic resources</strong>.</p><p>In a <strong>real-world</strong> environment, <strong>automating key management</strong>, enforcing <strong>access controls</strong>, and implementing <strong>regular audits</strong> will further enhance data security and <strong>compliance with industry standards</strong>.</p><p>NB: This project is sourced from AWS Workshop Studio and can be found by <a href="https://catalog.us-east-1.prod.workshops.aws/workshops/aad9ff1e-b607-45bc-893f-121ea5224f24/en-US/keymanagement-kms/envelope-encryption">clicking here!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91fda46879c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[System Status Script Documentation]]></title>
            <link>https://medium.com/@noble-antwi/system-status-script-documentation-ff63977391ed?source=rss-5a223e7f552c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff63977391ed</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[scripting]]></category>
            <category><![CDATA[bash-script]]></category>
            <dc:creator><![CDATA[Noble W. Antwi]]></dc:creator>
            <pubDate>Fri, 31 Jan 2025 06:54:33 GMT</pubDate>
            <atom:updated>2025-01-31T06:55:18.793Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>The <strong>System Status Script</strong> is a Bash script designed to provide a comprehensive overview of a system’s current status. It collects and displays essential system metrics, including CPU usage, memory usage, disk space, network statistics, running processes, system load averages, temperature readings, and battery status. This script is useful for system administrators and users who need quick insights into their machine’s performance.</p><h3>Problem Statement</h3><p>Monitoring system performance and resource usage is crucial for maintaining system stability, troubleshooting issues, and optimizing performance. While Linux provides various command-line utilities to gather system information, manually checking each one can be time-consuming. This script automates the process, aggregating and displaying system statistics in a structured format.</p><h3>Features</h3><ul><li>Displays general system information (hostname, OS, kernel version, uptime).</li><li>Provides CPU usage details, including model, core count, and real-time usage.</li><li>Reports memory and disk usage statistics.</li><li>Shows network information such as IP address, MAC address, and data transfer rates.</li><li>Lists the top 5 processes consuming the most CPU resources.</li><li>Displays system load averages over 1, 5, and 15 minutes.</li><li>Retrieves temperature sensor data (if available).</li><li>Reports battery status (for laptops and other battery-powered devices).</li></ul><h3>Source Code</h3><p>Below is the well-commented source code for the script:</p><pre>#!/bin/bash</pre><pre># Function to display system information in a structured format<br>display_system_status() {<br>    current_time=$(date &quot;+%Y-%m-%d %H:%M:%S&quot;)<br>    echo &quot;System Status Report - $current_time&quot;<br>    echo &quot;==================================================&quot;</pre><pre>    # Section 1: System Information<br>    echo -e &quot;\nSystem Information:&quot;<br>    echo &quot;--------------------&quot;<br>    echo &quot;Hostname: $(hostname)&quot;<br>    echo &quot;OS: $(lsb_release -d | cut -f2)&quot;<br>    echo &quot;Kernel: $(uname -r)&quot;<br>    echo &quot;Architecture: $(uname -m)&quot;<br>    echo &quot;Uptime: $(uptime -p)&quot;</pre><pre>    # Section 2: CPU Usage<br>    echo -e &quot;\nCPU Usage:&quot;<br>    echo &quot;--------------------&quot;<br>    echo &quot;CPU Model: $(lscpu | grep &#39;Model name&#39; | head -1 | cut -d &#39;:&#39; -f2 | xargs)&quot;<br>    echo &quot;CPU Cores: $(nproc)&quot;<br>    echo &quot;CPU Usage: $(top -bn1 | awk &#39;/%Cpu/ {print $2 + $4}&#39;)%&quot;</pre><pre>    # Section 3: Memory Usage<br>    echo -e &quot;\nMemory Usage:&quot;<br>    echo &quot;--------------------&quot;<br>    free -h | awk &#39;/^Mem:/ {print &quot;Total Memory: &quot; $2}&#39;;<br>    free -h | awk &#39;/^Mem:/ {print &quot;Used Memory: &quot; $3}&#39;;<br>    free -h | awk &#39;/^Mem:/ {print &quot;Free Memory: &quot; $4}&#39;;<br>    free | awk &#39;/^Mem:/ {printf &quot;Memory Usage Percentage: %.2f%%\n&quot;, $3/$2 * 100}&#39;</pre><pre>    # Section 4: Disk Usage<br>    echo -e &quot;\nDisk Usage:&quot;<br>    echo &quot;--------------------&quot;<br>    df -h / | awk &#39;/\/$/ {print &quot;Total Disk Space: &quot; $2}&#39;;<br>    df -h / | awk &#39;/\/$/ {print &quot;Used Disk Space: &quot; $3}&#39;;<br>    df -h / | awk &#39;/\/$/ {print &quot;Free Disk Space: &quot; $4}&#39;;<br>    df -h / | awk &#39;/\/$/ {print &quot;Disk Usage Percentage: &quot; $5}&#39;</pre><pre>    # Section 5: Network Statistics<br>    echo -e &quot;\nNetwork Statistics:&quot;<br>    echo &quot;--------------------&quot;<br>    iface=$(ip route | awk &#39;/default/ {print $5}&#39;)<br>    echo &quot;IP Address: $(hostname -I | awk &#39;{print $1}&#39;)&quot;<br>    echo &quot;MAC Address: $(ip link show | awk &#39;/ether/ {print $2}&#39; | head -n1)&quot;<br>    echo &quot;Bytes Sent: $(awk -v iface=&quot;$iface&quot; &#39;$0 ~ iface {print $10 / 1024 / 1024 &quot; MB&quot;}&#39; /proc/net/dev)&quot;<br>    echo &quot;Bytes Received: $(awk -v iface=&quot;$iface&quot; &#39;$0 ~ iface {print $2 / 1024 / 1024 &quot; MB&quot;}&#39; /proc/net/dev)&quot;</pre><pre>    # Section 6: Process Information<br>    echo -e &quot;\nProcess Information:&quot;<br>    echo &quot;--------------------&quot;<br>    echo &quot;Total Running Processes: $(ps -e | wc -l)&quot;<br>    echo -e &quot;\nTop 5 Processes by CPU Usage:&quot;<br>    ps -eo pid,ppid,cmd,%cpu,%mem --sort=-%cpu | head -n 6</pre><pre>    # Section 7: System Load Average<br>    echo -e &quot;\nSystem Load Average:&quot;<br>    echo &quot;--------------------&quot;<br>    echo &quot;Load Average (1 min): $(uptime | awk -F &#39;load average: &#39; &#39;{print $2}&#39; | cut -d &#39;,&#39; -f1)&quot;<br>    echo &quot;Load Average (5 min): $(uptime | awk -F &#39;load average: &#39; &#39;{print $2}&#39; | cut -d &#39;,&#39; -f2)&quot;<br>    echo &quot;Load Average (15 min): $(uptime | awk -F &#39;load average: &#39; &#39;{print $2}&#39; | cut -d &#39;,&#39; -f3)&quot;</pre><pre>    # Section 8: Temperature Sensors<br>    echo -e &quot;\nTemperature Sensors:&quot;<br>    echo &quot;--------------------&quot;<br>    if command -v sensors &amp;&gt; /dev/null; then<br>        sensors | grep &#39;Core&#39;<br>    else<br>        echo &quot;Temperature information not available (install &#39;lm-sensors&#39; to enable).&quot;<br>    fi</pre><pre>    # Section 9: Battery Status<br>    echo -e &quot;\nBattery Status:&quot;<br>    echo &quot;--------------------&quot;<br>    if command -v upower &amp;&gt; /dev/null; then<br>        upower -i $(upower -e | grep &#39;BAT&#39;) | grep -E &quot;percentage|state&quot;<br>    else<br>        echo &quot;Battery information not available (install &#39;upower&#39; to enable).&quot;<br>    fi</pre><pre>    echo -e &quot;\n==================================================&quot;<br>}</pre><pre># Execute the function<br>display_system_status</pre><h3>Execution and Output</h3><p>To run the script, save it as system_status.sh and execute it with:</p><pre>chmod +x system_status.sh<br>sudo ./system_status.sh</pre><h3>Example Output</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U-qmwmxLWAh4u_CBylMZwA.png" /></figure><p>sample output</p><h3>Conclusion</h3><p>This script provides an efficient way to monitor system performance with a single command. It helps users diagnose issues quickly and gain insights into resource utilization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff63977391ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Deception: Dissecting a Phishing Email and Its Malicious Payload]]></title>
            <link>https://medium.com/@noble-antwi/digital-deception-dissecting-a-phishing-email-and-its-malicious-payload-e1eb61985a0a?source=rss-5a223e7f552c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1eb61985a0a</guid>
            <category><![CDATA[cybercrime]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[email-analysis]]></category>
            <dc:creator><![CDATA[Noble W. Antwi]]></dc:creator>
            <pubDate>Mon, 13 Jan 2025 04:57:24 GMT</pubDate>
            <atom:updated>2025-01-13T04:57:24.515Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>On May 14, 2024, the Security Operations Center (SOC) at Global Logistics identified a potentially malicious email flagged by the company’s email gateway solution. The email, addressed to Emily Nguyen from the marketing team, claimed to be sent by Alexia Barry. Upon investigation, it was discovered that the email contained a phishing attempt, complete with a malicious attachment designed to compromise the recipient’s system.</p><p>This report provides a thorough step-by-step analysis of the incident, detailing the tools, processes, and findings that led to the identification of the email as a phishing attack. Supporting evidence, including screenshots and output logs, are included throughout the document.</p><h3>Incident Overview</h3><p>Organization: Global Logistics<br>Alert Triggered: Email quarantined by email gateway<br>Recipient: Emily Nguyen, Marketing Team Member<br>Suspected Sender: Alexia Barry</p><h3>Step 1: Email Header Analysis</h3><h3>1.1 Extraction of Email Header Details</h3><p>To identify critical email header information (e.g., delivery date, subject, recipient), the following tools were used:</p><p>Didier Stevens’ eioc.py Script:</p><pre>python3 Tools/eioc.py Challenges/challenge3.eml</pre><p>Output: The email’s full delivery date and time were revealed as:</p><pre>Tue, 14 May 2024 23:31:08 +0000</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OVPSEFDn69Td5TfS.png" /></figure><p>Email Header Parsers: Additional validation was performed using <a href="https://mha.azurewebsites.net/">mha.azurewebsites.net</a> and <a href="https://mxtoolbox.com/">MXToolbox</a>, both confirming the same date and time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7tHcbtQrPBQBx0ZQ.png" /></figure><h3>1.2 Subject of the Email</h3><ul><li>The identified subject line was:</li></ul><pre>You&#39;re Invited!</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1aoEfdhz43omLc8N.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SgJXilZL8V5iDoc1.png" /></figure><h3>1.3 Recipient Details</h3><p>The email was addressed to:</p><pre>emily.nguyen@glbllogistics.co</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mHv6499KUkucsopb.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9CDtdXJQJ2987zl4.png" /></figure><h3>1.4 Sender Details</h3><p><strong>Display Name</strong>: Adam Barry</p><p><strong>Actual Sender Emai</strong>l: <a href="/service/mailto:abarry@live.com">abarry@live.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zhsh2NLg6szHdKed.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5eUD4lujx4vNXBKK.png" /></figure><h3>1.5 Email Infrastructure</h3><p>To identify the sending infrastructure:</p><p>Command Used:</p><pre>whois live.com</pre><p><strong>Output</strong>: The sender’s domain (live.com) is operated by Microsoft Corporation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JpnpAFZC-2siGoTf.png" /></figure><h3>1.6 Message ID</h3><p>The unique email identifier was extracted as:</p><pre>&lt;SA1PR14MB737384979FDD1178FD956584C1E32@SA1PR14MB7373.namprd14.prod.outlook.com&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PyVbZxGxP6AHGxES.png" /></figure><h3>Step 2: Attachment Analysis</h3><h3>2.1 Locating the Attachment</h3><p>Using emldump.py from Didier Stevens’ toolkit, the attachment’s index and details were extracted:</p><ul><li>Command:</li></ul><pre>python3 Tools/emldump.py Challenges/challenge3.eml</pre><p><strong>Output:</strong> The attachment was located at index 5.</p><p><strong>Attachment Name:</strong> AR_Wedding_RSVP.docm</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/0*kFBDRdIXDattH5fu.png" /></figure><h3>2.2 Extracting the Attachment</h3><p>The attachment was extracted using the following command:</p><pre>python3 Tools/emldump.py Challenges/challenge3.eml -s 5 -d &gt; /home/noble/Desktop/AR_Wedding_RSVP.docm</pre><p><strong>Result: </strong>The attachment was saved locally.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*beYZfQjc6lXAQgga.png" /></figure><h3>2.3 Hash Calculation</h3><p>To verify the integrity of the attachment, its SHA-256 hash was computed using both Didier Stevens’ script and the sha256sum command:</p><p>41c3dd4e9f794d53c212398891931760de469321e4c5d04be719d5485ed8f53e</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KYkH_IMk9smCmJat.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DrLMrAXm9n-egZ8i.png" /></figure><h3>2.4 VirusTotal Submission</h3><p>The hash was submitted to VirusTotal for analysis:</p><ul><li>Threat Label: Downloader.autdwnlrner/W97M</li><li>Classification: Trojan Downloader\</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KtDXfJ5IiNZe9mAV.png" /></figure><h3>Step 3: Static Analysis of the Malicious Document</h3><h3>3.1 VBA Macro Extraction</h3><p>The .docm file extension indicated the presence of embedded macros. Using oledump.py, the macro was identified in stream A3:</p><ul><li>Command:</li></ul><pre>python3 Tools/oledump.py /home/noble/Desktop/AR_Wedding_RSVP.docm</pre><p>Output: Stream A3 contained compressed VBA code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cevSlyni2-Akgnmh.png" /></figure><ul><li>Decompression Command:</li></ul><pre>python3 Tools/oledump.py /home/noble/Desktop/AR_Wedding_RSVP.docm -s 3 - vbadecompresscorrupt</pre><ul><li>Result: The VBA code was successfully extracted.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZevLcaBiszytyuws.png" /></figure><h3>3.2 Macro Behavior Analysis</h3><p>The extracted VBA code was analyzed:</p><h4>Breakdown of the Macro</h4><ol><li>Document_Open() Subroutine:</li></ol><ul><li>This subroutine is automatically triggered when the document is opened. It initiates malicious activities using three key objects:</li><li>http_obj: An instance of Microsoft.XMLHTTP used to send HTTP GET requests.</li><li>stream_obj: An instance of ADODB.Stream to handle binary data for downloading files.</li><li>shell_obj: An instance of WScript.Shell to execute system commands.</li></ul><p>2. Defining Variables:</p><ul><li>URL: Points to https://github.com/TCWUS/Pastebin-Uploader.exe, the malicious file to be downloaded.</li><li>FileName: The downloaded file is saved as shost.exe.</li><li>RUNCMD: The command to execute the downloaded file.</li></ul><p>3. Downloading and Saving the Malicious File:</p><ul><li>http_obj.open() and http_obj.send(): Fetches the executable from the remote URL.</li><li>stream_obj.write(): Writes the binary content of the file.</li><li>stream_obj.savetofile(FileName, 2): Saves the file locally as shost.exe.</li></ul><p>4. Executing the Malicious File:</p><ul><li>shell_obj.Run: Executes the shost.exe file, potentially installing malware or opening a backdoor on the victim’s system.</li></ul><h4>Purpose and Impact</h4><p>The VBA macro effectively acts as a malware downloader. By automating the download and execution of the payload, it compromises the target system, allowing attackers to:</p><ul><li>Gain unauthorized access.</li><li>Install additional malware.</li><li>Exfiltrate sensitive data.</li></ul><h4>Defanged URL</h4><p>To prevent accidental interaction, the malicious URL was converted to a defanged format:</p><pre>hxxps[://]github[.]com/TCWUS/Pastebin-Uploader[.]exe</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1LsHFrIoSHL-ym_b.png" /></figure><h3>Conclusion</h3><p>As the analyst investigating this incident, I determined that the email posed a significant security risk. The attachment contained a malicious VBA macro designed to download and execute a Trojan Downloader from a remote server. This would have likely resulted in unauthorized access and further compromise of the recipient’s system.</p><p>Given these findings, I recommend the following actions:</p><ol><li>Do Not Release the Email: The email must remain quarantined to prevent accidental exposure.</li><li>Notify the Recipient: Emily Nguyen should be informed about this phishing attempt and advised on recognizing similar threats.</li><li>Block the Sender: Implement domain and IP blocks for the sender to prevent further phishing attempts.</li><li>Submit Threat Intelligence: Share the hash of the malicious file and the associated URL with relevant threat intelligence platforms to assist other organizations in mitigating similar risks.</li><li>Phishing Awareness Training: Conduct training sessions for all employees to enhance their ability to identify and report phishing attempts.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1eb61985a0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advanced Techniques in Email Header Analysis for Phishing Detection]]></title>
            <link>https://medium.com/@noble-antwi/advanced-techniques-in-email-header-analysis-for-phishing-detection-c5567f1caa00?source=rss-5a223e7f552c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5567f1caa00</guid>
            <category><![CDATA[email-analysis]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[cyber-security-awareness]]></category>
            <dc:creator><![CDATA[Noble W. Antwi]]></dc:creator>
            <pubDate>Mon, 13 Jan 2025 04:39:41 GMT</pubDate>
            <atom:updated>2025-01-13T04:39:41.159Z</atom:updated>
            <content:encoded><![CDATA[<h3>Security Event Report: Potential Phishing Attempt</h3><p>Prepared by: Noble Antwi (SOC Analyst, Global Logistics ) Incident Reported by: Emily Nguyen (Marketing Team Member)<br>Incident Type: Potential Phishing Email</p><p><strong>Incident Overview</strong></p><p>On May 12, 2024, Emily Nguyen, a marketing team member at Global Logistics, reported a suspicious email. The email claimed that a password change request had been initiated for her inactive Dropbox account and included a link to reset her password. Concerned about its authenticity, Emily forwarded the email to the security team for analysis. This report outlines the investigation conducted to determine the legitimacy of the email.</p><h3>Investigation Details</h3><h3>1. Full Date and Time of Email Delivery</h3><p>1. Full Date and Time of Email Delivery<br>The exact date and time when the email was delivered were extracted using two different methods to ensure accuracy:</p><ul><li>Method 1: Didier Stevens’ eioc.py script<br>Didier Stevens’ Python script, eioc.py, was used to extract key metadata from the email file <strong><em>challenge2.eml</em></strong>. This tool is commonly used for email analysis, providing a detailed breakdown of email headers, including delivery timestamps.</li></ul><p>Command Executed:</p><pre>python3 Tools/eioc.py Challenges/challenge2.eml</pre><p><strong>Output:</strong><br>The script output revealed the delivery timestamp as:<br>Sun, 12 May 2024 04:10:52 +0000</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ReUN7Z5ERInk4cTP.png" /></figure><p>This output confirms that the email was received on May 12, 2024, at 4:10:52 AM UTC.</p><p><strong>Method 2: Online Tool — MXToolbox</strong><br>The email was analyzed using <a href="https://mxtoolbox.com/">MXToolbox to cross-verify the timestamp</a>. This tool allows for a detailed inspection of email headers, including delivery timing.</p><p><strong><em>Output from MXToolbox:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MSZoV1zgF5dH34D7.png" /></figure><p><strong>Explanation of Findings:</strong><br>MXToolbox corroborated the findings from eioc.py, confirming the delivery timestamp. The inclusion of multiple verification methods ensures the timestamp’s accuracy and reliability.</p><h3>2. Email Subject</h3><p>The subject line of an email is a critical indicator of its purpose and intent. In this case, the subject line was determined by analyzing the email header through two methods:</p><ol><li>Using Didier Stevens’ eioc.py Script:<br>The eioc.py script parses email metadata and displays essential information such as the subject line. Upon running the script on the provided email file <a href="https://github.com/noble-antwi/cybersecurity_projects/blob/main/Email%20Analysis/Analysis%202/File/Other/challenge2.eml">challenge2.eml</a>, the output clearly displayed the subject as:<br>Reset your Dropbox password</li><li>Manual Header Analysis via Text Editors:<br>By opening the email file in a text editor such as Sublime Text and searching for the “Subject” field in the header section, the subject was confirmed to be:<br>Reset your Dropbox password</li></ol><p>This consistency between automated tools and manual analysis ensures the subject line’s accuracy. It provides insights into the purpose of the email, indicating a password reset request for a Dropbox account.</p><h3>3. Email Recipient</h3><p>Identifying the email&#39;s intended recipient is crucial to understanding its relevance and authenticity.</p><ol><li>Using the eioc.py Script:<br>The script&#39;s output included the &quot;To&quot; field from the email header, which identified the recipient as:<br>emily.nguyen@glbllogistics.co</li><li>Manual Inspection of the Header:<br>Opening the email file in a text editor revealed the “To” field in the email header:</li></ol><pre>To: emily.nguyen@glbllogistics.co</pre><ol><li>Verification Using MXToolbox:<br>MXToolbox further validated the recipient’s email address by parsing the header details.</li></ol><p>This confirms that the email was directed specifically to Emily Nguyen, which aligns with the report from the marketing team member.</p><h3>4. Sender’s Display Name</h3><p>The sender’s display name provides an immediate impression of the email’s source. In this case, the email claimed to be from “Dropbox.”</p><ol><li>Header Analysis via the eioc.py Script:<br>The eioc.py script extracted the &quot;From&quot; field from the email header, which displayed the sender’s display name as:<strong><em>Dropbox</em></strong></li><li>Manual Inspection of the Email Header:<br>Reviewing the header in a text editor revealed the “From” field:</li></ol><pre>From: Dropbox &lt;no-reply@dropbox.com&gt;</pre><p>The use of a recognizable name like “Dropbox” is a tactic often employed in phishing attempts to gain the recipient’s trust. This finding was critical to determining the email’s authenticity.</p><h3>5. Return Path (Bounce Email Address)</h3><p>The Return-Path field in the email header indicates the address where undeliverable messages are returned. This information can help verify the legitimacy of the email’s origin.</p><ol><li>Extracted via Didier Stevens’ eioc.py Script:<br>The script output included the Return-Path field, displaying:<br>0101018f6aff12b2-5bcaa145-861b-45da-a06e-b5c1ee3ca941-000000@email.dropbox.com</li><li>Manual Verification in the Header:<br>Searching for the “Return-Path” field in the header using a text editor confirmed the value:</li></ol><pre>Return-Path: &lt;0101018f6aff12b2-5bcaa145-861b-45da-a06e-b5c1ee3ca941-000000@email.dropbox.com&gt;</pre><ol><li>Analysis and Correlation:<br>The Return-Path address uses a domain consistent with Dropbox’s email services, which strengthens the case for the email being legitimate.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YZGY19Njrpy0EarY.png" /></figure><h3>6. Resolved Hostname of Sender’s IP Address</h3><p>The sender’s IP address is a key factor in tracing the email’s origin. The resolved hostname provides further context about the infrastructure used to send the email.</p><ol><li>Extracted IP Address:<br>From the email header, the originating IP address was identified as:<br>54.240.60.143</li><li>DNS Lookup for Hostname Resolution:<br>Using a DNS lookup tool, the sender’s IP address was resolved to the hostname:<br>a60-143.smtp-out.us-west-2.amazonses.com</li><li>Verification through Didier Stevens’ Script:<br>The script’s output included the IP address, which matched the manual findings.</li><li>Analysis of Hostname:<br>The hostname indicates that the email was routed through Amazon Simple Email Service (SES) servers located in the US-West-2 region. Amazon SES is a widely used, legitimate email-sending service, commonly used by businesses like Dropbox to manage email communications.</li></ol><p>By correlating the IP address, hostname, and email content, the likelihood of this email being from a legitimate source increased significantly.</p><h3>7. Autonomous System Number (ASN)</h3><p>The Autonomous System Number (ASN) is a unique identifier assigned to an autonomous system, representing the network that owns the IP address in question. Determining the ASN provides insights into the network infrastructure used to send the email.</p><ol><li>IP Address Identification:<br>From the email header analysis, the sender’s IP address was extracted as:<br>54.240.60.143</li><li>WHOIS Lookup for ASN Identification:<br>A WHOIS query was conducted to determine the ASN associated with this IP address:</li></ol><pre>whois 54.240.60.143</pre><ol><li>The results revealed that the IP address belongs to:<br>ASN: AS16509</li><li>Analysis of ASN:<br>The ASN AS16509 is registered to Amazon Web Services (AWS), indicating that the email originated from an Amazon SES (Simple Email Service) server. This finding aligns with the legitimate infrastructure often used by Dropbox for sending emails.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tbURNZgnocFp_6iq.png" /></figure><h3>8. SPF Check Result</h3><p>The Sender Policy Framework (SPF) check is a mechanism to validate the authenticity of an email’s origin. This involves verifying whether the sending IP address is authorized to send emails for the domain in question.</p><ol><li>SPF Check Conducted via MXToolbox:<br>The email header was analyzed using MXToolbox to perform an SPF check. The tool validated that the sending IP address was authorized, returning the result:<br><strong>SPF Check Result: </strong><strong>Pass</strong></li><li>Significance of the SPF Check:<br>A “Pass” result indicates that the email passed SPF validation, supporting the legitimacy of the sender’s domain and infrastructure. This finding is consistent with Dropbox’s use of Amazon SES.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Vn1ZPqNwG679huok.png" /></figure><h3>9. Sender’s Full SPF Record</h3><p>The SPF record for the sender’s domain provides a list of IP addresses and mechanisms authorized to send emails on behalf of the domain. This is critical for preventing email spoofing.</p><ol><li>DNS Lookup for SPF Record:<br>A DNS lookup was performed to retrieve the SPF record for the sender’s domain (amazonses.com).<br>Command used:</li></ol><pre>nslookup -type=TXT amazonses.com</pre><ol><li>The output revealed the SPF record as:<br>v=spf1 include:amazonses.com ~all</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7Q87XyZB1xdAOqgi.png" /></figure><ol><li>Cross-Verification via MXToolbox:<br>MXToolbox confirmed the SPF record through its SPF lookup functionality.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*i2LXGI30B3yjUGwH.png" /></figure><ol><li>Significance of Findings:<br>The SPF record specifies that only Amazon SES servers are authorized to send emails for this domain. This strengthens the case for the email’s legitimacy.</li></ol><h3>10. Email’s Message ID</h3><p>The Message ID is a unique identifier assigned to each email by the originating server. It helps track the email’s origin and verify its authenticity.</p><ol><li>Message ID Extraction Using Didier Stevens’ Script:<br>The eioc.py script output revealed the Message ID as:<br>&lt;0101018f6aff12b2-5bcaa145-861b-45da-a06e-b5c1ee3ca941-000000@us-west-2.amazonses.com&gt;</li><li>Manual Verification:<br>A review of the email header in a text editor confirmed the same Message ID.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q3XHpltTFntTCimt.png" /></figure><ol><li>Analysis:<br>The Message ID structure and domain align with Amazon SES’s email-sending standards, further validating the email’s authenticity.</li></ol><h3>11. Encoding Type</h3><p>The encoding type defines how the email body content is represented for transmission. Identifying the encoding type helps ensure the content has not been tampered with.</p><ol><li>Identified via Email Header Analysis:<br>Using a text editor, the “Content-Transfer-Encoding” field in the email header was reviewed. It specified:<br>Encoding Type: quoted-printable</li><li>Definition of Quoted-Printable Encoding:<br>This encoding method is commonly used for email content, enabling non-ASCII characters to be encoded in a way that remains compatible with most email systems.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*axs99nu8rEkG5xJO.png" /></figure><ol><li>Significance of Findings:<br>The use of a standard encoding method like quoted-printable supports the legitimacy of the email’s formatting and transmission.</li></ol><h3>12. First URL Extracted (Defanged Format)</h3><p>URLs in phishing emails often lead to malicious websites. Extracting and analyzing these URLs helps identify potential threats.</p><ol><li>URL Extraction Using Didier Stevens’ Script:<br>The script identified several URLs in the email. The first URL extracted, in defanged format, was:<br>hxxps[://]www[.]dropbox[.]com/l/AADiZXaA7dm2EyafvAILlHJAzwU3D55FQwg/forgot_finish</li><li>Alternative Extraction via CyberChef:<br>Using CyberChef, the URLs were extracted, defanged, and cross-verified. The results matched those obtained from Didier Stevens’ script.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aGJalQ-dgFGGC9jA.png" /></figure><ol><li>Analysis of Base Domain:<br>The base domain (www.dropbox.com) was verified as legitimate using Cisco Talos.</li></ol><h3>13. Domain Reputation</h3><p>The reputation of the domain sending the email or hosting links is a strong indicator of the email’s legitimacy.</p><ol><li>Domain Verification via Cisco Talos:<br>The base domain (https://www.dropbox.com) was analyzed using Cisco Talos’ reputation service. The domain was classified as:<br>Reputation: Favorable</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z4gpe0xmY8pjvD0F.png" /></figure><p>2. Significance of Findings:<br>A favorable reputation for the domain suggests it is legitimate and unlikely to be associated with malicious activity.</p><h3>Conclusion</h3><p>Following a comprehensive analysis of the email headers, SPF records, Message ID, and domain reputation, it was concluded that the email is legitimate. Emily Nguyen can safely interact with the email and proceed with the password reset if required.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5567f1caa00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Phishing Detection and Mitigation in Practice: The Mighty Solutions, Inc. Case]]></title>
            <link>https://medium.com/@noble-antwi/phishing-attack-detection-and-response-a-case-study-of-mighty-solutions-inc-c8c302fea859?source=rss-5a223e7f552c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8c302fea859</guid>
            <category><![CDATA[phishing-email]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[scam]]></category>
            <category><![CDATA[breach]]></category>
            <dc:creator><![CDATA[Noble W. Antwi]]></dc:creator>
            <pubDate>Fri, 10 Jan 2025 16:54:33 GMT</pubDate>
            <atom:updated>2025-01-13T04:45:38.541Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>On October 31, 2023, the Security Operations Center (SOC) at Mighty Solutions, Inc. received an email forwarded by Dana Derringer, an account executive. The email warned that her online access had been disabled. Dana noted that this was suspicious as her access to her online business platforms and inbox was unaffected. She forwarded the email to the security team’s phishing mailbox for review.</p><p>Upon detailed investigation, it was determined that the email was a phishing attempt, attempting to deceive Dana into taking potentially harmful actions. This report provides a step-by-step analysis of the investigation process, including tools used, evidence gathered, and final recommendations.</p><h3>Incident Overview</h3><p>Organization: Mighty Solutions, Inc.<br>Alert Triggered: Suspicious email forwarded to phishing mailbox<br>Recipient: Dana Derringer<br>Suspected Sender: “Outlook Support Team”</p><h3>Step 1: Email Header Analysis</h3><h3>1.1 Delivery Date and Time</h3><p>The email header was analyzed using Didier Stevens’ eioc.py script to extract key metadata. The following command was executed:</p><pre>python3 Tools/eioc.py Challenges/challenge1.eml</pre><p>Result: The email delivery date and time were identified as:</p><p>Tue, 31 Oct 2023 10:10:04 -0900</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*W-GNiidfldVH3DYN.png" /></figure><h3>1.2 Subject of the Email</h3><p>From the script output, the subject line was extracted as:</p><pre>Your account has been flagged for unusual activity</pre><h3>1.3 Recipient Details</h3><p>The email was addressed to:</p><pre>dderringer@mighty-solutions.net</pre><h3>1.4 Sender Details</h3><ul><li>Display Name: <strong>Outlook Support Team\</strong></li><li>Actual Sender Email: <strong>social201511138@social.helwan.edu.eg</strong></li></ul><h3>1.5 Return Path (Bounce Address)</h3><p>The email header revealed the return path, used for receiving bounced emails, as:</p><pre>social201511138@social.helwan.edu.eg</pre><h3>1.6 Sender’s IP Address</h3><p>The sender’s IP address was identified as:</p><pre>40.107.22.60</pre><h3>1.7 Resolved Hostname of the Sender’s IP Address</h3><p>Using the following command, the sender’s IP address was resolved to its hostname:</p><pre>nslookup 40.107.22.60</pre><ul><li>Result: The resolved hostname was:</li><li>mail-am6eur05on2060.outbound.protection.outlook.com</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KBe-n-ZW_kJkLv6R.png" /></figure><h3>1.8 Corporation Owning the Sender’s IP Address</h3><p>A whois query was performed to identify the owner of the sender&#39;s IP address:</p><pre>whois 40.107.22.60</pre><p>Result: The IP address is owned by Microsoft Corporation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y7JIwSv7b2f0Nt2W.png" /></figure><h3>1.9 SPF Check</h3><p>Using the email header parser platform at <a href="https://mha.azurewebsites.net/">mha.azurewebsites.net</a>, the SPF check result was:</p><pre>Pass</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ito0SKhkCGXq1rjR.png" /></figure><h3>1.10 Sender’s Full SPF Record</h3><p>The sender’s SPF record was extracted using the following command:</p><pre>nslookup -type=txt helwan.edu.eg</pre><p>Result:v=spf1 include:spf.protection.outlook.com -all</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dEQijbzkgYoRfDrx.png" /></figure><h3>1.11 Message ID</h3><p>The email’s unique Message ID was identified as:</p><pre>&lt;JMrByPl2c3HBo8SctKnJ5C5Gp64sPSSWk76p4sjQ@s6&gt;</pre><h3>1.12 Content Transfer Encoding</h3><p>The email body content encoding was extracted using a text editor. It was determined to be:</p><pre>Base64</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ujxOFW8Hs4iaeiBC.png" /></figure><h3>Step 2: URL Analysis</h3><h3>2.1 Extracted URL in Defanged Format</h3><p>The second URL from the email body was extracted and defanged for security purposes:</p><pre>hxxps[://]0[.]232[.]205[.]92[.]host[.]secureserver[.]net/lclbluewin08812/</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*50HXD86hpXd9srdW.png" /></figure><ul><li>Additional Verification: CyberChef was used to decode the Base64 content, extract URLs, and defang them.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MNBIdCIBR1PJ13rs.png" /></figure><h3>2.2 VirusTotal Scan</h3><p>The defanged URL was scanned using VirusTotal. The verdict assigned by Fortinet was:</p><pre>Phishing URL</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3cT7ZdVSGCdQgS_F.png" /></figure><h3>Conclusion</h3><p>As the SOC Analyst, I have thoroughly reviewed the email and confirmed that it is not genuine. The following evidence supports this conclusion:</p><ol><li>Sender Spoofing: The email claimed to be from “Outlook Support Team,” but the sender’s actual domain was helwan.edu.eg, a non-affiliated domain.</li><li>Phishing URL: The email contained a malicious URL identified as phishing by VirusTotal.</li><li>Base64 Encoding: The email body was encoded in Base64, a common technique used by attackers to obfuscate malicious content.</li><li>Mismatch in SPF Records: Although the SPF check passed, the sender’s domain does not align with the claimed sender organization.</li></ol><h3>Recommendations</h3><ol><li>Block Sender: Add social.helwan.edu.eg and the associated IP address to the organization’s blocklist.</li><li>Alert the User: Inform Dana Derringer about the phishing attempt and advise her to remain vigilant.</li><li>Strengthen Email Security: Implement stricter DMARC policies and anomaly detection for incoming emails.</li><li>Threat Intelligence Sharing: Share the malicious URL and other indicators with threat intelligence platforms.</li><li>Phishing Awareness Training: Conduct company-wide training to educate employees about identifying phishing attempts.</li></ol><p>This investigation highlights the importance of continuous monitoring and proactive measures to mitigate phishing threats.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8c302fea859" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey at Illinois Tech: A Transformative First Semester]]></title>
            <link>https://medium.com/@noble-antwi/my-journey-at-illinois-tech-a-transformative-first-semester-f44aace4b639?source=rss-5a223e7f552c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f44aace4b639</guid>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[mentorship]]></category>
            <category><![CDATA[academic]]></category>
            <dc:creator><![CDATA[Noble W. Antwi]]></dc:creator>
            <pubDate>Wed, 11 Dec 2024 15:56:58 GMT</pubDate>
            <atom:updated>2024-12-11T16:57:10.540Z</atom:updated>
            <content:encoded><![CDATA[<p>The journey to Illinois Tech has been one of resilience, determination, and growth. It began with challenges that tested my resolve and has since unfolded into an enriching experience filled with learning, discovery, and meaningful connections. As I reflect on my first semester, I am grateful for the opportunities, mentorship, and support that have shaped this chapter of my life.</p><h3>The Road to Illinois Tech</h3><p>In July 2024, after meticulous preparation and unwavering determination, I secured my F1 visa at the American Embassy in Accra. I owe this achievement to the guidance of Ian Ayissa and Jerome Klu, whose insights were invaluable, and to the spiritual and emotional support of my mother, Mornyuie Annie. Her prayers and belief in me have been a cornerstone of my strength, inspiring me to aim higher each day. I definitely cannot thank enough Gifty Senam Dovie. She holds a special place in my heart for her immerse support in diverse ways. Unimaginable ways!!</p><p>The journey to the U.S., however, was far from smooth. A trusted friend defrauded me of the flight ticket I had purchased, forcing me to buy a new ticket at the airport amidst much pain and anguish. This experience tested my resolve, but it also reinforced my determination to succeed. When I finally landed in Chicago after spending the night at JFK, I was ready to embrace the challenges ahead and immerse myself in the field of cybersecurity — a domain I was entering for the first time with immense excitement and curiosity.</p><h3>Academic Highlights</h3><p>The semester officially began in August 2024, with a mix of excitement and anxiety as I embarked on this new academic journey. I enrolled in three courses, each of which provided a unique perspective on the world of cybersecurity:</p><h4>1. Cyber Forensics (Dr. Omar Marwan)</h4><p>Cyber Forensics delved into the critical aspects of digital investigations, equipping me with the tools and techniques necessary to analyze and recover digital evidence. Under Dr. Omar’s expert guidance, I explored modules such as:</p><ul><li><strong>Introduction to Forensics</strong></li><li><strong>Forensic Tools and Techniques</strong>: Practical exposure to tools like Paraben E3, Volatility, Wireshark, FTK Imager, Autopsy, OpenPuff, and StegHide provided hands-on experience in data recovery and analysis.</li><li><strong>Operating System Forensics</strong>: Techniques for recovering and analyzing data on Windows, Linux, and macOS systems.</li><li><strong>Network and Memory Forensics</strong>: Investigating data transmission and volatile memory for potential evidence.</li><li><strong>Steganography and Scrambling Techniques</strong>: Methods for uncovering hidden information.</li><li><strong>Incident Response and Disaster Recovery</strong></li></ul><p>This course also included 10 comprehensive labs, which allowed me to apply theoretical knowledge to real-world scenarios. My research topic, <em>“Forensic Artifacts in Operating Systems: Windows vs. Linux,”</em> was a highlight of this course. It provided insights into how these two operating systems handle forensic artifacts differently. I am thrilled that this research may be accepted as a chapter in a book being written by Dr. Omar — a testament to the depth and quality of the work.</p><p>Dr. Omar’s dedication to the course and his ability to blend academic theory with industry practice made this learning experience truly exceptional.</p><h4>2. Cybersecurity Management (Prof. Thomas Johnson)</h4><p>This course explored the strategic and managerial aspects of cybersecurity, focusing on governance, compliance, and risk management. With Prof. Johnson’s extensive experience in the financial sector, including his tenure as a Chief Information Security Officer (CISO), the lectures were enriched with real-world insights.</p><p>Key topics included:</p><ul><li><strong>Introduction to Information Security</strong></li><li><strong>Compliance, Legal, and Ethical Issues</strong></li><li><strong>Risk Management and Governance</strong></li><li><strong>Developing Security Policies and Programs</strong></li><li><strong>Security Audits and Metrics</strong></li></ul><p>My final research project, <em>“Managing the Adoption and Implementation of Zero Trust Architecture: Overcoming Organizational, Cultural, and Compliance Challenges in Modern Cybersecurity,”</em> allowed me to explore the complexities of implementing Zero Trust in dynamic organizational environments.</p><p>Prof. Johnson’s ability to contextualize theoretical concepts with practical applications made this course both engaging and enlightening. His passion for teaching and his commitment to student success were truly inspiring.</p><h4>3. Vulnerability Analysis and Control (Dr. Kevin Vaccaro)</h4><p>This course introduced me to ethical hacking and penetration testing, laying the foundation for identifying and mitigating vulnerabilities in complex systems. Dr. Vaccaro guided us through critical modules such as:</p><ul><li><strong>Reconnaissance and Footprinting</strong></li><li><strong>Vulnerability Assessment Techniques</strong></li><li><strong>Network Penetration Testing</strong></li><li><strong>Password Cracking and Active Directory Exploitation</strong></li><li><strong>Social Engineering and Web Application Testing</strong></li></ul><p>One of the most exciting moments in this course came during the final exam. We were tasked with analyzing a Windows Server environment and exploiting vulnerabilities. Using tools like <strong>Nmap</strong>, I identified an FTP vulnerability, successfully exploited it, and obtained credentials to access the <strong>Windows Server 2019</strong> system. As part of the exam deliverable, we were also required to write a comprehensive <strong>penetration testing report</strong>, documenting the vulnerabilities discovered, the exploitation process, and recommended mitigations. This hands-on challenge was both thrilling and educational, showcasing the real-world application of ethical hacking principles and the importance of thorough documentation in cybersecurity assessments.</p><p>Dr. Vaccaro’s structured approach and emphasis on ethical practices in cybersecurity made this course a standout. His ability to connect theory with the tools used in industry provided a comprehensive and rewarding learning experience.</p><h3>Beyond the Classroom</h3><p>The learning extended well beyond academics. I had the privilege of participating in the <strong>Cyversity Mentorship Program</strong>, where I was mentored by <strong>Shree Reddy.</strong> Her guidance, encouragement, and introductions to professionals like <strong>Mr. Daniel Kassa</strong> were instrumental in shaping my career aspirations. Shree’s mentorship has been a constant source of inspiration, and I am deeply grateful for her support throughout the semester.</p><p>Competing in the <strong>AWS Jam Challenge</strong> was another highlight of this semester. My team secured second place at both the regional and national levels, tackling complex cloud-related tasks that demanded deep knowledge of AWS services, quick thinking, and teamwork. These challenges honed my cloud computing skills and strengthened my resolve to excel in the field.</p><p>I also made a conscious effort to expand my network, connecting with amazing individuals like Kevin Lee who has been incredibly supportive and insightful. Additionally, I had the privilege of collaborating with wonderful coursemates such as Aleke Ngozie and Lola Ogbe, whose perspectives enriched my learning experience.</p><h3>Looking Ahead</h3><p>As I conclude this first semester with a <strong>4.0 GPA</strong>, I am filled with gratitude for the people who have supported me on this journey — my professors, mentors, peers, and family. Their contributions have been invaluable, and I am excited to build on this foundation in the semesters ahead.</p><p>I look forward to exploring advanced topics in cybersecurity and cloud security, applying my skills in real-world settings, and continuing to grow both personally and professionally. I am also <strong>actively seeking internship opportunities in cybersecurity and cloud security</strong>, where I can contribute meaningfully and further enhance my skills.</p><h3>A Heartfelt Thank You</h3><p>To Dr. Omar Marwan, Prof. Thomas Johnson, and Dr. Kevin Vaccaro — thank you for your dedication, expertise, and the real-world insights you bring to the classroom. Your guidance has been instrumental in shaping my understanding and passion for cybersecurity.</p><p>To my mentor Shree Reddy, my family, and my peers — thank you for your unwavering support and encouragement. This journey would not have been the same without you.</p><p>As I look to the future, I am eager to embrace new challenges, connect with inspiring professionals, and contribute to the ever-evolving field of cybersecurity. To anyone reading this who is on a similar path, let’s connect and support each other on this incredible journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f44aace4b639" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>