add: change PE metadata

maybe it's bad to generate it randomly, maybe it'd be better to use random real-words
This commit is contained in:
2023-09-04 20:30:18 +02:00
parent 45bc629176
commit d233a273a3
7 changed files with 165 additions and 1 deletions

10
gui.py
View File

@@ -13,7 +13,6 @@ TODO :
- Good entropy
- Good Section sizes
- Add resources
- Change PE metadata (company, description, etc...)
- Random Windows API calls (help)
- Code signing (optional)
@@ -22,12 +21,14 @@ Done :
- Junk code
- Control flow
- IAT obfuscation (adding "normal" imports in addition to the others)
- Change PE metadata (company, description, etc...)
"""
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QApplication
from PyQt5.QtCore import QCoreApplication
from obfuscation import obfuscate
from metadata import change_metadata
import os, shutil
class Ui_mainWindow(object):
@@ -168,6 +169,13 @@ class Ui_mainWindow(object):
self.label_2.setText("done.")
QCoreApplication.processEvents()
self.label_2.setText("Changing metadata...")
QCoreApplication.processEvents()
change_metadata()
self.label_2.setText("done.")
QCoreApplication.processEvents()
self.label_2.setText("Compiling...")
QCoreApplication.processEvents()