Library / LOLBin
tar.exe
bsdtar archive tool · Microsoft Corporation
OriginalFilename
bsdtar
Differs from file name
Gotchas
- OriginalFilename doesn't match the file name: a rule using
OriginalFileName: tar.exenever fires.
Query snippets
logsource:
category: process_creation
product: windows
detection:
selection:
- Image|endswith: '\tar.exe'
- OriginalFileName: 'bsdtar'
condition: selectionprocess_creation logsource. Sigma string matching is case-insensitive.
| tstats summariesonly=false count values(Processes.original_file_name) as original_file_name
from datamodel=Endpoint.Processes
where (Processes.original_file_name="bsdtar" OR Processes.process_name="tar.exe")
by Processes.dest Processes.process_name Processes.process_path Processes.process
| rename Processes.* as *Endpoint.Processes data model. On raw Sysmon events the field is OriginalFileName.
DeviceProcessEvents
| where ProcessVersionInfoOriginalFileName in~ ("bsdtar")
or FileName =~ "tar.exe"Microsoft Defender XDR advanced hunting. in~ and =~ are case-insensitive.
process where event.type == "start" and
(process.pe.original_file_name in~ ("bsdtar") or
process.name : "tar.exe")ECS process.pe.original_file_name is a keyword field: in~ is case-insensitive, Kibana KQL is not.
['bsdtar'].includes(String(OriginalFileName || '').toLowerCase())Filter expression (JavaScript) for events carrying Sysmon's OriginalFileName field.
Values across builds
| OriginalFilename | Builds | Arch | File version | Windows releases | Source | Sysmon |
|---|---|---|---|---|---|---|
| bsdtar | 12 | x64, x86 | 3.3.2.0 → 3.8.9.0 | Win10 1803 → Win11 26H1 (9) | Host scan, Winbindex | ✓ 2 |
All 12 parsed builds · 16 Windows release groups not verifiable
| SHA256 | Version | Arch | OriginalFilename | Windows releases | Signature | Source | Sysmon |
|---|---|---|---|---|---|---|---|
| d512ec29ea79… | 3.8.9.0 | x64 | bsdtar | Win10 1809 | Unsigned | Winbindex | |
| b15074c812d7… | 3.8.9.0 | x64 | bsdtar | Win10 21H2 | Unsigned | Winbindex | |
| a3ac62fd4cdf… | 3.8.9.0 | x64 | bsdtar | Win11 24H2 | Signed (Overlay) | Host scan, Winbindex | ✓ |
| 8edd69568287… | 3.8.9.0 | x86 | bsdtar | Win11 23H2 | Unsigned | Winbindex | |
| 876c6d0b5628… | 3.8.9.0 | x86 | bsdtar | Win10 1809 | Unsigned | Winbindex | |
| 4b72a3dada02… | 3.8.9.0 | x64 | bsdtar | Win11 26H1 | Signed (Overlay) | Winbindex | |
| 2c9cdeb39c63… | 3.8.9.0 | x86 | bsdtar | Win11 24H2 | Signed (Overlay) | Host scan, Winbindex | ✓ |
| a823a5e9ae44… | 3.8.8.0 | x86 | bsdtar | Win11 26H1 | Winbindex | ||
| adc2838f0d6b… | 3.8.1.0 | x86 | bsdtar | Win11 24H2, Win11 25H2 | Signed (Overlay) | Winbindex | |
| 7aa6a7b0ecb7… | 3.8.1.0 | x64 | bsdtar | Win11 24H2, Win11 25H2 | Signed (Overlay) | Winbindex | |
| 4489bfd47abe… | 3.3.2.0 | x86 | bsdtar | Win10 1903, Win10 1909 | Unsigned | Winbindex | |
| 51a4916041a2… | 3.3.2.0 | x64 | bsdtar | Win10 1803 | Unsigned | Winbindex |
Winbindex builds link to the Microsoft symbol server copy that was hashed and parsed.