tailscale/util/osdiag
Aaron Klotz 5fb1695bcb util/osdiag, util/osdiag/internal/wsc: add code to probe the Windows Security Center for installed software
The Windows Security Center is a component that manages the registration of
security products on a Windows system. Only products that have obtained a
special cert from Microsoft may register themselves using the WSC API.
Practically speaking, most vendors do in fact sign up for the program as it
enhances their legitimacy.

From our perspective, this is useful because it gives us a high-signal
source of information to query for the security products installed on the
system. I've tied this query into the osdiag package and is run during
bugreports.

It uses COM bindings that were automatically generated by my prototype
metadata processor, however that program still has a few bugs, so I had
to make a few manual tweaks. I dropped those binding into an internal
package because (for the moment, at least) they are effectively
purpose-built for the osdiag use case.

We also update the wingoes dependency to pick up BSTR.

Fixes #10646

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2023-08-24 11:51:18 -06:00
..
internal/wsc util/osdiag, util/osdiag/internal/wsc: add code to probe the Windows Security Center for installed software 2023-08-24 11:51:18 -06:00
mksyscall.go util/osdiag: add logging for winsock layered service providers to Windows bugreports 2023-08-14 15:03:54 -06:00
osdiag_notwindows.go go.mod, cmd/tailscaled, ipn/localapi, util/osdiag, util/winutil, util/winutil/authenticode: add Windows module list to OS-specific logs that are written upon bugreport 2023-08-03 11:33:14 -06:00
osdiag_windows_test.go all: import x/exp/maps as xmaps to distinguish from Go 1.21 "maps" 2023-08-17 09:54:18 -07:00
osdiag_windows.go util/osdiag, util/osdiag/internal/wsc: add code to probe the Windows Security Center for installed software 2023-08-24 11:51:18 -06:00
osdiag.go go.mod, cmd/tailscaled, ipn/localapi, util/osdiag, util/winutil, util/winutil/authenticode: add Windows module list to OS-specific logs that are written upon bugreport 2023-08-03 11:33:14 -06:00
zsyscall_windows.go util/osdiag: add logging for winsock layered service providers to Windows bugreports 2023-08-14 15:03:54 -06:00