
Questo repository contiene la regola Yara e il metodo che un investigatore della sicurezza potrebbe voler utilizzare per il threat hunting di CVE-2022-26134 sui propri server Confluence Linux.
Stiamo utilizzando la regola Yara fornita da volexity/threat-intel, che per primo ha scoperto questa vulnerabilità.
Clone Git
git clone https://github.com/th3b3ginn3r/CVE-2022-26134-Exploit-Detection.git
Download del file raw
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>
In alternativa, puoi anche scaricare la regola Yara direttamente dal repository di volexity
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.
Dopo aver eseguito la scansione, ti verrà mostrato il riepilogo della scansione. Di seguito ne viene mostrato un esempio.
----------- 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
Potresti inoltre voler cercare attività sospette nei seguenti log di Confluence:
Approfondimento dettagliato sulla caccia manuale : https://link.medium.com/cebuWoAazqb
[GPL] Licenza GPL-3.0