2019-01-12 12:01:03 +01:00
|
|
|
title: Logon Scripts (UserInitMprLogonScript)
|
2019-11-12 23:12:27 +01:00
|
|
|
id: 0a98a10c-685d-4ab0-bddc-b6bdd1d48458
|
2021-11-27 11:33:14 +01:00
|
|
|
status: test
|
2019-01-12 12:01:03 +01:00
|
|
|
description: Detects creation or execution of UserInitMprLogonScript persistence method
|
2021-11-27 11:33:14 +01:00
|
|
|
references:
|
2023-01-10 18:09:04 +01:00
|
|
|
- https://cocomelonc.github.io/persistence/2022/12/09/malware-pers-20.html
|
2022-10-28 15:06:36 +02:00
|
|
|
author: Tom Ueltschi (@c_APT_ure), Tim Shelton
|
2020-01-30 16:07:37 +01:00
|
|
|
date: 2019/01/12
|
2023-01-31 12:25:32 +05:00
|
|
|
modified: 2023/01/31
|
2022-10-28 15:06:36 +02:00
|
|
|
tags:
|
|
|
|
|
- attack.t1037.001
|
|
|
|
|
- attack.persistence
|
2019-01-12 12:01:03 +01:00
|
|
|
logsource:
|
2022-10-28 15:06:36 +02:00
|
|
|
category: process_creation
|
|
|
|
|
product: windows
|
2019-01-12 12:01:03 +01:00
|
|
|
detection:
|
2023-02-21 22:15:30 +01:00
|
|
|
selection_cli:
|
|
|
|
|
CommandLine|contains: 'UserInitMprLogonScript'
|
|
|
|
|
selection_parent:
|
2022-10-28 15:06:36 +02:00
|
|
|
ParentImage|endswith: '\userinit.exe'
|
2023-02-22 11:05:50 +01:00
|
|
|
filter_parent:
|
2023-02-21 22:15:30 +01:00
|
|
|
- CommandLine|contains:
|
2022-10-28 15:06:36 +02:00
|
|
|
- 'netlogon*.bat'
|
|
|
|
|
- 'UsrLogon.cmd'
|
|
|
|
|
- 'C:\WINDOWS\Explorer.EXE'
|
2023-02-21 22:15:30 +01:00
|
|
|
- Image|endswith:
|
|
|
|
|
- '\explorer.exe'
|
|
|
|
|
- '\proquota.exe'
|
|
|
|
|
- '\Citrix\System32\icast.exe'
|
2023-02-22 11:05:50 +01:00
|
|
|
condition: selection_cli or (selection_parent and not filter_parent)
|
2020-07-01 10:58:39 +02:00
|
|
|
falsepositives:
|
2022-10-28 15:06:36 +02:00
|
|
|
- Exclude legitimate logon scripts
|
2020-10-15 17:23:44 -03:00
|
|
|
level: high
|