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 78 guests and 3 members online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Otherarrow Auditing Folder Access in Windows
EH-Net
May 19, 2013, 09:02:47 AM *
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]   Go Down
  Print  
Author Topic: Auditing Folder Access in Windows  (Read 7875 times)
0 Members and 1 Guest are viewing this topic.
ewall
Newbie
*
Offline Offline

Posts: 4



View Profile WWW
« on: August 15, 2007, 01:01:52 PM »

Hey, folks... I've been lurking on EHN lately and am glad to post and interact some more now. Here's an interesting one that's been bugging me lately:

I've got a client who wants to audit users' attempts to access directories they shouldn't on Windows 2003 servers. Of course, he has enable auditing object access for the specific directories, and the 560 "Failed" events start showing up in the Event Log.

The problem is, lots of unexpected failure events show up too--apparently Windows Explorer is doing "drive-by" peeks at the other folders nearby the one you're accessing?

Let me explain: If I'm auditing some of the folders under \\server\users, e.g. \\server\users\dontgohere, and I login and browse to \\server\users\myusername, then look in the Security Event Log, I will see at least 3 #560 "Failed" events saying that I just tried to read the folder \\server\users\dontgohere!

Presumably, this is because Windoze is looking at the folder properties. I assume I can't really do anything to prevent that?

So... my real question is: anyone know a way I can audit when people are really trying to access the folder, and avoid the false-alarms caused by the Windows Explorer drive-bys?

TIA--
Logged

boney
Jr. Member
**
Offline Offline

Posts: 61



View Profile
« Reply #1 on: August 15, 2007, 01:52:36 PM »

Well in Windows Server 2003, you dont have any option to see particular error/security logs.
Logged

C|EH

All my life I wanted a computer...
Now I want my life back !
ewall
Newbie
*
Offline Offline

Posts: 4



View Profile WWW
« Reply #2 on: August 15, 2007, 02:46:19 PM »

Ah... wouldn't you know it, I think I may have found a trail to follow...

When Windoze Exploder gives the false alarms, it is only asking for a few permisions, namely "ReadData (or ListDirectory)" and sometimes "SYNCHRONIZE"--which works out to be Access Mask 0x1 or 0x100001.

So, if I filter out the 560 errors with those access masks, I get only the "real" alarms, in which actual attempts to browse that folder request much more access ("READ_CONTROL", "ReadEA", etc.... mask 0x120089, for example).

I may have answered my own question.
Logged

boney
Jr. Member
**
Offline Offline

Posts: 61



View Profile
« Reply #3 on: August 15, 2007, 05:17:15 PM »

it depends on the no. of logs dude.
what if you have 2500 logs ? Undecided
Logged

C|EH

All my life I wanted a computer...
Now I want my life back !
Manu Zacharia (-M-)
Sr. Member
****
Offline Offline

Posts: 393


c0c0n Hacking Conference - where hackers unite


View Profile WWW
« Reply #4 on: August 15, 2007, 05:19:42 PM »

You can use Microsoft LogParser for filtering out your Log files (remotely also). Enter the parameters and you can get the output in various formats.

Download Microsoft LogParser 2.2
http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en

Microsoft Log Parser Toolkit [ILLUSTRATED]
http://www.amazon.com/Microsoft-Parser-Toolkit-Gabriele-Giuseppini/dp/1932266526

Logged

Manu Zacharia
MVP (Enterprise Security), ISLA-2010 (ISC)², C|EH, C|HFI, CCNA, MCP,
Certified ISO 27001:2005 Lead Auditor

There are 3 roads to spoil; women, gambling & hacking. The most pleasant with women, the quickest with gambling, but the surest is hacking - c0c0n
ewall
Newbie
*
Offline Offline

Posts: 4



View Profile WWW
« Reply #5 on: August 15, 2007, 09:48:50 PM »

Ah, yes, thanks guys... you're totally right. We/the client do have a lot of logs to monitor, but they have 3rd-party tools like Ecora to do the querying, and I may end up recommending others to do more real-time updates, too.

The MS Log Parser would definitely do the trick, though. I never seem to use that enough!
Logged

What90
Full Member
***
Offline Offline

Posts: 120


View Profile WWW
« Reply #6 on: August 16, 2007, 07:28:36 AM »

You may want to remove some of the more curious users's tendancies by hiding the folders they shouldn't be poking around in the first place.  Smiley


Have a look at this:

http://www.windowsnetworking.com/articles_tutorials/Implementing-Access-Based-Enumeration-Windows-Server-2003.html
Logged

Pages: [1]   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.113 seconds with 22 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.