DDoS is illegal as it is all about sending unauthorised traffic from a third party to a particular site.