| Detection Rule (Sigma/YARA) Logic | |------------------------------------| | TargetFilename \*bynet winconfig.exe AND Signature.Status != "Valid" | | Process.CreationTime near File.CreationTime of suspicious parent process (Office apps, scripting hosts) | | Process.CommandLine contains -enc , -e , bypass , downloadstring alongside the executable name |
rule bynet_winconfig_masquerade strings: $name = "bynet winconfig.exe" nocase $susp1 = "powershell" nocase $susp2 = " -enc " condition: $name and ( $susp1 or $susp2 ) and filesize < 5MB Bynet winconfig exe
Example YARA rule snippet: