We could suggest providing a cert in the osquery c...
# core
z
We could suggest providing a cert in the osquery configuration as a workaround. This would prevent the MITM attack that is possible due to the bug.
s
I’m not sure what you mean?
z
As of now, if a cert is not specified, an attacker can use any cert that is trusted by the system root. The cert doesn't have to match the domain the agent is trying to connect to.
s
Right. I’m not sure what you mean by providing a cert.
oh you’re suggesting people ship the cert and set the commandline/config to use it as a mitigation.
z
Correct
s
--tls_server_certs
does seem like a reasonable mitigation.
j
What mitigation do you recommend for osquery agents communicating with an AWS endpoint and managed certs by Amazon?
z
Can you download the cert chain and provide it to
--tls_server_certs
?
j
I’ll take a look.