| name | cis-aws-compute-5.12 |
| description | Change the auto-generated password for Windows based instances |
| category | cis-compute |
| version | 1.1.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","compute","lightsail","windows","passwords","rdp","authentication","credentials"] |
| cis_id | 5.12 |
| cis_benchmark | CIS AWS Compute Services Benchmark v1.1.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-compute-5.2","cis-aws-compute-5.5","cis-aws-compute-5.11"] |
| prerequisites | [] |
| severity_boost | {} |
5.12 Change the auto-generated password for Windows based instances (Manual)
Description
When you create a Windows Server-based instance, Lightsail randomly generates a long password that is hard to guess. You use this password uniquely with your new instance. You can use the default password to connect quickly to your instance using remote desktop (RDP). You are always logged in as the Administrator on your Lightsail instance.
Rationale
Like any password it should be changed from the default and over time. The randomly generated password can be hard to remember and if anyone gains access to your AWS Lightsail environment they can utilize that to access your instances. For this reason you should change the password to something you can remember.
Impact
If you change your password from the unique, default password, be sure to use a strong password. You should avoid passwords that are based on names or dictionary words, or repeating sequences of characters.
Audit Procedure
Using AWS Console
- Login to AWS Console using https://console.aws.amazon.com
- Click
All services, click Lightsail 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 using Connect using RDP.
- Log in using the credentials provided within the Lightsail console set for this instance.
- If you are successful and based on your password change policy it is required that you change/update the password refer to the remediation below.
Using AWS CLI
N/A - This is a manual process requiring RDP connection to the Windows instance.
Expected Result
The auto-generated default password should be changed to a strong custom password that complies with the organization's password policy.
Remediation
Using AWS Console
- Login to AWS Console using https://console.aws.amazon.com
- Click
All services, click Lightsail 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 using Connect using RDP.