A security-oriented payload encryption tool written in Python.
Project description
Kryptoxin
Description
Kryptoxin is a Python tool allowing you to quickly and easily generate encrypted payloads. It supports various object types and various programming languages. This software is intended for use in the security field for storing encrypted objects on target hosts. It can also be used for concealing scripts and binary objects from scrutiny.
The name Kryptoxin
comes from the contraction of Kryptos
(meaning conceal
, hidden
or secret
in Greek) and the word Toxin
(meaning poison
). As the name implies, the intended goal of this project is to provide a fast and efficient way of concealing or hiding payloads such as implants, thus avoiding AV and EDR detection. Most of our templates are "living off the land", using libraries and encryption routines commonly found in base operating systems installations.
Features
The features below are currently supported, or are planned to be released in the near future:
- Provides encryption algorithms such as the
Advanced Encryption Standard
orAES
. - Provides decryption of base64 encoded ciphertext.
- Handles
Text Files
,Scripts
,Portable Executables (PE)
,Dynamic Link Libraries (DLLs)
, andshellcodes
. - Generates compact, portable scripts or source codes as outputs for the below programming languages (not yet available):
- PowerShell
- C
- C++
- C# (.NET)
- Supports multiple block cipher algorithms, key sizes and modes of operations, such as
AES256-CBC
. - Implements key derivations functions such as
PBKDF2
. - Offers proper encoding and formatting schemes for usage-specific variables.
- Supports out-of-band key storage, with conditional trigger mechanisms (not yet available).
- Includes scripts and source code templates to be used for security-related tasks and experimentation (not yet available).
Installation
With pip (latest release)
pip install kryptoxin
With git (development version)
git clone https://github.com/e3prom/kryptoxin
cd kryptoxin
sudo make install
Usages
Read, Encrypt and Decrypt from stdin
$ echo -n 'test' | python -m kryptoxin encrypt -k 1234
tRQYHkQkS9Z7z7i7rzmJSPTuOfE2UUUERsR9CRtdwSM=
$ echo -n 'tRQYHkQkS9Z7z7i7rzmJSPTuOfE2UUUERsR9CRtdwSM=' | \
> python -m kryptoxin decrypt -k 12345
test
Read and Encrypt from a file
$ python -m kryptoxin encrypt -k 12345 -i input_file.txt
tRQYHkQkS9Z7z7i7rzmJSPTuOfE2UUUERsR9CRtdwSM=
Encrypt using AES-128-CBC
$ echo -n 'test' | python -m kryptoxin encrypt -k 12345 --alg aes --key_size 128 --mode CBC
Z+1df03i+mSayvEFYB+rmB55N4dYoz7Rbr2LhzNjqH8=
Documentation
You can directly visit the online documentation or build it locally using the make docs
command.
License
Kryptoxin is released under the AGPL-3 license. See LICENSE for more detail.
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
Built Distribution
File details
Details for the file kryptoxin-0.9.4.tar.gz
.
File metadata
- Download URL: kryptoxin-0.9.4.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd6fe1cab3cf0e7ecb7b8a1f3fe7463a86ea1ee2c0ae3f0a3697db21f80734e4 |
|
MD5 | d8bd8701c527d2a98bdecbe26c6346d9 |
|
BLAKE2b-256 | 72fa4e7041a0a9ab2f09df3c7857d1d63294d759b7025d1cb4c95fadeb4e4d3f |
File details
Details for the file kryptoxin-0.9.4-py3-none-any.whl
.
File metadata
- Download URL: kryptoxin-0.9.4-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8371eef61499afa6101a7853540e611de7d19e90734a7bea48c6fe4f52425b9 |
|
MD5 | e4281728a2839485d8fe89e78cfb640e |
|
BLAKE2b-256 | 87912192262374419d2d52b17a6208ac35d9deadb32fd5437ff77a626faa6aab |