Skip to content

Mushroom-MSL1L/ADBlocker_cryptography_engineering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ADBlocker_cryptography_engineering

Introduction

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

Installation

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.

Operation

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.

Setting

manifest.json

  • background.persistent: Set to true 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.

background.js

  • MALICIOUS_SERVER_URL: The target server for the extention.

server.js

  • port: The port of the server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published