Created on
07-23-2024
09:11 AM
Edited on
07-24-2024
12:07 AM
By
Anthony_E
Description | This article describes how to identify the parameters the Persistent Agent scan has configured in Policy & Objects -> Endpoint Compliance -> Scans checks on the client, and how to check those parameters in the client's Windows registry. |
Scope | FortiNAC-C, FortiNAC-F. |
Solution |
This article is for checking for Windows scans.
There are two parameters the Persistent Agent client will check the Windows client for:
To review how FortiNAC learns the values for these parameters for this particular application (Sophos), locate the appropriate .xml file in the CLI:
/bsc/campusMgrUpdates/rm/templates/Windows/Anti-Virus/Sophos/ sophos.xml
The contents of this file will also be printed in the Persistent Agent client logs from the Windows client general.txt file. The .xml will reflect this:
This section is for identifying the LastUpdateTime which corresponds with 'Last Update' in the FortiNAC GUI. This shows it looks in the Windows registry for the following:
keyName="SOFTWARE\Sophos\AutoUpdate\UpdateStatus", valueName="LastUpdateTime", longValue="defVersionTime:$BSI$".
<DelimVersion delimiter="." keyName="SOFTWARE\Sophos\AutoUpdate" rootKey="HKEY_LOCAL_MACHNE" operation="gte" valueName="ProductVersion" version="5.0"/>
This section is for identifying the ProductVersion which corresponds with 'Virus Definition' in the FortiNAC GUI. This shows it looks in the Windows registry for the following:
keyName="SOFTWARE\Sophos\AutoUpdate", valueName="ProductVersion", version="5.0".
For Last Update:
Requested is what is configured in the FortiNAC GUI. 1721049231
Registry example:
Key name: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Sophos\AutoUpdate\UpdateStatus
0x669ac5b0 is hexadecimal. Use a converter to get the decimal value. 0x669ac5b0 in decimal is 1721419184, which matches the client Persistent Agent logs:
For Virus Definition:
2024-07-22 12:19:26 UTC :: Debug: DelimVersion.. Requested: 5.0 System: 6.17.1046 Delim: .
Requested is what is configured in the FortiNAC GUI. 5.0.
System is identified by the keyName="SOFTWARE\Sophos\AutoUpdate" looking for valueName="ProductVersion". Registry example:
6.17.1046 matches the client Persistent Agent logs: 2024-07-22 12:19:26 UTC :: Debug: DelimVersion.. Requested: 5.0 System: 6.17.1046 Delim: . |