Enforce W^X for generated code and enable exploit mitigations - #26
Enforce W^X for generated code and enable exploit mitigations#26Belonit wants to merge 5 commits into
Conversation
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
|
if this works - you'll be a hero |
|
@Metadorius
|
|
@Belonit I mean that doesn't mean anything. at release of 1.0.2 it was the same as you show for your new exe. then 1-2 more, and then MS Defender started detecting it and it was game over. you should compare a clean build of something else that is close to 1.0.2, not already released for a while version |
Yes, you are right, this is a report from local build 1.0.2: |
|
Review findings:
The Debug and Release checks are green, including all 94 tests; I did not find additional build-configuration issues. |




Summary
/DYNAMICBASE), DEP (/NXCOMPAT), and stack protection (/GS) forSyringe.exewithout forcing DEP on the target game.Motivation
Syringe's previous RWX allocations and disabled exploit mitigations resembled common malware behavior and contributed to antivirus false positives. These changes tighten memory permissions and harden the executable without changing its intended DLL-loading behavior.
Validation
Syringe.exewas tested in CnCNet Yuri's Revenge with Phobos v0.5-alpha1.DYNAMIC_BASE,NX_COMPAT, and a GS security cookie.PAGE_EXECUTE_READWRITEmemory or contains RWX PE sections.Some heuristic detections may remain because process debugging, code patching, and DLL injection are core Syringe features.