Step 2: Creating the new vulnerability check

1. Launch GFI LanGuard from Start > Programs > GFI LanGuard > GFI LanGuard .

2. Click the main options button and select Configure > Scanning Profiles Editor. Alternatively, click Ctrl + P. This opens the Scanning Profiles Editor.

3. From Common Tasks, click New scanning profile… or select an existing scanning profile you want to edit.

4. From the Scanning Profiles Editor, click Vulnerability Assessment Options > Vulnerabilities.

5. From the vulnerabilities type list, expand Vulnerabilities and select Miscellaneous. Click Add. This opens the Add vulnerability dialog.

6. From the General tab, key in general information such as the name, type and description of the new vulnerability.

7. Click Conditions tab > Add.

8. Select Independent Checks > Independent Python Script Test. Click Next.

9. Specify the location of the script (example: <ProductDataDir>\Scripts\newvulnerability.vbs). (Load the script created in Step 1: Create a script which checks for the vulnerability).

10. From the drop-down menu, select the number of objects that must match, for the condition to return TRUE. Click Next.

11. In the Value edit box specify the value returned by the Python script when the vulnerability is discovered.

NOTE

Each script provides you with supported values in the Description section.

12. Click Finish.