Harrison
10/31/2022, 7:41 PMorbit
Login Item from tampering in Ventura? To be more specific, I can control this through MDM but not sure what Identifier Type is best to use. I was going to take a stab at it with it Label Prefix: com.fleetdm.orbit
Ojas
11/01/2022, 7:06 AMRaghavendra Hiremath
11/02/2022, 4:49 AMopenssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes \
-keyout /tmp/server.key -out /tmp/server.cert -subj "/CN=SERVER_NAME" \
-addext "subjectAltName=DNS:SERVER_NAME"
MChorfa
11/02/2022, 12:59 PMmchorfa@mchorfa-linux-02:~/tmp$ sudo dpkg --install fleet-osquery_1.3.0_amd64.deb
(Reading database ... 447044 files and directories currently installed.)
Preparing to unpack fleet-osquery_1.3.0_amd64.deb ...
Failed to stop orbit.service: Unit orbit.service not loaded.
Failed to disable unit: Unit file orbit.service does not exist.
Unpacking fleet-osquery (1.3.0) over (1.3.0) ...
Setting up fleet-osquery (1.3.0) ...
Failed to restart orbit.service: Unit orbit.service not found.
dpkg: error processing package fleet-osquery (--install):
installed fleet-osquery package post-installation script subprocess returned error exit status 5
Errors were encountered while processing:
fleet-osquery
peanut butter
11/04/2022, 3:48 PMjimmy
11/08/2022, 9:01 AMjimmy
11/09/2022, 9:02 AMArsenio
11/09/2022, 5:54 PMconfig:
options:
logger_plugin: tls
pack_delimiter: /
logger_tls_period: 10
distributed_plugin: tls
disable_distributed: false
logger_tls_endpoint: /api/osquery/log
distributed_interval: 10
distributed_tls_max_attempts: 3
decorators:
load:
- SELECT uuid AS host_uuid FROM system_info;
- SELECT hostname AS hostname FROM system_info;
command_line_flags: {} # requires Fleet's osquery installer
This is the default we have.Tiernan
11/10/2022, 8:19 AMnick fury
11/10/2022, 1:29 PMjimmy
11/11/2022, 12:29 PMPJ Meyer
11/11/2022, 5:22 PMwennan.he
11/12/2022, 1:48 AMTerje Kvernes
11/12/2022, 1:01 PMNov 12 13:52:57 [...] fleet[79831]: {"component":"http","err":"read auth token: reading from websocket: sockjs: session not in open state","msg":"failed to read >
Nov 12 13:53:00 [...] fleet[79831]: {"component":"http","err":"error in query ingestion","ingestion-err":"campaign waiting for listener (please retry)","ip_addr">
The setup is fleet listening on localhost:8080 and nginx acting as a proxy to serve fleet on *:443. Serving the UI works well, and I have attempted to serve the API specifically via
location ~/api/v1/osquery {
grpc_pass <grpcs://127.0.0.1:8080>;
grpc_set_header Host $host;
grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffering off;
access_log /var/log/nginx/api.fleetdm.com_access.log;
error_log /var/log/nginx/api.fleetdm.com_error.log;
}
And the access logs suggest everything works fine:
2001:[...] - - [12/Nov/2022:13:58:57 +0100] "POST /api/v1/osquery/config HTTP/2.0" 200 472 "-" "osquery/5.5.1"
2001:[...] - - [12/Nov/2022:13:59:02 +0100] "POST /api/v1/osquery/distributed/read HTTP/2.0" 200 39 "-" "osquery/5.5.1"
2001:[...] - - [12/Nov/2022:13:59:06 +0100] "POST /api/v1/osquery/distributed/read HTTP/2.0" 200 39 "-" "osquery/5.5.1"
It is worth noting that the clients are dual stack and the infrastructure runs primarily over IPv6.
I am not sure how to debug the report that websocket not being in "an open state". Is there anything in particular I should be looking for/at?Terje Kvernes
11/12/2022, 1:24 PMPrivate IP address
129.240.X.Y
Public IP address
127.0.0.1
Terje Kvernes
11/13/2022, 8:31 AMio.osquery.agent
but instead com.fleetdm.orbit
.jimmy
11/14/2022, 11:15 AMalessandrogario
Jincheng Yin
11/14/2022, 4:24 PMnick fury
11/14/2022, 8:16 PMReza Kazemy
11/15/2022, 5:16 AMwennan.he
11/16/2022, 1:25 AMzwass
Ryan
11/16/2022, 5:18 PMde_metadata
) stopped working, in queries where we try to use it, we get an error vtable constructor failed: de_metadata
Is there a known issue with custom extensions for osquery? We’re using osquery 5.3.0.Slackbot
11/17/2022, 12:13 AMwennan.he
11/17/2022, 6:41 PMGabriel Artico
11/17/2022, 6:49 PMJesus Santos
11/17/2022, 7:23 PMfleetctl convert
on a pack which had it, and the discovery part was just not added to the converted file.Rofl
11/18/2022, 9:01 AMRofl
11/18/2022, 9:02 AM$ fleetctl package --type=pkg --fleet-url=<https://X> --enroll-secret=X
Generating your osquery installer...
Unable to find path: /root/root
Error: build pkg: mkbom: exit status 1