Skip to content

[Security] Fixes Windows quarantine path for Elastic Defend - #7942

Open
natasha-moore-elastic wants to merge 1 commit into
mainfrom
issue-7684
Open

[Security] Fixes Windows quarantine path for Elastic Defend#7942
natasha-moore-elastic wants to merge 1 commit into
mainfrom
issue-7684

Conversation

@natasha-moore-elastic

Copy link
Copy Markdown
Contributor

Corrects the Windows quarantine file location for Elastic Defend and removes an outdated version split.

Resolves #7684

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@natasha-moore-elastic
natasha-moore-elastic requested a review from a team as a code owner August 13, 2026 08:37
@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Comment on lines +140 to +142
* Windows:
* Quarantined file: `[DriveLetter:]\.equarantine` on the same volume as the original file (for example, `C:\.equarantine`)
* Quarantine metadata (`.mdata`) and the quarantine state file: `C:\Program Files\Elastic\Endpoint\state\.equarantine` for files from every volume

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not so sure. cc @matthewscherer

  1. Quarantined file per-volume, yes, agreed 👍 (GetQuarantineDirectoryPath)

  2. For .mdata living in state\.equarantine\, tho, I don't think that's right. Tracing the write path:

    Which makes: C:\Program Files\Elastic\Endpoint\state\<GUID>.mdata. The only thing in state\.equarantine\ is the internal state index then, per CreateStateFileLoadState.

Suggested change
* Windows:
* Quarantined file: `[DriveLetter:]\.equarantine` on the same volume as the original file (for example, `C:\.equarantine`)
* Quarantine metadata (`.mdata`) and the quarantine state file: `C:\Program Files\Elastic\Endpoint\state\.equarantine` for files from every volume
* Windows:
* Quarantined file: `[DriveLetter:]\.equarantine` on the same volume as the original file (for example, `C:\.equarantine`)
* Quarantine metadata (`.mdata`): `C:\Program Files\Elastic\Endpoint\state` for files from every volume

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch, I relied on the info from the Slack thread, but let's see if @matthewscherer can confirm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Website]: Configure an integration policy for Elastic Defend - Manage quarantined files Error

2 participants