-
I find it interesting that a comment was made about "hacking", Ive always been told that hacking is just a supreme knowledge of computers and using that knowldge to find back doors in securiy to improve these flaws. If i am wrong pease tell me, but i thought hacking cracking and phreaking were all different types of hmm how to put it security maintenance/prevention(depending on purpose). Ive always feared saying anything about "hacking" because some people use it to define all three types(there are possibly more). And what languages would be good to start with for network security and remote computing?
-
No... its a word used to describe people who pick up on computers just because they have a constant and ever-lasting need or urge to feed an unusually large inferiority complex.
-
if your talking about running programs remotly and you had admin rights check out rpc/dcom for making Remote Procedure Calls.
check out psexec from systernals.com for a good illustration of what can be done using it.
Usage: psexec \\computer [-u user [-p psswd]][-s][-i][-c [-f]][-d] cmd [argument
s]
-u Specifies optional user name for login to remote
computer.
-p Specifies optional password for user name. If you omit this
you will be prompted to enter a hidden password.
-s Run the remote process in the System account.
-i Run the program so that it interacts with the desktop on the
remote system.
-c Copy the specified program to the remote system for
execution. If you omit this option the application
must be in the system path on the remote system.
-f Copy the specified program even if the file already
exists on the remote system.
-d Don't wait for process to terminate (non-interactive).
program Name of application to execute.
arguments Arguments to pass (note that file paths must be
absolute paths on the target system).
psexec \\<remote box> -u admin -s cmd
it'll ask you for the password then give you a dos shell on remote boxen or you can run any program that is either on the remote or that you copy over...all done using RPC. there are many examples off making remote proceedure calls on the net in just about every programming language.
-
hey... thanx for the link but it isn't working. It keeps giving me access denied even if i completely shutdown the firewall. there is something else tht i've noticed... i can't send messages using NET SEND \\<computer ip> <message>. It just says message alias could not be found. Does this have anything to do with these pstools programs?
-
Two different issues here:
1. psexec
example: psexec \\<remote box> -u <admin> -s cmd
First, make sure that the <admin> name is the one of the remote box,
ie "administrator" by default. Then, you will be prompted for the password.
Also make sure, that you use a known "message alias": by default, this is
the NETBIOS name and the ip of the <remote box>.
Internals of psexec can be found here [1].
2. net send
net send needs the messenger service to be activated, on sender as well as
receiver machine.
note about local test: "net send 127.0.0.1 test" might not work, but try "net send 192.168.1.10 test",
where 192.168.1.10 is your local box.
cheers
[1] http://ntkernel.com/articles/psexec.shtml
-
Hey.... thanx a lot. the messenger service was disabled (confound sp2 ) Now the messages are working but psexec still gives me access denied. I've to connect as both admin and administrator but it keeps giving me access denied. I've tried to connect to my comp and it works. ...I got a shell. But it still isn't working for other computers on the lan.