Skip to content

justinyeh1995/Ransomware_Detection_N_Mitigation

Repository files navigation

CS6381 FinalProject

On Master Node 1 (Main)

  1. Start Zookeeper Server

  2. Start Detection Server

On Exposed Host Machines

sudo python3 -m pip install grpcio protobuf==4.21.12 scapy paramiko

if you have zookeeper on your host machines

bin/zkCli.sh -timeout 3000 -server remoteIP:2181
  1. Start up the Mitigation Client
  2. Start up the Detection Client and let it warm up for a few minutes

THIS SECTION IS DEPRECATED!!!

Installation

sudo apt-get install openvswitch-switch-dpdk

Setup switches

sudo ovs-vsctl add-br <bridge-name>
sudo ip addr add <ens3-ip>/24 dev <bridge-name>
sudo ip link set <bridge-name> up
sudo ovs-ofctl add-flow <bridge-name> "priority=0, actions=controller"

Connect to ryu applications

sudo ovs-vsctl set-controller <bridge-name> tcp:192.168.2.209:6653

Services

Start Detection Server

python3 detection_server.py

Ryu Application

cd services
ryu-manager controller.py --ofp-tcp-listen-port=6653

Ransomware Test

Start C2 server

python3 server.py

Run encryptor application on infected node

Ensure path to file target paths is correct. python3 encryptor.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published