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
|
|
|
|
|
author: Tom Ueltschi (@c_APT_ure)
|
2021-11-27 11:33:14 +01:00
|
|
|
references:
|
|
|
|
|
- https://attack.mitre.org/techniques/T1037/
|
2020-01-30 16:07:37 +01:00
|
|
|
date: 2019/01/12
|
2021-11-29 19:59:26 +00:00
|
|
|
modified: 2021/11/29
|
2019-01-12 12:01:03 +01:00
|
|
|
logsource:
|
2021-11-27 11:33:14 +01:00
|
|
|
category: process_creation
|
|
|
|
|
product: windows
|
2019-01-12 12:01:03 +01:00
|
|
|
detection:
|
2021-11-27 11:33:14 +01:00
|
|
|
exec_selection:
|
|
|
|
|
ParentImage|endswith: '\userinit.exe'
|
|
|
|
|
exec_exclusion1:
|
|
|
|
|
Image|endswith: '\explorer.exe'
|
|
|
|
|
exec_exclusion2:
|
|
|
|
|
CommandLine|contains:
|
2021-11-29 19:59:26 +00:00
|
|
|
- 'netlogon*.bat'
|
2021-11-27 11:33:14 +01:00
|
|
|
- 'UsrLogon.cmd'
|
|
|
|
|
create_keywords_cli:
|
|
|
|
|
CommandLine|contains: 'UserInitMprLogonScript'
|
|
|
|
|
condition: ( exec_selection and not exec_exclusion1 and not exec_exclusion2 ) or create_keywords_cli
|
2020-07-01 10:58:39 +02:00
|
|
|
falsepositives:
|
2021-11-27 11:33:14 +01:00
|
|
|
- exclude legitimate logon scripts
|
|
|
|
|
- penetration tests, red teaming
|
2020-10-15 17:23:44 -03:00
|
|
|
level: high
|
2021-11-27 11:33:14 +01:00
|
|
|
tags:
|
|
|
|
|
- attack.t1037.001
|
|
|
|
|
- attack.persistence
|