Open-AudIT

What's on your network?
It is currently Thu Jan 18, 2018 5:42 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Sat Sep 17, 2011 7:12 pm 
Offline
Newbie

Joined: Fri Sep 16, 2011 8:03 pm
Posts: 12
Hi all,
just registered, I'm using OAv1 with some of my customers' networks, for about 300 pc. I want to share some of my results.
I started executing audit.vbs from a server, regularly; in doing this, there are two big problems: the server CPU goes 100% (I found the problem is the "deconstruct" function, when using the script in 4+ concurrent scans), and it usualli doesn't get all the clients.

So, I transferred the scan on the client side: I copied audit.vbs and related config file to c: in every client, then created a scheduled task to start it at every pc start. Doing so, the audit.vbs is started only once on every pc, not hurting the pc speed.

I use this audit.bat file, to check that the oa server is available and wait 5 minutes before starting the actual scan:

Code:
@echo off
ping 127.0.0.1 -w 1000 -n 300

set /a "c=1"

:retry
echo c=%c%
ping oa_server -w 1000 -n 3
if %errorlevel% neq 0 (
   set /a "c+=1"
   if %c% GTR 100 (
   goto endfile
   )
   goto retry
)

cscript.exe audit.vbs 127.0.0.1 > c:\oa\audit.log
:endfile


To automate this, using Windows 2008 new group policy options, I create a policy with:
1) file copy policy, copies the content o the \\server\oa folder in c:\oa on every client, to always have the last edit of the files
2) create an "openaudit" scheduled task on the client, which starts c:\oa\audit.bat at the pc start, and at 13:00 (when usually the pc is unused and turned on).

Thanks to Mark for creating such an useful tool!

Stefano


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group