Fetch_file_version returns FALSE for Ntoskrnl.exe

Hi, i tested the mentioned VT against a Win7 target.
lib misc-Message: 09:28:53.015: set key SMB//fetch_file_version//c:\windows\system32//ntoskrnl.exe -> 6.1.7601.17514
lib nasl-Message: 09:28:53.016: Version: 6.1.7601.17514
Vulnerable range: Less than 6.1.7601.24354
File checked: C:\Windows\system32\Ntoskrnl.exe
File version: 6.1.7601.17514

The “lib nasl-Message” is the output from display("Version: " +fileVer); i put in for testing.

If you have checked the prerequisites already like described in Hint: Verify target configuration / access for authenticated (LSC) scans
you could test those VTs on the console as described here: Understanding testing of nasl scripts

2 Likes