Malware Embedding Tool & Library
The purpose of this library is to provide a quick and easy way to test various methods of malware injection.
Similar to what was performed by Malware Researchers back in 2019 appending benign bytes to a malicious file to circumvent both signature and next generation endpoint protection products.
Two methods are available:
AppendBytesFromFile(byte[] source, string embedFileName)
AppendBytesFromBytes(byte[] source, byte[] embedBytes)
A more advanced method is to convert the bytes to a base64 encoded string and then decrypt the string on execution.
Four methods are available:
InjectMalwareFromTemplate(BuiltInTemplates template, string malwareFileName)
InjectMalwareFromTemplate(string templateName, string malwareFileName)
InjectMalwareFromFile(string sourceFileName, string malwareFileName)
InjectMalwareFromFile(string sourceFileName, Dictionary arguments)