Skip to content

Commit

Permalink
[new] mimikatz dpapi::cloudapreg to get some decrypted RefreshToken f…
Browse files Browse the repository at this point in the history
…rom the registry (thank you DPAPI) - not AzureAd joined

[new] mimikatz misc::ngcsign to play with signature even if you don't have access to the real key (NgcSignWithSymmetricPopKey)
  • Loading branch information
gentilkiwi committed Aug 9, 2020
1 parent 755505b commit a2a25cc
Show file tree
Hide file tree
Showing 11 changed files with 566 additions and 178 deletions.
2 changes: 2 additions & 0 deletions mimikatz/mimikatz.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
<ClCompile Include="..\modules\kull_m_cabinet.c" />
<ClCompile Include="..\modules\kull_m_cred.c" />
<ClCompile Include="..\modules\kull_m_crypto.c" />
<ClCompile Include="..\modules\kull_m_crypto_ngc.c" />
<ClCompile Include="..\modules\kull_m_crypto_sk.c" />
<ClCompile Include="..\modules\kull_m_dpapi.c" />
<ClCompile Include="..\modules\kull_m_file.c" />
Expand Down Expand Up @@ -228,6 +229,7 @@
<ClInclude Include="..\modules\kull_m_cabinet.h" />
<ClInclude Include="..\modules\kull_m_cred.h" />
<ClInclude Include="..\modules\kull_m_crypto.h" />
<ClInclude Include="..\modules\kull_m_crypto_ngc.h" />
<ClInclude Include="..\modules\kull_m_crypto_sk.h" />
<ClInclude Include="..\modules\kull_m_crypto_system.h" />
<ClInclude Include="..\modules\kull_m_dpapi.h" />
Expand Down
6 changes: 6 additions & 0 deletions mimikatz/mimikatz.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@
<ClCompile Include="modules\dpapi\packages\kuhl_m_dpapi_cloudap.c">
<Filter>local modules\dpapi\packages</Filter>
</ClCompile>
<ClCompile Include="..\modules\kull_m_crypto_ngc.c">
<Filter>common modules</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="mimikatz.h" />
Expand Down Expand Up @@ -635,6 +638,9 @@
<ClInclude Include="modules\dpapi\packages\kuhl_m_dpapi_cloudap.h">
<Filter>local modules\dpapi\packages</Filter>
</ClInclude>
<ClInclude Include="..\modules\kull_m_crypto_ngc.h">
<Filter>common modules</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="local modules">
Expand Down
1 change: 1 addition & 0 deletions mimikatz/modules/dpapi/kuhl_m_dpapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const KUHL_M_C kuhl_m_c_dpapi[] = {
{kuhl_m_dpapi_powershell, L"ps", L"PowerShell credentials (PSCredentials or SecureString)"},
{kuhl_m_dpapi_lunahsm, L"luna", L"Safenet LunaHSM KSP"},
{kuhl_m_dpapi_cloudap_keyvalue_derived, L"cloudapkd", L""},
{kuhl_m_dpapi_cloudap_fromreg, L"cloudapreg", L""},
{kuhl_m_dpapi_oe_cache, L"cache", NULL},
};
const KUHL_M kuhl_m_dpapi = {
Expand Down
Loading

0 comments on commit a2a25cc

Please sign in to comment.