This project is about a malicious Adblocker extention. It contain a Adblocker extention and a simple server to receive the data from the extention.
The malicious functions of the Adblocker extention:
- Send the request data of users to the server onComplete
- Send the cookies of ".youtube.com" domain to the server when a request completed (onComplete)
- Inject a cookie to the ".youtube.com" domain when the extention send a request to the server
For installation of the extention, please refer to this link
For setting up the server, go under the Server
folder and run the following command:
npm install
node server.js
The target server for the extention is set to http://localhost:6969
, and the port of the server is also set to 6969
.
If you want to change the server address, please go to the background.js
file and change the MALICIOUS_SERVER_URL
variable.
After installation and the server is running. The extention will keep running, if the extention is enabled. Anytime a web request in completed, the extention will send the request data to the server's log.
background.persistent
: Set totrue
will make the extention keep running as long as it is enabled. It is recommended to remove or disable the extentions after testing if this is set to true.
MALICIOUS_SERVER_URL
: The target server for the extention.
port
: The port of the server.