Information
This sequence describes enabling enhanced secure mode
The AOS-CX operating system provides access to the underlying Linux system, allowing administrators to launch a bash shell session from the switch command-line interface. This shell provides root-level access to the underlying Linux OS.
Solution
switch(config)# boot system serviceos
One time boot to ServiceOS initiated.
Checking if the configuration needs to be saved...
This will reboot the system to ServiceOS and render
the entire switch unavailable.
Access to ServiceOS is only available through the serial console.
Continue (y/n)? y
Default boot image set to serviceos.
The system is going down for reboot.
...
ServiceOS login: admin
SVOS>
SVOS> secure-mode enhanced
############################WARNING############################
This will set the switch into enhanced secure mode. Before
enhanced secure mode is enabled, the switch must securely erase
all customer data and reset the switch to factory defaults.
This will initiate a reboot and render the switch unavailable
until the zeroization is complete.
############################WARNING############################
Continue (y/n)? y
reboot: Restarting system
...
6300 login: admin
Password:
Please configure the 'admin' user account password.
Enter new password: *****
Confirm new password: *****
switch#
switch# show secure-mode
Enhanced secure mode is set
switch#
Impact:
Misuse of shell access could expose sensitive network traffic to an unauthorized third party via packet mirroring to a remote device or could cause a denial of service by modifying or removing system files. This file modification could render the device unbootable, and require software restoration through the ServiceOS console..
The following are best practices for limiting shell access:
Disable access to the Bash shell by changing the switch security mode to enhanced from ServiceOS.
Limit shell access by using RBAC or an external TACACS+ authorization server to deny access to the start-shell command to all users except those who specifically require it.