the idea of Software-Defined Networking (SDN) can be adapted to enable intrusion detection and prevention, including malware detection, in different cloud-based systems. My short list of literature sources provides some ideas for malware detection using SDN-based system solutions.
Noman Mazhar,Rosli Salleh, Mohammad Asif Hossain, Muhammad Zeeshan: "SDN based Intrusion Detection and Prevention Systems using Manufacturer Usage Description: A Survey"
SDN https://www.researchgate.net/publication/306526723_Using_malware_for_software-defined_networking-based_smart_home_security_management_through_a_taint_checking_approach