Research Article
Task-Oriented Network Abnormal Behavior Detection Method
Algorithm 2
Abnormal behavior detection algorithm.
| Input: Security label: secLabel The encrypted message from the terminal: EncryptedMessage Communication random string: Kcs | | Output: Abnormal behavior decision signal: signal | (1) | authSig = True | (2) | actionSig = True | (3) | currentState, action = D(Kcs, EncryptedMessage) | (4) | if Hash(Hash(action) || Kcs) = = secLabel then | (5) | if T(action, currentState) = = 0 then | (6) | actionSig = False | (7) | end if | (8) | else | (9) | authSig = False | (10) | end if | (11) | signal = actionSig andand authSig | (12) | return signal |
|