我们使用的是由volexity/threat-intel提供的Yara规则,他们最先公开了这个漏洞。
Git克隆
git clone https://github.com/th3b3ginn3r/CVE-2022-26134-Exploit-Detection.git
原始文件下载
CVE-2022-26134.yar: https://raw.githubusercontent.com/th3b3ginn3r/CVE-2022-26134-Exploit-Detection-on-Linux/main/CVE-2022-26134.yar
curl -o <CVE-2022-26134.yar url>
或者,您也可以直接从volexity仓库下载Yara规则。
sudo clamscan -d /path-to-the/CVE-2022-26134.yar -r /path-to-scan -io #If scannig "/" root directory, include " exclude-dir="^/sys" " in the command.
当您运行扫描后,将看到扫描摘要。下面是一个示例。
----------- SCAN SUMMARY -----------
Known viruses: 3 #These are the number of Yara rules in the CVE-2022-26134.yar file
Engine version: 0.xxx.5
Scanned directories: 20000
Scanned files: 200000
Infected files: 0 #See the count of infected files or the list of files that matches the conditions of the Yara rules
Data scanned: 1000.08 MB
Data read: 18000.00 MB (ratio 0.54:1)
Time: 284.885 sec (4 m 44 s)
Start Date: 2022:06:03 00:19:34
End Date: 2022:06:03 00:24:19
您可能还想在以下Confluence日志中搜索可疑活动:
手动排查详细说明 : https://link.medium.com/cebuWoAazqb
[GPL] GPL-3.0许可证