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-2021-1366 — Proof-of-concept for Cisco AnyConnect HostScan local privilege escalation via DLL hijacking and IPC command injection, demonstrating DLL proxying to load a malicious dbghelp.dll. | Kitploit
Tools/GitHubGitHub/koztkozt/cve-2021-1366
Privilege EscalationExploitationPost-ExploitationPayload DevelopmentBinary Exploitation
GitHubkoztkozt/cve-2021-1366

CVE-2021-1366

Proof-of-concept for Cisco AnyConnect HostScan local privilege escalation via DLL hijacking and IPC command injection, demonstrating DLL proxying to load a malicious dbghelp.dll.

View Repository
273 years agoNot yet reviewed
Share

CVE-2021-1366

Cisco AnyConnect Posture (HostScan) Local Privilege Escalation: CVE-2021-1366 A vulnerability in the interprocess communication (IPC) channel of Cisco AnyConnect Secure Mobility Client for Windows could allow an authenticated, local attacker to perform a DLL hijacking attack on an affected device if the VPN Posture (HostScan) Module is installed on the AnyConnect client.
This POC sends 2 priv_file_copy IPC commands to the Cisco Security Service ciscod.exe to copy 2 DLLs to the C:\Program Files(x86)\Cisco\Cisco HostScan\bin\ directory. Upon the restart of the Cisco Security Service, ciscod.exe loads the malicious dbghelp.dll (using DLL proxying).

Prerequisites

  • Create a Cisco\Cisco HostScan directory in the %TEMP% folder
  • Create a malicious DLL that will be used for DLL proxying (see https://itm4n.github.io/dll-proxying/)
  • Name the dll as dbghelp.dll and copy it to the folder %TEMP%\Cisco\Cisco HostScan
  • Copy the Windows original "C:\Windows\SysWOW64\dbghelp.dll" to the folder %TEMP%\Cisco\Cisco HostScan and rename it to dbghelp_orig.dll
  • Prepare a process hollowing tool (e.g. https://github.com/ivkin25/Process-Hollowing)

Instructions

  • Compile this POC
  • Run the following command which will perform a process hollowing of ciscod.exe and replace it with this POC process that sends the 2 IPC commands
ProcessHollowing.exe C:\Program Files(x86)\Cisco\Cisco HostScan\bin\ciscod.exe CVE-2021-1366.exe
  • 2 DLLs, dbghelp.dll and dbghelp_orig.dll, should be copied to C:\Program Files(x86)\Cisco\Cisco HostScan\bin\
  • Restart the service and wait for the malicious DLL to be loaded

References

https://www.coresecurity.com/core-labs/articles/analysis-cisco-anyconnect-posture-hostscan-local-privilege-escalation-cve-2021
https://www.coresecurity.com/core-labs/advisories/cisco-anyconnect-posture-hostscan-security-service-local-privilege-escalation
https://itm4n.github.io/dll-proxying/
https://github.com/ivkin25/Process-Hollowing

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.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    597
  • 3

    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.

    396
  • 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.

    319
  • 5

    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.

    274
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    260

Explore all tools

Browse our collection of tools

View all tools →