In this lab, you’ll focus on creating and managing backups for essential network services and systems to ensure data integrity and quick recovery in case of failure or redteam activities. You’ll practice configuring automated and secure backup strategies.
You will be working with:
Since your machines do not currently have internet access, you will need to configure the network as follows:
Lab-6-SSH-FTP Machine:
ens18 interface):
172.18.<ID>.7/16172.18.0.1172.18.0.1Lab-6-DNS Machine:
ens18 interface):
172.18.<ID>.8/16172.18.0.1172.18.0.1Lab-6-Backup Machine:
ens18 interface):
172.18.<ID>.9/16172.18.0.1172.18.0.1You can hover over each specific arrow, and a tooltip will appear with a hint on what is wrong or not working.
blueteamabc123Lab-6-backup machine.Install a backup tool. Verify installation by running a test backup.
rsync onto each machine./etc/ssh/sshd_config from the Lab-6-SSH-FTP machine to the Lab-6-Backup machine. Place the backup file in the /backups/ssh-ftp directory.original:<filehash> and backup:<filehash> into the file /home/blueteam/P2/P2.txt on the Lab-6-Backup machine.To complete P3 P1-P2 must have a green arrow before starting.
Lab-6-Backup to Lab-6-SSH-FTP.Lab-6-SSH-FTP to Lab-6-Backup (using the blueteam crontab) to run every 2 minutes and only backup files that have been changed since the last backup. This will be manually graded by a TA. Ensure that you preserve:
/etc/ssh/sshd_config/etc/vsftpd.conf/etc/shadow/etc/passwd/etc/ssh/sshd_config/etc/named.conf/etc/shadow/etc/passwd/backups/ssh-ftp and /backups/dns respectively on the Lab-6-Backup machine.Choose an offsite solution to back up 3 of the files outlined in M1. Some options include Google Drive, Dropbox, OneDrive, GitHub etc. We would advise against using your personal accounts for this, especially during the competition, as the redteam may compromise your real account credentials if you use them.
Note: If you back up valid and secure configuration files of various places to a public github repo, you can use those during the NCAE competition either to reset your service configuration or to reference as you secure it :)
This will need to be passed off manually with a TA.
To complete D1 P1-P3 and M1 must have a green arrow before starting.
Lab-6-Backup machine to their original machine, only if the file has changed.You don’t need to submit anything for this lab. All of the above criteria will be auto-graded unless stated otherwise. Once you have finished the lab you will have to do a verbal pass off with a TA.
You will be asked two of these questions at random during your verbal pass-off.