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
Tools/GitHubGitHub/dodo-sec/kpot-string-decrypter
Static AnalysisEncryption/Decryption ToolsReverse EngineeringMalware AnalysisBinary Analysis
GitHubdodo-sec/kpot-string-decrypter

KPOT-string-decrypter

IDA python scripts to decrypt strings from KPOT and set those as comments

View Repository
6413 years agoNot yet reviewed
Share

KPOT-string-decrypter

IDA python scripts for decrypting KPOT stealer's strings and setting those as comments next to the var that would receive them during runtime. It works as follows:

  • Gets the offset that's passed on eax to either decryption function (there are two, which is why this repo has two scripts), either using mov or pop eax.

  • Decrypts the string on an array by reading its corresponding size and XOR key

  • Prints the decrypted string and the offset of where it was set as a comment, as well as any strings it couldn't decrypt (see Important Considerations below)

Important Considerations

  • There are a few instances in the code where the malware will use a different method than those accounted for in the scripts. You can find those cases by following the addresses with the message Could not decrypt xref: and decrypt them by supplying the offset manually to the relevant functions.

  • The script converts the decrypted array into a string via decode(). In my experience there are three byte arrays decrypted by KPOT that are not strings, which causes the script to crash. These are the offsets that are ignored in kpot-string-decrypter-pt1.py.

    • The offsets corresponding to these might change between samples (I haven't checked). If that happens, adding a line to search_offset() that prints the current address can help you find where the script is crashing.
    • To decrypt these strings manually, all you need to do is change the return of decrypt_str() to return(newarray.hex()).
  • To know which of the two scripts to use, check the decryption routine - pt1 is meant for the sub that does only a byte XOR, while pt2 is meant for the one that does AND 0xFF after the XOR.

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.

    732
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    506
  • 3

    ARTEX

    baarai/artex

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

    405
  • 4

    redforge

    cybersecurity91/redforge

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

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

    261
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259

Explore all tools

Browse our collection of tools

View all tools →