Пропустить навигацию
Why yes, yes we can use ESTSAUTH captured from evilginx to automatically register a passkey
0:00 / 0:32

Why yes, yes we can use ESTSAUTH captured from evilginx to automatically register a passkey

Nathan McNulty

@NathanMcNulty19 тыс. подписчиков

Открыть в X
128 отметок «Нравится»СкачатьОригинальный пост

35 144 просмотра

Why yes, yes we can use ESTSAUTH captured from evilginx to automatically register a passkey

12 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Nathan McNulty

    @NathanMcNulty

    This is quite different than my previous scripts btw. Those were all based on a service principal with API permissions, but AitM won't have that. Instead, this uses the user's ESTSAUTH cookie to request tokens for My Signins and registers a passkey using delegated permissions

    9 отметок «Нравится»

  • Фото профиля Nathan McNulty

    @NathanMcNulty

    There are a lot of mitigations for this: Enforce attestation for passkeys Use CA policies to secure registering security info (auth strengths, location, etc.) Require compliance device or compliant network Or always require phishing resistant auth in the first place ;)

    20 отметок «Нравится»

  • Фото профиля Nathan McNulty

    @NathanMcNulty

    Unfortunately, if you want to allow synced passkeys, this is your attack surface At the very least, you need to enforce phishing resistant auth only for those users once they have registered them - avoid the downgrade attacks ⚠️ Always check for passkeys on compromised accounts

    8 отметок «Нравится»

  • Фото профиля Kuba Gretzky

    @mrgretzky

    @cgomezz_23 This is incredible! 🪝🐟

    6 отметок «Нравится»

  • Фото профиля Nathan McNulty

    @NathanMcNulty

    @cgomezz_23 Thanks for the nudge to check it out Honestly, this bothers me how easy it was to put this together, because I likely might have shrugged this off before This is why I published the script, because I don't want to get complacent or have people argue "well, in theory..." :)

    10 отметок «Нравится»

  • Фото профиля Sam Childs

    @childs999

    @mrgretzky @cgomezz_23 This is very cool! Can I ask where you published the script please? I'd like to check it out...

    1 отметка «Нравится»

  • Фото профиля Nathan McNulty

    @NathanMcNulty

    @mrgretzky @cgomezz_23 Sure, it will work with ESTSAUTH obtained through any method btw ;)

    1 отметка «Нравится»

  • Фото профиля Sam Childs

    @childs999

    @mrgretzky @cgomezz_23 Thanks!

    1 отметка «Нравится»

  • Фото профиля Nathan McNulty

    @NathanMcNulty

    @mrgretzky @cgomezz_23 Yeah, lmk if you have any questions or hit issue Typically we have about 5 minutes to use the tokens to register a new auth method, but I tried to mimic the timeout/renew logic so we could refresh and still do it It seemed to work, but there may be edge cases :p

  • Фото профиля Kritical

    @KriticalPtyLtd

    You’re so clever :) I never ceased to be amazed..

    1 отметка «Нравится»

  • Фото профиля Nathan McNulty

    @NathanMcNulty

    Thanks! A little dev tools, HAR spelunking, and tossing the complicated issues at AI until it starts working, lol

    2 отметки «Нравится»

  • Фото профиля Kritical

    @KriticalPtyLtd

    Don’t we all, still always very good! I should probably spend more time publishing my random tidbits too!