Cyber Forensics

[Day 1] 3. Assignment

D
DITISS Admin
••2 min read

Mounting the Hard Disk:

  1. sudo mount -o ro /dev/sdb1 test

  2. cd test

Questions:

  1. Name of the Computer:
    Command:

    cat etc/hostname

  2. OS Version:
    Command:

    cat etc/os-release

  3. Users:
    Command:

    cat etc/passwd

  4. Users with Sudo Permissions:
    Command:

    cat etc/sudoers

  5. Commands Executed by Different Users:
    Commands:

    • cat home/sam/.bash_history

    • cat home/demo1/.bash_history

    • cat home/uadmin/.bash_history

  6. Which User Installed Which Applications?:
    Command:

    cat var/log/apt/history.log

  7. SSH Logs and Source IP:
    Command:

    cat var/log/syslog | grep ssh

  8. Previous IPs Assigned to the Computer:
    Command:

    cat var/log/syslog | grep ens33

  9. Last Login:
    Commands:

    • cd var/log

    • cat auth.log | grep login

  10. Failed Login Attempts:
    Commands:

    • cd var/log

    • faillog -a

  11. Password-less SSH Allowed?:
    Commands:

    • cd home/uadmin/.ssh

    • cat authorized_keys


Read Next

8/26/2026

[Day 2] 1. Incident Response Plan

There are five steps that are followed in the IRP: 1. **Preservation**: - Secure the crime scene: Ensure no digital equipment is removed...

8/26/2026

[Day 2] 2. Cyber Forensics Essentials

#### **Imaging Digital Data** - Imaging creates a sector-by-sector copy of the data, preserving details and avoiding alterations to the original....