Add new Yandex module: Yandex Browser DPAPI credential extraction#1161
Add new Yandex module: Yandex Browser DPAPI credential extraction#1161pavelpashka1 wants to merge 2 commits intoPennyw0rth:mainfrom
Conversation
Yandex Browser DPAPI credential extractor (Yandex Browser uses Chromium DPAPI encryption with custom Ya Passman layer). Signed-off-by: pavelpashka1 <144246114+pavelpashka1@users.noreply.github.com>
Signed-off-by: pavelpashka1 <144246114+pavelpashka1@users.noreply.github.com>
|
Hi and thanks for the PR. Unfortunately, this is duplicate to #814. Besides, this is also duplicate to the lsassy module and dpapi decryption/key recovery etc should be done with dploot. |
Hello, thank you! @NeffIsBack I saw this PR. Unfortunately, it is not working and has limited functionality. Also, dploot worked poorly and unstably, so it was decided to use impacket instead. Since impacket is already listed as a dependency of netexec, I don't see any contradiction here. |
Description
Adds a new
yandexmodule that extracts saved passwords from Yandex Browser by decrypting DPAPI-protected encryption keys and the Ya Passman Data databaseDefault mode decrypts the authenticated user's passwords; two extended modes allow attacking other users:
Yandex Browser uses a custom encryption layer on top of Chromium's standard DPAPI scheme, which is not covered by existing modules or
--dpapiThis PR was created with the assistance of AI Claude Code (Opus 4.6). The AI was used for code review, refactoring to match NetExec coding conventions. The core logic was developed and tested manually on real targets.
Type of change
Setup guide for the review
Lab GOAD, host - CASTELBLACK with Yandex Browser and saved passwords without using a master password, DC - Winterfell
Screenshots:
Module

--dpapi:Module
yandexdefault usage:Module
yandexvia lsass dump :Module
yandexvia backupkey dump:Module
yandexvia backupkey file:Checklist:
poetry run ruff check ., use--fixto automatically fix what it can)tests/e2e_commands.txtfile if necessary (new modules or features are required to be added to the e2e tests)