Bobby Liu.
← All projects

Project case study

Secure New Environment

A Bash script for applying a basic security baseline to a fresh Kali Linux virtual machine.

Project brief

Built to practice Bash scripting and make common setup steps repeatable.

Core improvements

  • Changes the current user's password and creates a new user.
  • Runs system package updates through apt.
  • Replaces the default SSH host keys.

The setup flow

This Bash script applies a basic security setup to a newly deployed Kali Linux VirtualBox image. I built it to practice shell scripting and turn a repeated manual checklist into a single, understandable process.

  • Change the current user's password.
  • Run the required apt update and upgrade commands.
  • Replace the default SSH host keys.
  • Create a new user account.

Project demos

Click an image to expand
Security setup menu
Replacing the default SSH host keys