~/talk

Resource Efficient Malware Scans with YARA + osquery

Talkat osquery@scale 2020 · on Wednesday, 2020-01-22· [security]
links:none on file
slides:none on file

Shows how YARA rules run against files discovered by osquery so scans target executed binaries and monitored directories rather than blind mass scanning. Tests show scanning /etc (≈2,300 files) takes ~0.5s, a 600,000 file user tree ~123s, and increasing rules from 1 to 122 raises time roughly linearly. Direct YARA CLI drives CPU to ~193% on a 2 CPU box while osqueryd-based scans sit around ~5% CPU. Implements a pipeline that pulls distinct process events paths, maps them to YARA sig groups, and applies file integrity monitoring to reduce load and scale to large fleets.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:28YARA as malware detection
  3. 3:19YARA rule structure
  4. 6:31YARA in real-world use
  5. 9:05Installing and running YARA
  6. 10:55Performance challenges with YARA
  7. 13:20Efficient scanning with osquery
  8. 15:36Configuring osquery for YARA
  9. 18:27Scanning running processes
  10. 20:40Scaling YARA scans with osqueryD
  11. 22:49Enterprise deployment strategies
  12. 23:56Resource usage comparison
  13. 25:08Conclusion and future ideas
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.