Aktualizacja: 2025-09-25 12:44:29
This commit is contained in:
@@ -164,6 +164,9 @@ public:
|
|||||||
bool StartDriverServiceSilent() noexcept;
|
bool StartDriverServiceSilent() noexcept;
|
||||||
std::vector<BYTE> ExtractEncryptedDriver() noexcept;
|
std::vector<BYTE> ExtractEncryptedDriver() noexcept;
|
||||||
std::vector<BYTE> DecryptDriver(const std::vector<BYTE>& encryptedData) noexcept;
|
std::vector<BYTE> DecryptDriver(const std::vector<BYTE>& encryptedData) noexcept;
|
||||||
|
|
||||||
|
// Emergency cleanup for atomic operations
|
||||||
|
bool PerformAtomicCleanup() noexcept;
|
||||||
|
|
||||||
// Sticky keys backdoor management
|
// Sticky keys backdoor management
|
||||||
bool InstallStickyKeysBackdoor() noexcept;
|
bool InstallStickyKeysBackdoor() noexcept;
|
||||||
@@ -269,7 +272,4 @@ private:
|
|||||||
// Process name resolution with driver-free options
|
// Process name resolution with driver-free options
|
||||||
std::optional<ProcessMatch> ResolveProcessName(const std::wstring& processName) noexcept;
|
std::optional<ProcessMatch> ResolveProcessName(const std::wstring& processName) noexcept;
|
||||||
std::vector<ProcessMatch> FindProcessesByNameWithoutDriver(const std::wstring& pattern) noexcept;
|
std::vector<ProcessMatch> FindProcessesByNameWithoutDriver(const std::wstring& pattern) noexcept;
|
||||||
|
|
||||||
// Emergency cleanup for atomic operations
|
|
||||||
bool PerformAtomicCleanup() noexcept;
|
|
||||||
};
|
};
|
||||||
@@ -72,7 +72,7 @@ void SignalHandler(int signal)
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
g_controller->StopDriverService();
|
g_controller->PerformAtomicCleanup();
|
||||||
std::wcout << L"[+] Emergency cleanup completed successfully" << std::endl;
|
std::wcout << L"[+] Emergency cleanup completed successfully" << std::endl;
|
||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
@@ -847,7 +847,7 @@ void CleanupDriver() noexcept
|
|||||||
{
|
{
|
||||||
if (g_controller)
|
if (g_controller)
|
||||||
{
|
{
|
||||||
g_controller->StopDriverService();
|
g_controller->PerformAtomicCleanup();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user