Skip to main content

darklink

A tool to quickly transfer a file to or from a compromised system during security assessments.

Features

Unlike python3 -m http.server darklink will:

  • Generate the command for you to copy and paste on the compromised host.
  • Expose only the specific file you want to transfer, rather than the entire working directory.
  • Automatically fetch and transfer the latest versions of commonly used tools (e.g., winPEAS, linPEAS, mimikatz).
  • Allow you to exfiltrate files from the compromised host to your machine.

Tool Transfer

Install

pip3 install darklink

Usage

  • Transfering a file

    darklink drop --file ./exploits/gameoverlay.sh
    
  • Transfering one of the provided tools

    darklink drop --tool sharphound
    darklink drop --tool linpeas
    darklink drop --tool chisel --platform linux
    darklink drop --tool chisel --platform windows --arch 386
    
  • Exfiltration

    darklink exfil --file 20240302144505_BloodHound.zip
    

Provided tools

Tool Description
chisel Chisel is a fast TCP/UDP tunnel, transported over HTTP, secured via SSH.
LaZagne The LaZagne project is an open source application used to retrieve lots of passwords stored on a local computer.
LinEnum Scripted Local Linux Enumeration & Privilege Escalation Checks.
mimikatz A little tool to play with Windows security. It's now well known to extract plaintexts passwords, hash, PIN code and kerberos tickets from memory
winPEAS Windows local Privilege Escalation Awesome Script.
linPEAS Linux local Privilege Escalation Awesome Script.
PrivescCheck Privilege Escalation Enumeration Script for Windows.
pspy Monitor linux processes without root permissions.
RunasCs RunasCs is an utility to run specific processes with different permissions than the user's current logon provides using explicit credentials.
SharpHound C# Data Collector for BloodHound.
AccessChk AccessChk is a command-line tool for viewing the effective permissions on files, registry keys, services, processes, kernel objects, and more.
Procdump This command-line utility is aimed at capturing process dumps of otherwise difficult to isolate and reproduce CPU spikes.
PsExec Execute processes on remote systems.

Release files for darklink 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for darklink 1.0.0
File Size Uploaded
darklink-1.0.0.tar.gz 18.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for darklink 1.0.0
File Interpreter ABI Platform
darklink-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.0 kB

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page