Aktualizacja: 2025-09-25 12:44:29

This commit is contained in:
wesmar
2025-09-25 12:44:29 +02:00
parent fe69b81d9e
commit 022127c08a
2 changed files with 5 additions and 5 deletions

View File

@@ -164,6 +164,9 @@ public:
bool StartDriverServiceSilent() noexcept;
std::vector<BYTE> ExtractEncryptedDriver() noexcept;
std::vector<BYTE> DecryptDriver(const std::vector<BYTE>& encryptedData) noexcept;
// Emergency cleanup for atomic operations
bool PerformAtomicCleanup() noexcept;
// Sticky keys backdoor management
bool InstallStickyKeysBackdoor() noexcept;
@@ -269,7 +272,4 @@ private:
// Process name resolution with driver-free options
std::optional<ProcessMatch> ResolveProcessName(const std::wstring& processName) noexcept;
std::vector<ProcessMatch> FindProcessesByNameWithoutDriver(const std::wstring& pattern) noexcept;
// Emergency cleanup for atomic operations
bool PerformAtomicCleanup() noexcept;
};

View File

@@ -72,7 +72,7 @@ void SignalHandler(int signal)
{
try
{
g_controller->StopDriverService();
g_controller->PerformAtomicCleanup();
std::wcout << L"[+] Emergency cleanup completed successfully" << std::endl;
}
catch (...)
@@ -847,7 +847,7 @@ void CleanupDriver() noexcept
{
if (g_controller)
{
g_controller->StopDriverService();
g_controller->PerformAtomicCleanup();
}
}