HN user

zhfliz

125 karma
Posts0
Comments76
View on HN
No posts found.

No, as they never get loaded into the ssh binary and are external programs communicating over an interface.

my understanding is that the same would apply if you use ykcs11 in the OpenSSH agent instead of using it directly in `ssh`, which would make this a comparison between (OpenSSH agent + YKCS11) vs e.g., ssh-tpm-agent.

from the qualys report you linked:

Note to the curious readers: for security reasons, and as explained in the "Background" section below, ssh-agent does not actually load such a shared library in its own address space (where private keys are stored), but in a separate, dedicated process, ssh-pkcs11-helper.

additionally, as I understand it, this basically boils down to use-after-free due to unsafe code, which could occur in either agent implementation, even without loading an extra .so, although the presence of .so loading in general certainly does increase the attack surface.

`ssh-tpm-agent` is not dealing with secret material.

while the agent is certainly not accessing the private key directly, as long as you can access the agent and make it sign whatever you want, this will still be a very valuable vulnerability, with the only downside (compared to non-HSM keys) that you won't have persistent access to the private key, only temporary access for signing.

this can also be partially mitigated by requiring user interaction for every signing operation, but it's also not necessarily something that works for all use cases, such as when connecting to a few hundred destination hosts.

There is a separation of concerns here though.

when you compare (OpenSSH agent + YKCS11) to ssh-tpm-agent, they're both separated from the main `ssh` process and communicate through the SSH agent API.

PKCS11 allows you to use `ssh -I /path/to/lib.so` directly, which there doesn't seem to be a comparable alternative for in ssh-tpm-agent, so I'll ignore that feature for now.

are you extending this to the usage of yubikey-agent and ssh-tpm-agent as well?

both variants, whether it's using a PKCS11 provider using a standardized interface, or using a completely custom SSH agent, will need to deal with secret material.

although I'm no expert on the inner workings of SSH, I'd expect there to not be much difference between having the OpenSSH agent interface with ykcs11 (which is also open source and can be reviewed) and using an alternative agent with piv capabilities that was found on github.

Quantum CA (brand, not operator)/HiCA still can't issue certs for domains they don't "control" by having RCE on the systems they point to.

all CA requirements for validation still need to be fulfilled for issued certificates, as ssl.com, the Quantum CA operator, which exclusively holds the private keys, is a "proper" CA.

this does not affect the trust in the CA infrastructure or ssl.com itself; while this is morally questionable to keep the business relationship, it does not mean the CA is not following the signing requirements.

at best you suspect it, you don't know it unless you're on the sending or receiving side of the transaction.

it shouldn't be my decision whether i want to allow the transaction, even if i wouldn't want to allow it. i'm not in a position to perform due legal process to determine whether you're indeed being paid for a hit job.

the provider should be in a neutral position.

webauthn can very much be used in a desktop application, you're just losing the phishing resistance factor, as the application can choose what to send as identifier, which includes collecting tokens for other tools/websites.

so they're trying to drive customers to those sites by making it even less desirable to not have automated solvers?

Having an unused iCloud settings icon is hardly advertising

it's not just an unused iCloud settings icon.

it's a persistent red (1) that is always showing up in the settings app or in your dock while settings are open, indicating that something needs your attention.

there used to be no official way to disable this "reminder", though it seems that with Ventura it can finally be dismissed.

note that not all enterprise setups use enterprise managed accounts.

you can also use GHE with unmanaged accounts that are still connected via SSO for approving access.

using enterprise managed accounts and unmanaged accounts on the same system can be quite annoying because you'll need to use different browser contexts (container tabs, separate browsers, etc.) and also different hostnames for ssh cloning to use different ssh keys.

https://docs.github.com/en/enterprise-cloud@latest/admin/ide...

https://docs.github.com/en/enterprise-cloud@latest/admin/ide...

how would domain fronting help with phishing?

your standard user agent (e.g. browser) will not send different values in SNI and HTTP Host header.

this is a deliberate action by the user agent to obscure the actual traffic destination.

this can of course be used both for censorship circumvention but also misleading corporate traffic inspection when TLS is not broken, though it's debatable whether that should work in the first place.