Elektrine lite

← Feed

@joepie91@fedi.slightly.tech

Post #3857571

2026-07-16 11:11 UTC

#TLS question: when using mutual authentication (ie. server and client certs), is it possible for an MITM to spoof the client certificate when the server doesn't know the correct fingerprint yet, while presenting the correct server certificate to the client in the same connection, so without the client knowing anything is wrong?

Replies (2)

  • @oilheap@infosec.exchange 2026-07-16 11:41

    @joepie91@fedi.slightly.tech what does "server doesn't know the correct fingerprint yet" mean, and how is this mutual authentication then?

    Open ##3857569

  • @joepie91@fedi.slightly.tech If there's no previous established exchange between the two peers there's no mitm. The way you describe things , the attacker would ask the server to establish the connection with him, then reuse the same TLS context for another peer you want to mitm. This would not bring anything but create a TLS connection between the attacker and the server with the victim having it's own TLS context unless the server is mishandling those. A mitm , in classical , would proxy the victim traffic thought himself with its own TLS context that he can spoof since he controls the key exchange and then forward it to the legit server via its own context to it . Attacking before the fingerprint process is done os like telling two people's who didn't said hello to each others yet, hello will imitating one of them.

    Open ##3858088