Skip to content

Update detector and monitoring policy for supporting CVE-2026-31431 Copy Fail vulnerability#17

Open
kuzyka wants to merge 3 commits into
mainfrom
copy-fail
Open

Update detector and monitoring policy for supporting CVE-2026-31431 Copy Fail vulnerability#17
kuzyka wants to merge 3 commits into
mainfrom
copy-fail

Conversation

@kuzyka
Copy link
Copy Markdown
Collaborator

@kuzyka kuzyka commented May 7, 2026

This PR adds a new detector for CVE-2026-31431 "Copy Fail" vulnerability. The detector identifies attempts to exploit this vulnerability by detecting AF_ALG socket creation, which is a key indicator of the exploit.

Changes

  • Added new detector CS_RT_CVE_2026_31431 in event-processor/detector/wasm/CS_RT_CVE_2026_31431/main.go
  • Added compiled WASM binary for the detector at event-processor/deploy/CS_RT_CVE_2026_31431.wasm
  • Updated runtime-monitor/pkg/model/tracingpolicy/listen-socket.yaml to include AF_ALG (family 38) in the selectors for security_socket_create kprobe

Details

The detector monitors for security_socket_create kprobe events and specifically looks for AF_ALG (address family 38) socket creation, which is the signature of the CVE-2026-31431 exploit. When detected, the detector reports a HIGH severity alert.

The tracing policy update ensures that the listen-socket policy captures AF_ALG socket creations, which are crucial for detecting this specific vulnerability exploit.

@kuzyka kuzyka requested a review from torkel-hoge May 7, 2026 14:08
@kuzyka kuzyka self-assigned this May 8, 2026
@kuzyka kuzyka added the expertise New detection rules or sources label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

expertise New detection rules or sources

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant