Commit Graph

156 Commits

Author SHA1 Message Date
Benjamin DELPY
6498084fba [mimikatz/mimilib] RPC cleaning, new CredentialKeys format string 2016-07-31 02:02:19 +02:00
Benjamin DELPY
3d08b8b758 [internal] mimilib - sekurlsa for WinDBG now uses RPC for LSA CredentialKeys 2016-07-29 23:32:06 +02:00
Benjamin DELPY
b2f09cf903 [internal] RPC modules no more needed 2016-07-29 20:18:26 +02:00
Benjamin DELPY
3193ab06db [internal] RPC for LSA CredentialKeys & cleaning 2016-07-29 20:04:05 +02:00
Benjamin DELPY
d292c736ce [internal] mimikatz kerberos tools for debug 2016-07-22 23:15:47 +02:00
Benjamin DELPY
6f671b9fd5 [internal] removing old RPC modules 2016-07-19 17:51:47 +02:00
Benjamin DELPY
4ed563f925 [internal] modules RPC directory & cleaning 2016-07-19 17:48:55 +02:00
Benjamin DELPY
dc78942618 [internal] using NDR type serialization for Kerberos PAC instead of dirty home-made 2016-07-18 00:41:01 +02:00
Benjamin DELPY
741d3f33fb [internal] using NDR type serialization for Kerberos PAC instead of dirty home-made 2016-07-18 00:36:02 +02:00
Benjamin DELPY
0666f219d0 [internal] ASN.1 is always dirty, but less (winber) 2016-07-17 01:46:14 +02:00
Benjamin DELPY
c07a5ce5c9 [new] mimikatz IIS module, to deal with passwords in applicationHost.config
[new/internal] tiny xml module (msxml2)
[internal] mimikatz::lsadump cast fix to build on v140
2016-07-11 00:32:51 +02:00
Benjamin DELPY
7bfe0d944c [new] dpapi::chrome now supports Cookies database (and Login Data) 2016-07-09 18:33:01 +02:00
Benjamin DELPY
55e9e1f506 [syntax] lsadump::sam, lsadump::secrets, lsadump::cache now use /system:filename /sam:filename /security:filename arguments
[new] lsadump::cache now replace selected DCC cache with /user:username, /password:xxx or /ntlm:0011...eeff
[internal] kull_m_registry_OpenAndQueryWithAlloc to avoid multiple calls (Open/Query/Alloc/Query/Close)
2016-07-02 02:38:22 +02:00
Benjamin DELPY
c4e64a9e6c [new] LSA private data can be retrieved with LsaRetrievePrivateData and now LsaQuerySecret 2016-06-25 21:31:25 +02:00
Benjamin DELPY
568c53e913 DPAPI Masterkey domain key can now be decrypted by RPC
[new] dpapi::masterkey ... /rpc [/domain:a.local] [/dc:srv.a.local]
[new] MS-BKRP RPC module
[new / internal] kull_m_rpc: generic RPC module
2016-06-25 01:51:50 +02:00
Benjamin DELPY
35b122908b Chrome DPAPI support & optimization
[new] dpapi::chrome, with custom/minimized sqlite3 included
[new] kerberos::ask now supports encryption preference (des/rc4/aes128/aes256)
[improvement] DRSR RPC code size minimized
[improvement] dpapi::wlan && dpapi::wwan use better functions to describe blobs
[internal] kull_m_string now supports q&d unicode to ascii
2016-06-23 02:16:36 +02:00
Benjamin DELPY
2bae1f1b87 [fix #48] mimikatz sekurlsa for NT5 lsasrv.dll minimal timestamp for SP2 adapted for US (built 2:14:12 before FR) 2016-06-13 21:01:23 +02:00
Benjamin DELPY
ac09c27a40 [remove] mimikatz lsadump::dcsync req v10 & rep v9
[future fix] mimikatz lsadump::dcsync pDrsExtensionsInt->dwExtCaps = MAXDWORD32
2016-06-06 01:51:30 +02:00
Benjamin DELPY
189203216f [fix #47] mimikatz lsadump::dcsync 'Fun with flags' to support AD Privileged Access Management in 2016 TP5 (req v10 & rep v9) 2016-06-06 01:01:37 +02:00
Benjamin DELPY
9b325b893c [fix #46] MSV structure alignment for Windows 10 > LTSB (LSAISo & normal)
[enhancement] SID/Name lookup & LDAP query now with system arg (not only local/current domain)
2016-06-04 01:35:35 +02:00
Benjamin DELPY
ddb93319a2 Woops, sorry :) 2016-06-02 01:32:39 +02:00
Benjamin DELPY
e56871d8da [fix] mimikatz lsadump::dcsync now supports AD with recycle bin enabled (thanks to Marcus Rath for report) 2016-06-01 23:48:00 +02:00
Benjamin DELPY
58a73be753 lsadump::netsync to ask a DC to send current and previous NTLM hash of DC/SRV/WKS
Lots of thanks to @asolino for his help!
2016-05-25 00:18:52 +02:00
Benjamin DELPY
4c6ffa99c5 [fix #39] Removing 2 bytes of alignment when using LSAIso with MSV 2016-05-22 20:07:50 +02:00
Benjamin DELPY
d02a197734 [fix #36] Replace wcsicmp by _wcsicmp to avoid warnings with moderns VS 2016-05-06 23:43:59 +02:00
Benjamin DELPY
81594553f7 New SID module
[remove] misc::addsid
[new] sid:: module, to lookup, query, modify, add... (2003/2008r2/2012r2 right now)
2016-05-06 01:31:04 +02:00
Benjamin DELPY
ea52c92cec [close #35] DCSync works with renamed domains
Thanks to @rmbolger & @MichaelGrafnetter, DCSync now deals with msDS-ReplicationEpoch / dwReplEpoch
2016-05-01 01:30:04 +02:00
Benjamin DELPY
9e298f16e4 Welcom to Windows 10 LTSB & current
[remove] mimidrv & mimikatz kernel module: Process & Object callbacks remover are not anymore in the program
[internal] Windows 10 is now splitted in 1507 (LTSB) and 1511 (current)
[internal] mimidrv: Windows 10 support added
[internal] mimilib WinDBG module & mimikatz::sekurlsa: Windows 10 MSV / Kerberos Tickets are not specific anymore (offsets table)
[internal] Using KULL_M_MEMORY_GLOBAL_OWN_HANDLE instead of local variable in each function
2016-03-27 19:22:36 +02:00
Benjamin DELPY
c1c1608ca8 System Environment Variables & other stuff
[new] System Environment Variables user module
[new] System Environment Variables kernel IOCTL for Set
[enhancement] privilege::sysenv
[enhancement] Busylight
[enhancement] misc::skeleton can avoid anti-AES patching for aware clients with /letaes
2016-02-29 03:11:25 +01:00
Benjamin DELPY
5b72f2a31a Crypto & René Coty
[new] crypto::certificates /silent & /nokey flags
[new] crypto::keys /silent flag
[new] kull_m_busylight module now support protocol for new devices
2016-02-17 00:14:18 +01:00
Benjamin DELPY
e15b0ca68a Some DPAPI stuff
- [new] vault module now handles more Vault types, Attributes and Properties (with /attributes)
- [new] misc::compressme to create a compressed version of mimikatz
- [new] dpapi::cred now handles legacy (NT5) multiple credentials
- [new] dpapi::wifi & dpapi::wwan to deal with network profiles
- [internal] kuhl_m_vault: vault::list now deals with SID / credentials attributes (with one incorrect align.)
- [internal] kull_m_string: removed unused kull_m_string_suspectUnicodeStringStructure
- [internal] kull_m_string: added kull_m_string_printSuspectUnicodeString
- [internal] kull_m_string: added dirty kull_m_string_quickxml_simplefind
- [internal] kull_m_memory: quick compress & decompress routines
- [internal] kull_m_dpapi: added blob flags descriptions
- [internal] kull_m_dpapi: fixed blob protection flags description for system
- [internal] kull_m_dpapi: removed unused kull_m_dpapi_unprotect_backupkey_with_secret
- [internal] kull_m_cred: added legacy (NT5) credentials structures & routines
2016-02-08 01:41:26 +01:00
Benjamin DELPY
f114a779e3 Lots of internals and 2003 SP1 support
- [new] sekurlsa module and its kerberos submodule now work with old 2003 SP1 (live or dump)
- [remove] misc::wifi with WLanAPI will be replaced with dpapi::wifi raw access
- [fix] crypto::certificate buffer free at the right place
- [internal] new kull_m_file Find function with callback
- [internal] removed kull_m_file functions (read/write/file exist) with environment-variables, now used for all command-lines
- [internal] kull_m_crypto_hash better checks for CRC32 trick
- [internal] mimilove for Windows 2000 banner update
- [internal] crypto::system now works with buffers (for future registry access)
- [internal] kerberos::ptt & crypto::system call kull_m_file_Find instead of their own implementation
- [internal] remove CrtlHandler, from mimikatz main modules, when exiting to let PowerShell clean
- [internal] expand command lines environment-variables from mimikatz main modules
2016-01-31 16:01:45 +01:00
Benjamin DELPY
111b47a67b Crypto, crypto everywhere...
[new] crypto::providers and crypto::certificates now list provider types
[internal] Removed kull_m_crypto_crc32 routine from crypto module, relies now on cryptdll using CALG_CRC32 with kull_m_crypto_hash
[internal] Removed incorrect usage of BOOL instead of NTSTATUS in kuhl_m_pac_validationInfo_to_PAC
2016-01-17 00:36:41 +01:00
Benjamin DELPY
34d1d0f573 Crypto & Kerberos enhancements
- [fix] dpapi::capi now deals with AT_SIGNATURE keys
- [fix] sekurlsa::kerberos / kerberos:: encryption type are now signed
- [new] kerberos::ask to ask / save TGS from current TGT
- [new] crypto::system to describe/to export Windows System Certificate (cert, crl, ctl, keyid)
- [internal] smaller banner for smaller displays
- [internal] Copyrights for 2016
- [internal] kull_m_file can deal with environment-variable strings in paths
- [internal] kull_m_crypto new types for CERT_PROP_*_ID
2016-01-12 03:13:12 +01:00
Benjamin DELPY
fbb32cdcfa MSV & Kerberos fixes, LSA and Privilege enhancements
- [fix] sekurlsa::msv & mimilib for Windows 10 build 10586
- [fix #20] sekurlsa::tickets (display & export) for NT 6 != Windows 10
- [close #16] kerberos::golden now with ~NetBios name in LogonDomainName field of the PAC
- [new] privilege module shortcuts (driver, security, tcb, backup, restore) and functions (by id or name)
- [new] lsadump::dcsync and lsadump::lsa /inject 'NTLM-Strong-NTOWF' in Supplemental Credentials structures (Windows 2016 TP 4)
- [internal] NtSetSystemInformation can now be used in code
2016-01-06 02:46:28 +01:00
Benjamin DELPY
1b130574ed mimikatz & mimilib sekurlsa module ready for Windows 10 build 10586 2015-11-13 00:47:56 +01:00
Benjamin DELPY
71015c7081 mimikatz: updated to build with hid.lib 2015-11-09 23:45:49 +01:00
Benjamin DELPY
2576d59c8b Kiwi & René Coty BusyLight mode 2015-10-09 00:40:50 +02:00
Benjamin DELPY
5d20400f6c mimikatz + mimilib sekurlsa fix for SmartCard informations 2015-10-05 01:08:45 +02:00
Benjamin DELPY
42993f5102 sekurlsa::kerberos - Fix SmartCard pin code 2015-09-30 00:40:32 +02:00
Benjamin DELPY
76e68a5f23 sekurlsa::pth Auto-impersonation (/impersonate) 2015-09-27 00:21:58 +02:00
Benjamin DELPY
91b3957211 lsadump::dcsync fix for with 2012r2 AD Recycle Bin
Thank you to @asolino, @mubix & @carnal0wnage !
2015-09-16 22:19:19 +02:00
Benjamin DELPY
5f12ced3fb Enhancements
* Code cleaning
2015-09-06 19:34:30 +02:00
Benjamin DELPY
bea89c67e4 kerberos::golden : fix for groups printing. 2015-09-02 01:30:12 +02:00
Benjamin DELPY
ecf3fd5289 lsadump::dcsync autoselect a domain controller with Directory Service (DIRECTORY_SERVICE) 2015-09-02 01:00:45 +02:00
Benjamin DELPY
c322dc582f Cleaning & few Win10 adaptations 2015-08-30 22:01:05 +02:00
Benjamin DELPY
a2d50caa83 Licence fix on one missed file by AnkhSVN ;) 2015-08-25 11:24:53 +02:00
Benjamin DELPY
8b8eaf0201 Global licence update, credits to Vincent LE TOUX for DCSync, and lsadump::hash moved to crypto::hash 2015-08-25 11:19:01 +02:00
Benjamin DELPY
ae041e0ece lsadump::dcsync - XP and 2003 don't allow QueryContextAttributes for SECPKG_ATTR_SESSION_KEY when using NTLM protocol in userland, forcing Kerberos instead (Negociate otherwise).
Thanks @asolino for letting me show!
2015-08-24 12:21:52 +02:00
Benjamin DELPY
b2687e3085 DRSR error printing 2015-08-24 01:57:20 +02:00