Calil Khalil
05/09/2025, 9:04 PMCalil Khalil
05/09/2025, 9:04 PM## Query:
SELECT
path,
matches,
count,
sigurl,
strings
FROM
yara
WHERE
path LIKE "/%%"
AND sigurl IN (
'<https://raw.githubusercontent.com/Yara-Rules/rules/master/webshells/WShell_THOR_Webshells.yar>',
'<https://raw.githubusercontent.com/Yara-Rules/rules/master/webshells/WShell_APT_Laudanum.yar>'
)
AND count > 0;
Mason Buettner
05/09/2025, 9:42 PMKathy Satterlee
05/09/2025, 9:44 PMKathy Satterlee
05/09/2025, 9:44 PMJohn Speno
05/10/2025, 12:52 PMJohn Speno
05/10/2025, 12:54 PMAustin
05/12/2025, 1:28 PMJohn Speno
05/12/2025, 1:29 PMfile
table, nothing else.Austin
05/12/2025, 1:32 PMCalil Khalil
05/12/2025, 6:24 PMpath LIKE "/%%".
The query continues to return only root-level matches and completes very quickly, missing known files in subdirectories.FG
05/12/2025, 10:11 PMCalil Khalil
05/20/2025, 5:32 PMFG
05/20/2025, 5:43 PMCalil Khalil
05/20/2025, 5:52 PMFG
05/20/2025, 5:54 PM/
? but yeah this is an uphill battle afaik.FG
05/20/2025, 5:55 PMFG
05/20/2025, 5:55 PMCalil Khalil
05/20/2025, 6:06 PMJohn Speno
05/20/2025, 6:13 PMyara
on some paths in /proc
and it appeared that it wouldn't work on them (I forget the details now). Nice to know that it does work in this case.