Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help working with exported CSV #3

Open
7MinSec opened this issue Mar 13, 2024 · 2 comments
Open

Help working with exported CSV #3

7MinSec opened this issue Mar 13, 2024 · 2 comments

Comments

@7MinSec
Copy link

7MinSec commented Mar 13, 2024

Hello,

I compromised a SQL backup of a PasswordState database as part of a pentest, and am trying to get the juicy info decrypted! I have the whole database restored into a SQLEXPRESS database in my lab. I also have the original web.config from the compromised server.

I'm kind of stuck here as I'm not sure which is my path of least resistance. If I go the route of CSV export, I can feed the tool the SECRET3 key by querying it right in SQL, but I'm not really sure how to manually get the SECRET1 value?

I also tried using the tool and pointing it to my SQLEXPRESS instance with a connection string, but that's causing me errors.

Could you point me in the right direction?

@7MinSec
Copy link
Author

7MinSec commented Mar 14, 2024

Ahhh I think I see what I'm up against. Admins of the system have the option of encrypting connection info and other strings here (https://forums.clickstudios.com.au/topic/2699-encrypting-and-decrypting-the-webconfig-file/#comment-7535) so I'll have to work with that first I think.

@7MinSec
Copy link
Author

7MinSec commented Mar 14, 2024

OK I think I'm chasing my tail here. Client has latest/greatest and this changelog implies the known password decryption vulns have beeen fixed: https://www.clickstudios.com.au/passwordstate-changelog.aspx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant