Skip to content

[BUG]Poor Logic of Windows EDRSilencer Execution #4101

@thegreatmhn

Description

@thegreatmhn

Hello Splunk Security Team,
based on my research on the EDRSicencer tool and its functionality in its github repo located at https://github.com/netero1010/EDRSilencer/blob/main/EDRSilencer.c#L128
the scenario query is based on EDRSilencer.exe process name that is not efficient and in repo compile section recommend this name and if i compile the binary as follow the rule will completely bypass:
x86_64-w64-mingw32-gcc EDRSilencer.c utils.c -o .exe -lfwpuclnt
i have fully tested the compiled binary on windows that will add WPF filter on msmpeng.exe process
the rule can be converted to the add new WPF filter EID.
i have sample logs of this activity that use can write more efficient scenario based on this:

this is windows log

[-](https://github.com/splunk/security_content/issues#) <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
[-](https://github.com/splunk/security_content/issues#) <System>
  <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" /> 
  <EventID>5447</EventID> 
  <Version>0</Version> 
  <Level>0</Level> 
  <Task>13573</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x8020000000000000</Keywords> 
  <TimeCreated SystemTime="2026-05-23T15:32:49.8857017Z" /> 
  <EventRecordID>153502136</EventRecordID> 
  <Correlation ActivityID="{a015d80e-e931-0006-0cd9-15a031e9dc01}" /> 
  <Execution ProcessID="1152" ThreadID="900" /> 
  <Channel>Security</Channel> 
  <Computer>SOC[-](https://github.com/splunk/security_content/issues#)20.soc.local</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data Name="ProcessId">16824</Data> 
  <Data Name="UserSid">S-1-5-21-3258699341-4129412386-1304611611-1618</Data> 
  <Data Name="UserName">SOC\m.hamedani</Data> 
  <Data Name="ProviderKey">{a4b43ab7-75d5-4d88-a62c-8b5d2677c73d}</Data> 
  <Data Name="ProviderName">Microsoft Corporation</Data> 
  <Data Name="ChangeType">%%16384</Data> 
  <Data Name="FilterKey">{da607736-f157-4bdd-9ad9-042516072b55}</Data> 
  <Data Name="FilterName">Custom Outbound Filter</Data> 
  <Data Name="FilterType">%%16387</Data> 
  <Data Name="FilterId">305460</Data> 
  <Data Name="LayerKey">{c38d57d1-05a7-4c33-904f-7fbceee60e82}</Data> 
  <Data Name="LayerName">ALE Connect v4 Layer</Data> 
  <Data Name="LayerId">48</Data> 
  <Data Name="Weight">18446744073709551615</Data> 
  <Data Name="Conditions">Condition ID: {d78e1e87-8644-4ea5-9437-d809ecefc971} Match value: Equal to Condition value: 00000000 5c 00 64 00 65 00 76 00-69 00 63 00 65 00 5c 00 \.d.e.v.i.c.e.\. 00000010 68 00 61 00 72 00 64 00-64 00 69 00 73 00 6b 00 h.a.r.d.d.i.s.k. 00000020 76 00 6f 00 6c 00 75 00-6d 00 65 00 33 00 5c 00 v.o.l.u.m.e.3.\. 00000030 70 00 72 00 6f 00 67 00-72 00 61 00 6d 00 64 00 p.r.o.g.r.a.m.d. 00000040 61 00 74 00 61 00 5c 00-6d 00 69 00 63 00 72 00 a.t.a.\.m.i.c.r. 00000050 6f 00 73 00 6f 00 66 00-74 00 5c 00 77 00 69 00 o.s.o.f.t.\.w.i. 00000060 6e 00 64 00 6f 00 77 00-73 00 20 00 64 00 65 00 n.d.o.w.s. .d.e. 00000070 66 00 65 00 6e 00 64 00-65 00 72 00 5c 00 70 00 f.e.n.d.e.r.\.p. 00000080 6c 00 61 00 74 00 66 00-6f 00 72 00 6d 00 5c 00 l.a.t.f.o.r.m.\. 00000090 34 00 2e 00 31 00 38 00-2e 00 32 00 36 00 30 00 4...1.8...2.6.0. 000000a0 34 00 30 00 2e 00 37 00-2d 00 30 00 5c 00 6d 00 4.0...7.-.0.\.m. 000000b0 73 00 6d 00 70 00 65 00-6e 00 67 00 2e 00 65 00 s.m.p.e.n.g...e. 000000c0 78 00 65 00 00 00 x.e...</Data> 
  <Data Name="Action">%%16389</Data> 
  <Data Name="CalloutKey">{00000000-0000-0000-0000-000000000000}</Data> 
  <Data Name="CalloutName">-</Data> 
  </EventData>
  </Event>

and on sysmon with this path that will show us persistent WPF policy
HKLM\System\CurrentControlSet\Services\BFE\Parameters\Policy\Persistent\Filter\

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions