Skip to content

Fix false positive in persist via Windows service rule#1151

Open
QuantumByte-01 wants to merge 1 commit intomandiant:masterfrom
QuantumByte-01:issue-1100-persist-service-fp
Open

Fix false positive in persist via Windows service rule#1151
QuantumByte-01 wants to merge 1 commit intomandiant:masterfrom
QuantumByte-01:issue-1100-persist-service-fp

Conversation

@QuantumByte-01
Copy link
Copy Markdown

Fixes #1100

Adds constraint to the registry-based persistence detection to avoid matching unrelated registry modifications like NetbiosOptions.

The rule now requires the registry value being set to be either ImagePath or StartType, which are the registry keys used for actual service binary path persistence, not arbitrary NetBT parameters.

This prevents false positives while maintaining detection of legitimate Windows service persistence mechanisms.

Fixes mandiant#1100

Adds constraint to the registry-based persistence detection to avoid
matching unrelated registry modifications like NetbiosOptions.

The rule now requires the registry value being set to be either
ImagePath or StartType, which are the registry keys used for actual
service binary path persistence, not arbitrary NetBT parameters.

This prevents false positives while maintaining detection of legitimate
Windows service persistence mechanisms.
@google-cla
Copy link
Copy Markdown

google-cla bot commented Mar 31, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

persist via Windows service

1 participant