Research Article

GroupTracer: Automatic Attacker TTP Profile Extraction and Group Cluster in Internet of Things

Algorithm 2

Attack tree generation for a given cluster .
Require: Payloads
Ensure: Attack tree for
(1) []
(2) {}
(3)for alldo
(4)()
(5)()
(6)ifthen
(7)  fordo
(8)   
(9)  end for
(10)else
(11)  
(12)end if
(13)end for
(14)for alldo
(15)
(16)end for
(17)()
(18)
(19)