2019-10-25 03:53:21 +00:00
|
|
|
title: 'Powershell profile modify'
|
2019-10-24 17:14:21 +00:00
|
|
|
status: experimental
|
|
|
|
description: 'Detects a change in profile.ps1 of Powershell profile'
|
|
|
|
references:
|
|
|
|
- 'https://www.welivesecurity.com/2019/05/29/turla-powershell-usage/'
|
|
|
|
author: HieuTT35
|
|
|
|
date: 2019/10/24
|
|
|
|
logsource:
|
|
|
|
product: windows
|
|
|
|
service: sysmon
|
|
|
|
detection:
|
2019-10-25 03:53:21 +00:00
|
|
|
event:
|
|
|
|
EventID: 11
|
|
|
|
target1:
|
|
|
|
TargetFilename|re: '.*\\My Documents\\PowerShell\\(Microsoft\.)?.*(Profile|profile)\.ps1'
|
|
|
|
target2:
|
|
|
|
TargetFilename|re: 'C\:\\Windows\\System32\\WindowsPowerShell\\v1\.0\\(Microsoft\.)?.*(Profile|profile)\.ps1'
|
|
|
|
condition: event and (target1 or target2)
|
2019-10-24 17:14:21 +00:00
|
|
|
falsepositives:
|
2019-10-25 03:53:21 +00:00
|
|
|
- 'System administrator create Powershell profile manually'
|
2019-10-24 17:14:21 +00:00
|
|
|
level: high
|
2019-10-25 03:53:21 +00:00
|
|
|
tags:
|
|
|
|
- attack.persistence
|
|
|
|
- attack.privilege_escalation
|