> hi guys i need urgent help for my master project ? any one can help me how to implement the TCP SYN flood attack on my code or any other attaque ( MITM, DOS, fake enodeb)
First things first: if you ask help, it should be for an implementation details. I doubt that anyone can modify your script for you to match your requirements.
Second problem: before doing a simulation, ask yourself "what data am I trying to get out of the simulation".
- SYN flood: just craft a SYN packet "manually" (create a packet, add the relevant headers, send it with the NetDevice directly). However, the only thing you'll "see" is that the receiver will open a ton of sockets, your simulation memory will increase, and nothing else will happen.
- MITM: almost impossible with LTE, because it's LTE. You *could* do it with ns-3, but it's totally unrealistic.
- DOS: same as SYN flood.
- fake eNB: all the eNB are simulated, the "fake" one will be just another eNB. Same issue with SYN flood: what data are you going to collect?
So, before simulating, you' should have a plan. You do simulations to collect data that prove something, but first you have to have something to prove. Not the other way around.