Endpoint Protection

 View Only
Expand all | Collapse all

Script to pull virus defination update from clients.

Migration User

Migration UserJan 11, 2012 02:34 PM

Migration User

Migration UserJan 12, 2012 04:56 AM

  • 1.  Script to pull virus defination update from clients.

    Posted Jan 10, 2012 05:00 AM

    Hi,

    Can anyone help me to prepare a script to pull the virus dat information from my clients. Currently I have a very big setup of all most 2000 servers and all are running with SEP 11 and few are running SAV 10. So its not possible to validate the virus update everyday on all machines without getting a report generated which machine has not update with latest dat or virus definations.

    I have a script which pulls the info about SAV10 but cant pull the info of the clients which are recently upgraded to SEP11. Any help would be appriciated.

     

    Thanks.!

    Deb.



  • 2.  RE: Script to pull virus defination update from clients.

    Broadcom Employee
    Posted Jan 10, 2012 05:18 AM

    does not the computer status report from SEPM helps to collect the required information?



  • 3.  RE: Script to pull virus defination update from clients.

    Trusted Advisor
    Posted Jan 10, 2012 05:29 AM

    Hello,

    Why Create special Script for SEP 11 and SAV 10??

    Why not fetch a Log from the SEPM 11.0?

    Check these Articles:

    About log types
     
     
    About Computer Status reports and logs
     
     
     
    About Legacy SAV 10 Clients Log, you can check this Articles below: 
     
    How to configure Symantec Endpoint Protection Manager to receive SAV 10.x logs
     
     
    Transfer historical log data from SAV 10.1 to Endpoint Protection Manager
     
     
    Log data from legacy clients
     
     
    Hope that helps!!


  • 4.  RE: Script to pull virus defination update from clients.

    Posted Jan 10, 2012 07:02 AM

    I understand your concer, But it is not possible for me to loginto individual machine everyday and check for the definition, as the machine list is huge.

    So if I get a script in place, Probably it will do my job on all servers and which are failed for the update, I can take alook at them and fix them.

    Hope you all understand the situations.

    Thanks.



  • 5.  RE: Script to pull virus defination update from clients.

    Trusted Advisor
    Posted Jan 10, 2012 07:05 AM

    Hello,

    I believe you haven't read the above comment properly.

    I suggested you to fetch the Logs from the Symantec Endpoint Protection Manager (Console) which would fetch all the logs for you and you would not have to visit the SEP / SAV machines at all.



  • 6.  RE: Script to pull virus defination update from clients.

    Posted Jan 10, 2012 07:55 AM

    Our security guys have access to SEPM console but not me.

    However as a proactive measure, I need to start monitoring all my servers as very recently we experianced a virus bug in one our machine. Which needed a step forward from my end.



  • 7.  RE: Script to pull virus defination update from clients.

    Posted Jan 10, 2012 11:18 AM

    If you have access to SEPM database and IIS, you can use the SEP Content Distribution Monitor tool to get some informations about clients. These infos include clients which are not up-to-date. However, it's necessary to reconfigure the SEPM IIS settings for this. Here is the link:

    https://www-secure.symantec.com/connect/downloads/sep-content-distribution-monitor

    If you don't have access or the tool doesn't fit your needs, you could search for the content cache files on the clients. By default, every SEP client saves 3 content cache files. The folders for the AV/AS content look like this (since SEP 11 MR2):

     %COMMONPROGRAMFILES%\Symantec Shared\VirusDefs\YYYYMMDD.NNN (32-bit)

     %COMMONPROGRAMFILES(x86)%\Symantec Shared\VirusDefs\YYYYMMDD.NNN (64-bit)

    NNN = content revision number

    Your script has to collect the content folder names (YYYYMMDD.NNN) and pick the youngest of the three (if your clients are saving three revisions) for every single SEP client.

    Just an idea, I am sure there are more elegant ways (registry?).

    See this KB document for content cache directories:

    http://www.symantec.com/docs/TECH106034



  • 8.  RE: Script to pull virus defination update from clients.

    Trusted Advisor
    Posted Jan 11, 2012 04:17 AM


  • 9.  RE: Script to pull virus defination update from clients.

    Posted Jan 11, 2012 02:34 PM

    He he, nice to see Spiceworks gets a mention here.



  • 10.  RE: Script to pull virus defination update from clients.

    Posted Jan 11, 2012 02:39 PM

    Why have you not got access when this is part of your responsibilities. Is this not similar to telling you to hammer in these nails & then not being given a hammer? Surely you should have the tools to do your job?

     

    Your security team should be able to set you up a a Limited Admin with reporting rights. You won't be able to see any of the Admin stuff or change policies. Admittedly, the security settings could be more fine grained & support groups.



  • 11.  RE: Script to pull virus defination update from clients.

    Posted Jan 11, 2012 02:57 PM

    I'd have to disagree with greg12 on using the content cache folders. Mainly because it doesn't tell you which files are currently used, but also because you can have multiple versions there, including some really old ones that never got cleaned up.

    Ideally, your method for SEP v11 should be similar to your script for SAV v10. You have not mentioned the method this script employs. Do you read GRC.DAT or DEFINFO.DAT or any other method?

    Just an idea, I am sure there are more elegant ways (registry?).

    Now we're talking. Have a look at this: https://www-secure.symantec.com/connect/articles/symantec-endpoint-protection-few-registry-tweaks

    You are looking for the last 12 characters of HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\SharedDefs\DEFWATCH_10

    or you could convert HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\AV\PatternFileData

    and HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\AV\PatternFileRevision

    Then you also need IPS versions:

    HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\SharedDefs\SymcData-cndcipsdefs\cndcIps

    It's also always good to see that NTP is enabled via HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\SMC\smc_engine_status



  • 12.  RE: Script to pull virus defination update from clients.

    Posted Jan 12, 2012 04:56 AM

    You're right, that's a far better approach



  • 13.  RE: Script to pull virus defination update from clients.

    Posted Apr 10, 2012 12:15 PM

    Hi...

    Actually I am looking for a SCOM Managment pack through which we will have verious options to monitor the SAV.  So it could be really helpful if some one provide me the information on my requirement else any script.

    Thanks!!



  • 14.  RE: Script to pull virus defination update from clients.

    Posted Apr 10, 2012 04:05 PM