Self-Replicating Model for Efficient Malware Pattern and Node Behavior Analysis in Network Intrusion Detection