Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable DEP (Data Execution Protection) for Windows packages #15149

Merged
merged 2 commits into from
Dec 20, 2019

Conversation

andrewkroh
Copy link
Member

Add --nxcompat to the LD flags used to create the distributed binaries for Windows.
This enables Data Execution Protection for the Beat which marks data sections as
non-executable. Marking memory regions as non-executable means that code cannot be
run from that region of memory, which makes it harder for the exploitation of buffer
overruns.

You can verify DEP is enabled by checking Task Manager.

Screen Shot 2019-12-17 at 10 22 12 AM

Add --nxcompat to the LD flags used to create the distributed binaries for Windows.
This enables Data Execution Protection for the Beat which marks data sections as
non-executable. Marking memory regions as non-executable means that code cannot be
run from that region of memory, which makes it harder for the exploitation of buffer
overruns.
@andrewkroh
Copy link
Member Author

run beats-ci/package

Copy link
Contributor

@narph narph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andrewkroh andrewkroh merged commit 9c547ee into elastic:master Dec 20, 2019
andrewkroh added a commit to andrewkroh/beats that referenced this pull request Jan 13, 2020
…15149)

Add --nxcompat to the LD flags used to create the distributed binaries for Windows.
This enables Data Execution Protection for the Beat which marks data sections as
non-executable. Marking memory regions as non-executable means that code cannot be
run from that region of memory, which makes it harder for the exploitation of buffer
overruns.

(cherry picked from commit 9c547ee)
andrewkroh added a commit that referenced this pull request Jan 13, 2020
…15246)

Add --nxcompat to the LD flags used to create the distributed binaries for Windows.
This enables Data Execution Protection for the Beat which marks data sections as
non-executable. Marking memory regions as non-executable means that code cannot be
run from that region of memory, which makes it harder for the exploitation of buffer
overruns.

(cherry picked from commit 9c547ee)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants