- title: Taskmgr as LOCAL_SYSTEM
id: 9fff585c-c33e-4a86-b3cd-39312079a65f
status: experimental
description: Detects the creation of taskmgr.exe process in context of LOCAL_SYSTEM
tags:
- attack.defense_evasion
- attack.t1036
author: Florian Roth
date: 2018/03/18
logsource:
category: process_creation
product: windows
service: null
detection:
selection:
User: NT AUTHORITY\SYSTEM
Image: '*\taskmgr.exe'
condition: selection
falsepositives:
- Unkown
level: high
In [ ]:
from elasticsearch import Elasticsearch
from elasticsearch_dsl import Search
import pandas as pd
In [ ]:
es = Elasticsearch(['http://helk-elasticsearch:9200'])
searchContext = Search(using=es, index='logs-*', doc_type='doc')
In [ ]:
s = searchContext.query('query_string', query='(user_account:"NT\ AUTHORITY\\SYSTEM" AND process_path.keyword:*\\taskmgr.exe)')
response = s.execute()
if response.success():
df = pd.DataFrame((d.to_dict() for d in s.scan()))
In [ ]:
df.head()