<?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 Saima Anam Syed on Medium]]></title>
        <description><![CDATA[Stories by Saima Anam Syed on Medium]]></description>
        <link>https://medium.com/@Saima.anam?source=rss-8e7511ef71ab------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8Uz1AT1323lDsTKe</url>
            <title>Stories by Saima Anam Syed on Medium</title>
            <link>https://medium.com/@Saima.anam?source=rss-8e7511ef71ab------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 02:08:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Saima.anam/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[Phishing-as-a-Service Disrupted: Microsoft and Cloudflare Took Down RaccoonO365 That Targeted…]]></title>
            <link>https://medium.com/@Saima.anam/phishing-as-a-service-disrupted-microsoft-and-cloudflare-took-down-raccoono365-that-targeted-f901777d7999?source=rss-8e7511ef71ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/f901777d7999</guid>
            <dc:creator><![CDATA[Saima Anam Syed]]></dc:creator>
            <pubDate>Mon, 22 Sep 2025 15:29:53 GMT</pubDate>
            <atom:updated>2025-09-22T15:29:53.101Z</atom:updated>
            <content:encoded><![CDATA[<h3>Phishing-as-a-Service Disrupted: Microsoft and Cloudflare Took Down RaccoonO365 That Targeted Microsoft 365 Users</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lr9nxCFi85oJLRvGD8Pigg.jpeg" /></figure><h3>Introduction</h3><p>Phishing isn’t new but the business model behind it has evolved. <br>What once required skilled cybercriminals handcrafting fake login pages is now sold as a ready-made service. With Phishing-as-a-Service (PhaaS), cybercrime has become fully commoditized offering even low-skilled attackers access to professional phishing kits, complete with updates, technical support, and even customer service.</p><p>One of the most notorious PhaaS operations of recent years RaccoonO365<strong> </strong>has just been taken down. In September 2025, Microsoft and Cloudflare joined forces to disrupt the service, seizing 338 malicious domains and Worker accounts, and unmasking its alleged mastermind.</p><p>This case offers a glimpse into how cybercrime has industrialized and how defenders are fighting back.</p><h4>What Was RaccoonO365?</h4><p>RaccoonO365 was more than just a phishing kit. It was a subscription-based cybercrime service, marketed through a private Telegram channel with 850+ members. For a monthly fee, customers gained access to ready-made phishing tools that allowed them to:</p><ul><li>Send up to 9,000 phishing emails per day</li><li>Clone trusted services like Microsoft, SharePoint, and DocuSign</li><li>Evade detection with Cloudflare Worker-based anti-analysis scripts and CAPTCHAs</li><li>Attempt to bypass MFA protections</li></ul><p>Pricing model:</p><ul><li>30 days — $355</li><li>90 days — $999<br> (Paid in cryptocurrency such as BTC, USDT, and Polygon.)</li></ul><p>The affordability, automation, and professional packaging made it one of the fastest-growing phishing toolkits targeting Microsoft 365 accounts.</p><h4>The Damage: Global Reach and Healthcare Risks</h4><p>Between July 2024 and September 2025, RaccoonO365 was used in 94 countries, stealing at least 5,000 Microsoft 365 credentials.<br>Key campaigns included:</p><ul><li>Tax-themed phishing (April 2025): Targeted 2,300+ U.S. organizations</li><li>Healthcare sector attacks: Hit at least 20 U.S. hospitals and clinics, endangering patient safety.</li></ul><p>The stolen credentials and session cookies were then resold or abused in:</p><ul><li>Financial fraud (wire transfer scams, business email compromise)</li><li>Ransomware campaigns (delivered after initial phishing footholds)</li><li>Extortion attempts using stolen OneDrive or SharePoint data</li></ul><p>Microsoft’s Steven Masada warned that these attacks delayed treatments, compromised lab results, and directly impacted patient care — showing that phishing isn’t just an IT problem, but a public safety threat.</p><h4><strong>The Mastermind Behind RaccoonO365</strong></h4><p>Microsoft attributed the operation to Joshua Ogundipe, a Nigerian programmer known internally as part of Storm-2246.</p><ul><li>Operational mistake: Ogundipe’s team accidentally exposed a cryptocurrency wallet, allowing investigators to trace payments.</li><li>Income: At least $100,000 in confirmed crypto payments (likely an underestimate).</li><li>Affiliations: Cloudflare noted possible collaboration with Russian-speaking cybercriminals.</li></ul><p>Microsoft obtained a U.S. court order to seize RaccoonO365’s infrastructure and filed a lawsuit against Ogundipe and associates. A criminal referral has also been sent to international law enforcement.</p><p>While Ogundipe and his team remain free, their infrastructure and revenue streams have been severely disrupted.</p><h4>The AI Twist: Phishing Gets Smarter</h4><p>RaccoonO365 wasn’t static. Recently, it began marketing a new tool,<br> AI-MailCheck, designed to improve phishing campaigns by using AI to Personalize messages at scale, Evade detection through dynamic content generation and Increase success rates against even cautious users</p><p>This marks a disturbing evolution: PhaaS operators adopting AI to make phishing more convincing and harder to stop.</p><h4>How Microsoft and Cloudflare Shut It Down</h4><p>The takedown was not a simple “block and move on.” <br>It was a multi-layered operation:</p><ol><li>Legal action: Microsoft secured a court order from the Southern District of New York to seize 338 domains.</li><li>Cloudflare action: Banned all identified domains</li></ol><ul><li>Deployed interstitial phishing warning pages</li><li>Terminated Cloudflare Workers scripts used to filter out researchers and bots</li><li>Suspended associated user accounts to prevent re-registration</li></ul><p>Partnerships: Microsoft also teamed up with Health-ISAC, highlighting the threat to healthcare organizations.</p><p>This shift from reactive single-domain takedowns to proactive infrastructure-wide disruption demonstrates a stronger approach to dismantling cybercrime.</p><h4>Why This Matters</h4><p>RaccoonO365 shows how cybercrime has become a service industry, with subscription models, customer support, and marketing strategies that rival legitimate startups. For defenders, it underscores several key truths:</p><ul><li>Accessibility fuels scale: Low-skilled criminals can now run sophisticated phishing campaigns.</li><li>Healthcare is a prime target: Attacks on hospitals have direct life-and-death consequences.</li><li>AI is entering the phishing playbook: Expect more adaptive, convincing lures.</li><li>Collaboration works: Tech companies, ISACs, and courts together can meaningfully disrupt criminal infrastructure.</li></ul><h4>What Organizations Should Do</h4><p>The battle against phishing isn’t ending anytime soon. Here are practical steps-</p><ul><li>Adopt phishing-resistant authentication (FIDO2 keys, passkeys) instead of relying only on MFA.</li><li>Deploy behavioral monitoring to detect abnormal sign-ins, cookie theft, and impossible travel logins.</li><li>Run phishing simulations and user training to keep employees alert.</li><li>Layer defenses with email gateways, sandboxing, and identity protection tools.</li><li>Build incident response readiness — assume credentials <em>will</em> be phished and prepare containment steps.</li></ul><h4>Conclusion</h4><p>The takedown of RaccoonO365 is a win for defenders, but it’s also a warning. PhaaS platforms like RaccoonO365 lower the barrier for cybercrime, scale attacks globally, and are now experimenting with AI.</p><p>The future of phishing is industrialized, subscription-based, and increasingly automated. But this case shows that collaboration between tech companies, legal systems, and security researchers can disrupt even the most professionalized cybercrime services.</p><p>As organizations, the takeaway is clear: harden identity systems, train your people, and be ready because while RaccoonO365 has been disrupted, the next service is already waiting in the wings.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f901777d7999" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Storm-0501: The Ransomware Group Exploiting Entra ID to Wipe Azure Data]]></title>
            <link>https://medium.com/@Saima.anam/storm-0501-the-ransomware-group-exploiting-entra-id-to-wipe-azure-data-95942fed3796?source=rss-8e7511ef71ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/95942fed3796</guid>
            <category><![CDATA[ransomware]]></category>
            <dc:creator><![CDATA[Saima Anam Syed]]></dc:creator>
            <pubDate>Wed, 03 Sep 2025 05:15:07 GMT</pubDate>
            <atom:updated>2025-09-03T05:15:07.173Z</atom:updated>
            <content:encoded><![CDATA[<p>Ransomware isn’t what it used to be. Gone are the days when attackers simply encrypted on-premises endpoints and demanded payment for a decryption key. A new breed of adversary is exploiting <strong>cloud-native features</strong> to move faster, hit harder, and bypass traditional defenses.</p><p>One of the most notable players in this evolution is <strong>Storm-0501</strong>, a financially motivated threat group that Microsoft has been tracking since 2021. In its latest campaign, Storm-0501 pivoted from on-prem Active Directory into Microsoft Entra ID, escalated privileges to Global Admin, <strong>exfiltrated and destroyed Azure data</strong>, and then demanded ransom, all without dropping traditional malware.</p><p>This post breaks down what happened, why it matters, and what organizations can do to defend themselves.</p><h3>How Storm-0501 Operates</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7H51S0UQvfDrd4knrar9Bw.png" /><figcaption>Storm-0501 ransomware attack flow from The Hacker News article by Ravie Lakshmanan (Aug 27, 2025)</figcaption></figure><h3>1. Initial Access</h3><p>Storm-0501 often relies on <strong>access brokers</strong> such as Storm-0249 and Storm-0900. These brokers sell footholds into enterprise networks through:</p><ul><li>Stolen or compromised credentials</li><li>Exploited RCE vulnerabilities in public-facing servers (e.g., Zoho ManageEngine, Citrix NetScaler, Adobe ColdFusion)</li></ul><p>This gets Storm-0501 inside the victim’s perimeter.</p><h3>2. On-Premises Exploitation</h3><p>Once inside, the group leverages a mix of <strong>post-exploitation tools and techniques</strong>:</p><ul><li><strong>Evil-WinRM</strong>: for remote code execution over WinRM using PowerShell.</li><li><strong>DCSync Attacks</strong>: abusing the Directory Replication Service Remote Protocol to extract password hashes and impersonate domain controllers.</li></ul><p>In one case, Storm-0501 compromised <strong>Entra Connect Sync servers</strong> that lacked Defender for Endpoint protection. These became perfect <strong>pivot points</strong> for tunneling laterally across the network.</p><h3>3. Cloud Pivot (Entra ID + Azure)</h3><p>The attackers eventually uncovered a <strong>non-human identity</strong> synced into Entra ID with <strong>Global Admin rights </strong>but crucially, <strong>no MFA protection</strong>.</p><p>With this, they:</p><ul><li>Reset on-premises passwords, which synced into the cloud.</li><li>Registered a new attacker-controlled MFA method.</li><li>Logged into the Azure portal as Global Admin.</li></ul><p>From here, Storm-0501 executed a devastating chain:</p><ul><li><strong>Registered an attacker-owned Entra ID tenant as a trusted federated domain</strong>, creating a backdoor.</li><li><strong>Elevated access via Microsoft Authorization/elevateAccess/action</strong>, gaining User Access Administrator in Azure.</li><li><strong>Enumerated resources with AzureHound</strong>, moved laterally across tenants, and exfiltrated critical data.</li></ul><h3>4. Impact</h3><p>The attackers didn’t stop at theft. After exfiltrating data, they <strong>mass-deleted Azure resources</strong>, crippling recovery efforts by destroying backups.</p><p>Finally, Storm-0501 reached out to victims <strong>via compromised Microsoft Teams accounts</strong>, demanding ransom for the stolen data — a chilling twist that turned an everyday collaboration tool into the extortion channel.</p><h3>Why This Attack Matters</h3><p>This incident highlights several critical shifts in ransomware:</p><ul><li><strong>From endpoints to identities</strong>: Instead of deploying malware, attackers exploit hybrid identity systems.</li><li><strong>From encryption to destruction</strong>: By wiping data and backups, recovery becomes nearly impossible.</li><li><strong>From emails to Teams</strong>: Attackers are weaponizing trusted collaboration platforms to pressure victims.</li><li><strong>From single-tenant to multi-tenant</strong>: The ability to traverse multiple Active Directory domains and Azure tenants amplifies impact.</li></ul><h3>How to Defend Against Storm-0501-Style Attacks</h3><p>Microsoft and security researchers recommend several mitigations:</p><ol><li><strong>Enforce MFA Everywhere</strong></li></ol><ul><li>Especially for Global Admins and non-human accounts.</li><li>Never allow privileged identities without MFA.</li></ul><p><strong>2. Harden Entra Connect Sync Servers</strong></p><ul><li>Enable <strong>Trusted Platform Module (TPM)</strong> to securely store credentials and keys.</li><li>Keep servers onboarded to <strong>Defender for Endpoint</strong>.</li><li>Update to <strong>Entra Connect v2.5.3.0</strong> or later to enable Modern Authentication.</li></ul><p><strong>3. Audit and Limit Privileges</strong></p><ul><li>Apply <strong>least privilege access</strong>.</li><li>Regularly review global admin roles and non-human accounts.</li></ul><p><strong>4. Strengthen Conditional Access Policies</strong></p><ul><li>Enforce CA policies at every login.</li><li>Watch for new MFA registrations and suspicious federation changes.</li></ul><p><strong>5. Improve Visibility Across Tenants</strong></p><ul><li>Ensure consistent Defender coverage across <strong>all Active Directory domains and tenants</strong>.</li><li>Monitor for DCSync attempts, lateral movement, and unusual SAML token activity.</li></ul><h3>Conclusion</h3><p>Storm-0501 is a stark reminder that ransomware is <strong>no longer just about encryption</strong>. Cloud-native extortion is faster, stealthier, and harder to recover from.</p><p>By abusing Entra ID and hybrid cloud misconfigurations, this group turned Azure itself into the battleground. Organizations that rely on Microsoft 365 and Azure need to treat <strong>identity and cloud configuration</strong> as mission-critical security priorities — not afterthoughts.</p><p><strong>Key takeaway</strong>: If your Global Admins don’t have MFA, your cloud crown jewels are already at risk.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95942fed3796" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying Security in AWS Cloud: Simple Guide to Staying Safe in the Cloud]]></title>
            <link>https://medium.com/@Saima.anam/demystifying-security-in-aws-cloud-simple-guide-to-staying-safe-in-the-cloud-2a5e6a08071d?source=rss-8e7511ef71ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a5e6a08071d</guid>
            <category><![CDATA[data-protection]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[aws-cloud]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Saima Anam Syed]]></dc:creator>
            <pubDate>Tue, 29 Jul 2025 00:37:13 GMT</pubDate>
            <atom:updated>2025-07-29T00:37:13.272Z</atom:updated>
            <content:encoded><![CDATA[<p>When you move to the cloud, you’re not just gaining speed and flexibility, you’re also taking on a new responsibility: <strong>keeping your cloud environment secure</strong>.</p><p><strong>AWS (Amazon Web Services)</strong> gives you a powerful toolkit to build safely in the cloud. In this post, I’ll walk you through the <strong>various</strong> <strong>types of security controls in AWS, </strong>explained in simple terms, and how they actually work behind the scenes.</p><p><strong>1. Shared Responsibility Model: You and AWS Are a Team</strong></p><p>Imagine your cloud setup is like renting an apartment:</p><ul><li><strong>AWS provides the building</strong> — strong doors, security cameras, locks.</li><li><strong>You furnish the apartment</strong> — your laptop, passwords, and important documents.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rRd2SWvqPqdFKqReaj4qmQ.png" /><figcaption>AWS Shared Responsibility Model chart comparing AWS’s responsibilities (infrastructure security) with customer responsibilities (data, access, applications)</figcaption></figure><ul><li><strong>AWS secures the infrastructure</strong> — This includes the physical security of data centers, hardware, network devices, and foundational services. AWS ensures these are resilient, monitored and protected against threats.</li><li><strong>You secure your workloads</strong> — You are responsible for managing and securing what you deploy in the cloud, like EC2 instances, S3 buckets, IAM policies, and application-level configurations. You control access, patch software, and enforce encryption or firewall rules.</li></ul><blockquote><em>Always ask: </em>“What am I responsible for?”<em> when using an AWS service.</em></blockquote><p><strong>2. Identity and Access Management (IAM): Controlling Who Can Do What</strong></p><p>Think of IAM as your <strong>digital security guard</strong>. It lets you define:</p><ul><li><strong>Who can access AWS</strong> (users, apps)</li><li><strong>What they can do</strong> (read S3, launch EC2, etc.)</li><li><strong>Where and when they can do it</strong> (e.g., IP address, time-based restrictions)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZlSxGVJsDOHKVrRNmwoOpg.png" /><figcaption>IAM visual showing user, group, policy, permission, and multi-factor authentication components around a security shield</figcaption></figure><p><strong>IAM </strong>in AWS is a service that helps you securely control access to AWS resources. It lets you define <strong>who</strong> (users, groups, roles) can access <strong>what</strong> (like EC2, S3) and <strong>how</strong> (permissions, conditions like IP or time). With IAM, you can enforce the principle of least privilege, giving users only the access they need.</p><p>Some best practices:</p><ul><li>Use <strong>IAM roles</strong> instead of hardcoded keys</li><li>Turn on <strong>MFA (multi-factor authentication)</strong></li><li>Apply the <strong>least privilege principle</strong> (only give what’s needed)</li></ul><blockquote><em>IAM is the backbone of AWS security — never overlook it.</em></blockquote><p><strong>3. Network Security: Build a Safe Neighborhood (VPC)</strong></p><p>AWS lets you build your own private network in the cloud, it’s called a <strong>VPC (Virtual Private Cloud)</strong>.</p><p>Inside your VPC:</p><ul><li><strong>Security Groups</strong> act like firewalls on your instances (stateful)</li><li><strong>NACLs (Network Access Control Lists)</strong> protect subnets (stateless)</li><li><strong>Private subnets + NAT Gateways</strong> allow instances to access the internet without being exposed</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZvSr0LtIh84-79pBKatB0Q.png" /><figcaption>AWS network security architecture featuring core VPC components: subnets, security groups, network ACLs (NACLs), routing, firewalls, and VPN</figcaption></figure><p><strong>Amazon VPC </strong>is a foundational security layer in AWS that lets you isolate and control your cloud network. From a security perspective, VPC allows you to define IP ranges, create public and private subnets, and configure <strong>security groups</strong> and <strong>network ACLs</strong> to control inbound and outbound traffic. It acts like a secure, customizable data center in the cloud, giving you full control over how resources communicate and who can access them.</p><blockquote><em>Public subnets = open to the internet. Private subnets = shielded.</em></blockquote><p><strong>4. Data Protection: Lock It Down with Encryption</strong></p><p>Would you store your important files without a password? Hopefully not.<br>AWS helps protect your data in two key ways:</p><ul><li><strong>Encryption at rest</strong>: AWS services like S3, RDS, and EBS can automatically encrypt data using <strong>AWS KMS (Key Management Service)</strong></li><li><strong>Encryption in transit</strong>: Data is encrypted while moving using HTTPS (TLS)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dPiJAbCJAoF8IfGbnge91Q.png" /><figcaption>Illustration showing AWS data encryption. covering encryption at rest (S3, RDS, EBS), encryption in transit (HTTPS/TLS), and AWS KMS with customer-controlled keys.</figcaption></figure><p><strong>Data Encryption in AWS</strong> is a critical security measure that protects your data at rest and in transit. AWS offers built-in encryption for services like S3, EBS, and RDS using <strong>AWS Key Management Service (KMS)</strong>. You can use AWS-managed keys or create your own customer-managed keys (CMKs). For data in transit, AWS uses protocols like <strong>TLS</strong> to secure communications. Encryption ensures that even if data is intercepted or accessed, it remains unreadable without the proper decryption keys.And yes, <strong>you control the keys</strong> if you want to.</p><blockquote><em>Data should be secure whether it’s stored or in motion.</em></blockquote><p><strong>5. Logging and Monitoring: Always Know What’s Happening</strong></p><p>You can’t protect what you can’t see. AWS provides tools to help you <strong>watch everything</strong>:</p><ul><li><strong>CloudTrail</strong>: Tracks every API call made in your account</li><li><strong>CloudWatch</strong>: Logs, metrics, alerts — like a security camera system</li><li><strong>AWS Config</strong>: Tells you what changed and whether it’s compliant</li><li><strong>GuardDuty</strong>: Detects suspicious activity like brute-force or crypto mining</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uh1vLUBMuEDbaxZIBg1sJw.png" /><figcaption>AWS logging and monitoring breakdown in AWS with CloudTrail logs tracking, CloudWatch, alarms, and dashboards along with Config for complaince and change tracking</figcaption></figure><blockquote><em>Think of it as security cameras + alarms for your cloud.</em></blockquote><p><strong>6. Web and App Security: Guarding the Front Door</strong></p><p>If you’re running a website or app:</p><ul><li>Use <strong>AWS WAF</strong> (Web Application Firewall) to block bad requests (SQL injection, XSS, etc.)</li><li>Use <strong>Shield</strong> to protect against DDoS attacks</li><li>Add <strong>CloudFront + Origin Access Control</strong> to securely deliver content</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fCZxgL3HRWCtcptbIL5RkQ.png" /><figcaption>Web and application security diagram showing WAF, SSL/TLS, DDoS protection, authentication, input validation, and API security</figcaption></figure><blockquote><em>Think of this as having a bouncer at your app’s front door.</em></blockquote><p><strong>7. Compliance and Governance: Proving You’re Doing It Right</strong></p><p>Need to follow rules like GDPR, PCI-DSS, or HIPAA?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mLFJou9LokZAH95S2OJLkw.png" /><figcaption>Compliance and governance visual for GDPR, HIPAA, PCI-DSS, audit logs, reports, and policies, emphasizing AWS security compliance.</figcaption></figure><ul><li><strong>AWS Artifact</strong> gives you audit-ready reports</li><li><strong>AWS Organizations + SCPs</strong> enforce security policies across accounts</li><li><strong>Security Hub</strong> provides a centralized security dashboard</li></ul><blockquote><em>You can build systems that are secure </em>and<em> compliant with global standards.</em></blockquote><p><strong>8. Automation and Response: React Fast to Security Events</strong></p><p>Don’t wait for someone to report an issue.</p><ul><li>Use <strong>CloudWatch Alarms + Lambda</strong> to auto-respond to threats</li><li>Use <strong>Systems Manager</strong> to patch or lock down EC2 instances automatically</li><li>Set up <strong>playbooks</strong> for common incidents (e.g., exposed keys, compromised EC2)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ozZZ7Y8LyWY_J79klKZTZQ.png" /><figcaption>Automation in AWS</figcaption></figure><blockquote><em>In security, faster response = less damage.</em></blockquote><p><strong>Final Thoughts</strong></p><p>Security in AWS isn’t just about firewalls and passwords, it’s about <strong>layers of protection</strong> working together:</p><ul><li>Right identity and permissions</li><li>Strong network controls</li><li>Encrypted and monitored data</li><li>Fast incident response</li></ul><p>Whether you’re launching your first EC2 instance or managing a production-grade workload, <strong>understanding these security pillars</strong> will help you build confidently in the cloud.</p><p><em>Stay secure and cloud smart!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a5e6a08071d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exposed vs Protected: Deploying EC2 Web Servers the Right Way in AWS]]></title>
            <link>https://medium.com/@Saima.anam/exposed-vs-protected-deploying-ec2-web-servers-the-right-way-in-aws-73d11ece9cbe?source=rss-8e7511ef71ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/73d11ece9cbe</guid>
            <category><![CDATA[security-misconfiguration]]></category>
            <category><![CDATA[secure-architecture]]></category>
            <category><![CDATA[aws-security]]></category>
            <dc:creator><![CDATA[Saima Anam Syed]]></dc:creator>
            <pubDate>Sun, 20 Jul 2025 22:17:57 GMT</pubDate>
            <atom:updated>2025-07-20T22:17:57.768Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>This post compares an insecure EC2 deployment in a public subnet with a secure, production-ready design using private subnets, NAT Gateway, and ALB. Learn how I tested the exposure and redesigned it the right way.</blockquote><p><em>I still remember launching my first EC2 instance, it was thrilling to see a web server live in just seconds, until I realized I had left it wide open to the internet.</em></p><p><em>No security groups, no subnet design, no NAT, just a public IP on a public subnet and an open port 80. I thought I had “deployed an app.” What I really did was build an open door into my VPC.</em></p><p><em>In this post, I’ll walk you through that mistake, how I tested and exposed the vulnerability, and how I rebuilt the architecture the </em><strong><em>right</em></strong><em> way using private subnets, NAT Gateways, and secure ALB routing.</em></p><blockquote>Step by step video guide — <a href="https://www.youtube.com/watch?v=rl3RBIwalFo"><strong>https://www.youtube.com/watch?v=rl3RBIwalFo</strong></a></blockquote><blockquote>Github repository — <a href="https://github.com/saimaanam/AWS-Cloud/tree/1a52f885fe0542477c2310695af66375b36abb55/Exposed%20vs%20Protected"><strong>https://github.com/saimaanam/AWS-Cloud/tree/1a52f885fe0542477c2310695af66375b36abb55/Exposed%20vs%20Protected</strong></a></blockquote><h3>🔓 Part 1: The Naive Setup — Exposed by Default</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*binxp0HGwFKaQfrMax6chw.png" /><figcaption>A webserver deployed on EC2-Instance in the Public Subnet</figcaption></figure><ul><li>A basic VPC with one public subnet</li><li>One EC2 instance (Amazon Linux 2)</li><li>Public IP assigned</li><li>Security group open on port 80 and 22</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rEn0KXGFahwm95Ym6hjkFg.png" /><figcaption>Resource map of a public subnet in the VPC</figcaption></figure><blockquote>While launching the instance I installed Apache server using<br>sudo yum install httpd -y<br>sudo systemctl start httpd</blockquote><p>And I had my webserver up and running in seconds!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GeXy_xYjiaSiUQWdaUx1UA.png" /></figure><h3>⚠️ What I Discovered</h3><p>Using tools like curl and nmap, I tested the exposure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pny_kix3qK4AFbi0TCd0Hw.png" /><figcaption>This setup had <strong>no subnet isolation</strong>, no NAT and no monitoring, just a server hanging out on the internet.</figcaption></figure><p>And sure enough, port 80 and 22 were open. Anyone on the internet could:</p><ul><li>Access my server</li><li>Attempt SSH brute-force attacks</li><li>Exploit unpatched web software</li></ul><p>This setup might work for a simple test, but it violates several cloud security best practices:</p><ul><li><strong>Public IP exposure:</strong> Attackers scan AWS IP ranges 24/7. If your EC2 has a public IP and open ports, it will be found.</li><li><strong>No access control:</strong> Anyone could SSH into my instance if they had the key.</li><li><strong>Metadata API abuse risk:</strong> If I had attached an IAM role, it could have been exploited via the EC2 metadata endpoint (169.254.169.254).</li></ul><p>The worst part? I didn’t even know how exposed I was until I ran those tests.</p><h3>🛡️ Part 2: The Secure Setup — Protected by Design</h3><h4>Revised Architecture</h4><p>To follow AWS best practices, I restructured the environment:</p><ul><li><strong>Public Subnets:</strong> Only for the ALB and NAT Gateway</li><li><strong>Private Subnets:</strong> EC2 instances with no public IP</li><li><strong>ALB:</strong> Routes external traffic to EC2 via Target Groups</li><li><strong>NAT Gateway:</strong> Allows EC2 to access the internet <strong>outbound only</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sBD9IOzGdTrqS0hlXv_-CA.png" /><figcaption>2-Tier Secure Web App Architecture on AWS</figcaption></figure><h3>How I Built It (Simplified Steps)</h3><ol><li><strong>VPC Setup:</strong></li></ol><ul><li>2 public subnets (for ALB) and NAT</li><li>1 private subnet (for EC2)</li></ul><p><strong>2. Launch EC2 in private subnet</strong>:</p><ul><li>No public IP</li><li>Security Group allows only port 80 from ALB SG</li></ul><p><strong>3. Launch ALB</strong>:</p><ul><li>Listener on port 80</li><li>Target group = private EC2</li></ul><p><strong>4. Configure NAT Gateway</strong>:</p><ul><li>EC2 instances can access package updates (yum, apt)</li><li>Route table for private subnet uses NAT for 0.0.0.0/0</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LV_yhk8OD7o--_ZBc0_ftQ.png" /><figcaption>Resource map of the updated VPC Structure</figcaption></figure><p><strong>5. And then finally the Web Server Setup and Voila the secured server is up and running!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6pVh91VNorRb1cBpLCuZmg.png" /><figcaption>A secure web server running in a private subnet, accessible only via the ALB</figcaption></figure><h3>Testing the Secure Setup</h3><p>I ran the same tests:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZA_4R4GBbAGYKDsS4H9mxg.png" /></figure><p>Result:</p><ul><li>Only port 80 visible — on the ALB</li><li>EC2 instance itself was completely hidden</li><li>Trying to ping or curl the EC2 public IP? <br>No response — because <strong>it didn’t have one!</strong></li></ul><p>This time, I controlled the attack surface and traffic entry point.</p><h3>📚Lessons Learned-</h3><ol><li>Never deploy EC2 instances directly to the internet unless absolutely required</li><li>Use public/private subnet isolation for layered security</li><li>Let ALBs act as traffic filters, not just load balancers</li><li>NAT Gateways enable controlled outbound traffic</li><li>Start with security, don’t try to bolt it on later</li></ol><p>The cloud is secure by design not secure by default!</p><h3>💭Final Thoughts</h3><p>Misconfigurations in AWS don’t always throw errors, sometimes they silently leave your infrastructure wide open.</p><p>This post documents how I learned from a common mistake and rebuilt my environment the right way. If you’re new to AWS, I hope it encourages you to dive deeper into <strong>subnets, routing, and security best practices.</strong></p><h3>🙌 Let’s Connect</h3><p>If this post helped you or if you like to share your thoughts, let’s chat! Connect with me on LinkedIn:<br><a href="https://www.linkedin.com/in/saima-anam-syed/">https://www.linkedin.com/in/saima-anam-syed/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73d11ece9cbe" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>