Detection rules › Sigma
Access To Windows Outlook Mail Files By Uncommon Applications
Detects file access requests to Windows Outlook Mail by uncommon processes. Could indicate potential attempt of credential stealing. Requires heavy baselining before usage
Known false positives
- Antivirus, Anti-Spyware, Anti-Malware Software
- Backup software
- Legitimate software installed on partitions other than "C:\"
- Searching software such as "everything.exe"
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth |
Rule body
title: Access To Windows Outlook Mail Files By Uncommon Applications
id: fc3e237f-2fef-406c-b90d-b3ae7e02fa8f
status: test
description: |
Detects file access requests to Windows Outlook Mail by uncommon processes.
Could indicate potential attempt of credential stealing.
Requires heavy baselining before usage
references:
- https://darkdefender.medium.com/windows-10-mail-app-forensics-39025f5418d2
- https://github.com/redcanaryco/atomic-red-team/blob/58496ee3306e6e42a7054d36a94e6eb561ee3081/atomics/T1070.008/T1070.008.md#atomic-test-4---copy-and-modify-mailbox-data-on-windows
author: frack113
date: 2024-05-10
modified: 2024-07-29
tags:
- attack.stealth
- attack.t1070.008
- detection.threat-hunting
logsource:
category: file_access
product: windows
definition: 'Requirements: Microsoft-Windows-Kernel-File ETW provider'
detection:
selection_unistore:
FileName|contains: '\AppData\Local\Comms\Unistore\data'
selection_unistoredb:
FileName|endswith: '\AppData\Local\Comms\UnistoreDB\store.vol'
filter_main_system:
Image: 'System'
filter_main_generic:
# This filter is added to avoid large amount of FP with 3rd party software. You should remove this in favour of specific filter per-application
Image|startswith:
- 'C:\Program Files (x86)\'
- 'C:\Program Files\'
- 'C:\Windows\system32\'
- 'C:\Windows\SysWOW64\'
filter_optional_defender:
Image|startswith: 'C:\ProgramData\Microsoft\Windows Defender\'
Image|endswith:
- '\MpCopyAccelerator.exe'
- '\MsMpEng.exe'
filter_optional_thor:
Image|endswith:
- '\thor64.exe'
- '\thor.exe'
condition: 1 of selection_* and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
- Antivirus, Anti-Spyware, Anti-Malware Software
- Backup software
- Legitimate software installed on partitions other than "C:\"
- Searching software such as "everything.exe"
# Note: Increase after initial baseline
level: low
Stages and Predicates
Stage 0: condition
1 of selection_* and not 1 of filter_main_* and not 1 of filter_optional_*Stage 1: selection_unistore
selection_unistore:
FileName|contains: '\AppData\Local\Comms\Unistore\data'
Stage 2: selection_unistoredb
selection_unistoredb:
FileName|endswith: '\AppData\Local\Comms\UnistoreDB\store.vol'
Stage 3: not filter_main_*
filter_main_system:
Image: 'System'
filter_main_generic:
Image|startswith:
- 'C:\Program Files (x86)\'
- 'C:\Program Files\'
- 'C:\Windows\system32\'
- 'C:\Windows\SysWOW64\'
Stage 4: not filter_optional_*
filter_optional_defender:
Image|startswith: 'C:\ProgramData\Microsoft\Windows Defender\'
Image|endswith:
- '\MpCopyAccelerator.exe'
- '\MsMpEng.exe'
filter_optional_thor:
Image|endswith:
- '\thor64.exe'
- '\thor.exe'
Exclusions
The rule actively suppresses these predicates.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
Image | eq | System | excludes:Image field:"Image" value:"System" |
Image | starts_with | C:\Program Files (x86)\ | excludes:Image field:"Image" value:"C:\Program Files (x86)\" |
Image | starts_with | C:\Program Files\ | excludes:Image field:"Image" value:"C:\Program Files\" |
Image | starts_with | C:\Windows\SysWOW64\ | excludes:Image field:"Image" value:"C:\Windows\SysWOW64\" |
Image | starts_with | C:\Windows\system32\ | excludes:Image field:"Image" value:"C:\Windows\system32\" |
Image | ends_with | \MpCopyAccelerator.exe | excludes:Image field:"Image" value:"\MpCopyAccelerator.exe" |
Image | ends_with | \MsMpEng.exe | excludes:Image field:"Image" value:"\MsMpEng.exe" |
Image | starts_with | C:\ProgramData\Microsoft\Windows Defender\ | excludes:Image field:"Image" value:"C:\ProgramData\Microsoft\Windows Defender\" |
Image | ends_with | \thor.exe | excludes:Image field:"Image" value:"\thor.exe" |
Image | ends_with | \thor64.exe | excludes:Image field:"Image" value:"\thor64.exe" |
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
FileName | ends_with |
| field:"file_name" kind:ends_with value:"\AppData\Local\Comms\UnistoreDB\store.vol" |
FileName | match |
| field:"file_name" kind:match value:"\AppData\Local\Comms\Unistore\data" |