<?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 Ken O&#39;Connell on Medium]]></title>
        <description><![CDATA[Stories by Ken O&#39;Connell on Medium]]></description>
        <link>https://medium.com/@kenoconnell1215?source=rss-89e17b78a423------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*5-ldREkJxEEK2kMF</url>
            <title>Stories by Ken O&amp;#39;Connell on Medium</title>
            <link>https://medium.com/@kenoconnell1215?source=rss-89e17b78a423------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 01:13:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kenoconnell1215/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[Saving a startup company from certain disaster! Hardening a startup’s AWS environment.]]></title>
            <link>https://medium.com/@kenoconnell1215/saving-a-startup-company-from-certain-disaster-hardening-a-startups-aws-environment-6941673e752f?source=rss-89e17b78a423------2</link>
            <guid isPermaLink="false">https://medium.com/p/6941673e752f</guid>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Ken O'Connell]]></dc:creator>
            <pubDate>Wed, 27 May 2026 21:08:25 GMT</pubDate>
            <atom:updated>2026-05-27T21:30:17.728Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Intro:</strong></h3><p>I helped a small startup company (lets call it “startup company A”) with its paper thin user/security practices. This project will secure the root user, create a new Identity account, add IAM users and groups, setup security requirements while following least privilege principles. We will also set up basic monitoring to start with.</p><h3>Background:</h3><p>“startup company A” launched fast and furiously as most do. When doing so they used a single shared AWS root user on the management account for day‑to‑day operations. That shortcut worked for speed but left the company exposed: <strong>no MFA, no password policy,</strong> <strong>no role separation, and credentials shared in chat!</strong></p><h3>Current Architecture (pre-updates)</h3><p>The diagram below represents “startup company A” architecture before applying least privilege principles and prior to any security improvements. It consists of a single-account AWS with EC2, RDS, S3, CloudWatch, default Security Groups, and <strong>everyone using the root user on the management account!!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fU3ORgu9Wvq82PtSOTw7eQ.png" /></figure><h3>Problem Summary:</h3><ul><li><strong>Unrestricted Root User Access - </strong>All team members are sharing a single root user on the management account, which grants unlimited access to every AWS resource and setting. If credentials are compromised or misused, there is no way to trace actions back to a specific individual, and the blast radius of any incident is catastrophic.</li><li><strong>No Role-Based Access Control (RBAC) - </strong>Without separate permissions for each team or individual, every user has access to resources they don’t need. This violates the principle of least privilege and significantly increases the risk of accidental or malicious data exposure.</li><li><strong>No MFA or Password Policies Enforced - </strong>Without multi-factor authentication, a stolen or guessed password alone is enough to grant full account access. The absence of password policies also means weak or reused passwords may be in use, making brute-force and credential-stuffing attacks far more likely to succeed.</li><li><strong>Limited Logging and Detection - </strong>Poor visibility into any actions or fault detections.</li></ul><h3>Project Goals:</h3><ul><li>Secure root user, create a new separate “identity” account. Then create IAM users and groups in it (Developer, Operations, Analyst, Finance) and attach a policy to each group allowing them to assume the proper roles in the workload accounts. This covers the RBAC part that was missing as well.</li><li>Enforce MFA and strong password policies.</li><li>Centralize logging and enable threat detection.</li></ul><h3>Key Corrective Actions Taken:</h3><p><strong>Step 1: Secure Root user</strong></p><ul><li>Deleted root user access keys immediately and instructed all users to stop using it for daily tasks.</li><li>Enabled MFA on root user, registered 2 MFA devices and secure them(ex. YubiKey.)</li></ul><p><strong>Step 2: Create new Identity account and create users/groups</strong></p><ul><li>Created new Identity account with MFA instead of using the Management account.</li><li>Created each IAM user under this identity account.</li><li>Created groups for each need (developer_grp, operations_grp, analyst_grp, finance_grp) and assigned proper roles while practicing least privilege principals.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6HPsi-qyW9s5HUNMEwsKXQ.png" /><figcaption>new IAM user groups created</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dGp5ImuLXNccP1WBzlwzgg.png" /><figcaption>example of read only s3 policy json attached to analyst_grp</figcaption></figure><p><strong>Step 3: Strengthen Password Policy</strong></p><ul><li>Under Account Settings in IAM change it to a custom password policy. Min length 16 char, 90 day expiry, prevent reuse, and require combination of upper/lowercase letters, numbers, and symbols.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*ZjGkctoFKin1lxZ_qNXsLQ.png" /></figure><p><strong>Step 4: Setup basic logging and detection.</strong></p><p>Actions recommended</p><ul><li>Enable CloudTrail and deliver logs to an encrypted, restricted S3 bucket with log file validation.</li><li>Turn on AWS Config to record resource state and evaluate CIS starter rules. (This keeps a tab on any config changes over time and enables you to compare against current industry best practice for security and flag anything that is non-compliant)</li><li>Enable GuardDuty for threat detection.</li></ul><h3>Outcomes:</h3><ul><li><strong>Eliminated the single largest security risk</strong> — root user access keys deleted and MFA enforced, ensuring no single compromised credential can grant unlimited access to the entire AWS environment.</li><li><strong>Separated duties and enforced least privilege</strong> — four distinct IAM groups replaced a single shared root user, meaning each team member now has access only to what their role requires, dramatically reducing the blast radius of any accidental or malicious action.</li><li><strong>Significantly hardened authentication</strong> — MFA and a strong 16-character password policy across all users closes the door on credential-based attacks such as brute force, phishing, and credential stuffing.</li><li><strong>Established full audit trail and threat detection</strong> — CloudTrail, AWS Config, and GuardDuty working together means every action is logged, every configuration change is tracked, and suspicious activity is automatically flagged — transforming the environment from effectively blind to continuously monitored.</li></ul><h3>Trade-offs and Next Steps:</h3><p>Short-term trade-offs:</p><ul><li>Operations initially kept broader permissions to avoid blocking critical work. The plan is to monitor access patterns using the IAM access Advisor. It will show exactly what services a user has accessed and when. Once we have this info we can begin to iteratively tighten scopes by use of ARNs/tags.</li></ul><p>Recommended next steps:</p><ul><li>Follow up project with “startup company A” for architecture re-design and network layer/security group hardening.</li><li>Separate production and Development environments into separate AWS accounts under AWS Organizations. (*important in keeping any Dev issues in Dev and not impacting Prod)</li></ul><h3>Closing Statement:</h3><p>Security is not a one-time fix, but a continuous practice. We transformed a dangerously exposed AWS environment into one built on a solid, principled foundation. By securing the root user, creating a new account separating identities, enforcing strong authentication, and establishing baseline visibility, “Startup Company A” went from basically having no security at all to having one that follows AWS best practices.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6941673e752f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Unstuck]]></title>
            <link>https://medium.com/@kenoconnell1215/getting-unstuck-82402c6cbcfc?source=rss-89e17b78a423------2</link>
            <guid isPermaLink="false">https://medium.com/p/82402c6cbcfc</guid>
            <dc:creator><![CDATA[Ken O'Connell]]></dc:creator>
            <pubDate>Mon, 09 Feb 2026 22:09:38 GMT</pubDate>
            <atom:updated>2026-02-09T22:09:38.267Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the beginning of my story, or more specifically the beginning of a new chapter in my career story. One that isn&#39;t being written for me, but by me. I wanted to expand my knowledge base of Cloud Engineering beyond reading articles and watching Youtube videos on the subject. These things did their job and did indeed spark my interest but I needed to get out of my everyday comfort zone and make a commitment to learn and get dug in.</p><p>Instead of doing the same old routine I chose to take the initiative and joined Soleyman Shahir’s Cloud Engineer Academy. I needed structured learning with a great support system. I found it here. The program began by instilling a new way of thinking. A new approach to not only troubleshooting technical issues also applicable to life itself. Immediately this had an impact on me. Breaking things/issues down to their simplest core form and addressing it from there instead of potentially being overwhelmed by the enormity of the problem at hand.</p><p>After my first weeks of learning I am not overwhelmed but excited to continue on. It is challenging me at every step and there are points where I’m asking myself can I do this? Am I capable of this? Do I have time for this? The answer is yes. It wont be easy. It will be hard. It will be worth it. Do it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82402c6cbcfc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>