![]() |
Panoptes 1.0.0
Endpoint Detection and Response
|
Go to the source code of this file.
Functions | |
| ERRORCODE | GetKernelServiceStatus () |
| ERRORCODE | StartKernelService () |
| Starts the Panoptes driver service. It is installed as demand start, so it is not running after a reboot or an MSI install until something starts it. Needs Administrators. | |
| ERRORCODE | TerminateProcessByDriver (UINT64 processId) |
| Asks the driver to terminate a process (IOCTL_PANOPTES_TERMINATE_PROCESS). | |
| ERRORCODE | SetInjectionExclusionsInDriver (const std::vector< std::string > &imageNames) |
| Replaces the driver's list of process image names it does not inject the hook DLL into (IOCTL_PANOPTES_SET_INJECTION_EXCLUSIONS). An empty list clears it. | |
| ERRORCODE | SetFileEventsInDriver (const std::vector< std::string > &groups) |
| Tells the driver which groups of file system events to report (IOCTL_PANOPTES_SET_FILE_EVENTS). | |
| ERRORCODE GetKernelServiceStatus | ( | ) |
Definition at line 6 of file driver.cpp.
References CONTROL_SERVICE, ERRORCODE, KERNEL_DRIVER_SERVICE_NAME, NOT_INSTALLED, NOT_SET, PANO_SERVICE_RUNNING, and PANO_SERVICE_STOPPED.
Referenced by WinMain().
| ERRORCODE SetFileEventsInDriver | ( | const std::vector< std::string > & | groups | ) |
Tells the driver which groups of file system events to report (IOCTL_PANOPTES_SET_FILE_EVENTS).
| groups | The FileEvents setting: names from Configuration::FileEventNames() |
Definition at line 154 of file driver.cpp.
References _PANO_FILE_EVENTS::Enabled, ERRORCODE, INVALID_INPUT, IOCTL_FAILED, IOCTL_PANOPTES_SET_FILE_EVENTS, KERNEL_PIPE, NOT_ADMIN, PANO_FILE_EVENTS_CREATE, PANO_FILE_EVENTS_DELETE_RENAME, PANO_FILE_EVENTS_EA, PANO_FILE_EVENTS_PIPE_MAILSLOT, PANO_FILE_EVENTS_SECURITY, PANO_FILE_EVENTS_WRITE, PANO_SUCCESS, and PANOPTES_USER_DEVICE_PATH.
Referenced by WinMain().
| ERRORCODE SetInjectionExclusionsInDriver | ( | const std::vector< std::string > & | imageNames | ) |
Replaces the driver's list of process image names it does not inject the hook DLL into (IOCTL_PANOPTES_SET_INJECTION_EXCLUSIONS). An empty list clears it.
| imageNames | The DontInject setting (UTF-8): file names such as "msedge.exe" or full paths such as "C:\Tools\app.exe". Paths are converted to NT paths for the driver |
Definition at line 84 of file driver.cpp.
References ERRORCODE, INVALID_INPUT, IOCTL_FAILED, IOCTL_PANOPTES_SET_INJECTION_EXCLUSIONS, KERNEL_PIPE, MAX_PATH, NOT_ADMIN, PANO_MAX_INJECTION_EXCLUSION_LENGTH, PANO_MAX_INJECTION_EXCLUSIONS, PANO_SUCCESS, and PANOPTES_USER_DEVICE_PATH.
Referenced by WinMain().
| ERRORCODE StartKernelService | ( | ) |
Starts the Panoptes driver service. It is installed as demand start, so it is not running after a reboot or an MSI install until something starts it. Needs Administrators.
Definition at line 36 of file driver.cpp.
References CONTROL_SERVICE, ERRORCODE, KERNEL_DRIVER_SERVICE_NAME, NOT_INSTALLED, PANO_SERVICE_RUNNING, and PANO_SERVICE_STOPPED.
Referenced by WinMain().
| ERRORCODE TerminateProcessByDriver | ( | UINT64 | processId | ) |
Asks the driver to terminate a process (IOCTL_PANOPTES_TERMINATE_PROCESS).
| processId | The ID of the process to terminate |
Definition at line 66 of file driver.cpp.
References ERRORCODE, IOCTL_FAILED, IOCTL_PANOPTES_TERMINATE_PROCESS, KERNEL_PIPE, NOT_ADMIN, PANO_SUCCESS, PANOPTES_USER_DEVICE_PATH, and _PANO_TERMINATE_PROCESS::ProcessId.