Librenix  
(Show all Virus articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Tutorial: The Linux virus writing and detection HOWTO

Up
vote
Down

An interesting tutorial and explanation of virus writing, techniques, and detection.
This document describes how to write parasitic file viruses infecting ELF executables on Linux/i386. Though it contains a lot of source code, no actual virus is included.

[ . . . ]

Writing a program that inserts code into another program file is one thing. Writing that program so that it can be injected itself is a very different art. Although this document shows a lot of code and technique, it is far from being a "Construction Kit For Dummies". Instead I'll try to show how things work. Translation of infecting code to assembly is left as a (non-trivial) exercise to the reader.

An astonishing number of people think that viruses require secret black magic. Here you will find simple code that patches other executables. But since regular users can't overwrite system files (we are talking about serious operating systems here) that is not even half the journey.
 read more | mail this link | score:7623 | -Ray, March 16, 2002 (Updated: February 11, 2004)
More Programming articles...

Abstract Art Prints by Ray Yeargin

coding headlines

OpenShift Online: a non-developer guide

E-book: Perl One-Liners Explained

Apache2, mod_rewrite tutorial: Redirect requests by device

DeviceAnywhere: testing mobile apps

Fast bash tips

Sysadmin Shell Scripting

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin