flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
yuhg
What can I add to my program so that I can utilize DEP and ASLR?
|
|||
![]() |
|
yuhg
revolution wrote: Add a relocation (fixups) section. I followed the instructions in your post and DEP/ASLR are still not being enabled. ![]() |
|||
![]() |
|
yuhg
Even when I have FileHeader.OptionalHeader.DllCharacteristics set, ASLR is not being enabled.
![]() Is there something I'm missing? |
|||
![]() |
|
nmaps
revolution wrote: Don't mark your code sections as readable or writeable. !code sections should most definitely be readable in case data is stored there. I've yet to see a .text section that isn't read | execute. You'd have to be assured by the compiler that nothing is stored there (ie import directory). |
|||
![]() |
|
revolution
nmaps wrote: !code sections should most definitely be readable in case data is stored there. I've yet to see a .text section that isn't read | execute. You'd have to be assured by the compiler that nothing is stored there (ie import directory). |
|||
![]() |
|
revolution
This also might help:
Code: format pe nx
;... |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.