6 replies
by lordinfidel
DHCP does not work at that level.
It knows nothing about usernames and passwords. The dhcp process is done long before the user logs on.
The closest bit of information you will be able to get is the machine name. (via the DHCP server) Once you know the machine name, you should be able to determine who was logging in and at what time. You do this by looking at the event logs on that machine.
by john.chilson
by lordinfidel
It won't tell you who is logged on interactively on that machine at the given moment.
Your best, assuming that these are 2k or Nt4 machines. Is to enable logging for log on/log off.
Then in your event logs, security, you can see who the last person to log on was.
OR..... If you want to get fancy. You can install
Rshsvc.exe on the remote machine. Which is a remote command line viewer. Then upload whoami to that machine. And then run whoami and it will tell you who is logged on to that machine.
(Brought to you by the folks at Microsoft, from the 2K resource Kit)
by lordinfidel
I thought you were saying netstat for some reason....
you are correct,
nbtstat -A will return the machine name info.
It won't return the user who is interactively logged in though.
Another tool however will:
by voldar
As I allready posted in the Q&A Topic - there is a tool - from SysInternals that you can use to see what you are looking for: psloggedon.exe
In fact there is a kit of 12 tools that can help you on your admin activity. Thank you for asking such a question, because I wanted and I found this tool to solve the problem you were asking.
NBTSTAT is a good one - but not allways solve the logged user name.
by lordinfidel
Sometimes when you have *too* many tools, you forget what to use.
This is where organization comes into play, which I beleive I will start "sorting" my toolkit into logical segments.
For those of you reading and not aware of sysinternals tools. They are a must have for every admin and wanna be cracker.
I posted a sick little game I like to play with some of the tools a while ago.
https://www.techrepublic.com.com/5208-6230-0.html?forumID=3&threadID=129938&start=0&tag=search
very much fun that pskill is.
This discussion is closed to new replies.
Trending IT Employment posts
Sort by Trending