Full Version: Process 2 Servicename
passi
hi

you know this? you got a shell on your viktim but you cant transfer files etc because the firewall is running. You want to shut it down with "net stop firewall". but you don't know the service name of the firewall. with the integrated tasklister of windows (tasklist.exe) you can find it out. With the command "Tasklist /svc" you can map the service name to a process.

I hope this is helpful for you smile.gif

gretings, passiw
The Storm
gr8 tip thx dude
dozolax01
Tasklist is only available on XP Pro and I have yet to find an alternative (atleast at the command line). For the alternative at desktop check out this article:
http://ask-leo.com/archives/000102.html.
ZoraX
QUOTE (passiw @ Jul 18 2004, 01:06 PM)
you got a shell on your viktim but you cant transfer files etc because the firewall is running.

If u cant kill the firewall at all, try using port 80(http) or 21(standar ftp) to transfer ur files smile.gif they are often open.
t0bban
Thanks for the tip.

ZoraX is correct, the standard ports are usually open.

Cheers
nuorder
hey thats pretty good
now i can easily see which processes are launched under svchost
t0bban
I usually do

"tasklist.exe /svc > C:\file.txt" to get it printed to a nice lil' file =)
Easy to supervise :-)
globey
"net start" view the running services.
passi
QUOTE (globey @ Jul 18 2004, 04:01 PM)
"net start" view the running services.

Yes, but when the Service is named "TCP/IP-NetBIOS-Helper" you cant stop that service cause you don't know what's it service name. You canot type "net stop TCP/IP-NetBIOS-Helper" smile.gif
SkitZZ
hey passiw try this

CODE

C:\>net stop "TCP/IP NetBIOS Helper Service"

The TCP/IP NetBIOS Helper Service service was stopped successfully.


C:\>



SkitZZ
Lanig
sc query
or
sc queryex
will output a big list of all services and their names
G777
thanks for the tip mate, i didnt know about that wink.gif
t0bban
QUOTE (Lanig @ Jul 18 2004, 05:44 PM)
sc query
or
sc queryex
will output a big list of all services and their names

Nice, thanks for that one..
Quite useful, and I never knew it before.

Cheers
strohunter
QUOTE (Lanig @ Jul 18 2004, 05:44 PM)
sc query
or
sc queryex
will output a big list of all services and their names

IIRC sc is only on server edition of windows, however, import the file to your workstation and it works great ^^
c°h°
net stop "service" works with all shown by net start. u just have to use the quotes HF
[eXPhase
Nice tricky, didn't know that

Thanks a lot biggrin.gif
realloader
sc query
work only on Windows XP.
And wenn it is Windows 2000, what can i do?
eduino
sc query is quite usefull but i was looking for other thing
if my stro is hack for example a good hacker woudnt put like let imagine a serv u with his own name!

is there any program that can discovered a rename program?

i dunno if i made myself clear....
R0x0r
Thanks for the knowledge m8.. wery usefull.. Cus on a sql-srv u can't use net stop "service". U need the real servicename.
wei
taskkill cmd works pretty good, sometimes.
BaLooN
thx for the tips! smile.gif


Great to know
tianzhen
nodeed. this works fine:
net stop "diskplay name"

"diskplay name" is just what shows up with net start command
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.