Sigma rule: Replace.exe Usage
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3facaba96061, updated 2024-03-13T00:00:00.000Z.
Rule
- Title
- Replace.exe Usage
- Status
- test
- Level
- medium
- Author
- frack113
- Date
- 2022-03-06
- Modified
- 2024-03-13
- File
- rules/windows/process_creation/proc_creation_win_lolbin_replace.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of Replace.exe which can be used to replace file with another file
Log source
- product
- windows
- category
- process_creation
Detection
selection:
Image|endswith: '\replace.exe'
argument:
CommandLine|contains|windash: '-a'
condition: selection and argumentFalse positives (as the rule lists them)
- Unknown
Tags
- attack.command-and-control
- attack.t1105
MITRE ATT&CK ids this rule names
References
- https://lolbas-project.github.io/lolbas/Binaries/Replace/
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/replace
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_lolbin_replace.yml
Sources and licences
SigmaHQ
"Replace.exe Usage" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_lolbin_replace.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Replace.exe Usage",
entity page, dataset version ref-3facaba96061, updated 2024-03-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9292293b-8496-4715-9db6-37028dcda4b3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9292293b-8496-4715-9db6-37028dcda4b3, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.