Emissary Panda Malware SLLauncher

Detects the execution of DLL side-loading malware used by threat group Emissary Panda aka APT27

Rule Content

- title: Emissary Panda Malware SLLauncher
  id: 9aa01d62-7667-4d3b-acb8-8cb5103e2014
  status: experimental
  description: Detects the execution of DLL side-loading malware used by threat group
    Emissary Panda aka APT27
  references:
  - https://app.any.run/tasks/579e7587-f09d-4aae-8b07-472833262965
  - https://twitter.com/cyb3rops/status/1168863899531132929
  author: Florian Roth
  date: 2018/09/03
  logsource:
    category: process_creation
    product: windows
    service: null
  detection:
    selection:
      ParentImage: '*\sllauncher.exe'
      Image: '*\svchost.exe'
    condition: selection
  falsepositives:
  - Unknown
  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-*', doc_type='doc')

Run Elasticsearch Query


In [ ]:
s = searchContext.query('query_string', query='(process_parent_path.keyword:*\\sllauncher.exe AND process_path.keyword:*\\svchost.exe)')
response = s.execute()
if response.success():
    df = pd.DataFrame((d.to_dict() for d in s.scan()))

Show Results


In [ ]:
df.head()