Vincent P Brouillard (@VPasql) profile picture

Étudiant en génie informatique, programmeur, enthousiaste BSD, sympathisant linux, sysadmin, photographe amateur, plongeur et musicien.

Montréal, Québec
Joined June 2012
Photo by Vincent P Brouillard (@VPasql)Photo by Vincent P Brouillard (@VPasql)Photo by Vincent P Brouillard (@VPasql)Photo by Vincent P Brouillard (@VPasql)Photo by Vincent P Brouillard (@VPasql)Photo by Vincent P Brouillard (@VPasql)Photo by Vincent P Brouillard (@VPasql)Photo by Vincent P Brouillard (@VPasql)Photo by Vincent P Brouillard (@VPasql)
Vincent P Brouillard retweeted
Les brasseries québécoises, ce n’est pas de la petite bière! https://xitter.cf/t.co/wT1CXti7zm
She walks! 🐓
51
2,649
31
16,441
The history of Tasha and her personality in this book is amazing! Thanks to all who partake in this. @JeremyECrawford like you said in LYSK, why didn't you bring up her sooner!! #TashasCoE @Wizards_DnD Ps the alt cover is prettiest in person.
1
#WyrmwoodWednesday Spoopy setup for my online DnD game
Thank you for the successful Kickstarter launch! 🥳 This #WyrmwoodWednesday we have a Black Poisonwood Coffin Vault AND Coffin Tray for the winner. 🤤 (Make sure to check the rules below👇) #dnd #dice #ttrpg #twitch
2
Vincent P Brouillard retweeted
Justice Ruth Bader Ginsburg, Champion Of Gender Equality, Dies At 87 npr.org/2020/09/18/100306972…
6,062
60,690
59,073
117,250
Vincent P Brouillard retweeted
And of course, we already did FIDO the other day. xitter.cf/SteveSyfuhs/status/129…
Speaking of #passwordless... did you ever wonder how we made it work with on-prem Active Directory? It's kind of magic. We built a KDC in the cloud. Here's how it works...
11
2
1
102
Vincent P Brouillard retweeted
It's all very abstract, but this is why you can't steal TGTs when using Cred Guard. The TGT itself is kinda worthless, what you need is the TGT plus the session key, otherwise you can't decrypt the KDC response.
10
8
2
126
Vincent P Brouillard retweeted
This basically works like an oracle. Cred Guard returns an opaque blob to LSA. Later LSA asks Cred Guard to decrypt something so LSA hands it the opaque blob and the thing to decrypt. Cred Guard decrypts the opaque blob, then using the key in that blob, decrypts the thing.
2
5
87
Vincent P Brouillard retweeted
And then LSA asks Cred Guard to decrypt the AS-REP response. Cred Guard then knows the TGT session key is super special so it protects it in such a way that only it can decrypt. Then whenever Kerberos needs the session key it asks Cred Guard.
1
5
84
Vincent P Brouillard retweeted
Anyway, LSA fires the password off to Credential Guard, and when the various packages need to use the password they kindly ask Cred Guard to do whatever it is they needed the password for. In the case of Kerberos LSA asks Cred Guard to encrypt the AS-REQ PA timestamp.
1
5
84
Vincent P Brouillard retweeted
Okay okay, what about Credential Guard? How does that fit into this madness? Well, we have to go back to when LSA is receiving those creds from the cred prov. LSA has a special channel (well, RPC, it's always some form of RPC) to the secure world LsaIso process.
1
5
95
Vincent P Brouillard retweeted
The client decrypts the message, gets the TGT, and away we go. xitter.cf/SteveSyfuhs/status/129…
Replying to @SteveSyfuhs
At this point you're at the desktop, you now have a TGT and can run around the network, but how exactly did the local computer know anything about you, like your name, your groups, any of that? The TGT is encrypted where the client can't ever read any contents, so what gives?
2
5
81
Vincent P Brouillard retweeted
The KDC then grabs the client DH key, takes the KDC DH key, and derives a shared secret. The TGT is encrypted to that shared key, and then returned to the client. The client receives it, checks the KDC cert is one it trusts, and uses the KDC DH key to derive the same shared key.
1
5
86
Vincent P Brouillard retweeted
The client fires that message (plug other goo) off to the KDC and the KDC checks the certificate to see if it matches anyone on file in the directory. Suppose it does, and it generates a TGT. The KDC then generates its own Diffie-Hellman key pair, and signs it with the KDC cert.
2
5
1
89
Vincent P Brouillard retweeted
Maybe lets dig into that a bit: PKINIT. It's almost a four letter word. How do you make a symmetric crypto protocol work with asymmetric keys? Well, first the client generates a Diffie-Hellman key pair and signs the public key using the client certificate private key.
1
5
2
94
Vincent P Brouillard retweeted
LSA loops through everything and hits the cache verifier, does it's thing, and is now at the desktop. From there it invokes our friend Kerberos, but this time does PKINIT, and away we go: xitter.cf/SteveSyfuhs/status/129…
Replying to @SteveSyfuhs
At this point you're at the desktop, you now have a TGT and can run around the network, but how exactly did the local computer know anything about you, like your name, your groups, any of that? The TGT is encrypted where the client can't ever read any contents, so what gives?
2
5
98
Vincent P Brouillard retweeted
Asks the TPM to decrypt them using the template plus additional information as the key and entropy. The key is then converted into one of those structs and is sent off to LSA and LSA begins its dance again.
3
6
103