Print Nightmare Exploit

Exercise Title: Exploiting Windows Privilege Escalation: PrintNightmare Vulnerability Objective: The objective of this exercise is to learn how to exploit a Windows machine via the PrintNightmare vulnerability and gain escalated privileges. Lab Setup: Step 1: Open a terminal in Kali Linux and update the system by running the command “sudo apt-get update” Step 2: Install … Read more

Password Wordlist Creation

Exercise Title: Generating Password Lists with Cewl and Crunch in Kali Linux Objective: The objective of this exercise is to learn how to use the Cewl and Crunch tools in Kali Linux to generate password lists for use in penetration testing or password cracking. Lab Setup: Step 1: Open a terminal in Kali Linux and … Read more

Backdoor creation for Linux

Exercise: Backdoor Payload Generation and Reverse Connection on Ubuntu Machine Objective: To demonstrate how to generate a backdoor payload and establish a reverse connection on an Ubuntu machine using Kali Linux in a virtualized environment. Prerequisites: Step 1: Start the Ubuntu machine in VirtualBox and ensure that it is connected to the internet. Step 2: … Read more

Backdoor creation for Windows

Exercise: Backdoor Implantation and Meterpreter Session on Windows 7 through Kali Linux using msfvenom Before starting this exercise, make sure you have completed the previous exercise “Setting up a Penetration Testing Lab with Kali Linux and Windows 7 in VirtualBox” to have a Windows 7 machine ready for exploitation. Step 1: Update and Upgrade your … Read more

Exercise: IP address filtering via Python code

Your company has recently been the target of several distributed denial of service (DDoS) attacks, in which malicious actors flood your network with traffic in an attempt to disrupt your services. You have been tasked with creating a Python script that can filter out the malicious traffic and allow only legitimate requests to pass through. … Read more

Exercise: Create Python Code for Ad Blocker Web Plugin

You are a software developer at a local organization and you have been asked to create Python code for a web plugin that blocks ads in a web browser. Tools needed: Python 3, web browser with support for extensions Step 1: Open a text editor or Python IDE and create a new Python file. Step … Read more

Exercise: Create Python Code for Screenshot and Keylogger

You are a software developer at a local organization and you have been asked to create Python code to take a screenshot and record keystrokes automatically. Tools needed: Python 3, pynput library Step 1: Open a text editor or Python IDE and create a new Python file. Step 2: Import the necessary libraries at the … Read more

Exercise: Create Python Code for SHA-256 Hashing

You are a software developer at a local organization and you have been asked to create Python code for generating SHA-256 hashes. SHA-256 (Secure Hash Algorithm 256-bit) is a widely used cryptographic hash function that produces a fixed-size output (256 bits) from an input message of any size. Tools needed: Python 3 Step 1: Open … Read more