Mystery Incorporated
08/05/2021, 1:12 AMSELECT * FROM windows_security_products
and I have a third party anti-virus installed, it reports as the picture below.
What is happening is that it reports as the third-party anti-virus & firewall is on, and microsoft defender is off.
Given that I have mixed endpoints that are using defender and some with a third-party AV, how can I make a query that reports if ALL av/firewall are off not if only 1 is off. Kibana seems really limited and I don't think I can do any kind of aggregation so I think I'll have to do it with osquery.zwass
SELECT 1 FROM osquery_info WHERE build_platform = 'linux'
.Mystery Incorporated
08/07/2021, 5:52 AMm s
08/09/2021, 12:13 PMZachary Dawe
08/09/2021, 3:45 PMYash Boura
08/10/2021, 8:45 AMNabil Schear
08/10/2021, 6:00 PMabraham linkolan
08/12/2021, 6:46 AMSlackbot
08/13/2021, 4:46 AMMadhur Jodhwani
08/13/2021, 8:38 AMosueryd
name in CMD and also in proccess log like I want to launch it as madhurs_daemon --flagfile=flagfile.txt
instead of osqueryd --flagfile=flagfile.txt
and it should be seen as madhurs_daemon
in the process log as well as in the console application, any idea or any stuff I need to check out?HarlanF
08/14/2021, 12:42 AMStefano Bonicatti
08/15/2021, 8:37 AMMadhur Jodhwani
08/16/2021, 10:12 AMAhmed
08/17/2021, 8:54 AMosquery> PRAGMA case_sensitive_like=1; <Query>
E0817 04:50:29.635751 8504 sqlite_util.cpp:295] Authorizer denied action 19 case_sensitive_like 1 null null
Error: not authorized
alessandrogario
Seth Hanford
08/19/2021, 5:06 PM# find / -name java -type f 2>/dev/null -exec ls -lisah {} \;
... /usr/bin/java
... /usr/local/Cellar/libmagic/5.40/share/misc/magic/java
... /usr/local/Cellar/openjdk/16.0.2/libexec/openjdk.jdk/Contents/Home/bin/java
... /usr/share/file/magic/java
... /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home/bin/java
... /System/Volumes/Data/usr/local/Cellar/libmagic/5.40/share/misc/magic/java
... /System/Volumes/Data/usr/local/Cellar/openjdk/16.0.2/libexec/openjdk.jdk/Contents/Home/bin/java
... /System/Volumes/Data/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home/bin/java
When I run a recursion from the root, I get only 1:
SELECT filename,path FROM file WHERE filename = "java" AND path LIKE '/%%'
filename: java
path: /usr/bin/java
Other times, I get a few directories lower:
SELECT filename,path FROM file WHERE filename = "java" AND path LIKE '/usr/share/%%'
filename: java
path: /usr/share/file/magic/java
Other times, it doesn’t work:
SELECT filename,path FROM file WHERE filename = "java" AND path LIKE '/usr/local/Cellar/%%'
0 results (should be at least 2)
Artem
08/20/2021, 1:14 PMdefensivedepth
08/24/2021, 12:20 PMStream
set of signatures generate alot of noise. They should be interpreted more as info
level logs, more focused on adding context to a situation. Tbh, I typically disable them on PROD deployments.
The most likely reason is because the Fleet server is offline.Madhur Jodhwani
08/25/2021, 1:14 PMbenbass
08/25/2021, 2:50 PMSlackbot
08/25/2021, 5:44 PMEvan Wolfe
08/25/2021, 9:22 PMZander Mackie
08/26/2021, 8:06 PMpuffycid
08/28/2021, 3:07 AMZander Mackie
08/30/2021, 9:06 PM/%%
would recurse down from the root directory, but the top query is only return 3 results for some reason, which is not what I thought it would do)Venkaiah
08/31/2021, 12:39 PMHi Team i am facing error " go run: no packages loaded from ./cmd/package" when i run command
go run ./cmd/package --type=pkg --fleet-url=localhost:8412 --insecure --enroll-secret=YOUR_FLEET_ENROLL_SECRET_HERE
Stijn Pieters
08/31/2021, 2:26 PMZander Mackie
09/01/2021, 3:52 PMnumber_monitoring
but I haven’t come across any. It looks like maybe this was planned, but never done? Anybody have any pointers here? I’d love to contribute that back to docs.eici
09/02/2021, 10:44 AMgo version go1.17 darwin/amd64
➜ orbit git:(main) go run ./cmd/package --type=pkg --fleet-url=localhost:1337 --insecure --enroll-secret=SomeThingSecret --debug
2021-09-02T12:32:42+02:00 DBG created temp dir path=/var/folders/sj/yjq11f9d18q16_gt1xjz61gr0000gp/T/orbit-package3229585214
2021-09-02T12:32:42+02:00 FTL package failed error="create root dir: Path /var/folders/sj/yjq11f9d18q16_gt1xjz61gr0000gp/T/orbit-package3229585214 already exists with mode 20000000700 instead of the expected 20000000755"
exit status 1
alessandrogario