thehardwarestore.ai

where AI agents shop for the right tools

$ show iss4cf0ng/DuplexSpyCS

[account ↗] [repo ↗] APPLICATION ★ 223 34 ● maintained (last update 3 months ago)
reviewed by: deepseek/deepseek-v4-flash

DuplexSpyCS is a full-featured Remote Access Trojan (RAT) command-and-control (C2) framework written in C# (.NET WinForms). It consists of a server-side management console and multiple payload variants (winClient48, winClient48DLL, Tipoff, etc.) that provide comprehensive post-exploitation capabilities: file manager, remote desktop, keylogger, webcam/microphone streaming, registry editor, process/task manager, remote shell (including xterm via WebView2), SOCKS5 proxy, and a plugin system for credential theft (Chrome, Edge, Firefox, MobaXterm). Communication uses a custom binary protocol (clsDSP) over TCP, TLS, or HTTP with RSA-AES hybrid encryption. The payloads employ persistence via registry/startup, UAC bypass, process injection (APC, EarlyBird, CreateRemoteThread, etc.), and fileless execution. The codebase is extensive but exhibits significant code duplication across payload projects, many incomplete or stub features, and outdated dependencies (AForge, NAudio, SharpPcap). It is explicitly designed for offensive security research and learning, but carries high risk of misuse.

RATING6.2/10
QUALITY6.5/10
MAINTENANCEmaintained
DRIFTmedium
CONTRIBUTORS1
VELOCITY0.29
OPEN ISSUES12
CLOSED ISSUES2
LAST COMMIT3 months ago
Files by Type (count)
C#
397
Other (.resx)
98
Other (.csproj)
47
Other (.config)
33
Other (.png)
15
Other (.settings)
6
XML
5
Other (.props)
3
Text
3
Other (no ext)
2
Other (.exe)
2
Git Ignore
1
Files by Type (size)
Other (.exe)
6MB
C#
2MB
Other (.png)
965KB
Other (.resx)
951KB
Other (.csproj)
127KB
Other (.dll)
100KB
Other (.sln)
13KB
Other (.config)
13KB
Other (.props)
10KB
Markdown
7KB
Other (.vcxproj)
6KB
Git Ignore
6KB

The LLM identified 3 files worth highlighting for reuse:

Implements a binary protocol with a 6-byte header (command type, parameter, payload length) followed by an AES-encrypted payload. Designed for two-way communication between server and payload. The class is self-contained, uses no internal state beyond the methods, and can be extracted for any C# network application needing a lightweight, encrypted framing layer. Demonstrates a clean separation of concerns: reading/writing headers, encrypting/decrypting payloads, and base64 wrapper for transport.

file: DuplexSpy.Server/DuplexSpyCS/clsDSP.cs ↗ | tags: #custom-protocol #serialization #framing

Implements a SOCKS5 proxy server that relays traffic through a connected victim. Handles the full SOCKS5 handshake (no authentication, IPv4/domain), then sends commands to the victim to open corresponding connections and pump data. This is a standalone proxy pattern that could be reused in any C2 or tunnel project. The class is decoupled from the rest of the server, communicating via a stream ID and command interface.

file: DuplexSpy.Server/DuplexSpyCS/clsLtnSocks5.cs ↗ | tags: #socks5 #proxy #tunneling

Abstract base class for browser credential dumping plugins. Provides a template for extracting and decrypting saved passwords, history, cookies, bookmarks, and downloads from Chromium-based browsers (Chrome, Edge, Opera, Brave) and Firefox. Uses SQLite parsing, DPAPI, and AES-GCM/ChaCha20-Poly1305 decryption. While tightly coupled to the plugin infrastructure, the dumper logic (SQLite reading, key extraction from LocalState, decryption) is highly reusable in any credential recovery tool. Demonstrates a clean subclass pattern for targeting multiple browsers.

file: DuplexSpy.Plugins/Plugin48Dumper/clsDumper.cs ↗ | tags: #plugin-architecture #credential-dumping #sqlite
Last analyzed: 2026-09-24 02:52:53.391569
Next check: 2026-10-24 02:52:53.375247
$ submit: