More Info:

This rule checks if the compliance status of the AWS Systems Manager patch compliance is COMPLIANT or NON_COMPLIANT after the patch installation on the instance. The rule is compliant if the field status is COMPLIANT.

Risk Level

Medium

Address

Security

Compliance Standards

CBP,RBI_MD_ITF,RBI_UCB

Triage and Remediation

Remediation

To remediate the misconfiguration of patch installation not being done on Systems Manager for AWS EC2 instances, follow these steps using the AWS Management Console:

  1. Access AWS Systems Manager Console:

    • Log in to your AWS account and navigate to the AWS Management Console.
    • Go to the Systems Manager service by typing “Systems Manager” in the search bar and selecting it.
  2. Create a Patch Baseline:

    • In the Systems Manager console, navigate to the left-hand menu and click on “Patch Manager” under the “Actions” section.
    • Click on “Patch Baselines” in the left-hand menu and then click on the “Create patch baseline” button.
    • Enter a name and description for the patch baseline, and configure the patch rules according to your requirements.
    • Click on the “Create patch baseline” button to save the configuration.
  3. Create a Patch Group:

    • In the Systems Manager console, navigate to the left-hand menu and click on “Patch Manager” under the “Actions” section.
    • Click on “Patch Groups” in the left-hand menu and then click on the “Create patch group” button.
    • Enter a name for the patch group and select the instances that you want to include in this group.
    • Click on the “Create patch group” button to save the configuration.
  4. Schedule Patching:

    • In the Systems Manager console, navigate to the left-hand menu and click on “Patch Manager” under the “Actions” section.
    • Click on “Patch Manager” in the left-hand menu and then click on the “Patch now” button.
    • Select the patch baseline and patch group that you created in the previous steps.
    • Configure the schedule for patching according to your requirements and click on the “Patch now” button to initiate the patching process.
  5. Monitor Patching Progress:

    • In the Systems Manager console, navigate to the left-hand menu and click on “Patch Manager” under the “Actions” section.
    • Click on “Patch Manager” in the left-hand menu to view the patching status of your instances.
    • Monitor the progress of patch installation and ensure that all instances are successfully patched.

By following these steps, you can remediate the misconfiguration of patch installation not being done on Systems Manager for AWS EC2 instances and ensure that your instances are up to date with the latest patches and security updates.