Giter Club home page Giter Club logo

backdoor-attack-simulation's Introduction

Backdoor-Attack-Simulation

This project is part of the Industrial Networks Course from the department of Mechatronics of the University of São Paulo (USP). It contains three sub-projects of different configurations for a backdoor attack. The main goal of the project was to learn to work with sockets, real-time applications, select library for managing multiple clients with I/O multiplexing, and to understand the fundamentals of backdoor attacks, in Python.

Each of the sub-projects has a server.py and client.py file, correspondig to the programs running in the attacker's machine and victim's machine respectively. In the first project, "Ex 1.1", the server always sends the same command to be run on the client's terminal and get the output. In the second project, "Ex 1.2", the attacker chooses the command. In the third project, "Ex 1.3", the server program keeps track of each victim's situation, and allows the attacker to choose not only the command, but also which victim he wants to attack.

Features

  • socket — a module that allows low-level networking , providing access to the BSD socket interface;
  • select — a module that allows I/O multiplexing;
  • subprocess — a module that allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return codes;
  • threading — a module that allows thread-based parallelism.

Requirements

  • Python

Getting started

  1. Pick a sub-project and go to it's directory (example below for the first project):
cd Ex 1.1
  1. Run the server:
python server.py
  1. Run the client(s):
python client.py

Project details

You can check my report (in Portuguese) for more details on the project.

backdoor-attack-simulation's People

Contributors

brunoscaglione avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.