🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.security.misc
Article #358

Re: Hiding Processes from ps -ax

#358
From: Alan J Rosenthal
Date: Fri, 04 Sep 1992 21:21
21 lines
839 bytes
sxjcb@orca.alaska.edu (Jay C. Beavers) writes:
>I've recently heard that you can hide a process from being displayed by a
>ps -ax command.  Is this true, and if so what security implications does it
>have?  How is this done,

#include <stdio.h>
#include <string.h>

int main(argc, argv)
    int argc;
    char **argv;
{
    char *p;

    for (p = argv[0]; *p; p++)
	*p = 0;
    strcpy(argv[0], "rn");

    (void)getchar();  /* to allow you to see that ps reports "rn" */
    return(0);
}
Technical Details
Message-ID: <1992Sep4.172142.4750@jarvis.csri.toronto.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!dgp.toronto.edu!flaps
References: <sxjcb-040992091012@sxjcb.uacn.alaska.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!dgp.toronto.edu!flaps
Newsgroups: comp.security.misc
From: flaps@dgp.toronto.edu (Alan J Rosenthal)
Subject: Re: Hiding Processes from ps -ax
Message-ID: <1992Sep4.172142.4750@jarvis.csri.toronto.edu>
References: <sxjcb-040992091012@sxjcb.uacn.alaska.edu>
Date: 4 Sep 92 21:21:42 GMT
Lines: 21