Panoptes 1.0.0
Endpoint Detection and Response
Loading...
Searching...
No Matches
container_ipc.hpp
Go to the documentation of this file.
1#pragma once
2#include <Windows.h>
3#include <string>
4#include <queue>
5#include <mutex>
6#include <condition_variable>
7#include <thread>
8#include "ExtensibilityCore.h"
9
11public:
12 void enqueue(const PeScan& message);
16 DeleteCriticalSection(&cs_);
17 }
18private:
19 std::queue<PeScan> queue_;
20 CRITICAL_SECTION cs_;
21 CONDITION_VARIABLE cv_;
22};
23
25public:
27 bool Hello(ExtensibilityType extensibilityType, std::string port);
28 bool SendResults_Yara(std::string PePath, std::string FileHash, DWORD ProcessId, std::string YaraRulesPath, INT MatchRules, std::vector<std::string> DetectedRules);
29};
30
31VOID RunContainerServer(LPVOID ContainerPort);
32
ExtensibilityType
The type of extensibility.
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 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.
PeMessageQueue * message_queue_pe_
Definition container.cpp:15
The information about the file to be scanned that passed between the container, extensibility and the...