How to disable ASLR on per-executable basis?

Discussion in 'Windows 10' started by OpenSourceGhost, Apr 8, 2023.

  1. OpenSourceGhost

    OpenSourceGhost MDL Member

    Feb 14, 2022
    170
    24
    10
    I enforced ASLR with:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel]
    "MitigationOptions"=hex:00,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00

    Now I have a program that doesn't start because of it. How do I add exceptions to ASLR on per-executable basis without disabling mitigatin tweak listed above?
     
  2. OpenSourceGhost

    OpenSourceGhost MDL Member

    Feb 14, 2022
    170
    24
    10
    I hope so. Right-click context entry would be best.