![]() |
Panoptes 1.0.0
Endpoint Detection and Response
|
Panoptes Service Client that is used to communicate with the Panoptes Service via. More...
#include <container_ipc.hpp>
Public Member Functions | |
| 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. | |
| bool | SendResults_Yara (std::string PePath, std::string FileHash, DWORD ProcessId, std::string YaraRulesPath, INT MatchRules, std::vector< std::string > DetectedRules) |
| bool | SendResults_PE (std::string PePath, bool IsPeSigned, std::string PeSignerSubject, std::vector< std::string > PeImports) |
| bool | SendResults_AMSI (std::string PePath, DWORD AmsiResult) |
| PanoptesServiceClient () | |
| bool | Hello (ExtensibilityType extensibilityType, int ContainerPort) |
| Send a hello message to the Panoptes Service to bind to the service. | |
| bool | SendResults_AMSI (std::string PePath, std::string FileHash, DWORD AmsiResult) |
| Send the results of the AMSI scan to the Panoptes Service. | |
| PanoptesServiceClient () | |
| bool | Hello (ExtensibilityType extensibilityType, int ContainerPort) |
| bool | SendResults_PE (std::string PePath, PortableExecutable::PEScanData data) |
| PanoptesServiceClient () | |
| bool | Hello (ExtensibilityType extensibilityType, int ContainerPort) |
| bool | SendResults_Yara (std::string PePath, std::string FileHash, std::vector< std::string > DetectedRules) |
| Send the results of the YARA scan to the Panoptes Service. | |
| PanoptesServiceClient () | |
| bool | QueuePeScan (std::string PePath, std::string FileHash, std::string &message) |
| Send a request to the Panoptes Service to scan a PE file. | |
| PanoptesServiceClient () | |
| bool | QueuePeScan (std::string PePath, std::string FileHash, std::string &message) |
Panoptes Service Client that is used to communicate with the Panoptes Service via.
The Panoptes Service Client that used to communicate via gRPC.
Definition at line 36 of file container_ipc.hpp.
| PanoptesServiceClient::PanoptesServiceClient | ( | ) |
The PanoptesServiceClient class is a class that implements the PanoptesServiceClient class.
Constructor for the Panoptes Service Client.
Constructor for the Panoptes Service Client to set up the connection to the.
Constructor for the Panoptes Service Client to set up the connection to the Panoptes Service.
Definition at line 15 of file service_client.cpp.
References SERVICE_PORT, and stub_.
| PanoptesServiceClient::PanoptesServiceClient | ( | ) |
| PanoptesServiceClient::PanoptesServiceClient | ( | ) |
| PanoptesServiceClient::PanoptesServiceClient | ( | ) |
| PanoptesServiceClient::PanoptesServiceClient | ( | ) |
| PanoptesServiceClient::PanoptesServiceClient | ( | ) |
| bool PanoptesServiceClient::Hello | ( | ExtensibilityType | extensibilityType, |
| int | ContainerPort | ||
| ) |
Send a hello message to the Panoptes Service to bind to the service.
Send a hello message to the Panoptes Service to bind to the service containing the type of extensibility and the port of the container that the extensibility is running in.
| extensibilityType | The type of extensibility, in this case AMSI |
| ContainerPort | The port of the container that the extensibility is running in |
| extensibilityType | The type of extensibility, in this case YARA |
| ContainerPort | The port of the container that the extensibility is running in |
Definition at line 74 of file service_client_amsi.cpp.
References stub_.
| bool PanoptesServiceClient::Hello | ( | ExtensibilityType | extensibilityType, |
| int | ContainerPort | ||
| ) |
| bool PanoptesServiceClient::Hello | ( | ExtensibilityType | extensibilityType, |
| int | ContainerPort | ||
| ) |
| bool PanoptesServiceClient::Hello | ( | ExtensibilityType | extensibilityType, |
| std::string | port | ||
| ) |
The Hello function sends a Hello message to the Panoptes main service from the container.
| extensibilityType | The type of extensibility. |
| port | The port of the Panoptes main service. |
Definition at line 25 of file service_client.cpp.
References stub_.
Referenced by PanoBind().
| bool PanoptesServiceClient::QueuePeScan | ( | std::string | PePath, |
| std::string | FileHash, | ||
| std::string & | message | ||
| ) |
Send a request to the Panoptes Service to scan a PE file.
| PePath | The path to the PE file |
| FileHash | The hash of the PE file |
| message | The message to send to the Panoptes Service |
Definition at line 72 of file scanner_ipc.cpp.
References stub_.
| bool PanoptesServiceClient::QueuePeScan | ( | std::string | PePath, |
| std::string | FileHash, | ||
| std::string & | message | ||
| ) |
| bool PanoptesServiceClient::SendResults_AMSI | ( | std::string | PePath, |
| DWORD | AmsiResult | ||
| ) |
Referenced by PanoEntry().
| bool PanoptesServiceClient::SendResults_AMSI | ( | std::string | PePath, |
| std::string | FileHash, | ||
| DWORD | AmsiResult | ||
| ) |
Send the results of the AMSI scan to the Panoptes Service.
| PePath | The path of the file that was scanned |
| FileHash | The hash of the file that was scanned |
| AmsiResult | The result of the AMSI scan |
Definition at line 97 of file service_client_amsi.cpp.
References stub_.
| bool PanoptesServiceClient::SendResults_PE | ( | std::string | PePath, |
| bool | IsPeSigned, | ||
| std::string | PeSignerSubject, | ||
| std::vector< std::string > | PeImports | ||
| ) |
Referenced by PanoEntry().
| bool PanoptesServiceClient::SendResults_PE | ( | std::string | PePath, |
| PortableExecutable::PEScanData | data | ||
| ) |
Definition at line 83 of file service_client_pe.cpp.
References PortableExecutable::PEScanData::imports, PortableExecutable::PEScanData::isSigned, PortableExecutable::PEScanData::section_entropy, PortableExecutable::PEScanData::sections, and stub_.
| bool PanoptesServiceClient::SendResults_Yara | ( | std::string | PePath, |
| std::string | FileHash, | ||
| DWORD | ProcessId, | ||
| std::string | YaraRulesPath, | ||
| INT | MatchRules, | ||
| std::vector< std::string > | DetectedRules | ||
| ) |
Referenced by PanoEntry().
| bool PanoptesServiceClient::SendResults_Yara | ( | std::string | pePath, |
| std::string | fileHash, | ||
| std::vector< std::string > | detectedRules | ||
| ) |
Send the results of the YARA scan to the Panoptes Service.
| pePath | The path of the file that was scanned |
| fileHash | The hash of the file that was scanned |
| detectedRules | The rules that were detected |
Definition at line 97 of file service_client_yara.cpp.
References stub_.