Segmentation And Model Generation For Large-Scale Cyber Attacks