encyclopegia.org

SQL Slammer

SQL Slammer is a 2003 computer worm that caused a denial of service on some Internet hosts and dramatically slowed general Internet traffic. It also crashed routers around the world, causing even more slowdowns. It spread rapidly, infecting most of its 75,000 victims within 10 minutes. The program exploited a buffer overflow bug in Microsoft's SQL Server and Desktop Engine database products. Although the MS02-039 (CVE-2002-0649) patch had been released six months earlier, many organizations had not yet applied it.

SQL Slammer is a 2003 computer worm that caused a denial of service on some Internet hosts and dramatically slowed general Internet traffic. It also crashed routers around the world, causing even more slowdowns. It spread rapidly, infecting most of its 75,000 victims within 10 minutes. The program exploited a buffer overflow bug in Microsoft's SQL Server and Desktop Engine database products. Although the MS02-039 (CVE-2002-0649) patch had been released six months earlier, many organizations had not yet applied it. ==Technical details== The worm was based on proof of concept code demonstrated at the Black Hat Briefings by David Litchfield, who had initially discovered the buffer overflow vulnerability that the worm exploited. It is a small piece of code that does little other than generate random IP addresses and send itself out to those addresses. If a selected address happens to belong to a host that is running an unpatched copy of Microsoft SQL Server Resolution Service listening on UDP port 1434, the host immediately becomes infected and begins spraying the Internet with more copies of the worm program. Home PCs are generally not vulnerable to this worm unless they have MSDE installed. The worm is so small that it does not contain code to write itself to disk, so it only stays in memory, and it is easy to remove. For example, Symantec provides a free of charge removal utility, or it can even be removed by restarting SQL Server (although the machine would likely be reinfected immediately). The worm was made possible by a software security vulnerability in SQL Server first reported by Microsoft on 24 July 2002. A patch had been available from Microsoft for six months prior to the worm's launch, but many installations had not been patched – including many at Microsoft. The worm began to be noticed early on 25 January 2003 as it slowed systems worldwide. The slowdown was caused by the collapse of numerous routers under the burden of extremely high bombardment traffic from infected servers. Normally, when traffic is too high for routers to handle, the routers are supposed to delay or temporarily stop network traffic. Instead, some routers crashed (became unusable), and the "neighbour" routers would notice that these routers had stopped and should not be contacted (aka "removed from the routing table"). Routers started sending notices to this effect to other routers they knew about. The flood of routing table update notices caused some additional routers to fail, compounding the problem. Eventually the crashed routers' maintainers restarted them, causing them to announce their status, leading to another wave of routing table updates. Soon a significant portion of Internet bandwidth was consumed by routers communicating with each other to update their routing tables, and ordinary data traffic slowed or in some cases stopped altogether. Because the SQL Slammer worm was so small in size, sometimes it got through even when legitimate traffic could not. Two key aspects contributed to SQL Slammer's rapid propagation. The worm infected new hosts over the sessionless UDP protocol, and the entire worm (only 376 bytes) fits inside a single packet. Each infected host would simply "fire and forget" packets as rapidly as possible. ==Notes== ==References== ==External links== News BBC NEWS Technology Virus-like attack hits web traffic MS SQL Server Worm Wreaking Havoc Wired 11.07: Slammed! A layman's explanation of the Slammer code. Announcement Microsoft Security Bulletin MS02-039 and Patch Symantec Security Response - W32.SQLExp.Worm Analysis Inside the Slammer Worm IEEE Security and Privacy Magazine, David Moore, Vern Paxson, Stefan Savage, Colleen Shannon, Stuart Staniford, and Nicholas Weaver Technical details Multiple Vulnerabilities in Microsoft SQL Server - Carnegie-Mellon Software Engineering Institute

References

  1. Symantec W32.SQLExp.Worm · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "Symantec W32.SQLExp.Worm." "Symantec W32. 2026-11-17. https://web.archive.org/web/20061110180054/http://www.symantec.com/security_response/writeup.jsp?docid=2003-012502-3306-99. Accessed 24 November 2026.

    Chicago "Symantec W32.SQLExp.Worm." "Symantec W32. 2026-11-17. https://web.archive.org/web/20061110180054/http://www.symantec.com/security_response/writeup.jsp?docid=2003-012502-3306-99.

    APA "Symantec W32. (2026). Symantec W32.SQLExp.Worm. Retrieved November 24, 2026, from https://web.archive.org/web/20061110180054/http://www.symantec.com/security_response/writeup.jsp?docid=2003-012502-3306-99

  2. MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434! · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434!." Public disclosure began with Michael Bacarella posting a message to the Bugtraq security mailing list entitled "MS SQL W. 2026-11-17. https://en.wikipedia.org/wiki/Bugtraq. Accessed 24 November 2026.

    Chicago "MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434!." Public disclosure began with Michael Bacarella posting a message to the Bugtraq security mailing list entitled "MS SQL W. 2026-11-17. https://en.wikipedia.org/wiki/Bugtraq.

    APA Public disclosure began with Michael Bacarella posting a message to the Bugtraq security mailing list entitled "MS SQL W. (2026). MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434!. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Bugtraq

  3. The Spread of the Sapphire/Slammer Worm · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "The Spread of the Sapphire/Slammer Worm." Moore, David; et al. 2026-11-17. https://www.caida.org/catalog/papers/2003_sapphire/. Accessed 24 November 2026.

    Chicago "The Spread of the Sapphire/Slammer Worm." Moore, David; et al. 2026-11-17. https://www.caida.org/catalog/papers/2003_sapphire/.

    APA Moore, David; et al. (2026). The Spread of the Sapphire/Slammer Worm. Retrieved November 24, 2026, from https://www.caida.org/catalog/papers/2003_sapphire/

  4. Computer Virus Propagation Models · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "Computer Virus Propagation Models." Serazzi, Giuseppe; Zanero, Stefano (2004). 2026-11-17. http://home.deib.polimi.it/zanero/papers/zanero-serazzi-virus.pdf. Accessed 24 November 2026.

    Chicago "Computer Virus Propagation Models." Serazzi, Giuseppe; Zanero, Stefano (2004). 2026-11-17. http://home.deib.polimi.it/zanero/papers/zanero-serazzi-virus.pdf.

    APA Serazzi, Giuseppe; Zanero, Stefano (2004). (2026). Computer Virus Propagation Models. Retrieved November 24, 2026, from http://home.deib.polimi.it/zanero/papers/zanero-serazzi-virus.pdf

  5. Other names include W32.SQLExp.Worm, DDOS.SQLP1434.A, the Sapphire Worm, SQL_HEL, W32/SQLSlammer and Helkern. [ 1 ] Wikipedia revision 1350595135, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "Other names include W32.SQLExp.Worm, DDOS.SQLP1434.A, the Sapphire Worm, SQL_HEL, W32/SQLSlammer and Helkern. [ 1 ] Wikipedia revision 1350595135, retrieved 2026-11-18." Other names include W32. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1350595135. Accessed 24 November 2026.

    Chicago "Other names include W32.SQLExp.Worm, DDOS.SQLP1434.A, the Sapphire Worm, SQL_HEL, W32/SQLSlammer and Helkern. [ 1 ] Wikipedia revision 1350595135, retrieved 2026-11-18." Other names include W32. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1350595135.

    APA Other names include W32. (2026). Other names include W32.SQLExp.Worm, DDOS.SQLP1434.A, the Sapphire Worm, SQL_HEL, W32/SQLSlammer and Helkern. [ 1 ] Wikipedia revision 1350595135, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1350595135

  6. CVE - CVE-2002-0649 · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "CVE - CVE-2002-0649." 2026-11-17. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0649. Accessed 24 November 2026.

    Chicago "CVE - CVE-2002-0649." 2026-11-17. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0649.

    APA encyclopegia.org. (2026). CVE - CVE-2002-0649. Retrieved November 24, 2026, from https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0649

  7. Slammer: Why security benefits from proof of concept code · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "Slammer: Why security benefits from proof of concept code." Leyden, John (6 February 2003). 2026-11-17. https://www.theregister.co.uk/2003/02/06/slammer_why_security_benefits/. Accessed 24 November 2026.

    Chicago "Slammer: Why security benefits from proof of concept code." Leyden, John (6 February 2003). 2026-11-17. https://www.theregister.co.uk/2003/02/06/slammer_why_security_benefits/.

    APA Leyden, John (6 February 2003). (2026). Slammer: Why security benefits from proof of concept code. Retrieved November 24, 2026, from https://www.theregister.co.uk/2003/02/06/slammer_why_security_benefits/

  8. Microsoft Attacked By Worm, Too · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "Microsoft Attacked By Worm, Too." 2026-11-17. https://www.wired.com/2003/01/microsoft-attacked-by-worm-too/. Accessed 24 November 2026.

    Chicago "Microsoft Attacked By Worm, Too." 2026-11-17. https://www.wired.com/2003/01/microsoft-attacked-by-worm-too/.

    APA encyclopegia.org. (2026). Microsoft Attacked By Worm, Too. Retrieved November 24, 2026, from https://www.wired.com/2003/01/microsoft-attacked-by-worm-too/

  9. MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434! · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434!." Bacarella, Michael (25 January 2003). 2026-11-17. http://seclists.org/bugtraq/2003/Jan/221. Accessed 24 November 2026.

    Chicago "MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434!." Bacarella, Michael (25 January 2003). 2026-11-17. http://seclists.org/bugtraq/2003/Jan/221.

    APA Bacarella, Michael (25 January 2003). (2026). MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434!. Retrieved November 24, 2026, from http://seclists.org/bugtraq/2003/Jan/221

  10. Peace of Mind Through Integrity and Insight · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "Peace of Mind Through Integrity and Insight." Boyle, Robert (25 January 2003). 2026-11-17. https://web.archive.org/web/20090219072838/http://archives.neohapsis.com/archives/ntbugtraq/2003-q1/0011.html. Accessed 24 November 2026.

    Chicago "Peace of Mind Through Integrity and Insight." Boyle, Robert (25 January 2003). 2026-11-17. https://web.archive.org/web/20090219072838/http://archives.neohapsis.com/archives/ntbugtraq/2003-q1/0011.html.

    APA Boyle, Robert (25 January 2003). (2026). Peace of Mind Through Integrity and Insight. Retrieved November 24, 2026, from https://web.archive.org/web/20090219072838/http://archives.neohapsis.com/archives/ntbugtraq/2003-q1/0011.html

  11. Peace of Mind Through Integrity and Insight · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "Peace of Mind Through Integrity and Insight." Koshy, Ben (25 January 2003). 2026-11-17. https://web.archive.org/web/20090219072809/http://archives.neohapsis.com/archives/ntbugtraq/2003-q1/0010.html. Accessed 24 November 2026.

    Chicago "Peace of Mind Through Integrity and Insight." Koshy, Ben (25 January 2003). 2026-11-17. https://web.archive.org/web/20090219072809/http://archives.neohapsis.com/archives/ntbugtraq/2003-q1/0010.html.

    APA Koshy, Ben (25 January 2003). (2026). Peace of Mind Through Integrity and Insight. Retrieved November 24, 2026, from https://web.archive.org/web/20090219072809/http://archives.neohapsis.com/archives/ntbugtraq/2003-q1/0010.html

  12. SQLExp SQL Server Worm Analysis · retrieved 2026-11-17 · rev 1350595135
    Cite this reference

    MLA "SQLExp SQL Server Worm Analysis." "SQLExp SQL Server Worm Analysis" (PDF). 2026-11-17. https://web.archive.org/web/20030307233701/http://securityresponse.symantec.com/avcenter/Analysis-SQLExp.pdf. Accessed 24 November 2026.

    Chicago "SQLExp SQL Server Worm Analysis." "SQLExp SQL Server Worm Analysis" (PDF). 2026-11-17. https://web.archive.org/web/20030307233701/http://securityresponse.symantec.com/avcenter/Analysis-SQLExp.pdf.

    APA "SQLExp SQL Server Worm Analysis" (PDF). (2026). SQLExp SQL Server Worm Analysis. Retrieved November 24, 2026, from https://web.archive.org/web/20030307233701/http://securityresponse.symantec.com/avcenter/Analysis-SQLExp.pdf

Cite this article

MLA

"SQL Slammer." encyclopegia.org, 2026, https://encyclopegia.org/wiki/sql-slammer. Accessed 24 November 2026.

Chicago

"SQL Slammer." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/sql-slammer.

APA

encyclopegia.org. (2026). SQL Slammer. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/sql-slammer

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

SQL-Ledger

stub · references available

SQL Server

stub · references available

SQL Server Reporting Services

stub · references available

SQL/OLB

stub · references available

Mimer SQL

stub · references available

SQL Server

stub · references available

Web SQL Database

stub · references available

Category:PL/SQL editors

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1350595135 · 0.5 · snapshot enwiki-001350595135

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.