SwiftOnSecurity / sysmon-config

Sysmon configuration file template with default high-quality event tracing
4.81k stars 1.71k forks source link

EventID 15: FileCreateStreamHash recording N times in eventviewer #121

Open Yuvraj-Takey opened 4 years ago

Yuvraj-Takey commented 4 years ago

After enabling the FileCreateStreamHash event in sysmon, I am downloading one file from the browser, but in the event viewer, it is showing N(sometimes 3,4) entries of the same file (This same problem I am facing in my WinAPI code, there also I am receiving N event logs of the same entry). This is my config file

`

* Temp\7z Startup .bat .cmd .hta .lnk .ppt .ps1 .ps2 .reg .jse .vb .vbe .vbs .pdf .msi .exe .dll

`

olafhartong commented 4 years ago

This is not a Sysmon issue, this is due to the behaviour of urlmon.dll https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms775123%28v%3Dvs.85%29, the library responsible for downloading files via HTTP. This opens and closes the stream multiple times to append MOTW information.

On Fri, Jun 12, 2020 at 7:14 AM YUVRAJ TAKEY notifications@github.com wrote:

After enabling the FileCreateStreamHash event in sysmon, I am downloading one file from the browser, but in the event viewer, it is showing 3 entries of the same file (This same problem I am facing in my WinAPI code, there also I am receiving 3 event logs of the same entry). This is my config file

`

* Temp\7z Startup .bat .cmd .hta .lnk .ppt .ps1 .ps2 .reg .jse .vb .vbe .vbs .pdf .msi .exe .dll

`

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SwiftOnSecurity/sysmon-config/issues/121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FXC66PFM2ZQUQB4FTLLDRWG2R7ANCNFSM4N4ACPEA .

--

-- https://olafhartong.nl +31 6 20604042

Yuvraj-Takey commented 4 years ago

@olafhartong okay, thanks for the information. Is it any way to reduce this redundant event log to 1, through the system or sysmon utility?

olafhartong commented 4 years ago

not as far as I know, sorry

On Fri, Jun 12, 2020 at 10:07 AM YUVRAJ TAKEY notifications@github.com wrote:

@olafhartong https://github.com/olafhartong Is it any way to reduce this redundant event log through the system or sysmon utility?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SwiftOnSecurity/sysmon-config/issues/121#issuecomment-643135831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FXC3WO72ZZ5POUBUTUFTRWHO3RANCNFSM4N4ACPEA .

--

-- https://olafhartong.nl +31 6 20604042