oneiroi
06/10/2025, 4:53 PMyara table with file table;
When using file.path LIKE ... I get W0610 17:28:28.487862 3055360 yara.cpp:262] YARA compile error: osquery::YaraCompilerError[0] (Compilation error 1) when I implicitly set the file.path to some file (or a non existant file) I do not get the error;
Intention here is to use yara.sigrule to leverage an inline yara rule for detection testing of a variant of the AMOS Malware
Can anyone point me in the right direction to debug this further ?
Thanks!oneiroi
06/10/2025, 4:54 PMSELECT f.path FROM file f JOIN yara y ON y.path = f.path
WHERE f.path = '/tmp/some_non_existing_file ... is OK whilst
SELECT f.path FROM file f JOIN yara y ON y.path = f.path
WHERE f.path LIKE '/tmp/%' ... throws the errorFG
06/10/2025, 5:04 PMoneiroi
06/20/2025, 10:00 AM