Safekipedia

SQL Slammer

Discoverer · ages 10+Adapted from Wikipedia
An image related to the Slammer, a computer worm that spread quickly across the internet in 2003 by sending data over the User Datagram Protocol (UDP).
SQL Slammer Computer worm.

SQL Slammer was a 2003 computer worm that caused a denial of service on some Internet hosts and greatly slowed general Internet traffic. It also crashed routers around the world, which caused even more slowdowns. The worm spread very quickly, infecting most of its 75,000 victims within 10 minutes.

The program took advantage of a buffer overflow bug in Microsoft's SQL Server and Desktop Engine database products. A patch called MS02-039 (CVE-2002-0649) had been released six months earlier, but many organizations had not yet installed it.

The worm was based on proof of concept code shown at the Black Hat Briefings by David Litchfield, who had first discovered the flaw it used. It was a small program that mostly created random internet addresses and sent copies of itself to them. If an address belonged to a computer running an unpatched Microsoft SQL Server service, that computer was immediately infected and began sending out more copies. Home PCs were generally not at risk unless they had MSDE installed. The worm stayed only in memory and was easy to remove. It was made possible by a security vulnerability in SQL Server that Microsoft first reported in July 2002. A patch had been available for six months, but many computers had not been updated, including many at Microsoft.

The worm was noticed early on 25 January 2003, when it began slowing systems worldwide. Infected servers sent so much traffic that many routers collapsed. Neighbouring routers removed the crashed ones from their routing table and sent notices about it, which caused more routers to fail. When restarted routers announced their status again, more updates followed. Soon much of the Internet's capacity was used by routers updating each other, and ordinary data traffic slowed or stopped. Because the worm was so small, it sometimes got through when other traffic could not. It spread quickly because it used the sessionless UDP protocol and fit entirely in a single 376-byte packet, so each infected host sent packets as fast as it could. The worm left most of Bank of America's 13,000 automated teller machines unable to process customer transactions. In Korea, almost all customers of KT, one of the country's two largest internet service providers, lost their connections. It also led to cancelled airline flights.

Keep exploring

This article is a child-friendly adaptation of the Wikipedia article on SQL Slammer, available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.