6#include <condition_variable>
16 DeleteCriticalSection(&cs_);
19 std::queue<PeScan> queue_;
21 CONDITION_VARIABLE cv_;
26 std::condition_variable
cv;
31 std::queue<MemScan> queue_;
33 std::condition_variable cv_;
40 bool SendResults_Yara(std::string PePath, std::string FileHash,
DWORD ProcessId, std::string YaraRulesPath, INT MatchRules, std::vector<std::string> DetectedRules);
41 bool SendResults_PE(std::string PePath,
bool IsPeSigned, std::string PeSignerSubject, std::vector<std::string> PeImports);
ExtensibilityType
The type of extensibility.
void enqueue(const MemScan &message)
The enqueue function enqueues a MemScan message to the queue.
std::condition_variable cv
MemScan dequeue()
The dequeue function dequeues a MemScan messages from the queue.
Panoptes Service Client that is used to communicate with the Panoptes Service via.
bool SendResults_Yara(std::string PePath, std::string FileHash, DWORD ProcessId, std::string YaraRulesPath, INT MatchRules, std::vector< std::string > DetectedRules)
PanoptesServiceClient()
The PanoptesServiceClient class is a class that implements the PanoptesServiceClient class.
bool SendResults_PE(std::string PePath, bool IsPeSigned, std::string PeSignerSubject, std::vector< std::string > PeImports)
bool SendResults_AMSI(std::string PePath, DWORD AmsiResult)
bool Hello(ExtensibilityType extensibilityType, std::string port)
The Hello function sends a Hello message to the Panoptes main service from the container.
PeMessageQueue()
The PeMessageQueue class is a thread-safe queue for PeScan messages.
PeScan dequeue()
The dequeue function dequeues a PeScan messages from the queue.
void enqueue(const PeScan &message)
The enqueue function is a function that enqueues a PeScan message to the queue.
VOID RunContainerServer(LPVOID ContainerPort)
The RunContainerServer function is a function that runs the container server.
MemoryMessageQueue * message_queue_mem_
PeMessageQueue * message_queue_pe_
The information about the memory to be scanned that passed between the container, extensibility and t...
The information about the file to be scanned that passed between the container, extensibility and the...