Skip to content

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

Merged
kuzyka merged 3 commits into
release-0.2from
copy-fail
Jun 2, 2026
Merged

kuzyka merged 3 commits into
release-0.2from
copy-fail

Conversation

@kuzyka

@kuzyka kuzyka commented May 7, 2026

Copy link
Copy Markdown
Collaborator

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
@nikiladonya
nikiladonya changed the base branch from main to release-0.2 June 2, 2026 11:07
@kuzyka
kuzyka merged commit b6f6eaf into release-0.2 Jun 2, 2026
4 checks passed
@nikiladonya
nikiladonya deleted the copy-fail branch June 3, 2026 13:56
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