SYMBOL INDEX (200 symbols across 15 files) FILE: agent/source/crypto.cs class Crypto (line 13) | static class Crypto method SubArray (line 15) | public static T[] SubArray(this T[] data, int index, int length) method GetMD5Hash (line 22) | public static byte[] GetMD5Hash(byte[] source) method EncryptData (line 34) | static public byte[] EncryptData(byte[] plainMessage, byte[] key) method DecryptData (line 74) | static public byte[] DecryptData(byte[] cipher, byte[] key) FILE: agent/source/dbc2_agent.cs class C2_Agent (line 47) | [ComVisible(true)] method C2_Agent (line 78) | public C2_Agent(string[] args) method Main (line 99) | #if (DLLEXPORT) method Run (line 110) | private void Run() method getRandomPeriod (line 592) | private int getRandomPeriod() method runShell (line 603) | private void runShell(string command) method runCMD (line 693) | private string runCMD(string command) method launchProcess (line 744) | private bool launchProcess(string exeName, string args) method createAgentID (line 780) | private string createAgentID() FILE: agent/source/dropboxHandler.cs class DropboxHandler (line 15) | class DropboxHandler method DropboxHandler (line 34) | public DropboxHandler (string token) method putFile (line 63) | public string putFile (string path, byte[] data) method getRevNumber (line 104) | public string getRevNumber(string path) method deleteFile (line 139) | public bool deleteFile(string path) method readFile (line 170) | public byte[] readFile(string path) method downloadFile (line 200) | public bool downloadFile(string remoteFile, string localFile) FILE: agent/source/misc.cs class NativeFunctions (line 18) | internal static class NativeFunctions method GetAsyncKeyState (line 20) | [DllImport("user32.dll")] method SetForegroundWindow (line 23) | [DllImport("user32.dll")] method ShowWindow (line 25) | [DllImport("user32.dll")] method AddClipboardFormatListener (line 28) | [DllImport("user32.dll", SetLastError = true)] method SetParent (line 31) | [DllImport("user32.dll", SetLastError = true)] class KeyLogger (line 41) | public static class KeyLogger method Start (line 50) | public static void Start() method Stop (line 66) | public static void Stop() method PollKeys (line 72) | private static void PollKeys() class ClipboardLogger (line 103) | public static class ClipboardLogger method Start (line 112) | public static void Start() method Stop (line 127) | public static void Stop() method PollClipboard (line 133) | private static void PollClipboard() class KeyStrokes (line 156) | public static class KeyStrokes method sendKeyStrokes (line 161) | public static bool sendKeyStrokes(Process p, string keyStrokes) class Screenshot (line 189) | public static class Screenshot method takeScreenShot (line 194) | public static byte[] takeScreenShot() FILE: dbc2Loader/dbc2Loader.cs class dbc2Loader (line 35) | [ComVisible(true)] method dbc2Loader (line 41) | public dbc2Loader() method xor (line 49) | private static byte[] xor(byte[] source, string key) method Main (line 63) | public static void Main(string[] args) method entryPoint (line 75) | public static int entryPoint(string arg) method loadDBC2 (line 85) | public void loadDBC2(string url, string xorKey, string accessToken, st... FILE: dbc2Loader/nativeWrapper/dbc2LoaderWrapperCLR.cpp function createDotNetFourHost (line 82) | bool createDotNetFourHost(HMODULE* hMscoree, const wchar_t* version, ICo... function HRESULT (line 154) | HRESULT createDotNetTwoHost(HMODULE* hMscoree, const wchar_t* version, I... function HRESULT (line 181) | HRESULT createHost(const wchar_t* version, ICorRuntimeHost** ppCorRuntim... function Dbc2Loader (line 202) | __declspec(dllexport) int Dbc2Loader(wchar_t* argument) function InvokeMethod (line 300) | void InvokeMethod(_TypePtr spType, wchar_t* method, wchar_t* command) function BOOL (line 342) | BOOL APIENTRY DllMain( HMODULE hModule, FILE: lib/agentHandler.py class AgentHandler (line 11) | class AgentHandler: method __init__ (line 16) | def __init__(self, dropboxHandler, statusHandler): method taskAgentWithCLI (line 22) | def taskAgentWithCLI(self, cmd): method taskAgentWithShell (line 38) | def taskAgentWithShell(self, cmd): method taskAgentWithRunPSModule (line 49) | def taskAgentWithRunPSModule(self, moduleName, moduleArgs=None, intera... method taskAgentWithLaunchProcess (line 85) | def taskAgentWithLaunchProcess(self, exePath, parameters): method taskAgentWithSendFile (line 101) | def taskAgentWithSendFile(self, localFile, destinationPath): method taskAgentWithGetFile (line 135) | def taskAgentWithGetFile(self, agentLocalFile): method taskAgentWithSleep (line 152) | def taskAgentWithSleep(self, sleepAmount): method taskAgentWithNewPolling (line 168) | def taskAgentWithNewPolling(self, period, deviation): method taskAgentWithScreenshot (line 184) | def taskAgentWithScreenshot(self): method taskAgentWithKeylogger (line 200) | def taskAgentWithKeylogger(self, action): method taskAgentWithClipboardLogger (line 216) | def taskAgentWithClipboardLogger(self, action): method taskAgentWithSendKeystrokes (line 233) | def taskAgentWithSendKeystrokes(self, procName, keyStrokes): method taskAgentWithPersist (line 249) | def taskAgentWithPersist(self): method taskAgentWithStop (line 265) | def taskAgentWithStop(self): FILE: lib/console.py class MainMenu (line 25) | class MainMenu(cmd.Cmd): method __init__ (line 28) | def __init__(self, mainHandler, agentHandler, statusHandler): method do_shell (line 36) | def do_shell(self, args): method do_list (line 41) | def do_list(self, args): method do_listPublishedStage (line 46) | def do_listPublishedStage(self, args): method do_listPublishedModules (line 51) | def do_listPublishedModules(self, args): method do_use (line 56) | def do_use(self, args): method complete_use (line 79) | def complete_use(self, text, line, startidx, endidx): method do_publishStage (line 83) | def do_publishStage(self, args): method complete_publishStage (line 103) | def complete_publishStage(self, text, line, startidx, endidx): method do_deletePublishedStage (line 108) | def do_deletePublishedStage(self, args): method complete_deletePublishedStage (line 127) | def complete_deletePublishedStage(self, text, line, startidx, endidx): method do_publishModule (line 131) | def do_publishModule(self, args): method complete_publishModule (line 151) | def complete_publishModule(self, text, line, startidx, endidx): method do_deletePublishedModule (line 156) | def do_deletePublishedModule(self, args): method complete_deletePublishedModule (line 175) | def complete_deletePublishedModule(self, text, line, startidx, endidx): method do_genStager (line 179) | def do_genStager(self, args): method complete_genStager (line 206) | def complete_genStager(self, text, line, startidx, endidx): method do_genStager2 (line 220) | def do_genStager2(self, args): method complete_genStager2 (line 242) | def complete_genStager2(self, text, line, startidx, endidx): method do_taskList (line 246) | def do_taskList(self, args): method do_exit (line 251) | def do_exit(self, args): method do_help (line 257) | def do_help(self, args): method emptyline (line 262) | def emptyline(self): method default (line 266) | def default(self, line): class AgentMenu (line 272) | class AgentMenu(cmd.Cmd): method __init__ (line 275) | def __init__(self, agentHandler, statusHandler): method do_back (line 282) | def do_back(self, args): method do_use (line 287) | def do_use(self, args): method complete_use (line 309) | def complete_use(self, text, line, startidx, endidx): method do_list (line 313) | def do_list(self, args): method do_taskList (line 318) | def do_taskList(self, args): method do_cmd (line 323) | def do_cmd(self, args): method do_shell (line 335) | def do_shell(self, args): method do_launchProcess (line 361) | def do_launchProcess(self, args): method do_runPSModule (line 386) | def do_runPSModule(self, args): method complete_runPSModule (line 425) | def complete_runPSModule(self, text, line, startidx, endidx): method do_sleep (line 429) | def do_sleep(self, args): method do_polling (line 457) | def do_polling(self, args): method do_sendFile (line 492) | def do_sendFile(self, args): method complete_sendFile (line 525) | def complete_sendFile(self, text, line, startidx, endidx): method do_getFile (line 536) | def do_getFile(self, args): method do_screenshot (line 560) | def do_screenshot(self, args): method do_keylogger (line 570) | def do_keylogger(self, args): method complete_keylogger (line 590) | def complete_keylogger(self, text, line, startidx, endidx): method do_clipboardLogger (line 594) | def do_clipboardLogger(self, args): method complete_clipboardLogger (line 614) | def complete_clipboardLogger(self, text, line, startidx, endidx): method do_sendKeystrokes (line 618) | def do_sendKeystrokes(self, args): method do_stop (line 642) | def do_stop(self, args): method do_persist (line 654) | def do_persist(self, args): method complete_persist (line 666) | def complete_persist(self, text, line, startidx, endidx): method do_exit (line 670) | def do_exit(self, args): method do_help (line 676) | def do_help(self, args): method emptyline (line 681) | def emptyline(self): FILE: lib/crypto.py class Crypto (line 10) | class Crypto(object): function createKey (line 14) | def createKey(cls, outputFormat = "raw"): function encryptData (line 22) | def encryptData(cls, clearText, key): function decryptData (line 41) | def decryptData(cls, cipherText, key): function xor (line 52) | def xor(cls, data, key): function convertKey (line 61) | def convertKey(cls, key, outputFormat = "raw"): function pad (line 72) | def pad(cls, s): function unpad (line 78) | def unpad(cls, s): FILE: lib/dropboxHandler.py class DropboxHandler (line 8) | class DropboxHandler: method __init__ (line 13) | def __init__(self, token): method sendRequest (line 27) | def sendRequest(self, url, headers, data = None, resultFormat = "text"): method deleteFile (line 55) | def deleteFile(self, path): method listFolder (line 66) | def listFolder(self, path, resultFormat = "json"): method readFile (line 77) | def readFile(self, path, resultFormat = "text"): method putFile (line 86) | def putFile(self, path, data): method getMetaData (line 96) | def getMetaData(self, path): method shareFile (line 108) | def shareFile(self, path): method getSharedLink (line 120) | def getSharedLink(self, path): FILE: lib/helpers.py function printAgentList (line 15) | def printAgentList(agentList): function printStageList (line 31) | def printStageList(stageList): function printModuleList (line 45) | def printModuleList(moduleList): function printPendingTaskList (line 60) | def printPendingTaskList(pendingTaskList, agentID = 0): function b64encode (line 82) | def b64encode(data): function b64decode (line 85) | def b64decode(data): function randomString (line 89) | def randomString(length = -1, charset = string.ascii_letters): function randomInt (line 101) | def randomInt(minimum, maximum): function chunks (line 109) | def chunks(s, n): function stringIsInt (line 118) | def stringIsInt(s): function powershellEncode (line 126) | def powershellEncode(rawData): function convertFromTemplate (line 134) | def convertFromTemplate(parameters, templateFile): function retrieveQuotedArgs (line 146) | def retrieveQuotedArgs(args, maxNbArgs): function color (line 163) | def color(string, color=None): function printBanner (line 199) | def printBanner(): FILE: lib/mainHandler.py class MainHandler (line 10) | class MainHandler: method __init__ (line 15) | def __init__(self, dropboxHandler, statusHandler): method publishStage (line 20) | def publishStage(self, stageLocalPath, stageName): method deletePublishedStage (line 60) | def deletePublishedStage(self, stageName): method publishModule (line 70) | def publishModule(self, moduleLocalPath, moduleName): method deletePublishedModule (line 110) | def deletePublishedModule(self, moduleName): method genStager (line 121) | def genStager(self, stagerType, stageName): method genStager2 (line 158) | def genStager2(self, stagerType, arguments): FILE: lib/pollingThread.py class PollingThread (line 12) | class PollingThread: method __init__ (line 17) | def __init__(self, dropboxHandler, statusHandler): method stopPollingThread (line 24) | def stopPollingThread(self): method treatTaskResult (line 28) | def treatTaskResult(self, task, taskResultFilePath): method treatPushedData (line 131) | def treatPushedData(self, pushedDataFilePath): method doPoll (line 145) | def doPoll(self): FILE: lib/stagers.py class GenStager (line 8) | class GenStager: method oneLiner (line 12) | def oneLiner(cls, stagerParameters): method batch (line 27) | def batch(cls, stagerParameters): method batch2 (line 46) | def batch2(cls, stagerParameters): method macro (line 65) | def macro(cls, stagerParameters): method ducky (line 168) | def ducky(cls, stagerParameters): method javascript (line 188) | def javascript(cls, stagerParameters): method javascript2 (line 208) | def javascript2(cls, stagerParameters): method msbuild (line 225) | def msbuild(cls, stagerParameters): method sct (line 242) | def sct(cls, stagerParameters): method macro_sct (line 263) | def macro_sct(cls, sctUrl): FILE: lib/statusHandler.py class StatusHandler (line 8) | class StatusHandler: method __init__ (line 13) | def __init__(self, masterKey): method createTask (line 22) | def createTask(self, agentID, cmd, args = []): method commitTask (line 34) | def commitTask(self, task): method removeTask (line 40) | def removeTask(self, task): method createAgent (line 45) | def createAgent(self, agentID, agentLastBeacon, agentStatusFile): method agentIsKnown (line 56) | def agentIsKnown(self, agentID): method agentIsAlive (line 60) | def agentIsAlive(self, agentID): method agentIsSleeping (line 64) | def agentIsSleeping(self, agentID): method agentIsNew (line 68) | def agentIsNew(self, agentID): method agentIsDead (line 72) | def agentIsDead(self, agentID): method getAgentAttribute (line 76) | def getAgentAttribute(self, agentID, attribute): method getAgentWakeUpTimeUTC (line 80) | def getAgentWakeUpTimeUTC(self, agentID): method setAgentAttribute (line 84) | def setAgentAttribute(self, agentID, attribute, value): method agentCanBeTasked (line 89) | def agentCanBeTasked(self, agentID): method addStage (line 93) | def addStage(self, stageName, stageLink): method removeStage (line 97) | def removeStage(self, stageName): method isValidStage (line 101) | def isValidStage(self, stageName): method addModule (line 105) | def addModule(self, moduleName, moduleLink): method removeModule (line 109) | def removeModule(self, moduleName): method isValidModule (line 113) | def isValidModule(self, moduleName):