Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Security-Basics
[Top] [All Lists]

RE: Script

Subject: RE: Script
Date: Wed, 25 Jul 2007 11:07:33 -0500
A script like this would be relatively simple to write, as long as you know
what services you want to disable.  In fact, you don't even need a script...
only a batch file and Administrator rights on the system.  The "sc" command
could be used in the batch file to stop and disable the service, as follows:

Stop the service:
sc stop tlntsvr

Disable the service:
sc config tlntsvr start= disabled

That example would stop and disable the "Telnet" service.  Or, if you feel
more comfortable with VBScript, you could use that to run shell commands and
pass the list of services in as an array or text file (I'm sure you can do
this in batch scripting, but I don't remember how ATM), then loop through to
stop and disable all of them.  As usual, Google is your friend.


-- N/A


-----Original Message-----
From: listbounce@securityfocus.com [mailto:listbounce@securityfocus.com] On
Behalf Of Siscar, Emerson E.
Sent: Tuesday, July 24, 2007 11:57 PM
To: security-basics@securityfocus.com
Subject: Script



Hello to all:

 

Am not into script writing yet. Can anyone recommend or know where I
could find/get a script that disables windows unnecessary services for
example?

 

Thank you

 

Emer

<Prev in Thread] Current Thread [Next in Thread>