|
Algorithm 2 Cyber-Attack on DL TL and AL
|
|
** START **
|
| 01: Input ← Raw data |
| 02: Output ← Anomaly and Normal Traffic: {Classification and Detection} |
|
** PRE-ATTACKS **
|
| 03: Procedure: INTERCEPTION (I) |
| 04: Action: INJECTION (Inj) or MODIFICATION (Mod) |
| 05: Packet ← {pre-process, get DNP3 packet (dnppkt)} |
| 06: DNP3 protocol ← {DataLink (DL), TransportLink (TL), ApplicationLink (AL)} |
| 07: Attack =
|
|
*** SETTING-UP PARAMETERS & ATTACK LAUNCHING ***
|
| 08: LOVA ⟺
|
| 09: DFC Flag ⟺
|
| 10: FCA ⟺
|
| 11: FMI1 ⟺
|
| 12: FMI2 ⟺
|
| 13: TSM ⟺
|
| 14: FCM1 ⟺
|
| 15: FCM2 ⟺
|
| 16: FCM3 ⟺
|
| 17: FCM4 ⟺
|
| 18: FCM5 ⟺
|
| 19: FCM6 ⟺
|
| 20: CC_INN ⟺
|
| 21: If
then, //Interception of the packet |
| 22: Attacker //Launch the attack on the layers |
| 23: Get anomaly traffic |
| 24: End if |
| 25: End
|