Pentesting Tools

BurpSuite-Xkeys : Mastering Key And Token Extraction For Web Security

Xkeys is a Burp Suite extension designed to extract interesting strings such as keys, secrets, and tokens from web pages. It operates as a passive scanner, identifying these strings and listing them as information issues within Burp Suite.

This article will delve into the setup, usage, and functionality of the Xkeys extension.

Setup And Requirements

To use Xkeys, you need to set up a Python environment in Burp Suite by providing the Jython.jar file. Here are the steps:

  1. Download Xkeys: Obtain the BurpSuite-Xkeys.zip file.
  2. Install Extension: In Burp Suite, go to the ‘Extensions’ tab under ‘Extender’, select ‘Add’, and choose ‘Python’ as the extension type. Provide the path to the “Xkeys.py” file.
  3. Requirements: Ensure you have Jython 2.7.0 and Burp Suite Pro installed.

Once installed, Xkeys will start identifying assets through a passive scan.

It searches for strings in various formats, such as {keyword}=<value>, {keyword} = <value>, {keyword}'='<value>', etc., and reports them as issues in the Burp Suite interface.

Xkeys can extract values from a wide range of formats, including but not limited to:

  • Key-Value Pairs: {keyword}=<value>, {keyword} = <value>, {keyword}'='<value>', {keyword}"="<value>"
  • Colon Separated: {keyword}:"<value>", {keyword}": "<value>"

These extracted values are displayed in the issues box and output extender within Burp Suite.

Xkeys is beneficial for security testing and bug bounty hunting by helping identify potential security issues related to exposed secrets or tokens.

The extension credits include PortSwigger’s example-scanner-checks and RedHuntLabs’ BurpSuite-Asset_Discover, with contributions from the Sec7or Team and Surabaya Hacker Link.

In summary, Xkeys is a valuable tool for web application security testing, providing insights into potentially sensitive information exposed on web pages.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Playwright-MCP : A Powerful Tool For Browser Automation

Playwright-MCP (Model Context Protocol) is a cutting-edge tool designed to bridge the gap between AI…

2 weeks ago

JBDev : A Tool For Jailbreak And TrollStore Development

JBDev is a specialized development tool designed to streamline the creation and debugging of jailbreak…

2 weeks ago

Kereva LLM Code Scanner : A Revolutionary Tool For Python Applications Using LLMs

The Kereva LLM Code Scanner is an innovative static analysis tool tailored for Python applications…

2 weeks ago

Nuclei-Templates-Labs : A Hands-On Security Testing Playground

Nuclei-Templates-Labs is a dynamic and comprehensive repository designed for security researchers, learners, and organizations to…

2 weeks ago

SSH-Stealer : The Stealthy Threat Of Advanced Credential Theft

SSH-Stealer and RunAs-Stealer are malicious tools designed to stealthily harvest SSH credentials, enabling attackers to…

2 weeks ago

ollvm-unflattener : A Tool For Reversing Control Flow Flattening In OLLVM

Control flow flattening is a common obfuscation technique used by OLLVM (Obfuscator-LLVM) to transform executable…

2 weeks ago