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

Improving reliability of the signature verification mechanism #19811

Merged
merged 1 commit into from Oct 24, 2023

Conversation

pereyra-m
Copy link
Member

Related issue
Closes #18591

Description

It was reported that for some specific environments, the signature verification mechanism performs some RPC calls that end up in a system crash.

To avoid this situation, the following improvements are proposed:

Tests

A user has confirmed that these changes make the agent stop crashing (#18591 (comment))

  • Compilation without warnings in every supported platform
    • Windows
  • Package installation

@pereyra-m pereyra-m self-assigned this Oct 23, 2023
@pereyra-m pereyra-m linked an issue Oct 23, 2023 that may be closed by this pull request
@pereyra-m pereyra-m changed the base branch from 4.7.1 to 4.7.0 October 23, 2023 19:10
Initializing structures.
Avoid network requests while checking certificate revocation.
Using explicit invalid handle instead of null for WinVerifyTrust().
@Dwordcito Dwordcito merged commit 813135a into 4.7.0 Oct 24, 2023
66 checks passed
@Dwordcito Dwordcito deleted the bug/18591-rpcrt4.dll-crash branch October 24, 2023 13:52
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.

wazuh-agent crash randomly when RPCRT4.dll is loaded.
2 participants