Skip to content

Commit

Permalink
2024 new app compat/exploit prot stuff
Browse files Browse the repository at this point in the history
Might fix root folder name eventually :p
  • Loading branch information
Espionage724 authored Nov 9, 2024
1 parent 157eebb commit 5a9a231
Show file tree
Hide file tree
Showing 17 changed files with 163 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
:: Steam
:: https://store.steampowered.com/app/2791440/Brighter_Shores/
:: Brighter Shores.exe

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles(x86)%\Steam\steamapps\common\Brighter Shores\x64\Brighter Shores.exe" /t "REG_SZ" /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES" /f

:: End
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set-ProcessMitigation -PolicyFilePath "Exploit-Prot-XMLs\Brighter Shores Steam (Exploit Prot).xml"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<MitigationPolicy>
<AppConfig Executable="C:\Program Files (x86)\Steam\steamapps\common\Brighter Shores\x64\Brighter Shores.exe">
<DEP Enable="false" EmulateAtlThunks="false" />
<ASLR ForceRelocateImages="false" RequireInfo="false" BottomUp="false" HighEntropy="false" />
<StrictHandle Enable="false" />
<SystemCalls DisableWin32kSystemCalls="false" />
<ExtensionPoints DisableExtensionPoints="false" />
<DynamicCode BlockDynamicCode="false" AllowThreadsToOptOut="false" />
<ControlFlowGuard Enable="false" SuppressExports="false" StrictControlFlowGuard="false" />
<SignedBinaries MicrosoftSignedOnly="false" AllowStoreSignedBinaries="false" EnforceModuleDependencySigning="false" />
<Fonts DisableNonSystemFonts="false" AuditOnly="false" />
<ImageLoad BlockRemoteImageLoads="false" BlockLowLabelImageLoads="false" />
<Payload EnableExportAddressFilter="false" EnableImportAddressFilter="false" EnableRopStackPivot="false" EnableRopCallerCheck="false" EnableRopSimExec="false" />
<SEHOP Enable="false" TelemetryOnly="false" />
<Heap TerminateOnError="false" />
<ChildProcess DisallowChildProcessCreation="false" />
<UserShadowStack UserShadowStack="false" UserShadowStackStrictMode="false" />
</AppConfig>
</MitigationPolicy>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<MitigationPolicy>
<AppConfig Executable="C:\Program Files\FlightGear 2024.2\bin\fgfs.exe">
<DEP Enable="false" EmulateAtlThunks="false" />
<ASLR ForceRelocateImages="false" RequireInfo="false" BottomUp="false" HighEntropy="false" />
<StrictHandle Enable="false" />
<SystemCalls DisableWin32kSystemCalls="false" />
<ExtensionPoints DisableExtensionPoints="false" />
<DynamicCode BlockDynamicCode="false" AllowThreadsToOptOut="false" />
<ControlFlowGuard Enable="false" SuppressExports="false" StrictControlFlowGuard="false" />
<SignedBinaries MicrosoftSignedOnly="false" AllowStoreSignedBinaries="false" EnforceModuleDependencySigning="false" />
<Fonts DisableNonSystemFonts="false" AuditOnly="false" />
<ImageLoad BlockRemoteImageLoads="false" BlockLowLabelImageLoads="false" />
<Payload EnableExportAddressFilter="false" EnableImportAddressFilter="false" EnableRopStackPivot="false" EnableRopCallerCheck="false" EnableRopSimExec="false" />
<SEHOP Enable="false" TelemetryOnly="false" />
<Heap TerminateOnError="false" />
<ChildProcess DisallowChildProcessCreation="false" />
<UserShadowStack UserShadowStack="false" UserShadowStackStrictMode="false" />
</AppConfig>
</MitigationPolicy>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<MitigationPolicy>
<AppConfig Executable="C:\Program Files (x86)\Steam\steamapps\common\Unreal Tournament\System\UnrealTournament.exe">
<DEP Enable="false" EmulateAtlThunks="false" />
<ASLR ForceRelocateImages="false" RequireInfo="false" BottomUp="false" HighEntropy="false" />
<StrictHandle Enable="false" />
<SystemCalls DisableWin32kSystemCalls="false" />
<ExtensionPoints DisableExtensionPoints="false" />
<DynamicCode BlockDynamicCode="false" AllowThreadsToOptOut="false" />
<ControlFlowGuard Enable="false" SuppressExports="false" StrictControlFlowGuard="false" />
<SignedBinaries MicrosoftSignedOnly="false" AllowStoreSignedBinaries="false" EnforceModuleDependencySigning="false" />
<Fonts DisableNonSystemFonts="false" AuditOnly="false" />
<ImageLoad BlockRemoteImageLoads="false" BlockLowLabelImageLoads="false" />
<Payload EnableExportAddressFilter="false" EnableImportAddressFilter="false" EnableRopStackPivot="false" EnableRopCallerCheck="false" EnableRopSimExec="false" />
<SEHOP Enable="false" TelemetryOnly="false" />
<Heap TerminateOnError="false" />
<ChildProcess DisallowChildProcessCreation="false" />
<UserShadowStack UserShadowStack="false" UserShadowStackStrictMode="false" />
</AppConfig>
</MitigationPolicy>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:: https://forum.flightgear.org/viewtopic.php?f=42&t=42564
:: https://github.com/The-Fl3dd0x/flightgear/releases
:: 2024.2
:: fgfs.exe

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles%\FlightGear 2024.2\bin\fgfs.exe" /t "REG_SZ" /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES" /f

:: End
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set-ProcessMitigation -PolicyFilePath "Exploit-Prot-XMLs\FlightGear 2024.2 (Exploit Prot).xml"
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:: Steam
:: https://store.steampowered.com/app/13240/Unreal_Tournament_Game_of_the_Year_Edition/
:: UnrealTournament.exe

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles(x86)%\Steam\steamapps\common\Unreal Tournament\System\UnrealTournament.exe" /t "REG_SZ" /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\UnrealTournament.exe" /v "UseLargePages" /t "REG_DWORD" /d "1" /f

:: End
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set-ProcessMitigation -PolicyFilePath "Exploit-Prot-XMLs\UT99 Steam (Exploit Prot).xml"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<MitigationPolicy>
<AppConfig Executable="C:\Program Files\Microsoft\jdk-11.0.25.9-hotspot\bin\javaw.exe">
<DEP Enable="false" EmulateAtlThunks="false" />
<ASLR ForceRelocateImages="false" RequireInfo="false" BottomUp="false" HighEntropy="false" />
<StrictHandle Enable="false" />
<SystemCalls DisableWin32kSystemCalls="false" />
<ExtensionPoints DisableExtensionPoints="false" />
<DynamicCode BlockDynamicCode="false" AllowThreadsToOptOut="false" />
<ControlFlowGuard Enable="false" SuppressExports="false" StrictControlFlowGuard="false" />
<SignedBinaries MicrosoftSignedOnly="false" AllowStoreSignedBinaries="false" EnforceModuleDependencySigning="false" />
<Fonts DisableNonSystemFonts="false" AuditOnly="false" />
<ImageLoad BlockRemoteImageLoads="false" BlockLowLabelImageLoads="false" />
<Payload EnableExportAddressFilter="false" EnableImportAddressFilter="false" EnableRopStackPivot="false" EnableRopCallerCheck="false" EnableRopSimExec="false" />
<SEHOP Enable="false" TelemetryOnly="false" />
<Heap TerminateOnError="false" />
<ChildProcess DisallowChildProcessCreation="false" />
<UserShadowStack UserShadowStack="false" UserShadowStackStrictMode="false" />
</AppConfig>
</MitigationPolicy>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<MitigationPolicy>
<AppConfig Executable="C:\Program Files\Microsoft\jdk-17.0.13.11-hotspot\bin\java.exe">
<DEP Enable="false" EmulateAtlThunks="false" />
<ASLR ForceRelocateImages="false" RequireInfo="false" BottomUp="false" HighEntropy="false" />
<StrictHandle Enable="false" />
<SystemCalls DisableWin32kSystemCalls="false" />
<ExtensionPoints DisableExtensionPoints="false" />
<DynamicCode BlockDynamicCode="false" AllowThreadsToOptOut="false" />
<ControlFlowGuard Enable="false" SuppressExports="false" StrictControlFlowGuard="false" />
<SignedBinaries MicrosoftSignedOnly="false" AllowStoreSignedBinaries="false" EnforceModuleDependencySigning="false" />
<Fonts DisableNonSystemFonts="false" AuditOnly="false" />
<ImageLoad BlockRemoteImageLoads="false" BlockLowLabelImageLoads="false" />
<Payload EnableExportAddressFilter="false" EnableImportAddressFilter="false" EnableRopStackPivot="false" EnableRopCallerCheck="false" EnableRopSimExec="false" />
<SEHOP Enable="false" TelemetryOnly="false" />
<Heap TerminateOnError="false" />
<ChildProcess DisallowChildProcessCreation="false" />
<UserShadowStack UserShadowStack="false" UserShadowStackStrictMode="false" />
</AppConfig>
</MitigationPolicy>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
:: Microsoft Build of OpenJDK 11
:: https://learn.microsoft.com/en-us/java/openjdk/download
:: javaw.exe

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles%\Microsoft\jdk-11.0.25.9-hotspot\bin\javaw.exe" /t "REG_SZ" /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES" /f

:: End
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set-ProcessMitigation -PolicyFilePath "Exploit-Prot-XMLs\Microsoft OpenJDK 11 (Exploit Prot).xml"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
:: Microsoft Build of OpenJDK 17
:: https://learn.microsoft.com/en-us/java/openjdk/download
:: java.exe

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles%\Microsoft\jdk-17.0.13.11-hotspot\bin\java.exe" /t "REG_SZ" /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES" /f

:: End
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set-ProcessMitigation -PolicyFilePath "Exploit-Prot-XMLs\Microsoft OpenJDK 17 (Exploit Prot).xml"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<MitigationPolicy>
<AppConfig Executable="C:\Windows\System32\ntoskrnl.exe">
<DEP Enable="false" EmulateAtlThunks="false" />
<ASLR ForceRelocateImages="false" RequireInfo="false" BottomUp="false" HighEntropy="false" />
<StrictHandle Enable="false" />
<SystemCalls DisableWin32kSystemCalls="false" />
<ExtensionPoints DisableExtensionPoints="false" />
<DynamicCode BlockDynamicCode="false" AllowThreadsToOptOut="false" />
<ControlFlowGuard Enable="false" SuppressExports="false" StrictControlFlowGuard="false" />
<SignedBinaries MicrosoftSignedOnly="false" AllowStoreSignedBinaries="false" EnforceModuleDependencySigning="false" />
<Fonts DisableNonSystemFonts="false" AuditOnly="false" />
<ImageLoad BlockRemoteImageLoads="false" BlockLowLabelImageLoads="false" />
<Payload EnableExportAddressFilter="false" EnableImportAddressFilter="false" EnableRopStackPivot="false" EnableRopCallerCheck="false" EnableRopSimExec="false" />
<SEHOP Enable="false" TelemetryOnly="false" />
<Heap TerminateOnError="false" />
<ChildProcess DisallowChildProcessCreation="false" />
<UserShadowStack UserShadowStack="false" UserShadowStackStrictMode="false" />
</AppConfig>
</MitigationPolicy>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set-ProcessMitigation -PolicyFilePath "Exploit-Prot-XMLs\ntoskrnl (Exploit Prot).xml"

0 comments on commit 5a9a231

Please sign in to comment.