Skip to content

Media For Tamper-Averse Humans. Encrypt and decrypt encapsulated AES-256 boot or transfer payloads, with NO DEPENDENCIES.

License

Notifications You must be signed in to change notification settings

NotsoanoNimus/MFTAH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media For Tamper-Averse Humans (MFTAH)

image

Encrypt and decrypt encapsulated AES-256 boot or transfer payloads with NO DEPENDENCIES.

This is a file format which encrypts/decrypts data payloads for generic use. It's not really anything novel, and its primary use is as a bootloader protocol from MBR/UEFI since it has no dependencies (not even the Standard Library).

In the future (version 2), this format will be extended to accommodate different algorithms for password hashing, HMACs, and symmetric cryptography. I may also venture into compression algorithms, which would add interesting behaviors and complexity to the format.

Crypto Backing

MFTAH provides CIA: Confidentiality of data (encryption), Integrity of the encapsulated payload (through HMACs), and Availability of the data because it is easily transmissible and securely storable.

Interestingly, it allows safe parallelization of AES-256's CBC (Cipher Block Chaining) mode without reusing initialization vector values, which is kind of new and cool (and probably useless).

Using It

Compile with make all; sudo make install to install the MFTAH headers and generate the libraries.

You can either use the libmftah as a static library (".a" file) or as a Dynamic Shared Object (/usr/local/lib/libmftah.so).

There is a Linux command-line tool that incorporates the static library in its build process. Building this can allow you to en/decapsulate payloads without any dependencies.

I suppose it is possible to use this under Windows, but I haven't really explored that yet and I'm not sure I will.

About

Media For Tamper-Averse Humans. Encrypt and decrypt encapsulated AES-256 boot or transfer payloads, with NO DEPENDENCIES.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published