In this section, we will explore the different attacks that attackers typically perform on a system when they have physical access to it.
Physical attacks at the console
Samdump2 and chntpw
One of the most preferred ways of dumping password hashes is using samdump2. This can be achieved by turning on the power of the system and then booting it through a Kali USB stick by making the required changes in the BIOS.
Once the system is booted through Kali, by default the local hard drive must be mounted as a media drive, as shown in the following screenshot:
If the drive is not able to mount, we need to follow the upcoming steps to mount the drive by running the following commands:
mkdir /mnt/target1 mount /dev/sda2 /mnt/target1...