From 9ec24869f36f7202fcbe3383049845bab3d34a93 Mon Sep 17 00:00:00 2001 From: rxwx <2202542+rxwx@users.noreply.github.com> Date: Thu, 5 Jan 2023 15:40:13 +0000 Subject: [PATCH] - bump SharpDPAPI version and remove unused code - support offline statekey decryption from non-domain joined machines - allow user to specify NTLM (domain-joined) or SHA1 (non-domain) hash instead of a password (i.e. Pass-the-Hash) for offline statekey decryption --- ChloniumUI/ChloniumUI.csproj | 35 +- ChloniumUI/MainWindow.xaml | 18 +- ChloniumUI/MainWindow.xaml.cs | 40 +- ChloniumUI/SharpDPAPI/CHANGELOG.md | 250 ---- ChloniumUI/SharpDPAPI/README.md | 1333 ----------------- .../SharpChrome/Commands/Backupkey.cs | 48 - .../SharpChrome/Commands/Cookies.cs | 177 --- .../SharpChrome/Commands/ICommand.cs | 9 - .../SharpDPAPI/SharpChrome/Commands/Logins.cs | 146 -- .../SharpChrome/Commands/Statekeys.cs | 89 -- .../SharpChrome/Domain/ArgumentParser.cs | 31 - .../Domain/ArgumentParserResult.cs | 23 - .../SharpChrome/Domain/CommandCollection.cs | 46 - .../SharpDPAPI/SharpChrome/Domain/Info.cs | 59 - .../SharpDPAPI/SharpChrome/lib/Bcrypt.cs | 12 +- .../SharpDPAPI/SharpChrome/lib/Chrome.cs | 22 +- .../SharpDPAPI/Commands/Backupkey.cs | 48 - .../SharpDPAPI/SharpDPAPI/Commands/Blob.cs | 113 -- .../SharpDPAPI/Commands/Certificate.cs | 171 --- .../SharpDPAPI/Commands/Credentials.cs | 90 -- .../SharpDPAPI/Commands/ICommand.cs | 9 - .../SharpDPAPI/SharpDPAPI/Commands/Keepass.cs | 91 -- .../SharpDPAPI/Commands/Machinecredentials.cs | 34 - .../SharpDPAPI/Commands/Machinemasterkeys.cs | 31 - .../SharpDPAPI/Commands/Machinetriage.cs | 38 - .../SharpDPAPI/Commands/Machinevaults.cs | 34 - .../SharpDPAPI/Commands/Masterkeys.cs | 82 - .../SharpDPAPI/SharpDPAPI/Commands/PS.cs | 70 - .../SharpDPAPI/SharpDPAPI/Commands/RDG.cs | 96 -- .../SharpDPAPI/SharpDPAPI/Commands/Search.cs | 365 ----- .../SharpDPAPI/SharpDPAPI/Commands/Triage.cs | 82 - .../SharpDPAPI/SharpDPAPI/Commands/Vaults.cs | 82 - .../SharpDPAPI/Domain/ArgumentParser.cs | 31 - .../SharpDPAPI/Domain/ArgumentParserResult.cs | 23 - .../SharpDPAPI/Domain/CommandCollection.cs | 57 - .../SharpDPAPI/SharpDPAPI/Domain/Info.cs | 85 -- .../SharpDPAPI/SharpDPAPI/Domain/Version.cs | 9 - .../SharpDPAPI/SharpDPAPI/lib/Backup.cs | 28 +- .../SharpDPAPI/SharpDPAPI/lib/Crypto.cs | 2 - ChloniumUI/SharpDPAPI/SharpDPAPI/lib/Dpapi.cs | 289 +++- .../SharpDPAPI/SharpDPAPI/lib/Triage.cs | 80 +- ChloniumUI/TriageExtension.cs | 14 +- 42 files changed, 352 insertions(+), 4040 deletions(-) delete mode 100644 ChloniumUI/SharpDPAPI/CHANGELOG.md delete mode 100644 ChloniumUI/SharpDPAPI/README.md delete mode 100644 ChloniumUI/SharpDPAPI/SharpChrome/Commands/Backupkey.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpChrome/Commands/Cookies.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpChrome/Commands/ICommand.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpChrome/Commands/Logins.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpChrome/Commands/Statekeys.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpChrome/Domain/ArgumentParser.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpChrome/Domain/ArgumentParserResult.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpChrome/Domain/CommandCollection.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpChrome/Domain/Info.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Backupkey.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Blob.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Certificate.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Credentials.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/ICommand.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Keepass.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Machinecredentials.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Machinemasterkeys.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Machinetriage.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Machinevaults.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Masterkeys.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/PS.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/RDG.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Search.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Triage.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Commands/Vaults.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Domain/ArgumentParser.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Domain/ArgumentParserResult.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Domain/CommandCollection.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Domain/Info.cs delete mode 100644 ChloniumUI/SharpDPAPI/SharpDPAPI/Domain/Version.cs diff --git a/ChloniumUI/ChloniumUI.csproj b/ChloniumUI/ChloniumUI.csproj index a61c8ad..21c317c 100644 --- a/ChloniumUI/ChloniumUI.csproj +++ b/ChloniumUI/ChloniumUI.csproj @@ -65,15 +65,6 @@ - - - - - - - - - @@ -160,27 +151,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -232,9 +202,7 @@ SettingsSingleFileGenerator Settings.Designer.cs - - @@ -259,8 +227,9 @@ + + - \ No newline at end of file diff --git a/ChloniumUI/MainWindow.xaml b/ChloniumUI/MainWindow.xaml index 246232f..edba0d4 100644 --- a/ChloniumUI/MainWindow.xaml +++ b/ChloniumUI/MainWindow.xaml @@ -23,18 +23,18 @@ - - + +