Covenant Remote File Copy

Metadata

Contributors

Roberto Rodriguez @Cyb3rWard0g

Creation Date

2020/08/06

Modification Date

2020/08/06

Tactics

TA0008

Techniques

T1021.002

Tags

SMB CreateRequest

Dataset Description

This dataset represents a threat actor remotely copying a file over SMB (CreateRequest).

Simulation Metadata

Tools

type

Name

Module

C2

Covenant

Copy

Adversary View

[09/22/2020 18:53:30 UTC] Copy completed
(wardog) > Copy /source:"C:\Users\pgustavo\Desktop\GruntHTTP.exe" /destination:"\\WORKSTATION6\C$\ProgramData\GruntHTTP.exe"

Successfully copied file from: C:\Users\pgustavo\Desktop\GruntHTTP.exe to: \\WORKSTATION6\C$\ProgramData\GruntHTTP.exe

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/lateral_movement/host/covenant_copy_smb_CreateRequest.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)