I'm verifying my Sysmon-configuration file with test scripts inspired by Atomic Red Team.
When testing my NetworkConnect-rules (Event ID 3), one of my scripts are using wget from GnuWin32.
Checking the result I saw that the event logged doesn't contain any process information:
Network connection detected:
RuleName: <-=redacted=->
UtcTime: 2021-06-01 09:07:50.839
ProcessGuid: {00000000-0000-0000-0000-000000000000}
ProcessId: 14928
Image: <unknown process>
User: -
Protocol: tcp
Initiated: true
SourceIsIpv6: false
SourceIp: <-=redacted=->
SourceHostname: -
SourcePort: 8163
SourcePortName: -
DestinationIsIpv6: false
DestinationIp: 20.49.223.105
DestinationHostname: -
DestinationPort: 443
DestinationPortName: -
Information for Image and ProcessGuid are also missing in my certutil.exe test case.
Most of my logged EID 3 events do contain process information though. So it's not always missing.
Searching for information online I found this page saying this problem was fixed in Sysmon v11.10.
However, I'm running the most current version (v13.20).
Continuing searching, I found this page which describes the "reasons" for missing process information:
You would see a NULL parent GUID if either we never saw the process create for the parent process or the
parent process terminated before we logged the creation of the child process. To prevent the latter case we
don't purge cache records immediately but instead keep them around for a period of time before we remove
them permanently.
As far as I understand it, none of these cases applies.
I also read somewhere (sorry, I forget where so no link this time) that the reason could be a very short lived process.
So I added a call to "sleep 10" in my test script. Unfortunately, this result was the same.
Anyone else seeing this? Any ideas for the cause?