Squiblydoo / debloat

A GUI and CLI tool for removing bloat from executables
BSD 3-Clause "New" or "Revised" License
301 stars 25 forks source link

Cert support #33

Closed Squiblydoo closed 1 month ago

Squiblydoo commented 1 month ago

This branch adds a capability to maintain the certificate on the executable. By default, the certificate will be removed due to becoming invalid and to reduce confusion regarding whether the cert was valid or not to begin with.

Both the CLI and GUI have options for maintaining the certificate.

Squiblydoo commented 1 month ago

I performed performance testing and everything appears to be working as expected. Tactics 8 and 11 are expected to fail at this time. These fail due to having no solution implemented. Tactic 9 fails and is intended to fail fast. Tactic 9 has a high entropy overlay. This problem has partial support and is not tested here. Tactic-3 and tactic10; tactic-6 and tactic12; are each known to share a result code at this time. The execution flow is not unique enough at this time to distinguish these tactics.

7 7 7 7 tactic-7 1.264GB 1.287GB [12.7, 12.48, 12.44]
0 0 0 0 tactic-8 307.925MB 308.269MB [2.29, 2.31, 2.33]
0 0 0 0 tactic-9 734.451MB 734.831MB [0.21, 0.2, 0.2]
3 3 3 3 tactic-10 762.939MB 771.622MB [3.12, 3.14, 3.25]
0 0 0 0 tactic-11 307.925MB 308.269MB [2.31, 2.38, 2.45]
3 3 3 3 tactic-3 726.000MB 781.341MB [3.44, 3.41, 3.36]
2 2 2 2 tactic-2 762.939MB 794.631MB [2.75, 2.93, 3.22]
6 6 6 6 tactic-12 320.149MB 342.974MB [4.94, 4.79, 4.78]
6 6 6 6 tactic-6 300.348MB 308.883MB [4.4, 4.39, 4.39]
1 1 1 1 tactic-1 738.980MB 740.699MB [0.0, 0.0, 0.0]
4 4 4 4 tactic-4 439.726MB 525.557MB [2.76, 3.03, 2.76]