How to detect EC2 Serial Console enabled
Blog post from Sysdig
The EC2 Serial Console is a feature introduced by Amazon AWS for instances using the Nitro System, allowing for secure and straightforward troubleshooting through a text-based connection to the instance's serial port. While beneficial for resolving boot and network issues, it poses potential security risks as it could serve as an unguarded entry point for attackers if not properly managed. To mitigate these risks, it is essential to enable the feature deliberately, authenticate access through public and private keys, and ensure strong credentials. Tools like Sysdig Secure and AWS CloudTrail can help detect when the EC2 Serial Console is enabled, alert security teams, and monitor suspicious activities, thereby enhancing the security posture of cloud environments.