avatarTeri Radichel

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

2571

Abstract

    </div>
          <div>
            <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*8hwxuVJHawGqBKI3-Cw9Sw.png)"></div>
          </div>
        </div>
      </a>
    </div><p id="56cb">Once you have an organization, you can create <b>Service Control Polices</b> <b>(SCPs)</b> and you can create one that restricts use of the AWS Marketplace across your whole organization, along with<b> a limitation on which regions may be used</b>.</p><p id="83aa">I explained SCPs here:</p><div id="c980" class="link-block">
      <a href="https://readmedium.com/aws-service-control-policies-63979a526fe3">
        <div>
          <div>
            <h2>AWS Service Control Policies</h2>
            <div><h3>ACM.136b Governance: Setting security controls at the organizational level</h3></div>
            <div><p>medium.com</p></div>
          </div>
          <div>
            <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*C6D6Cz3sdbKrDyvID0zlUQ.png)"></div>
          </div>
        </div>
      </a>
    </div><p id="5ba6">I put new accounts into a <b>Deny All SCP </b>initially or when they are not in use.</p><p id="1301">If you are using AWS Organizations with a <b>Service Linked Role</b>, those are not subject to service control policies. <b>Make sure you create your organization, OUs and accounts with an Organizations role that is not a Service Linked Role.</b> I have been demonstrating how to create AWS Organizational Units and Accounts that do not use Service Linked Roles throughout this series and my templates are on GitHub.</p><div id="300a" class="link-block">
      <a href="https://readmedium.com/automating-cybersecurity-metrics-890dfabb6198">
        <div>
          <div>
            <h2>Automating Cybersecurity Metrics (ACM)</h2>
            <div><h3>A series of blog posts on cybersecurity metrics and security automation</h3></div>
            <div><p>medium.com</p></div>
          </div>
          <div>
            <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*L9lEIsaWt6xm2Op2ww-G5w.png)"></div>
          </div>
        </div>
      </a>
    </div><p id="498a">You can check out some of my repos here, but some of this is about to change:</p><figure id="af27"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*oZyN8TmLL38ER8Ifvji6wA.png"><figcaption></figcaption></figure><p id="c0d7">I’m a

Options

bout to release something that will make all of this even easier if you have been following along. I’ll summarize it shortly.</p><p id="7aa5">If you want to know if you were affected by unwanted subscriptions, head over to AWS Cost Explorer and check out your charges for AWS Marketplace.</p><figure id="f458"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*ulNfRBlx-TbMLWcP55KAsg.png"><figcaption></figcaption></figure><p id="3880">To see which user or role added the subscription head over to CloudTrail:</p><figure id="fb31"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*4s2XJuzY7KNGjvnyfiOV7Q.png"><figcaption></figcaption></figure><p id="8c28">Since I don’t have this in my account I don’t know exactly what to search on but probably one of these event sources:</p><figure id="56a6"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*n6QI5zEMUVb01ONpxex1eg.png"><figcaption></figcaption></figure><p id="0b9e">Follow for updates.</p><p id="4a3a">Teri Radichel | <i>© <a href="https://2ndsightlab.com/?source=post_page---------------------------">2nd Sight Lab</a> 2024</i></p><div id="8b5f"><pre><span class="hljs-section">About Teri Radichel:

⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight Lab</pre></div><div id="caae"><pre><span class="hljs-section">Need Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span>
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for Presentation</pre></div><div id="5a42"><pre>Follow <span class="hljs-keyword">for</span> more stories like <span class="hljs-keyword">this</span>:

❤️ Sign Up my Medium Email List ❤️ Twitter: <span class="hljs-meta">@teriradichel</span> ❤️ LinkedIn: https:<span class="hljs-comment">//www.linkedin.com/in/teriradichel</span> ❤️ Mastodon: <span class="hljs-meta">@teriradichel</span><span class="hljs-meta">@infosec</span>.exchange ❤️ Facebook: 2nd Sight Lab ❤️ YouTube: @2ndsightlab</pre></div><figure id="faf5"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*H9Ew1KCl-29nZiPR.jpeg"><figcaption></figcaption></figure></article></body>

A SCP to Prevent Unwanted AWS MarketPlace Subscriptions in New AWS Accounts

Responding to an issue I just saw on X (Twitter)

I just saw a post saying people are getting unwanted AWS Marketplace subscriptions to the tune of $3,000 added to new accounts.

First, if this is a standalone account, or the first account you create in a new organization, you should immediately create a new user with limited permissions disallowing things you don’t want to occur in the root account. Then login as that user and never use the root user in the top level organization account.

Once you create a new account you should rarely need to use a user in the root account. Login as a user in another account and make sure you enforce MFA on role assumptions to access the root account. I’ve shown how to do that in many posts and will be demonstrating again shortly.

I created a user, policy and role that disallows creating new users in the initial AWS account, for example, in a prior post. I went through a few iterations to get there and I think I’m going to add a limitation on the AWS Marketplace as well now.

You need to set up an AWS Organization so you can take advantage of Service Control Policies (SCPs) or restrictions on new accounts and users in all your accounts.

I wrote about the latest iteration of my AWS Organizations container that initializes new top level organization accounts with a new user here:

Once you have an organization, you can create Service Control Polices (SCPs) and you can create one that restricts use of the AWS Marketplace across your whole organization, along with a limitation on which regions may be used.

I explained SCPs here:

I put new accounts into a Deny All SCP initially or when they are not in use.

If you are using AWS Organizations with a Service Linked Role, those are not subject to service control policies. Make sure you create your organization, OUs and accounts with an Organizations role that is not a Service Linked Role. I have been demonstrating how to create AWS Organizational Units and Accounts that do not use Service Linked Roles throughout this series and my templates are on GitHub.

You can check out some of my repos here, but some of this is about to change:

I’m about to release something that will make all of this even easier if you have been following along. I’ll summarize it shortly.

If you want to know if you were affected by unwanted subscriptions, head over to AWS Cost Explorer and check out your charges for AWS Marketplace.

To see which user or role added the subscription head over to CloudTrail:

Since I don’t have this in my account I don’t know exactly what to search on but probably one of these event sources:

Follow for updates.

Teri Radichel | © 2nd Sight Lab 2024

About Teri Radichel:
~~~~~~~~~~~~~~~~~~~~
⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight Lab
Need Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for Presentation
Follow for more stories like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
❤️ Sign Up my Medium Email List
❤️ Twitter: @teriradichel
❤️ LinkedIn: https://www.linkedin.com/in/teriradichel
❤️ Mastodon: @teriradichel@infosec.exchange
❤️ Facebook: 2nd Sight Lab
❤️ YouTube: @2ndsightlab
Marketplace
Account
Role
New
AWS
Recommended from ReadMedium