AWS security group created, modified or deleted

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Goal

Detect when an AWS security group has been modified.

Strategy

Monitor CloudTrail and detect when an AWS security group has been created or modified with one of the following API calls:

Note: There is a separate rule to detect AWS Security Group Open to the World.

Triage and response

  1. Determine who the user was who made this API call.
  2. Contact the user and see if this was an API call which was made by the user.
  3. If the API call was not made by the user:
    • Rotate the user credentials and investigate what other API calls.
    • Determine what other API calls the user made which were not made by the user.

Changelog

18 March 2022 - Updated severity, split query into multiple queries, and split the single case into multiple cases.

PREVIEWING: may/unit-testing