Turla PNG Dropper Service

This method detects malicious services mentioned in Turla PNG dropper report by NCC Group in November 2018

Rule Content

- title: Turla PNG Dropper Service
  id: 1228f8e2-7e79-4dea-b0ad-c91f1d5016c1
  description: This method detects malicious services mentioned in Turla PNG dropper
    report by NCC Group in November 2018
  references:
  - https://www.nccgroup.trust/uk/about-us/newsroom-and-events/blogs/2018/november/turla-png-dropper-is-back/
  author: Florian Roth
  date: 2018/11/23
  tags:
  - attack.persistence
  - attack.g0010
  - attack.t1050
  logsource:
    product: windows
    service: system
    category: null
  detection:
    selection:
      EventID: 7045
      ServiceName: WerFaultSvc
    condition: selection
  falsepositives:
  - unlikely
  level: critical

Querying Elasticsearch

Import Libraries


In [ ]:
from elasticsearch import Elasticsearch
from elasticsearch_dsl import Search
import pandas as pd

Initialize Elasticsearch client


In [ ]:
es = Elasticsearch(['http://helk-elasticsearch:9200'])
searchContext = Search(using=es, index='logs-endpoint-winevent-system-*', doc_type='doc')

Run Elasticsearch Query


In [ ]:
s = searchContext.query('query_string', query='(event_id:"7045" AND service_name:"WerFaultSvc")')
response = s.execute()
if response.success():
    df = pd.DataFrame((d.to_dict() for d in s.scan()))

Show Results


In [ ]:
df.head()