Creating a virus for a modern Linux system
Head Cold!
© Lead Image © piren, 123RF.com
Linux might be safer than Windows, but it is not as safe as you think. We'll show you how a virus can navigate through the formidable Linux security system to deliver a payload.
Halfway through the wild '90s, I found myself in a peculiarly unpleasant situation: A significant amount of disk space from my hard disk had disappeared into the void, seemingly chewed, swallowed, and digested by an unknown entity (and please note: Disk space those days was measured in precious megabytes). Application loading time had almost doubled, and worst of all, all the friends I shared games, programs, and jokes with had experienced the same symptoms. Now, looking back with all of my accumulated experience and knowledge from the past 30 years, I can see that these symptoms indicated a serious virus infestation of the local Novell network.
My friends and I were a technical bunch, hardened with some years of low-level programming knowledge. After spending several sleepless nights, we identified the root cause of the problems: a nasty, but thankfully non-destructive, virus that somehow crept into the local network – possibly copied over from a seemingly innocent game we thought was safe. We called the virus the Porcupine, because deep inside several layers of encryption and assembly level obfuscation was a very cryptic message:
For cryin'out loud! My circuits are haunted by the ghost of a porcupine...
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Fedora 43 Has Finally Landed
The Fedora Linux developers have announced their latest release, Fedora 43.
-
KDE Unleashes Plasma 6.5
The Plasma 6.5 desktop environment is now available with new features, improvements, and the usual bug fixes.
-
Xubuntu Site Possibly Hacked
It appears that the Xubuntu site was hacked and briefly served up a malicious ZIP file from its download page.
-
LMDE 7 Now Available
Linux Mint Debian Edition, version 7, has been officially released and is based on upstream Debian.
-
Linux Kernel 6.16 Reaches EOL
Linux kernel 6.16 has reached its end of life, which means you'll need to upgrade to the next stable release, Linux kernel 6.17.
-
Amazon Ditches Android for a Linux-Based OS
Amazon has migrated from Android to the Linux-based Vega OS for its Fire TV.
-
Cairo Dock 3.6 Now Available for More Compositors
If you're a fan of third-party desktop docks, then the latest release of Cairo Dock with Wayland support is for you.
-
System76 Unleashes Pop!_OS 24.04 Beta
System76's first beta of Pop!_OS 24.04 is an impressive feat.
-
Linux Kernel 6.17 is Available
Linus Torvalds has announced that the latest kernel has been released with plenty of core improvements and even more hardware support.
-
Kali Linux 2025.3 Released with New Hacking Tools
If you're a Kali Linux fan, you'll be glad to know that the third release of this famous pen-testing distribution is now available with updates for key components.

