The document presents a Bayes-based algorithm for detecting Address Resolution Protocol (ARP) attacks in cloud centers utilizing software-defined network (SDN) technology. This algorithm calculates the probability of a virtual machine being an attacker based on ARP frame analysis and introduces a detection model validated through experiments. The proposed solution aims to enhance internal network security by providing a cost-effective and efficient method for addressing internal network attacks in cloud environments.