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, clickLightsailunder Compute. - This will open up the Lightsail console.
- Select the
Windows Instanceyou want to review. - Make sure the instance status is
running. - Connect to the
instanceusingConnect 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, clickLightsailunder Compute. - This will open up the Lightsail console.
- Select the
Windows Instanceyou want to review. - Make sure the instance status is
running. - Connect to the
instanceusingConnect using RDP. - Log in using the credentials provided within the Lightsail console set for this instance.
- Use the Windows Server password manager to change your password securely by press
Ctrl + Alt + Del - Then choose
Change a password. ** Be sure to keep a record of your password, because Lightsail doesn't store the new password you are setting. - Type in the
New Password - Click
Save
Using AWS CLI
N/A - This is a manual process requiring RDP connection to the Windows instance.
Additional Information
You can use either the Lightsail-generated password or your own custom password with the browser-based RDP client in Lightsail. If you use a custom password, you will be prompted for your password every time you log in. It can be easier but not necessarily more secure to use the Lightsail-generated default password with the browser-based RDP client if you want quick access to your instance.
Default Value
Lightsail randomly generates a long, unique password for each Windows Server-based instance at creation time.
References
N/A
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v7 | 4.2 Change Default Passwords - Before deploying any new asset, change all default passwords to have values consistent with administrative level accounts. | x | x | x |
Profile
Level 1 | Manual