Replies: 5 comments
-
@juju4 has created a couple of PoC notebooks importing and manipulating Velociraptor and OSQuery data.
My thoughts on 1 and 2:
qp = QueryProvider("OSQuery", source_path="~/host-inv-123")
proc_df = qp.list_processes()
proc_df.mp_plot.process_tree()
proc_df.mp_plot.timeline() Analysis functionsSome of these seem pretty generically useful - e.g. processes masquerading as system processes.
My worry with 2 is that we are treading into a detection area that we might not have the capability to support properly. This seems more like Sigma territory. Long-term it would be better if we could consume this type of analysis from somewhere else - where it can be better maintained by the community. Open to discussion on this. |
Beta Was this translation helpful? Give feedback.
-
Notes from 2023-01-26 discussion:
qry_prov = QueryProvider("OSQuery", path="/foo")
qry_prov = QueryProvider("OSQuery", db="sqllite_dsn") # sqllite_dsn is ODBC connection defn in msticpyconfig
qyr_prov = QueryProvider("OSQuery", db="the_full_dsn") # the connection string info
Implementation notes/thoughts
Maybe a good class structure would be:
|
Beta Was this translation helpful? Give feedback.
-
Great notes! Available data will also depend on tool configuration
LocalData provider reference |
Beta Was this translation helpful? Give feedback.
-
I submitted few PR
To review separately for the normalization and analysis function. |
Beta Was this translation helpful? Give feedback.
-
Velociraptor offline collector local json outputs handled by fantastic PR from @ianhelle: #668 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions