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

Create CVE-2024-3094.yaml #9464

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 28 additions & 0 deletions code/cves/2024/CVE-2024-3094.yaml
@@ -0,0 +1,28 @@
id: CVE-2024-3094

info:
name: XZ Backdoor - Detect
author: daffainfo
severity: critical
description: Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0. Through a series of complex obfuscations, the liblzma build process extracts a prebuilt object file from a disguised test file existing in the source code, which is then used to modify specific functions in the liblzma code. This results in a modified liblzma library that can be used by any software linked against this library, intercepting and modifying the data interaction with this library.
reference: https://github.com/Neo23x0/signature-base/blob/master/yara/bkdr_xz_util_cve_2024_3094.yar
tags: cve,cve2024,xz,backdoor

file:
- extensions:
- all

matchers-condition: or
matchers:
- type: word # Detects make file and script
part: raw
words:
- "/bad-3-corrupt_lzma2.xz | tr "
- "/tests/files/good-large_compressed.lzma|eval $i|tail -c +31265|"
- "eval $zrKcKQ"
condition: or

- type: word # Detects kill switch
part: raw
words:
- "yolAbejyiejuvnup=Evjtgvsh5okmkAvj"