How To Install python3-donut on Kali Linux
Introduction
In this tutorial we learn how to install python3-donut
on Kali Linux.
What is python3-donut
python3-donut is:
Donut is a position-independent code that enables in-memory execution of VBScript, JScript, EXE, DLL files and dotNET assemblies. A module created by Donut can either be staged from a HTTP server or embedded directly in the loader itself. The module is optionally encrypted using the Chaskey block cipher and a 128-bit randomly generated key. After the file is loaded and executed in memory, the original reference is erased to deter memory scanners. The generator and loader support the following features: - Compression of input files with aPLib and LZNT1, Xpress, Xpress Huffman via RtlCompressBuffer. - Using entropy for API hashes and generation of strings. - 128-bit symmetric encryption of files. - Patching Antimalware Scan Interface (AMSI) and Windows Lockdown Policy (WLDP). - Patching command line for EXE files. - Patching exit-related API to avoid termination of host process. - Multiple output formats: C, Ruby, Python, PowerShell, Base64, C#, Hexadecimal.
This package installs the Python 3 module.
There are three methods to install python3-donut
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install python3-donut Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python3-donut
using apt-get
by running the following command:
sudo apt-get -y install python3-donut
Install python3-donut Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python3-donut
using apt
by running the following command:
sudo apt -y install python3-donut
Install python3-donut Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python3-donut
using aptitude
by running the following command:
sudo aptitude -y install python3-donut
How To Uninstall python3-donut on Kali Linux
To uninstall only the python3-donut
package we can use the following command:
sudo apt-get remove python3-donut
Uninstall python3-donut And Its Dependencies
To uninstall python3-donut
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove python3-donut
Remove python3-donut Configurations and Data
To remove python3-donut
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge python3-donut
Remove python3-donut configuration, data, and all of its dependencies
We can use the following command to remove python3-donut
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-donut
Dependencies
python3-donut have the following dependencies:
References
Summary
In this tutorial we learn how to install python3-donut
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.