Research Article

IMCSA: Providing Better Sequence Alignment Space for Industrial Control Protocol Reverse Engineering

Algorithm 1

BW generation.
Input: preprocessed message set: ; threshold:
Output: Bag-of-Word set
(1)for do
(2) initialize.
(3)fordo
(4)  ;
(5)  ifthen
(6)   ;
(7)   ;
(8)   ifthen
(9)    Judge(, , );
(10)   end
(11)   else
(12)    ;
(13)    old_str = new_char;
(14)   end
(15)  end
(16)end
(17)end
(18)return .