Home > Threat descriptions >

Linux/Staog

Classification

Category: Malware

Type: Virus

Platform: Linux

Aliases: Linux/Staog, Staog

Summary


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.

Removal


Automatic action

Based on the settings of your F-Secure security product, it will either automatically delete, quarantine or rename the detected program or file, or ask you for a desired action.

Knowledge Base

Find the latest advice in our Community Knowledge Base.

About the product

See the manual for your F-Secure product on the Help Center.

Contact Support

Chat with or call an expert for help.

Submit a sample

Submit a file or URL for further analysis.

Technical Details


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).

Staog contains several text strings, including:

Staog by Quantum / VLAD

 /dev/kmemx/etc/mtab~

 /sbin/mount

 /tmp/t.dip

 /bin/sh

 /sbin/dip /tmp/t.dip
 chatkey

 /tmp/hs
 
		 #!/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:

215B31C966B9FF0131C0884309884314B00FCD80

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