Add CVE-2024-13161 rule and test #1276
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The detection rule for CVE-2024-13161 targets the specific endpoint
/WSVulnerabilityCore/VulCore.asmxand checks for the presence of a UNC path in thewildcardXML element within the SOAP request body. This path is indicative of an NTLM credential coercion attack, where an attacker specifies a remote UNC path to trigger NTLM authentication. The rule uses a regex match to detect any UNC path that includes a temporary directory and a.txtfile, which aligns with the attack vector described in the vulnerability. The rule is designed to be case insensitive and to specifically match the structure of the attack, minimizing false positives while ensuring effective detection.