Skip to content
Back to search

Setting-up-HexStrike-MCP-Server-on-Kali-linux-with-Claude-desktop

Cybersecurity with Networkwalks Week 3

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/daniela84ivanova-maker--setting-up-hexstrike-mcp-server-on-kali-linux-with-claude-desktop/badge.svg)](/listings/daniela84ivanova-maker--setting-up-hexstrike-mcp-server-on-kali-linux-with-claude-desktop)

HTML

<a href="/listings/daniela84ivanova-maker--setting-up-hexstrike-mcp-server-on-kali-linux-with-claude-desktop"><img src="/api/listings/daniela84ivanova-maker--setting-up-hexstrike-mcp-server-on-kali-linux-with-claude-desktop/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Download and install Claude Desktop using the following commands.

Add the GPG key:

curl -fsSL https://pkg.claude-desktop-debian.dev/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/claude-desktop.gpg

Add the repository:

echo "deb [signed-by=/usr/share/keyrings/claude-desktop.gpg arch=amd64,arm64] https://pkg.claude-desktop-debian.dev stable main" | sudo tee /etc/apt/sources.list.d/claude-desktop.list

Update package lists and install Claude Desktop:

sudo apt update sudo apt install claude-desktop

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 118 lines
  1. Cybersecurity with Networkwalks Week 3
  2. # Password Hash Extraction and Cracking Using John the Ripper (JtR) and AI
  3. # Project Overview
  4. This project explores AI-assisted password recovery using John the Ripper (JtR), Hexstrike-AI, and Claude Desktop in a Kali Linux virtual machine.
  5. The objective was to configure an AI-assisted cybersecurity environment and use it to extract password hashes from three password-protected PDF files and perform password-cracking attempts.
  6. # Lab Environment
  7. Operating System: Kali Linux (Virtual Machine)
  8. AI Assistant: Claude Desktop
  9. MCP Server: Hexstrike-AI
  10. Password Cracking Tool: John the Ripper (JtR)
  11. Protocol: Model Context Protocol (MCP)
  12. # Task 1: Setting Up Hexstrike-AI MCP Server with Claude Desktop
  13. # Step 1: Install Claude Desktop on Kali Linux
  14. Download and install Claude Desktop using the following commands.
  15. Add the GPG key:
  16. curl -fsSL https://pkg.claude-desktop-debian.dev/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/claude-desktop.gpg
  17. Add the repository:
  18. echo "deb [signed-by=/usr/share/keyrings/claude-desktop.gpg arch=amd64,arm64] https://pkg.claude-desktop-debian.dev stable main" | sudo tee /etc/apt/sources.list.d/claude-desktop.list
  19. Update package lists and install Claude Desktop:
  20. sudo apt update
  21. sudo apt install claude-desktop
  22. # Step 2: Download and Configure Hexstrike-AI
  23. Clone the Hexstrike-AI GitHub repository:
  24. git clone https://github.com/0x4m4/hexstrike-ai.git
  25. cd hexstrike-ai
  26. Create a Python virtual environment:
  27. python3 -m venv hexstrike-env
  28. Activate the virtual environment:
  29. source hexstrike-env/bin/activate
  30. Install the required Python dependencies:
  31. pip3 install -r requirements.txt
  32. Step 3: Start the Hexstrike-AI Server
  33. Navigate to the project directory, activate the virtual environment, and start the server:
  34. cd ~/hexstrike-ai
  35. source hexstrike-env/bin/activate
  36. python3 hexstrike_server.py
  37. Step 4: Configure the MCP Server in Claude Desktop
  38. Edit the Claude Desktop MCP configuration file and add the following configuration:
  39. {
  40. "mcpServers": {
  41. "hexstrike-ai": {
  42. "command": "/home/kali/hexstrike-ai/hexstrike-env/bin/python",
  43. "args": [
  44. "/home/kali/hexstrike-ai/hexstrike_mcp.py",
  45. "--server",
  46. "http://localhost:8888"
  47. ]
  48. }
  49. }
  50. }
  51. Refer to the Hexstrike-AI GitHub repository for configuration instructions.
  52. # Task 2: Password Hash Extraction and Cracking Using John the Ripper (JtR) and AI
  53. # Lab Environment
  54. Hexstrike-AI MCP Server
  55. Claude Desktop
  56. Kali Linux Virtual Machine
  57. John the Ripper (JtR)
  58. # Objective
  59. Extract password hashes from three password-protected PDF files and use John the Ripper to perform password-cracking attempts.
  60. Claude Desktop was used to interact with the Hexstrike-AI MCP server through prompts, assisting with the password recovery workflow.
  61. # Key Activities
  62. Extract password hashes from three PDF files.
  63. Use John the Ripper to attempt to crack the extracted hashes.
  64. Interact with AI-assisted security tools using Claude prompts.
  65. Review and document the password-cracking results.
  66. # Results

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.