chamara84 / ns3_cybersec

This repository contain a modified version of NS-3 where the users can create attacks such as TCP SYN flood , ARP spoofing, ICMP redirection and MITM attacks. The intention is for the user to carry out cybersecurity simulations for power systems. Up to date the users can modify general TCP/UDP socket data, DNP3, MODBUS, IEC104, PMU protocol data.
4 stars 3 forks source link

Is it possible to create DNP3 packet directly through dnp3-app? #4

Open Sest0 opened 7 months ago

Sest0 commented 7 months ago

Alternatively, is there corresponding sample code for dnp3 protocol ? I tried the method in attack-app to modify DNP3 packets, but it doesn't work. Thank you.

chamara84 commented 7 months ago

Hi, This code can only modify an existing packet. It cannot create a packet from scratch. Can you use the below document and see if you followed it? Using GTNET and NS-3 for CyberSec SimulationV1rtfx.pdf

Sest0 commented 7 months ago

Hi, This code can only modify an existing packet. It cannot create a packet from scratch. Can you use the below document and see if you followed it? Using GTNET and NS-3 for CyberSec SimulationV1rtfx.pdf

Thank you so much for your assistance. I'll take the time to read and comprehend it thoroughly.