Repository navigation
Allow serviceaccount's name extraction with local secretsdump - #2124
Conversation
|
Hello, any update on this PR? |
|
@laxa hello, I'll be checking this one this week. Thanks |
|
I forgot to implement the test you requested. Let me know if you prefer local or remote test. For the later case, are there any pointers? For local testing, I could use a lightweight SYSTEM and SECURITY hives to avoid uploading large hives to the repository. |
|
linked with #1861 |
A suitable direction is: And at the call site: This correctly handles all cases:
|
|
Regarding testcase, a synthetic blob hive would be enough. I can add it later if you want. |
|
Hello @anadrianmanrique , sorry for the delay to treat such minimalists changes. I have modified the code to reflect the changes you requested. I used claude to create a minimalist SYSTEM and SECURITY hives and to implement the test regarding this PR, hopefully it will be all good! |
|
Last commit is to fix the behavior to be similar with remote + |
|
|
PR is ready to be merged now, thanks! |
|
Very nice, can't wait to try it out! |
Currently, when running
secretsdump.pyon recovered hives, the LSASecrets for service accounts (starting with_SC_) does not handle retrieving the username:This pull request fix this issue: