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
MALW — CVE-2007-4559 - Polemarch exploit | Kitploit
Tools/GitHubGitHub/ooscaar/malw
Vulnerability AnalysisExploitationMalware AnalysisCryptographyCommand and ControlPayload Development
GitHubooscaar/malw

MALW

CVE-2007-4559 - Polemarch exploit

View Repository
313 years agoNot yet reviewed
Share

CVE-2007-4559 - Polemarch exploit

Full working exploit for Polemarch server https://www.polemarch.org/, using CVE-2007-4559, allowing:

  • Injection of a cryptominer for monero using TOR for better hiding.
  • Injection of a rootkit targeting most common sysadmin tools.

POC

Proof of concept using https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4559 and based on the work from https://www.trellix.com/en-us/about/newsroom/stories/research/tarfile-exploiting-the-world.html.

Directories to attack

We want to be able to deploy the following files into a Polemarch server:

  • /usr/local/lib
    • -> rootkit.so: library to do the preloading
  • /etc
    • -> ld.so.preload: loader configuration file
  • /opt/polemarch/bin
    • -> polemarchctl: infected docker entry point
  • /usr/bin
    • -> xmring: miner
    • -> tor: tor
    • -> shellcode: obfuscated shellcode responsible for starting the miner and tor

Note: in the real exploit we would change some names to avoid detection.

Notes

  • Binary files MUST have executable permissions
  • Tar's can not be deployed twice
  • Malware will be placed in an auxiliar folder which will be symlinked to target folder

Instructions

In order to deploy the malware we will have to set up the following:

  • Compilation of necessary binaries
  • Set up Polemarch server and malicious server hosting infected tar
  • Upload infected tar into Polemarch server

Compile binaries

We will need to compile the rootkit shared library and the shellcode:

$(rootkit): make
$(shellcode): gcc -z execstack -m32 -o shellcode shell.c

Polemarch server and malicious server

We have created a docker-compose which will:

  • Set up a vulnerable Polemarch server at http://localhost:8080
  • Generate an infected tar with all the necessary files
  • Set up an auxiliary python server hosting the malicous tar at http://energyplus.com/project.tar.gz (only accessible from the docker)
$: docker compose build 
$: docker compose up -d

Upload infected tar

Log in to the polemarch server using default password (admin/admin) and create a project with the compromised tar file:

Peek 2023-01-10 20-55

Now, next time the docker is restarted, the miner and tor will be executed into the polemarh server.

Disclaimer

This project is for research purposes only and should not be used for any illegal or malicious activities. The creators of this project are not responsible for any harm or damage caused by the misuse of this software.

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.

    927
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    555
  • 3

    redforge

    cybersecurity91/redforge

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

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

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

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

    289

Explore all tools

Browse our collection of tools

View all tools →