A tool to quickly transfer a file to or from a compromised system
Project description
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.
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. |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
darklink-1.0.0.tar.gz
(18.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
darklink-1.0.0-py3-none-any.whl
(23.4 kB
view details)
File details
Details for the file darklink-1.0.0.tar.gz.
File metadata
- Download URL: darklink-1.0.0.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.7 Linux/6.6.19-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4965fe0856a0380097b562c750d2308385909fada604bc29790d02263ba6f939
|
|
| MD5 |
00263af1184626164e814fb9f6e66d2b
|
|
| BLAKE2b-256 |
b02e70667131d8fb20b3d028bca8a5c5a523ba60f7374d045ebc002c648da7dc
|
File details
Details for the file darklink-1.0.0-py3-none-any.whl.
File metadata
- Download URL: darklink-1.0.0-py3-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.7 Linux/6.6.19-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b81b6319cae59381e737de29f5eae84483af2b64d50e05d56b626bceb3cfc6a
|
|
| MD5 |
bc5a54591ec73b6d936d708521a0668b
|
|
| BLAKE2b-256 |
af0c4c58f97fbba600ce025daea6b6c98bb206c8048fd32c234e5c3cae63d960
|