mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 01:55:20 +00:00
18 lines
678 B
Plaintext
18 lines
678 B
Plaintext
table_name("yara")
|
|
description("Track YARA matches for files or PIDs.")
|
|
schema([
|
|
Column("path", TEXT, "The path scanned"),
|
|
Column("matches", TEXT, "List of YARA matches"),
|
|
Column("count", INTEGER, "Number of YARA matches"),
|
|
Column("sig_group", TEXT, "Signature group used"),
|
|
Column("sigfile", TEXT, "Signature file used"),
|
|
Column("strings", TEXT, "Matching strings"),
|
|
Column("tags", TEXT, "Matching tags"),
|
|
])
|
|
implementation("yara@genYara")
|
|
examples([
|
|
"select * from yara where path = '/etc/passwd'",
|
|
"select * from yara where path LIKE '/etc/%'",
|
|
"select * from yara where path = '/etc/passwd' and sigfile = '/etc/osquery/yara/test.yara'",
|
|
])
|