Skip to content

feat(windows,system): populate registry.path for Security registry events#17931

Merged
marc-gr merged 5 commits intoelastic:mainfrom
marc-gr:fix-registry-path-4657
Mar 30, 2026
Merged

feat(windows,system): populate registry.path for Security registry events#17931
marc-gr merged 5 commits intoelastic:mainfrom
marc-gr:fix-registry-path-4657

Conversation

@marc-gr
Copy link
Copy Markdown
Contributor

@marc-gr marc-gr commented Mar 20, 2026

Summary

Populate ECS registry.path from winlog.event_data.ObjectName for Windows Security registry-related audit events:

  • 4657 (registry value modified): always mapped when ObjectName is present
  • 4656, 4658, 4660, 4661, 4662, 4663: only when winlog.event_data.ObjectType is Key, so file paths and AD/DS objects are not copied to registry.path

Packages

  • windows forwarded data stream (security_standard.yml) → 3.7.0
  • system security data stream (standard.yml) → 2.14.0

…ents

Map ECS registry.path from winlog.event_data.ObjectName for event 4657 and
for 4656/4658/4660/4661/4662/4663 when ObjectType is Key so file and AD
objects are not mapped.

Bump windows integration to 3.7.0 and system integration to 2.14.0.
@marc-gr marc-gr requested review from a team as code owners March 20, 2026 15:32
@marc-gr marc-gr requested review from leehinman and mauri870 March 20, 2026 15:32
@marc-gr marc-gr added enhancement New feature or request Integration:windows Windows Integration:system System Team:Security-Windows Platform Security Windows Platform team [elastic/sec-windows-platform] labels Mar 20, 2026
@elasticmachine
Copy link
Copy Markdown

Pinging @elastic/sec-windows-platform (Team:Security-Windows Platform)

…STRY\ prefix

For generic object event IDs, treat as registry when ObjectType is Key or
ObjectName starts with the NT object-manager prefix (case-insensitive).
@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@marc-gr marc-gr enabled auto-merge (squash) March 23, 2026 15:34
@marc-gr marc-gr disabled auto-merge March 23, 2026 15:34
@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Data-Plane Agent Data Plane team [elastic/elastic-agent-data-plane] label Mar 25, 2026
@elasticmachine
Copy link
Copy Markdown

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@marc-gr marc-gr merged commit 4ea6c52 into elastic:main Mar 30, 2026
9 checks passed
@marc-gr marc-gr deleted the fix-registry-path-4657 branch March 30, 2026 13:06
@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

Package system - 2.14.0 containing this change is available at https://epr.elastic.co/package/system/2.14.0/

@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

Package windows - 3.7.0 containing this change is available at https://epr.elastic.co/package/windows/3.7.0/

marc-gr added a commit to marc-gr/integrations that referenced this pull request Mar 30, 2026
…og from elastic#17931

- system 2.15.0, windows 3.8.0
- Changelog: 17921 entries under new versions; 17931 remains on 2.14.0 / 3.7.0
marc-gr added a commit that referenced this pull request Mar 30, 2026
… & ObjectDN (#17921)

* Enhance Windows/system security: args_count (4688), 5136 reason & ObjectDN

- Add process.args_count for event 4688 (#14767)
- Map OperationType to event.reason for event 5136 (#15308)
- Parse ObjectDN for 5136 into user.target/group/host by ObjectClass (#16965)

Keep windows.forwarded and system.security pipelines in sync.

* Add PR link to changelog entries

* refactor: use processor if for 5136 ObjectDN script guard

* fix: robust CN parsing for 5136 ObjectDN

* chore: drop 5136 CN bugfix changelog entry

* chore(system,windows): bump versions for #17921; split changelog from #17931

- system 2.15.0, windows 3.8.0
- Changelog: 17921 entries under new versions; 17931 remains on 2.14.0 / 3.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:system System Integration:windows Windows Team:Elastic-Agent-Data-Plane Agent Data Plane team [elastic/elastic-agent-data-plane] Team:Security-Windows Platform Security Windows Platform team [elastic/sec-windows-platform]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants