SQL Slammer

Short description: 2003 computer worm

Template:Infobox malware SQL Slammer[lower-alpha 1] 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)[2] patch had been released six months earlier, many organizations had not yet applied it.

## Contents

* 1 Technical details
* 2 Notes
* 3 References
* 4 External links

## 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.[3] 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.[4]

The worm began to be noticed early on 25 January 2003[lower-alpha 2] 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.[9][10] Each infected host would simply "fire and forget" packets as rapidly as possible.

## Notes

1. ↑ Other names include W32.SQLExp.Worm, DDOS.SQLP1434.A, the Sapphire Worm, SQL_HEL, W32/SQLSlammer and Helkern.[1]
2. ↑ Public disclosure began with Michael Bacarella posting a message to the Bugtraq security mailing list entitled "MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434!"[5] at 07:11:41 UTC on 25 January 2003. Similar reports were posted by Robert Boyle at 08:35 UTC[6] and Ben Koshy at 10:28 UTC[7] An early analysis released by Symantec is timestamped 07:45 GMT.[8]

## References

1. ↑ "Symantec W32.SQLExp.Worm". http://www.symantec.com/security_response/writeup.jsp?docid=2003-012502-3306-99.
2. ↑ "CVE - CVE-2002-0649". https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0649.
3. ↑ Leyden, John (6 February 2003). "Slammer: Why security benefits from proof of concept code". Register. https://www.theregister.co.uk/2003/02/06/slammer_why_security_benefits/.
4. ↑ "Microsoft Attacked By Worm, Too". Wired. https://www.wired.com/2003/01/microsoft-attacked-by-worm-too/.
5. ↑ Bacarella, Michael (25 January 2003). "MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434!". Bugtraq. http://seclists.org/bugtraq/2003/Jan/221.
6. ↑ Boyle, Robert (25 January 2003). "Peace of Mind Through Integrity and Insight". Neohapsis Archives. http://archives.neohapsis.com/archives/ntbugtraq/2003-q1/0011.html.
7. ↑ Koshy, Ben (25 January 2003). "Peace of Mind Through Integrity and Insight". Neohapsis Archives. http://archives.neohapsis.com/archives/ntbugtraq/2003-q1/0010.html.
8. ↑ "SQLExp SQL Server Worm Analysis". DeepSight™ Threat Management System Threat Analysis. Jan 28, 2003. http://securityresponse.symantec.com/avcenter/Analysis-SQLExp.pdf.
9. ↑ Moore, David. "The Spread of the Sapphire/Slammer Worm". CAIDA (Cooperative Association for Internet Data Analysis). https://www.caida.org/catalog/papers/2003_sapphire/.
10. ↑ Serazzi, Giuseppe; Zanero, Stefano (2004). "Computer Virus Propagation Models". Performance Tools and Applications to Networked Systems. Lecture Notes in Computer Science. 2965. pp. 26–50. http://home.deib.polimi.it/zanero/papers/zanero-serazzi-virus.pdf.

## 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
* "CERT Advisory CA-2003-04: MS-SQL Server Worm". https://resources.sei.cmu.edu/asset_files/WhitePaper/2003_019_001_496200.pdf#page=20.
* 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

* v
* t
* e

Hacking in the 2000s

| <- 1990s | Timeline | 2010s ->

|
|

Major incidents|

| 2003|

* South Korea cyberattack (2003)

|

2004|

* Titan Rain (2003–2006)
* Operation Firewall

2007|

* Cyberattacks on Estonia (2007)
* Bot Roast (2007)

2008|

* Project Chanology (2008)
* Cyberattacks on Georgia
* US Military Cyberattack (2008)

2009|

* Operation Troy (2009)
* WebcamGate (2008–2010)

Groups|

* Anonymous
* associated events
* Avalanche
* GNAA
* GhostNet
* PLA Unit 61398
* RBN
* ShadowCrew
* Western Express

Individuals|

* BadB
* camZero
* Coolio
* diabl0
* Jaschan
* Albert Gonzalez
* Maksik
* Dmitry Sklyarov
* Jeanson James Ancheta
* Rafael Núñez
* Samy Kamkar
* Stakkato

Vulnerabilities
discovered|

* Shatter attack (2002)
* sslstrip (2009)

Malware|

| 2000|

* ILOVEYOU (2000)
* Pikachu (2000)

|

2001|

* Anna Kournikova
* Code Red
* Nimda
* Klez

2002|

* Simile (2002)

2003|

* Slammer (2003)
* Welchia (2003)
* Sobig (2003)
* Gruel (2003)
* Blaster (2003)

2004|

* Bagle
* NetSky
* Sasser
* Mydoom

2005|

* PGPCoder (2005)
* Samy (2005)

2006|

* Rostock (2006)
* ZLOB (2006)
* Stration (2006)

2007|

* Storm (2007)
* ZeuS (2007)

2008|

* Asprox
* Patched
* Agent.btz
* Mariposa

2009|

* Conficker
* Koobface
* Waledac

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/SQL Slammer. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=SQL_Slammer&oldid=3977564"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template