Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
INFECT(1)		     General Commands Manual		       INFECT(1)

NAME
     infect - insert malicious code into an existing binary

SYNOPSIS
     infect FILENAME

DESCRIPTION
     infect  alters an executable file by inserting extra code to run before the
     original program, that when invoked creates a set-user-ID /bin/sh program.

     infect only operates on 64-bit ELF executable files.

OPTIONS
     None.

NOTES
     In order to minimize the size of the code that needs to be inserted, infect
     relies on several non-portable aspects of Linux ELF executables. This  pro-
     gram is therefore in no way guaranteed to function with future revisions of
     the Linux kernel. Then again, infect is not really meant to be used so much
     as its source code is meant to be read.

COPYRIGHT
     Copyright (C) 2011 Brian Raiter <breadbox@muppetlabs.com>.

     License  GPLv2+: GNU GPL version 2 or later. This is free software: you are
     free to change and redistribute it. There is NO  WARRANTY,  to  the  extent
     permitted by law.

ELF kickers 3.0 		    May 2011			       INFECT(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=infect&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help