More Info:

Ensure SSM Documents are not public

Risk Level

High

Address

Security

Compliance Standards

HITRUST,SEBI,RBI_MD_ITF,RBI_UCB

Triage and Remediation

Remediation

To remediate the issue of SSM document being public in AWS EC2 using the AWS console, follow these steps:

  1. Login to AWS Console: Go to the AWS Management Console and login with your credentials.

  2. Navigate to Systems Manager (SSM): Go to the AWS Systems Manager service by typing “Systems Manager” in the search bar and selecting it from the dropdown.

  3. Access SSM Documents: In the Systems Manager console, navigate to the left-hand menu and click on “Documents” under the “Shared Resources” section.

  4. Identify Public SSM Documents: Look through the list of SSM documents to identify the ones that are marked as public. These will have a permission setting indicating that they are public.

  5. Change Document Permissions:

    • Select the public SSM document by clicking on it.
    • Click on the “Edit” button to modify the document permissions.
    • In the document permissions settings, change the visibility from public to private.
    • Save the changes.
  6. Verify Changes: After changing the permissions, verify that the SSM document is no longer public by checking the permissions settings.

  7. Monitor for Compliance: Regularly monitor the SSM documents to ensure that they are not set to public in the future.

By following these steps, you can remediate the issue of SSM documents being public in AWS EC2 using the AWS console.