Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-4096 — This experiment is destinated to demonstrate how the DNS rebinding attack works on an emulated IoT. In the setup, we have a simulated IoT device, which can be controlled through a web interface (this is typical for many IoT devices). | Kitploit
Tools/GitHubGitHub/aminetitrofine/cve-2022-4096
IoT SecurityExploitationWeb SecurityLearning & EducationDNS AnalysisLabs & Practice
GitHubaminetitrofine/cve-2022-4096

CVE-2022-4096

This experiment is destinated to demonstrate how the DNS rebinding attack works on an emulated IoT. In the setup, we have a simulated IoT device, which can be controlled through a web interface (this is typical for many IoT devices).

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
173 years agoNot yet reviewed

CVE 2022 -4096

Amine TITROFINE | January 21, 2023


This experiment is destinated to demonstrate how the DNS rebinding attack works on an emulated IoT. In the setup, we have a simulated IoT device, which can be controlled through a web interface (this is typical for many IoT devices). Many IoT devices do not have a strong protection mechanism, if attackers can directly interact with them, they can easily compromise these devices.

Environnement

Host Machine : - This exploit has been experimented on (Linux kali 6.0.0-kali5-amd64), it can also be tested on (Ubuntu) distributions

Exploit

Containers commands and setup

First, clone this project in your local machine

root@kitploit:~
$ git clone https://gitlab.com/grenoble-inp-ensimag/Secu3A/Devoir2/CVE_2022_4096_amine_titrofine_farah_ben_youssef_walid_lanjri.git

we access to the directory that contains the files of our repositroy

root@kitploit:~
$ cd CVE_2022_4096_amine_titrofine_farah_ben_youssef_walid_lanjri

we start by building all the defined services in the (docker-compose.yaml) file

root@kitploit:~
$ docker-compose build

And then, we ran the following command to start the different services

root@kitploit:~
$ docker-compose up

Configure the User VM

(Step 1. Reduce Firefox’s DNS caching time:)

root@kitploit:~
network.dnsCacheExpiration: change its value to 0 (default is 60)

(Step 2. Change /etc/hosts:)

root@kitploit:~
192.168.60.80 www.seedIoT32.com

(Step 3. Local DNS Server:) we add the nameserver entry in the resolver configuration file (/etc/resolv.conf).

root@kitploit:~
nameserver 10.9.0.53

Testing the Lab Setup.

After configuring the User VM, use the dig command to get the IP address of www.attacker32.com. You should get 10.9.0.180 . If you do not get this, your lab environment is not set up correctly.

root@kitploit:~
$ dig http://www.attacker32.com

Launch the Attack on the IoT Device

This part is well documented in the report, please refer to it starting from page (17).

Download Tool