Open Raja-gopalan opened 3 years ago
I am getting the same error, Windows 10.
C:\Program Files (x86)\OpenSCAP 1.3.5>oscap xccdf eval C:\IT\U_MS_Windows_10_V2R3_STIG_SCAP_1-2_Benchmark.xml
OpenSCAP Error: Failed to create new OVAL agent session for: 'U_MS_Windows_10_V2R3_STIG_SCAP_1-2_Benchmark-oval.xml'. [C:\projects\openscap\src\XCCDF\xccdf_session.c:1151]
Windows event log has this...
Faulting application name: oscap.exe, version: 0.0.0.0, time stamp: 0x6082a46d Faulting module name: openscap.dll, version: 0.0.0.0, time stamp: 0x6082a468
Faulting application name: oscap.exe, version: 0.0.0.0, time stamp: 0x6082a46d Faulting module name: ntdll.dll, version: 10.0.22000.348, time stamp: 0xbbfacb11
Description of Problem:
After executed oscap command
W: C:\Program Files (x86)\OpenSCAP 1.3.5\oscap.exe: Can't send message: 14, Bad address. E: C:\Program Files (x86)\OpenSCAP 1.3.5\oscap.exe: Send: retry limit (0) reached. OpenSCAP Error: Unable to send a message to probe [C:\projects\openscap\src\OVAL\oval_probe_ext.c:537] Failed to create new OVAL agent session for: 'U_MS_Windows_Server_2019_V2R1_STIG_SCAP_1-2_Benchmark-oval.xml'. [C:\projects\openscap\src\XCCDF\xccdf_session.c:1151]
OpenSCAP Version:
1.3.5
Operating System & Version:
Windows server 2019
Steps to Reproduce:
Run this command:
oscap xccdf eval --profile xccdf_mil.disa.stig_profile_MAC-3_Classified --report C:\Users\Administrator\Documents\myreports.html U_MS_Windows_Server_2019_V2R1_STIG_SCAP_1-2_Benchmark.xml
Actual Results:
OpenSCAP Error: Unable to send a message to probe [C:\projects\openscap\src\OVAL\oval_probe_ext.c:537] Failed to create new OVAL agent session for: 'U_MS_Windows_Server_2019_V2R1_STIG_SCAP_1-2_Benchmark-oval.xml'. [C:\projects\openscap\src\XCCDF\xccdf_session.c:1151]
Expected Results:
Scan need to be completed & get the result file
Additional Information / Debugging Steps:
Packages installed on Windows server 2019
OpenSCAP-1.3.5-win32 Scap security guide downloaded from https://public.cyber.mil/stigs/scap/