-
Notifications
You must be signed in to change notification settings - Fork 0
AssessmentAttackPlan
Initial Snapshot
- Firewall - Network Adapter 1 WAN, Network Adapter 2 LAN
- Everything else LAN
Username: admin
Password: pfsense
- IP Information
- Steps 1 and 2 of Lab01
- em0 = WAN, Upstream Gateway is 10.0.17.2, IP address is 10.0.17.102
- em1 = LAN, IP address is 10.0.5.2
Hostname and admin password will be set after wks01 is set up
Username: champuser
Password: Ch@mpl@1n!22
- Change champuser password
- Settings > Accounts > Sign in Options
- Password, Change
- Hostname
- Properties of "This PC"
- Change Settings
- Rename to wks01-elizabeth
- New Admin Account
- lusrmgr.msc
- elizabeth.chadbourne-loc (New Local Admin Account)
- Password never expires
- WKS01-ELIZABETH\Administrators
Logout and login again
- IP Information
- IP address 10.0.5.100
- Default Gateway 10.0.5.2
- DNS 10.0.5.2
- Go to 10.0.5.2 in a browser
- Login is admin and pfsense
- General Information
- fw01-elizabeth
- elizabeth.local
- Primary DNS 8.8.8.8
- Configure WAN Interface
- RFC1918 Networks: Uncheck "Block private networks from entering via WAN"
- Set Root Password
Check Connectivity for WKS01
Phase 1 Complete, snapshot and go take a break!
- Do Product Key later
- Set Administrator Password
- New Local Admin account and password (see above)
- IP Information
- IP address 10.0.5.5
- Gateway 10.0.5.2
- DNS 10.0.5.2
- Discoverable Option: Yes
- UTC-5:00 Eastern Time (US and Canada)
- Computer name
- ad01-elizabeth
Maybe Reboot?
I dont think the ADDS Role needs to be installed but if needed refer to lab doc
While stuff is installing, refer to Phase 3 - DHCP
Double check that hostname is set
- Create a new forest called elizabeth.local
- Enter a DSRM password
- I think everything else is default
Computer will reboot
- Invoke DNS Manager
- DNS Tab, right click AD01-ELIZABETH
- New Reverse Lookup Zone
- 10.0.5
- New host for fw01
- fw01-elizabeth
- fw01-elizabeth.elizabeth.local
- 10.0.5.2
- Check make associated PTR record
- New host for ad01
- ad01-elizabeth
- ad01-elizabeth.elizabeth.local
- 10.0.5.5
- New host for wks01
- See above
- 10.0.5.100
- New host for dhcp01
- See above
- 10.0.5.3
- Active Directory Users and Computers tool
- New User (Domain Admin)
- echadbourne-adm
- Add to Domain Admins group
- New User (Normal)
- echadbourne
- Skip addition to group
- Change DNS to 10.0.5.5
- Ping by hostname to check connectivity
- In system properties, double check the hostname and then connect to elizabeth.local
- Use Domain Admin username and password
Restart
Phase 2 Complete, snapshot and take a break
- Most helpful
Username: root
Password: Ch@mpl@1n!22
- Set IP information - nmtui
- IP address: 10.0.5.3/24
- Gateway: 10.0.5.2
- DNS: 10.0.5.5
- Search Domain: elizabeth.local
- Hostname: dhcp01-elizabeth
- restart the network service with
systemctl restart network - Check with
ifconfig
- Change admin password
passwd root
- Add a privileged user
useradd elizabeth.chadbourne-
passwd elizabeth.chadbourne- set the password -
usermod -aG wheel elizabeth.chadbourne- Add the user to the admin group
Logout and log back in as elizabeth.chadbourne
- Check ssh
- Go to wks01 and try to
ssh dhcp01-elizabeth - ping to test connectivity
If there is time, install PuTTY
SSH/PuTTY into dhcp01
Start by checking the status of where you are with pwd, whoami, and hostname
- Install DHCP services
sudo yum install dhcp
- Configure DHCP services
- elevate to root:
sudo -i nano /etc/dhcp/dhcpd.conf- Add in the following:
- Also add in
default-lease-time 3600;andmax-least-time 14400
- Type the following as root:
systemctl start dhcpd
- Check it's status with
systemctl status dhcpd - Enable the service to start at boot
systemctl enable dhcpd
-
firewall-cmd --list-all- List all the active services - Add the ports associated with dhcp permanently
firewall-cmd --add-service=dhcp --permanentfirewall-cmd --reloadfirewall-cmd --list-all
- Go into the IP information for WKS01 and change both options to "Obtain automatically"
- Check
ipconfigand connectivity (ping champlain.edu)
Take a Snapshot and walk away for a bit, Phase 3 Complete!!
Securing SSH? Securing SSH Journal
I am unsure if this is needed so I'm just gonna leave these links here