The researcher created different types of denial-of-service attacks and applied modified algorithms to the data after calculating statistical features based on time difference between payloads passing through the encrypted channel, and tested multiple types of traditional and deep learning algorithms. This is to examine their efficiency in distinguishing four types of attacks and improve detection accuracy. Inter arrival time was calculated, which is the time difference between each two successive loads.