Control: 3.11 Ensure your Windows Server based lightsail instances are updated with the latest security patches
Description
Windows server based Lightsail instances are still managed by the consumer and any security updates or patches have to be installed and maintained by the user.
Windows Server-based Lightsail instances need to be updated with the latest security patches so they are not vulnerable to attacks. Be sure your server is configured to download and install updates.
Remediation
From the Console:
- Login to AWS Console using https://console.aws.amazon.com.
- Click
All services
, clickLightsail
under Compute. - This will open up the Lightsail console.
- Select the
Windows Instance
you want to review. - Make sure the instance status is
running
. - Connect to the
instance
usingConnect using RDP
. - Log in using the credentials you have set for this instance.
- Open a command prompt.
- Type sconfig, and then press Enter.
Windows Update Settings are at number 5 and by default are set to Automatic.
If this is not the current setting continue with step 10. If this is the current setting skip to step 12
- Type 5, and then press Enter.
- Type A for
Automatic
and then press Enter. Wait until the setting is saved and you return back to the server configuration menu. - Type 6, and then press Enter.
- Type A to search for (A)ll updates in the new command window, and then press Enter.
- Type A again to install (A)ll updates, and then press Enter.
When finished, you see a message with the installation results and more instructions (if those apply).
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.cis_compute_service_v100_3_11
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.cis_compute_service_v100_3_11 --share
SQL
This control uses a named query:
manual_control