A distributed denial-of-service (DDoS) attack can do more than slow a website: it can disrupt business, interfere with public services, and expose the person responsible to serious legal consequences. In the United States, there is no single law titled the “DDoS law,” but federal prosecutors may pursue attacks under computer-crime statutes, especially the Computer Fraud and Abuse Act. The exact charge and penalty depend on what the attacker did, the damage caused, and other circumstances.
Is a DDoS Attack Illegal in the United States?
Generally, yes. Intentionally flooding a computer, website, or network with traffic to impair its availability can violate federal law and may also violate state laws. A DDoS attack typically uses traffic from multiple devices, sometimes a botnet made up of computers or internet-connected devices compromised without their owners’ knowledge. Using those devices does not make the attack lawful, and operating or renting a botnet can create additional legal exposure.
The central federal statute is the Computer Fraud and Abuse Act (CFAA), 18 U.S.C. § 1030. Among other conduct, the CFAA addresses intentionally causing damage to a “protected computer” through unauthorized access or transmission. The term generally covers computers used in or affecting interstate or foreign commerce, which can include ordinary internet-connected systems.
A DDoS attack may also lead to charges under other federal or state laws, depending on the facts. Examples can include computer-crime statutes, extortion laws if the attacker demands payment, or fraud-related offenses if deception or theft is involved. The government must prove the elements of each charge; an outage alone does not automatically establish who caused it or what crime occurred.
How the CFAA Can Apply to a DDoS Attack
The CFAA distinguishes among several types of computer offenses. Under § 1030(a)(5), it can be a crime to knowingly transmit a program, information, code, or command and intentionally cause damage without authorization. The statute also covers certain forms of unauthorized access that cause damage, including situations involving reckless or intentional conduct.
In this context, “damage” generally means an impairment to the integrity or availability of data, a system, or information. Making a service unavailable can therefore be legally significant even if no files are deleted. The scale and duration of the outage, response costs, lost revenue, and effects on users may help investigators and courts assess the incident and its consequences.
The CFAA does not make every high-volume or unexpected burst of traffic a crime. A legitimate performance test, security assessment, or research activity may be authorized when conducted within clear permission and agreed limits. By contrast, testing a third party’s system without permission—or continuing after authorization ends—can create substantial legal risk. Written authorization should identify the systems, timing, traffic limits, and people responsible for the test.
What Are the Criminal Penalties for a DDoS Attack?
There is no universal sentence for a DDoS attack. The applicable CFAA subsection, prior convictions, intent, losses, and other facts affect the maximum penalty. Under § 1030(c)(4), an offense under § 1030(a)(5)(A)—knowingly transmitting code or a command and intentionally causing damage—can carry a maximum of 10 years in prison for a first offense and up to 20 years for a qualifying subsequent offense. Other conduct under § 1030(a)(5)(B) or (C) can carry different maximum terms, including up to one year for a first offense and up to 10 years for a subsequent offense, subject to statutory conditions.
Other CFAA provisions may apply when an attack involves unauthorized access, extortion, or related conduct. For example, the statute provides different penalty ranges for offenses involving protected information or demands connected to computer damage. Prosecutors may also bring additional charges when the evidence supports them. Maximum sentences are not automatic outcomes: sentencing depends on the specific conviction, federal sentencing rules, criminal history, and the circumstances of the case.
Courts may impose fines as well as imprisonment. Federal fines depend on the offense and can be affected by general sentencing statutes, including rules that may allow a fine tied to the defendant’s gain or the victim’s loss. A convicted person may also face supervised release, restitution, forfeiture of property connected to the offense, or restrictions imposed as part of a sentence.
| Issue | Why It Matters |
|---|---|
| Intent and authorization | Evidence of deliberate disruption or access without permission can affect which charges apply. |
| Damage and losses | Outage duration, recovery expenses, and documented losses can affect charging and sentencing. |
| Extortion or repeat conduct | Payment demands, prior convictions, or multiple incidents may increase legal exposure. |
| Other affected systems | Use of compromised devices or attacks across state lines can bring additional investigative and legal issues. |
Can a DDoS Attacker Face Civil Lawsuits?
Yes. Under § 1030(g), a person or organization harmed by a CFAA violation may bring a civil action for compensatory damages or injunctive relief, if the statutory requirements are met. The CFAA generally requires the claim to fall within at least one listed factor, such as a qualifying loss of at least $5,000 during a one-year period. Other factors address certain physical injury, public-safety, or government-related harms.
A business affected by an attack may seek to recover qualifying response costs and losses, and it may request a court order to prevent continuing conduct. Depending on the circumstances, state law claims may also be available. Civil claims are separate from criminal prosecution: a victim can pursue a lawsuit even when criminal charges are not filed, though the legal standards and available remedies differ.
Do State Laws Also Prohibit DDoS Attacks?
Many states have computer-crime laws that may apply to unauthorized disruption, damage, or access. The wording and penalties vary by state, and a case can involve more than one jurisdiction when victims, servers, or alleged attackers are in different places. Federal and state authorities may coordinate, but the precise charges depend on the evidence and the laws that apply.
An attack can also create consequences outside court. An internet provider or hosting company may suspend accounts, remove infrastructure, or preserve records for investigators. A person convicted of a serious offense may face lasting effects on employment, education, professional licensing, and reputation.
What to Do If a DDoS Attack Happens
Organizations experiencing an attack should prioritize service continuity and preserve evidence. Useful steps include recording the start and duration of the disruption, keeping relevant network and provider logs, documenting recovery expenses, and contacting the hosting provider or internet service provider. Affected organizations can report suspected cybercrime to the FBI’s Internet Crime Complaint Center (IC3) or contact local law enforcement. Reports should distinguish observed facts from assumptions about who is responsible.
Individuals accused of launching or assisting with a DDoS attack should avoid deleting records, contacting alleged victims to pressure them, or making public statements about the incident. They should speak with a qualified criminal-defense attorney. This article provides general information, not legal advice; an attorney can assess the relevant jurisdiction, facts, and potential charges.