<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Joseph Peter</title>
    <description>The latest articles on DEV Community by Joseph Peter (@josephvpeter7).</description>
    <link>https://dev.to/josephvpeter7</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1033730%2F556cae07-6abf-4ef3-b19f-bc7d3faa2f6c.png</url>
      <title>DEV Community: Joseph Peter</title>
      <link>https://dev.to/josephvpeter7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/josephvpeter7"/>
    <language>en</language>
    <item>
      <title>AWS Security - Secure Users</title>
      <dc:creator>Joseph Peter</dc:creator>
      <pubDate>Fri, 27 Dec 2024 17:37:11 +0000</pubDate>
      <link>https://dev.to/josephvpeter7/aws-security-secure-users-49b</link>
      <guid>https://dev.to/josephvpeter7/aws-security-secure-users-49b</guid>
      <description>&lt;p&gt;Did you know that an AWS IAM user can delete other users, self and even delete the root user. Learn to secure your AWS users with IAM policies and MFA.&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS IAM Security
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Use cases:-
&lt;/h3&gt;

&lt;p&gt;Everything is automated and a script that removes users, roles and policies for the employees who left the company. Instead by mistake it removes current employees who has the admin rights who haven’t enabled the MFA. Still the script have to remove all the policies, roles and the associated certs, access-keys before user deletion occurs.&lt;br&gt;
Another case, the user with console access can perform user deletion. This can be done by threat actor or user themselves.&lt;br&gt;
In both cases, restoring policies for affected users can be cumbersome and error-prone.&lt;/p&gt;

&lt;h3&gt;
  
  
  Solutions hints:-
&lt;/h3&gt;

&lt;p&gt;Proper AWS Config setup helps to find the related policies.&lt;br&gt;
Enable AWS CloudTrail to trace events.&lt;br&gt;
Recreate usernames and reassign their policies.&lt;/p&gt;

&lt;h3&gt;
  
  
  Test out user self deletion
&lt;/h3&gt;

&lt;p&gt;Here we are testing out use case:- 2. AWS user test001 is getting deleted by the same user.&lt;/p&gt;

&lt;p&gt;⚠️Warning⚠️&lt;br&gt;
If you delete a user, you lose that user with all of its privileges and access to the resources assigned with it. This action can’t be undone.&lt;/p&gt;

&lt;p&gt;For more of this check out link =&amp;gt; &lt;a href="https://medium.com/@josephvpeter7/aws-security-secure-users-b69e0befdfd0" rel="noopener noreferrer"&gt;https://medium.com/@josephvpeter7/aws-security-secure-users-b69e0befdfd0&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>iam</category>
      <category>security</category>
      <category>userdeletion</category>
    </item>
  </channel>
</rss>
