50 lines
1.8 KiB
YAML
50 lines
1.8 KiB
YAML
title: Suspicious Service Installed
|
|
author: xknow (@xknow_infosec), xorxes (@xor_xes)
|
|
date: 2019/04/08
|
|
description: Detects installation of NalDrv or PROCEXP152 services via registry-keys
|
|
to non-system32 folders. Both services are used in the tool Ghost-In-The-Logs
|
|
(https://github.com/bats3c/Ghost-In-The-Logs), which uses KDU (https://github.com/hfiref0x/KDU)
|
|
detection:
|
|
SELECTION_1:
|
|
EventID: 12
|
|
SELECTION_10:
|
|
Details: '*\WINDOWS\system32\Drivers\PROCEXP152.SYS*'
|
|
SELECTION_2:
|
|
EventID: 13
|
|
SELECTION_3:
|
|
EventID: 14
|
|
SELECTION_4:
|
|
TargetObject: HKLM\System\CurrentControlSet\Services\NalDrv\ImagePath
|
|
SELECTION_5:
|
|
TargetObject: HKLM\System\CurrentControlSet\Services\PROCEXP152\ImagePath
|
|
SELECTION_6:
|
|
Image: '*\procexp64.exe'
|
|
SELECTION_7:
|
|
Image: '*\procexp.exe'
|
|
SELECTION_8:
|
|
Image: '*\procmon64.exe'
|
|
SELECTION_9:
|
|
Image: '*\procmon.exe'
|
|
condition: ((SELECTION_1 or SELECTION_2 or SELECTION_3) and ((SELECTION_4 or SELECTION_5)
|
|
and not ((SELECTION_6 or SELECTION_7 or SELECTION_8 or SELECTION_9))) and not
|
|
((SELECTION_10)))
|
|
falsepositives:
|
|
- Other legimate tools using this service names and drivers. Note - clever attackers
|
|
may easily bypass this detection by just renaming the services. Therefore just
|
|
Medium-level and don't rely on it.
|
|
id: f2485272-a156-4773-82d7-1d178bc4905b
|
|
level: medium
|
|
logsource:
|
|
category: registry_event
|
|
product: windows
|
|
references:
|
|
- https://blog.dylan.codes/evading-sysmon-and-windows-event-logging/
|
|
status: experimental
|
|
tags:
|
|
- attack.t1089
|
|
- attack.t1562.001
|
|
- attack.defense_evasion
|
|
yml_filename: sysmon_susp_service_installed.yml
|
|
yml_path: /Users/user/Documents/YamatoSecurity/sigma/rules/windows/registry_event
|
|
|