Channels
android_tests
apple-silicon
arm-architecture
auditing-warroom
aws
carving
code-review
community-feeds
core
darkbytes
doorman
ebpf
eclecticiq-polylogyx-extension
extensions
file-carving
fim
fleet
fleet-dev
fleetosquery
foundation
fuzzing
general
golang
goquery
infrastructure
jobs
kolide
linen-dev
linux
macos
officehours
osctrl
plugins
process-auditing
querycon
queryhub
random
selfgroup
sql
tls
uptycs
vendor-feeds
website
windows
zeek
zentral
zercurity
Powered by
Title
w
Will Sheldon
10/27/2021, 8:57 PM
Say I wanted to write a detection for "one user logged into 10k hosts at one time over SSH", how would I do that in OSQuery? •
https://osquery.io/schema/5.0.1/#logged_in_users
•
https://osquery.io/schema/5.0.1/#users
s
seph
10/27/2021, 9:10 PM
Osquery itself operates on a single host. You'd need to do correlation in whatever processes your logs. Which might not be sql
w
Will Sheldon
10/27/2021, 9:26 PM
What would be the best table to do that correlation?
s
seph
10/27/2021, 9:36 PM
Probably logged_in_users
z
zwass
10/27/2021, 10:31 PM
Would be interesting to see an example of how to do this in a Spunk/ELK/Panther setup. Osquery can definitely generate the logs.
user_events
could also be useful.
7 Views
#sql
Join Slack