Threat Description



Category: Malware
Type: Virus
Platform: Linux
Aliases: Linux/Staog, Staog


This virus spreads only under Linux operating system, infecting Elf-style executables. Found in the fall of 1996, Staog is the first known Linux virus.Staog is written in assembler. It attempts to stay resident and infect binaries as they are executed by any user. Stoag tries to subvert root access via three known vulnerabilities (mount buffer overflow, tip buffer overflow and one suidperl bug).


Automatic action

Once detected, the F-Secure security product will automatically disinfect the suspect file by either deleting it or renaming it.

More scanning & removal options

More information on scanning or removal options is available in the documentation for your F-Secure security product on the Downloads section of our Home - Global site.

You may also refer to the Knowledge Base on the F-Secure Community site for more information.

Contact Support

For further assistance, F-Secure customers can request support online via the Request support or the Chat forms on our Home - Global site.

Technical Details

Staog contains several text strings, including:

Staog by Quantum / VLAD
         /sbin/dip /tmp/t.dip         chatkey
		 #!/bin/sh\nchmod 666 /dev/kmem\n/tmp/hs         
		 #!/usr/bin/suidperl -U\n$ENV{PATH}=\"/bin:/usr/bin\";         
		 \n$ =0;$ =0;\nexec(\"chmod 666 /dev/kmem\");\n  

VLAD is an Australian virus group, which also wrote the first Windows 95 virus, Boza.Staog can be detected by searching all binaries for the following hex search string:


Staog is not known to be in the wild at the time of this writing (February 1997).

Description Details: Mikko Hypponen, F-Secure


Suspect a file or URL was wrongly detected? Submit a sample to our Labs for analysis

Submit Now

Give And Get Advice

Give advice. Get advice. Share the knowledge on our free discussion forum.

Learn More