Helkern (aka Helkern, aka Sapphire) is an extremely small (just 376 bytes) Internet worm that affects Microsoft SQL Server 2000.
When the worm code gets into a vulnerable SQL server it gains control (by using a buffer overrun trick), it then assumes three Win32 API functions:
The worm then gets a random counter by using the GetTickCount function and goes into an endless spreading or “spawning” loop. In the spreading loop the worm sends itself to random IP addresses (depending on the random counter), to the MS SQL port 1434.
The worm sends multicast packets, meaning with only one “send” command hits all 255 machines in a subnet. As a result this worm is spreading 255 times faster than any other worm known at the moment.
Because MS SQL servers are often used on the Web this worm may cause a global INet DoS attack, because all infected servers will try to connect to other randomly selected machines in an endless loop – and this will cause a global INet traffic overflow.
The worm is memory only, and it spreads from an infected machine’s memory to a victim machine’s memory. The worm does not drop any additional files and does not manifest itself in
There are text strings visible in the worm code (a mix of worm code and data):
This buffer overrun exploit has the following name:
Affected systems are:
This security breach was found in July, 2002 and was later fixed in “MS SQL Server 2000” patches.
The patch for MS SQL Server 2000 is available at:
|Find out the statistics of the threats spreading in your region|