A denial of service (DoS) attack is a cyberattack that makes a website, application, server, or network unavailable to legitimate users. Attackers may overwhelm a target with traffic, exhaust system resources, or exploit software vulnerabilities that cause a service to slow down, hang, or crash.
A DoS attack typically originates from a single source, while a distributed denial of service (DDoS) attack uses multiple systems to overwhelm a target. DDoS attacks often rely on botnets made up of compromised computers, servers, and Internet of Things (IoT) devices.
DoS attacks primarily affect availability, one of the three core principles of confidentiality, integrity, and availability (CIA) triad. Service disruptions can prevent customer access, interrupt business operations, and affect service-level agreements. Because some attacks exploit vulnerabilities or send resource-intensive requests rather than generate high traffic volumes, effective protection requires both network defenses and strong vulnerability management.
Enterprise systems rely on the availability of applications, APIs, cloud workloads, and network services. A successful denial of service attack can disrupt these services, limit customer access, and increase operational costs, even when no data is stolen.
The impact can extend beyond service disruption. Attackers may use an outage as a distraction for credential theft, lateral movement, or data exfiltration. Some campaigns also use ransom-based DDoS threats to pressure organizations into paying to prevent or stop an attack.
Cloud environments face additional risks when attacks trigger repeated autoscaling or excessive application and AI model requests, driving infrastructure costs. This is sometimes called a denial-of-wallet attack, where service usage exhausts financial resources. Financial services, healthcare, government, SaaS providers, online retailers, gaming platforms, and critical infrastructure can all be affected, making it essential to protect both network capacity and application resources.
A denial-of-service attack works by consuming a resource that a service needs to respond to legitimate requests. The targeted resources may be network bandwidth, CPU, memory, connection state, application threads, API quotas, or another processing limit.
A typical attack follows these stages:
Not every denial-of-service attack follows this exact sequence. A vulnerability-based attack, for example, may crash into a service with a single crafted request rather than relying on sustained traffic volume.
DoS attacks are classified by the resources they target and the techniques they use. The main types are volumetric, protocol-based, application-layer, and vulnerability-based attacks.
Volumetric attacks overwhelm network bandwidth with large volumes of traffic, preventing legitimate requests from reaching the target. Examples include UDP floods, ICMP floods, and DNS or NTP amplification attacks. MITRE ATT&CK classifies network denial of service under T1498.
Protocol-based attacks exploit how network protocols handle connections and packets, exhausting resources such as connection tables and firewall state. A SYN flood, for example, leaves systems managing incomplete TCP connections. MITRE ATT&CK includes operating system exhaustion floods under T1499.001.
Application-layer attacks target web servers, APIs, and application functions with requests that consume excessive processing resources. Examples include HTTP floods, Slowloris attacks, and expensive API or GraphQL queries. These attacks can resemble legitimate traffic. Relevant MITRE ATT&CK techniques include T1499.002 and T1499.003, depending on the behavior.
Vulnerability-based attacks exploit software flaws to crash services or exhaust resources, sometimes with relatively little traffic. Examples include regular expression denial of service (ReDoS) and HTTP/2 Rapid Reset (CVE-2023-44487). MITRE ATT&CK covers relevant application or service exhaustion behaviors under T1499.004. Patching vulnerabilities and secure application design are essential defenses alongside network-level protection.
DoS and DDoS attacks share the same primary goal: making a service unavailable. The key difference is the number and distribution of systems used to generate attack.
A DDoS attack is not simply a larger DoS attack. Its distributed nature complicates attribution and mitigation because blocking one source may have little effect on the overall traffic. However, a single-source DoS attack can still cause a major outage if it exploits critical vulnerability or targets a resource with limited capacity.
The immediate effect of a DoS attack is service disruption, but the broader impact can affect operations, finances, and security.
A denial-of-service attack does not inherently steal data. However, organizations should investigate related security signals during an outage rather than assume that availability is the only affected security objective.
Detecting a denial-of-service attack requires monitoring both network traffic and application behavior. A sudden increase in traffic may indicate an attack, but legitimate demand for spikes, configuration errors, and infrastructure failures can produce similar symptoms.
Security and operations teams should look for indicators such as:
Teams should correlate network flow data, firewall and load balancer logs, application metrics, and infrastructure telemetry. Reviewing request patterns and backend resource usage can help distinguish volumetric attacks from low-volume application-layer or vulnerability-based attacks.
No single indicator proves that an attack is taking place. Detection is more reliable when traffic anomalies are assessed alongside service health, historical baselines, and evidence of resource exhaustion.
Effective DoS protection combines multiple controls to address different attack types.
No single control, including IP blocklists, autoscaling, or a web application firewall (WAF), can prevent any DoS attack. Select defenses based on the attack vector and the service's architecture.
When a denial-of-service incident occurs, the response should restore availability while preserving enough evidence to understand the attack.
Network-edge DDoS mitigation is an important part of availability protection, but organizations also need to identify vulnerable software and exposed services that attackers may exploit.
Loginsoft's vulnerability intelligence and research capabilities help security teams assess relevant vulnerabilities and exploitation activity. Threat intelligence can provide context on malicious infrastructure and botnet campaigns, while external attack surface discovery helps identify exposed or misconfigured internet-facing services.
Combining these capabilities with network protection, application controls, and vulnerability management helps organizations prioritize remediation and reduce the opportunities attackers have to disrupt critical services.
A denial-of-service attack makes a website, application, server, or network unavailable by overwhelming resources or exploiting a vulnerability. DoS attacks generally originate from one source, while DDoS attacks use multiple distributed systems. Common types include volumetric, protocol-based, application-layer, and vulnerability-based attacks. Organizations can reduce the risk through layered network protection, application rate limits, resilient architecture, vulnerability management, continuous monitoring, and a tested incident response plan.
Q1. What is a denial-of-service attack in cybersecurity?
A Denial-of-Service (DoS) attack is a cyberattack that overwhelms a computer system, network, or application with malicious traffic or resource-intensive requests, or exploits a vulnerability, making the service unavailable to legitimate users.
Q2. What is a real-life example of a denial-of-service attack?
A well-known example is the 2016 Dyn cyberattack, in which the Mirai botnet used compromised IoT devices, including routers and security cameras, to flood Dyn's DNS infrastructure with traffic. The attack disrupted access to popular services such as Twitter, Netflix, and Reddit for many users.
Q3. What is the difference between DoS and DDoS?
A DoS attack typically comes from one source, while a DDoS attack uses multiple distributed systems, often a botnet. DDoS attacks are generally harder to mitigate because malicious traffic originates from many sources.
Q4. Does a DoS attack steal data?
A DoS attack primarily targets availability rather than directly stealing data. However, attackers may use an outage to distract security teams while attempting a separate intrusion, so organizations should investigate other suspicious activity during the incident.
Q5. What are the main types of DoS attacks?
The main categories are volumetric attacks, protocol-based attacks, application-layer attacks, and vulnerability-based attacks. They target different resources, including bandwidth, connection state, application processing capacity, and software behavior.
Q6. How can an organization detect a DoS attack?
Common indicators include sudden traffic spikes, slow or unavailable services, increased error rates, excessive open connections, and unusually high CPU or memory use. Correlating network, application, and infrastructure telemetry helps teams distinguish attacks from normal demand changes.
Q7. How can a DoS attack be prevented?
Organizations can reduce risk through DDoS mitigation, rate limiting, caching, secure application design, resilient architecture, and timely patching. Monitoring and tested incident response procedures help teams detect attacks and restore service more quickly.
Q8. Is a denial of service attack illegal?
Unauthorized denial of service attacks are prohibited under laws in many jurisdictions. Applicable laws and penalties vary by country. Authorized stress testing should have documented permission, a defined scope, and appropriate safeguards.
Q9. How long does a DoS attack last?
The duration varies by attack technique, target, and mitigation capability. Some network-layer attacks end within minutes, while others continue for hours or longer. Organizations should monitor service recovery and confirm that the attack has subsided before closing an incident.
Q10. Can a software vulnerability cause a denial of service attack?
Yes. A vulnerability can allow a crafted request or input to exhaust CPU, memory, or other resources, or cause a service to crash. Patching vulnerable software and applying application-level protections are important even when network DDoS defenses are in place.
Security research, threat intelligence, vulnerability updates, product news, and expert insights, delivered directly to your inbox. Stay informed. Stay secure.