SQL Slammer is a memory-resident, self-propagating worm that targets Microsoft SQL Server 2000 and Microsoft Desktop Engine (MSDE) 2000 on Windows. Also known as Sapphire and SQL-Hell, it exploits a buffer overflow in the SQL Server Resolution Service associated with CVE-2002-0649. A specially crafted packet sent to UDP port 1434 enables code execution in the SQL Server service's security context, allowing the worm to infect vulnerable systems and autonomously scan for additional hosts without user interaction.
The major outbreak began on January 25, 2003, approximately six months after Microsoft released a protective patch. Its extremely rapid propagation generated overwhelming scanning traffic, saturated networks, and caused widespread Internet slowdowns and service outages. SQL Slammer carried no separate destructive payload; its principal impact resulted from the bandwidth consumed by its propagation. It targeted vulnerable database software rather than a particular industry. Microsoft addressed the underlying flaw through security updates, including MS02-039 and its successor, MS02-061.
8 distinct techniques documented for this family, organized by ATT&CK tactic.
"SQL Slammer" and "TCP sequence prediction attack" are listed among linked security incident topics; SQL Slammer is historically associated with SQL Server exploitation.
By sending a carefully crafted packet to the Resolution Service, an attacker could cause portions of system memory (the heap in one case, the stack in the other) to be overwritten. Overwriting it with carefully selected data could allow the attacker to run code in the security context of the SQL Server service.
These techniques can be in the form of exploits and code injections to execute malicious code directly in memory, storing scripts in registry, and executing commands via legitimate tools.
These techniques can be in the form of exploits and code injections to execute malicious code directly in memory, storing scripts in registry, and executing commands via legitimate tools.
SQL Slammer did not even have a malicious payload; it just deluged networks with scans. Less than 10 minutes after being released, it scanned over 90 percent of the entire internet, essentially infecting all vulnerable machines.
“WannaCry used an exploit in SMB... This enabled it to spread from network to network, as well as between computers within a network, entirely autonomously.”
A second kind of covert channel, aimed at subverting firewall–based filtering, uses standard ports for passing non-standard traffic.
A second kind of covert channel, aimed at subverting firewall–based filtering, uses standard ports for passing non-standard traffic. Firewalls that enforce a “block-all-but-necessary” approach to regulating traffic are the typical targets of standard port abuse. A recent (25 Jan 2003) case of standard port abuse involved a Denial of Service (DOS) attack that was variously known as the ‘SQL Slammer’ worm, ‘Sapphire’ and “SQL-Hell’.
The infected host starts transmitting 376 byte long UDP packets at a very high rate to random IP addresses on the Internet thereby generating overwhelming traffic.
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.