Short answer: Launching a DDoS (distributed denial-of-service) attack on someone else's website, server or game is a crime in the US, Canada, the UK and Australia. Paying a "booter" or "stresser" service to do it is also a crime. Load testing or DDoS testing your own systems can be legal, but only if you have written permission from everyone whose systems the traffic touches, including your hosting or cloud provider.
What counts as a DDoS attack?
A DDoS attack floods a target with traffic from many sources until it slows down or goes offline. The law cares about two things: whether you had authorization, and whether you intended to disrupt the system. The same flood of traffic is a crime against a stranger's server and a legitimate test against your own.
Is DDoS testing legal?
DDoS testing (also called stress testing or load testing) is legal when all of these are true:
- You own the target or have written authorization from the owner. If you are a contractor, get a signed scope that names the systems, dates and traffic levels.
- Your provider allows it. Your traffic passes through your host's or cloud provider's network. Many providers ban DDoS-style testing unless you follow their policy. AWS, for example, only allows DDoS simulation tests run through its approved testing partners, and requires notice in advance.
- The traffic doesn't hit anyone else. If your test overloads a shared server, a neighbour's site, or an ISP's network, you can be liable for that harm.
- The tool sends traffic from systems you control. Many "stresser" websites are attack services that use hijacked devices (botnets). Paying one, even to "test" your own site, can break the law and fund criminal infrastructure.
Testing a game server, school network or website you don't own is not testing. It's an attack, even if you didn't mean to cause damage.
United States
The main law is the Computer Fraud and Abuse Act, 18 U.S.C. § 1030. Section 1030(a)(5)(A) makes it a crime to knowingly send code or commands that intentionally cause damage to a protected computer without authorization. "Protected computer" covers almost any internet-connected device.
Penalties depend on the harm. A first offence that causes at least $5,000 in losses can bring up to 10 years in federal prison, and more if it causes physical injury or threatens public safety. Victims can also sue for damages.
The FBI and international partners regularly seize booter and stresser websites, and have charged both their operators and their customers.
Canada
The Criminal Code covers DDoS attacks in two places:
- Section 430(1.1), mischief in relation to computer data, makes it an offence to obstruct, interrupt or interfere with the lawful use of computer data. Maximum: 10 years.
- Section 342.1, unauthorized use of a computer, makes it an offence to fraudulently and without right obtain computer services or intercept functions of a computer. Maximum: 10 years.
United Kingdom
The Computer Misuse Act 1990, section 3, makes it an offence to do any unauthorized act intending to impair the operation of a computer, or being reckless about it. The maximum sentence is 10 years. The National Crime Agency has run campaigns targeting young people who buy booter services, warning that even a small attack on a gaming rival can lead to arrest.
Australia
The Criminal Code Act 1995 (Cth), section 477.3, makes it an offence to cause unauthorized impairment of electronic communication to or from a computer, with a maximum of 10 years. States have similar offences.
Penalties beyond prison
- Civil lawsuits for the victim's lost revenue and cleanup costs
- Account bans and termination from hosting, cloud and gaming platforms
- Seizure of devices used in the attack
- A criminal record that shows up in background checks
How to run a legal DDoS test
- Get written approval from the system owner (if that's not you).
- Read your hosting or cloud provider's testing policy and notify them if it says to.
- Use a reputable load-testing tool or an approved testing vendor, not a booter site.
- Test a staging environment if you can, and limit the traffic and time window.
- Keep records: the approval, the scope, the dates and the results.
Sources