![]() |
Panoptes 1.0.0
Endpoint Detection and Response
|
#include <grpcpp/grpcpp.h>#include "panoptes.grpc.pb.h"#include "panoptes_service.h"#include "grpc.hpp"#include "hash.h"#include "pano_log.h"#include "utils.h"#include "TrayNotifications.h"#include "Configuration.hpp"#include <vector>#include <string>#include <algorithm>#include <filesystem>#include <regex>#include "PanoptesAMSI.h"Go to the source code of this file.
Classes | |
| class | PanoptesImpl |
| The PanoptesImpl class is a class that implements the PanoptesExtensibility::Service interface from the gRPC class. More... | |
Functions | |
| void | MoveFileToQuarantine (std::string filePath) |
| bool | GetRegistryPortValue (DWORD &portValue) |
| bool | isPathInExclusions (const std::vector< std::string > &exclusions, const std::string &fullPath) |
| bool | CheckIfMalicious (std::string jsonString) |
| bool | CreateRegistryEntryWithPort (DWORD dwPort) |
| std::string | CleanUpProtobufMessage (std::string msg) |
| void | SelfQueuePeScan (std::string pePath, std::string fileHash) |
| void | RunServiceServer (LPVOID lpParam) |
Variables | |
| std::unique_ptr< PanoptesExtensibility::Stub > | stub_ |
| std::unique_ptr< PanoptesService::Stub > | selfStub_ |
| std::vector< std::pair< ContainerType, int > > | g_containerServerPorts |
| PanoptesContext * | serviceContext |
| bool CheckIfMalicious | ( | std::string | jsonString | ) |
Definition at line 104 of file grpc.cpp.
References AmsiScanner::AMSI_RESULT_PANO_DETECTED.
| std::string CleanUpProtobufMessage | ( | std::string | msg | ) |
Definition at line 170 of file grpc.cpp.
References FormatTime().
| bool CreateRegistryEntryWithPort | ( | DWORD | dwPort | ) |
Definition at line 127 of file grpc.cpp.
Referenced by RunServiceServer().
| bool GetRegistryPortValue | ( | DWORD & | portValue | ) |
Definition at line 48 of file grpc.cpp.
Referenced by SelfQueuePeScan().
| bool isPathInExclusions | ( | const std::vector< std::string > & | exclusions, |
| const std::string & | fullPath | ||
| ) |
Definition at line 93 of file grpc.cpp.
Referenced by SelfQueuePeScan().
| void MoveFileToQuarantine | ( | std::string | filePath | ) |
Definition at line 32 of file grpc.cpp.
| void RunServiceServer | ( | LPVOID | lpParam | ) |
Definition at line 371 of file grpc.cpp.
References CreateRegistryEntryWithPort(), serviceContext, and PanoptesContext::threadError.
Referenced by WinMain().
| void SelfQueuePeScan | ( | std::string | pePath, |
| std::string | fileHash | ||
| ) |
Definition at line 224 of file grpc.cpp.
References PanoptesContext::config, GetRegistryPortValue(), isPathInExclusions(), selfStub_, and serviceContext.
Referenced by DisplayEventInfo().
| std::vector<std::pair<ContainerType, int> > g_containerServerPorts |
| std::unique_ptr<PanoptesService::Stub> selfStub_ |
Definition at line 25 of file grpc.cpp.
Referenced by SelfQueuePeScan().
| PanoptesContext* serviceContext |
Definition at line 27 of file grpc.cpp.
Referenced by RunServiceServer(), SelfQueuePeScan(), StartPanoptesTrace(), and WinMain().