Penetration Testing mailing list archives
Re: [PEN-TEST] Hidden NT batch file/command line execution
From: Steve Cody <SCody () GULBRANDSEN COM>
Date: Wed, 4 Oct 2000 12:46:04 -0400
I don't know how you would do this with programming, but what you want can be done through the AT Scheduler service. When you start an app with the scheduler, it is in non-interactive mode. You can specify /INTERACTIVE for it to appear on your screen. Since your service does things at certain intervals, if you could find a way for it to start from the scheduler, it would not be apparent to any console user unless you used the /INTERACTIVE switch when scheduling the item. Steve Cody, MCSE Information Systems Administrator Gulbrandsen Manufacturing, Inc. Office - 803.531.2413 x102 Email - scody () gulbrandsen com -----Original Message----- From: Mike Ahern [mailto:mc_ahern () YAHOO COM] Sent: Wednesday, October 04, 2000 12:20 PM To: PEN-TEST () SECURITYFOCUS COM Subject: [PEN-TEST] Hidden NT batch file/command line execution I am experiencing a problem that someone on this list might be able to answer quickly. I would think the answers might also be of interest to most any Penetration Tester on the list who would want to occasionally run shell code on a box without raising awareness of NT server operators/admins on the console. I am currently working with a security app that runs as an NT service, however at frequent intervals it executes an NT batch process in a command window (cmd.exe). The net effect is very distracting for anyone who has to work on the server console, as it appears like some giant black strobe, blinking in a way that is more much annoying than blinking HTML text. I know from running stealth keyloggers and certain trojans (BO/BO2K) and program wrappers that programs can be executed without popping up any window, without anything on the toolbar, or in the Task Manager, and that VB offers this capablility. Are there any cute, clean, "down and dirty", wrapper apps (VB scripts, etc) that will execute command line stuff, batch files, etc., without popping anything up, or will be pretty unobtrusive to the console operator? Or are the only solutions really hiding the execution in VB or other lower level code that we would have to generate uniquely for each process we need to run currently as a batch process??? I have to think that someone has written something to do this already, but a quick search hasn't revealed anything as of yet. Any ideas? Thanks in advance for any assistance you might be able to proffer. -mch __________________________________________________ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/
Current thread:
- [PEN-TEST] Hidden NT batch file/command line execution Mike Ahern (Oct 04)
- Re: [PEN-TEST] Hidden NT batch file/command line execution Deus, Attonbitus (Oct 04)
- <Possible follow-ups>
- Re: [PEN-TEST] Hidden NT batch file/command line execution Brentlinger, Mike (ISS eServices) (Oct 04)
- Re: [PEN-TEST] Hidden NT batch file/command line execution Meredith Shaebanyan (Oct 04)
- Re: [PEN-TEST] Hidden NT batch file/command line execution Russel Smith (Oct 04)
- Re: [PEN-TEST] Hidden NT batch file/command line execution Lindley, Jim (ISSAtlanta) (Oct 04)
- Re: [PEN-TEST] Hidden NT batch file/command line execution Jeff Deitz (Oct 04)
- Re: [PEN-TEST] Hidden NT batch file/command line execution Steve Cody (Oct 04)
- Re: [PEN-TEST] Hidden NT batch file/command line execution Ruso, Anthony (Oct 04)
- Re: [PEN-TEST] Hidden NT batch file/command line execution Christensen, Dave (Oct 04)
- Re: [PEN-TEST] Hidden NT batch file/command line execution Mike Ahern (Oct 05)