Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 50 guests and 1 member online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Forensicsarrow Need to determine the computer a user account is coming from
EH-Net
May 19, 2013, 10:03:58 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Need to determine the computer a user account is coming from  (Read 10968 times)
0 Members and 1 Guest are viewing this topic.
JerichoJones
Newbie
*
Offline Offline

Posts: 5


View Profile
« on: March 03, 2010, 11:41:41 AM »

We use some shared accounts (Yes I know it's bad, I am not allowed to change it.) Someone using the shared account is deleting data on a remote server so I need to figure out what computer they are using when they delete the file.

We have an Active Directory domain.
All PCs run Windows (2000/XP/Win7) and are domain members.

I have turned on auditing and can see the account deleting the file but I don't know of any way to get the computer account as well.

Can it be done?
Logged
CadillacGolfer
Newbie
*
Offline Offline

Posts: 36


View Profile
« Reply #1 on: March 03, 2010, 02:30:52 PM »


this might help you out

http://www.windowsecurity.com/articles/Kerberos-Authentication-Events.html
Logged
JerichoJones
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #2 on: March 04, 2010, 11:46:35 AM »

Thanks for the link. It was informative.

If I read this correctly I am still at square #1.   Sad

Code:
Fron the Article:
To recap just for a moment, when Fred logs on at his workstation for the
first time that day, the domain controller that handles that logon will log
event ID 672, closely followed by an event ID 673 where the Service
Name corresponds to the computer name of Fred’s workstation.

The key statement which seems to get glossed over is "closely followed by". If you have many users authenticating at or near the same time the "closely followed by" is kinda useless.

I can the username and ip from the security log but there is no way to tie them together conclusively.

Maybe I am missing something?

Logged
zeroflaw
Full Member
***
Offline Offline

Posts: 208



View Profile
« Reply #3 on: March 04, 2010, 12:08:40 PM »

Ah Active Directories..been ages for me. Can't you just resolve the host name of the machine by pinging the local IP address. I mean, if you have the local IP that should be enough to figure out where it's coming from.

Well at college we have stickers with the computer names on the machines. I believe pinging the local IP with option '-a' was enough to make the host name appear. Then it was really simple to figure out who did what on which machine Tongue
« Last Edit: March 04, 2010, 12:11:03 PM by zeroflaw » Logged

ZF
unsupported
Sr. Member
****
Offline Offline

Posts: 318


Unofficial Newbie Moderator


View Profile
« Reply #4 on: March 04, 2010, 12:51:34 PM »

I can the username and ip from the security log but there is no way to tie them together conclusively.

To see if the computer is logged on:
nbtstat -a <ip>

To find the users name, based solely on his username, then look at your local connection cache:
net send <username> "
nbtstat -c
Logged

-Un
CISSP, GCIH, GCIA, C|EH, Sec+, Net+, MCP
BillV
Hero Member
*****
Offline Offline

Posts: 1892


View Profile WWW
« Reply #5 on: March 04, 2010, 03:06:55 PM »

Quote from: unsupported
nbtstat -a <ip>

-A

Wink
Logged
unsupported
Sr. Member
****
Offline Offline

Posts: 318


Unofficial Newbie Moderator


View Profile
« Reply #6 on: March 04, 2010, 07:28:40 PM »

Quote from: unsupported
nbtstat -a <ip>

-A

Wink

Tomato, tomatoe... :p  Thanks for the catch.
Logged

-Un
CISSP, GCIH, GCIA, C|EH, Sec+, Net+, MCP
JerichoJones
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #7 on: March 05, 2010, 07:12:59 AM »

All this would be fine but I am talking about a shared account.
Logged
zeroflaw
Full Member
***
Offline Offline

Posts: 208



View Profile
« Reply #8 on: March 05, 2010, 08:06:33 AM »

Sorry, I don't get it. I thought you meant shared as in multiple people can log in with the same account. So you get the IP from the machine that's used to log in. How would you be able to figure out who's sitting at the machine? I don't think you can, unless you're able to find out who used the machine at a specific time.

You asked how to figure out which machine is being used when they delete the file.
Logged

ZF
CadillacGolfer
Newbie
*
Offline Offline

Posts: 36


View Profile
« Reply #9 on: March 05, 2010, 09:58:40 AM »

I agree with ZeroFlaw, your orignal question was which computer this was coming from.  You now have an IP address and should be able to track it down.   Your audting should show when the file is deleted and which machines had logegd in using that username, then do process of elimination
Logged
unsupported
Sr. Member
****
Offline Offline

Posts: 318


Unofficial Newbie Moderator


View Profile
« Reply #10 on: March 05, 2010, 11:18:29 AM »

Dust for finger prints, setup a video camera, or more serious suggestions would be to setup a key logger or review web proxy logs to see where the logged on user may have gone.
Logged

-Un
CISSP, GCIH, GCIA, C|EH, Sec+, Net+, MCP
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #11 on: March 05, 2010, 11:30:21 AM »

All this would be fine but I am talking about a shared account.

We used to have shared accounts, but when we started getting viruses (and having to waste time cleaning the boxes), and people surfing porn with them, they didn't last much longer. Prior to that, it was a huge fight with the company about the accounts.
Logged

OSWP, Sec+
JerichoJones
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #12 on: March 05, 2010, 01:21:27 PM »

Yes I am talking about a user account shared among several people.

The crux of the issue is:

Nothing in the event log ties a user to a computer. If I have the Same ID logging on at the same time there is no way (that I see) to tie them together conclusively.

The computer and user both authenticate but these are seperate entries in the event log with nothing tying them together.
Logged
UNIX
Hero Member
*****
Offline Offline

Posts: 1234


View Profile
« Reply #13 on: March 05, 2010, 01:27:16 PM »

If the scenario is that many different persons use the same user account on a computer, then there should be hardly a possibility to determine which person is at the moment using the account. One solution would be a webcam which is enabled or some sort of spy cam. If you know each person very well you could analyze logs and look for visited websites etc. as you could maybe match it to a certain person.
Logged
JerichoJones
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #14 on: March 05, 2010, 01:36:43 PM »

These are students so WebCams are not an option.

I think I may have to look at sniffing. Bummer. I don't know squat about that.
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.07 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.