How to write a Linux virus in 5 easy steps

Written By
Web Webster
Web Webster
Feb 11, 2009

“I will show how it is possible in a few easy steps to write a
perfectly valid email borne virus for modern desktop Linux. I will
do so not because I want to put down Linux. Quite the opposite: I
like and support Linux, which is all I’m running at home and at
work. I’m a big supporter of free and open software as readers of
this blog will know. But if there are any security risks, even in
my favorite OS or distribution then they will need to be discussed.
Even more important: A false sense of security is worse than a lack
of security. And unsubstantiated claims of superiority don’t help
in a reasonable discussion either.

“Some notes before we get started I should point out: The
vulnerabilities we will be taking advantage of are ‘features’ of
the most popular modern Linux desktop environments, Gnome and KDE.
The actual core of Linux itself does not have any of these
vulnerabilities. A Linux (or any other *nix) system without running
Gnome or KDE will not exhibit any of these problems, which is one
of the huge advantages of properly separating the core OS from
other applications such as the desktop environment.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.