Codebase list poshc2 / 39f6cef poshc2 / client / Alias.py
39f6cef

Tree @39f6cef (Download .tar.gz)

Alias.py @39f6cefraw · history · blame

# Powershell Implant
ps_alias = [
    ["s", "get-screenshot"],
    ["whoami", "([Security.Principal.WindowsIdentity]::GetCurrent()).name"],
]

# Python Implant
py_alias = [
    ["s", "get-screenshot"]
]

# C# Implant
cs_alias = [
    ["s", "get-screenshot"],
    ["ps", "get-processlist"]
]

# Parts of commands to replace if command starts with the key
cs_replace = [
    ["safetydump", "run-exe SafetyDump.Program SafetyDump"],
    ["sharpup", "run-exe SharpUp.Program SharpUp"],
    ["seatbelt", "run-exe Seatbelt.Program Seatbelt"],
    ["rubeus", "run-exe Rubeus.Program Rubeus"],
    ["sharpview", "run-exe SharpView.Program SharpView"],
    ["sharphound", "run-exe SharpHound3.SharpHound SharpHound"],
    ["sharpweb", "run-exe SharpWeb.Program SharpWeb"],
    ["watson", "run-exe Watson.Program Watson"],
    ["sharpwmi", "run-exe SharpWMI.Program SharpWMI"],
    ["wmiexec", "run-exe WMIExec.Program WExec"],
    ["smbexec", "run-exe SMBExec.Program SExec"],
    ["dcomexec", "run-exe Invoke_DCOM.Program DCOM"],
    ["sharpsc", "run-exe SharpSC.Program SharpSC"],
    ["sharpcookiemonster", "run-exe SharpCookieMonster.Program SharpCookieMonster"],
    ["mimikatz", "run-dll SharpSploit.Credentials.Mimikatz SharpSploit"],
    ["runasps", "run-exe RunAs.Program RunAs"],
    ["runas", "run-exe MainClass RunasCs"],
    ["sharpps", "run-exe Program PS"],
    ["sweetpotato", "run-exe SweetPotato.Program SweetPotato"],
    ["sharpdpapi", "run-exe SharpDPAPI.Program SharpDPAPI"],
    ["sharpchrome", "run-exe SharpChrome.Program SharpChrome"],
    ["inveigh", "run-exe-background Inveigh.Program Inveigh"],
    ["stopinveigh", "run-dll Inveigh.Program Inveigh StopAll"],
    ["lockless", "run-exe LockLess.Program LockLess"],
    ["sharpapplocker", "run-exe SharpApplocker.Program SharpApplocker"],
    ["sharpedrchecker", "run-exe SharpEDRChecker.Program SharpEDRChecker"],
    ["stopsocks", "run-dll SharpSocksImplantTestApp.Program SharpSocks StopSocks"],
    ["standin", "run-exe StandIn.Program StandIn"]
]