mimikatz

mimikatz 1.0 vient de sortir en version alpha !

Cette nouvelle version n’est pas une révolution de « l’ancien » mimikatz 0.x, mais une rationalisation du fonctionnement de ce dernier (elle m’apporte surtout beaucoup plus de souplesse lors de son écriture en C/C++)

Modules

mimikatz est maintenant organisé autours de modules locaux :

  • "standard" ; commandes de base
  • crypto ; Cryptographie et certificats
  • system ; Gestion système
  • process ; Manipulation des processus
  • thread ; Manipulation des threads
  • service ; Manipulation des services
  • privilege ; Manipulation des privilèges
  • winmine; Manipulation du démineur de Windows XP (démonstration)
  • nogpo ; Pour éviter quelques GPO triviales
  • samdump ; Dump de SAM offline
  • inject ; Injecteur de librairies
  • ts ; Manipulations Terminal Server
  • divers ; Fonctions diverses trop petites pour s’émanciper

A part pour le module « standard », la séparation du module et de la fonction appelée se fait avec le séparateur ::
Exemple : inject::process lsass.exe sekurlsa.dll

Librairies

Ce n’est pas forcément le plus discret, mais j’aime injecter des librairies

  • sekurlsa ; manipulation des données de sécurités dans LSASS
  • klock ; manipulation de bureaux
  • kelloworld ; libraire à injecter, pour l’exemple

Pilote

Être administrateur n’est pas toujours suffisant, il peut aussi être intéressant de disposer d’un point d’entrée en mode utilisateur.
Un pilote, mimikatz.sys est donc disponible.

Les commandes distantes peuvent être appelées en les précédants d’un :

  • @ pour les libraires (@ seul clos la connexion à la librairie, et la décharge)
  • ! pour le pilote mimikatz (! seul clos la connexion au pilote)

72 thoughts on “mimikatz

  1. Pingback: effeciently dumping Windows password hashes « Daniel Weis's I.T Security Blog

  2. Pingback: effeciently dumping Windows password hashes - Daniel Weis - Blogs - Telligent

  3. Pingback: Dis9 Team » Dump Windows password hashes efficiently

  4. Pingback: Mimikatz Contraseñas de Windows « Seguridad y Redes

  5. Pingback: Obtener Contraseña Administrador de Windows desde Windows (Sin Hash NTML/LM) « sanchezdiego.com.ar

  6. Pingback: Latino » Blog Archive » Mimikatz Contraseñas de Windows

  7. Pingback: Dumping Cleartext Credentials with Mimikatz « Daniel Weis's I.T Security Blog

  8. Pingback: Dumping Cleartext Credentials with Mimikatz - Daniel Weis - Blogs - Telligent

  9. Pingback: Security News « CyberOperations

  10. Pingback: mimikatz: Tool To Recover Cleartext Passwords From Lsass – Dacheng Luo

  11. Pingback: Jeremiah Grossman, Security News – Episode 278 » 華人資安論壇與資安認知教育網誌

  12. Pingback: FeiFei's Blog » 获取Windows系统明文密码神器

  13. Pingback: 调试器神器 – mimikatz-获取windows处于active状态账号明文密码[转] | Vision's Blog

  14. Pingback: 轻量级神器 mimikatz – 直接抓取 Windows 明文密码! - Firedli's Blog

      • i run it as administrator win7 sp1
        but error
        Hints are as follows:
        Demande d’ACTIVATION du privilege: SeDebugPriviliege:OK
        Erreur:Impossible d’injecter !; 拒绝访问
        Erreur:pas ou plus de communication etablie

        How so? thank

      • this is full console output.
        win7 sp1 administrator run it

        mimikatz # privilege::debug
        Demande d’ACTIVATION du privilège : SeDebugPrivilege : OK

        mimikatz # inject::process lsass.exe sekurlsa.dll
        PROCESSENTRY32(lsass.exe).th32ProcessID = 580
        Erreur : Impossible d’injecter ! ; (0×00000005) 拒绝访问。

        mimikatz # @getLogonPasswords
        Erreur : pas ou plus de communication établie

  15. Pingback: 通杀WIN服务器得明文密码神器

  16. Pingback: Outils, services, sites à (re)découvrir 2012 S08 | La Mare du Gof

  17. secpol.msc -> Local Policies -> User Rights Assignments -> Debug Programs
    Remove Administrators/System
    This is also how you stop Pass-The-hash from working too.
    I’ve tried on Win7 and XP SP3 (english) and I get this error on XP
    mimikatz # inject::process lsass.exe sekurlsa.dll
    PROCESSENTRY32(lsass.exe).th32ProcessID = 640
    Erreur : Impossible d’injecter ! ; (0×00000008) Not enough storage is available to process this command.
    Same wtih Win7(64-bit) only the hex is different
    Erreur : Impossible d’injecter ! ; (0xc0000022) {Access Denied} A process has requested access to an object, but has not been granted those access rights.

    • Nevermind :) I was not using the 64-bit (x64) version on my 64-bit OS.
      Also to work around removing the sedebug priv using group policy and or secpol.msc, you can run as system (psexec -s cmd.exe) and everything works well. Very good tool, I hope you make even more additions! (@dumpall would be cool too, dump anything and everything this tool has to offer)
      -william

    • 0×00000008 is from NT 5 RDP session, not because debug right removed ;)
      in both case : psexec -s XXX … no need of debug right, and bypass session isolation in RDP ;)

  18. Pingback: 轻量级调试器神器 – mimikatz – 直接抓取 Windows 明文密码!

  19. Pingback: 百寞' Blog » Blog Archive » 轻量级调试器神器 – mimikatz – 直接抓取 Windows 明文密码!

  20. Pingback: 转:windows下轻量级调试神器—mimikatz – 2哥博客|H3CIE|网络技术|数据中心|路由交换|网络安全|黑客技术|CCIE|Linux|服务器|wordpress

  21. Pingback: 神器mimikatz使用命令方法总结 | Vision's Blog

  22. Pingback: mimikatz的使用方法总结 « Crackerban Team

  23. Pingback: 轻量级调试器神器 – mimikatz – 直接抓取 Windows 明文密码! « x7z|关注网络安全|Web安全|最新0day漏洞|网站安全顾问

  24. Isn’t this how Windows can send HTTP-Authentication using IE without prompting for the password? If so, could a program like Firefox, launched as the same user who is logged on, read those credentials and also pass HTTP-authentication without being prompted? This could add functionality to something like FF if this was so, could it not? I mean IE does it…
    -mandingo-

  25. Pingback: Unsung Heros (the list) « Cатсн²² (in)sесuяitу / ChrisJohnRiley

  26. C:\Program Files\WinRAR\ts\Win32>mimikatz.exe
    mimikatz 1.0 x86 (alpha)        /* Traitement du Kiwi (Feb  9 2012 01:46:57) */
    // http://blog.gentilkiwi.com/mimikatz
    
    mimikatz # privilege::debug
    Demande d'ACTIVATION du privilège : SeDebugPrivilege : OK
    
    mimikatz # inject::process lsass.exe sekurlsa.dll
    PROCESSENTRY32(lsass.exe).th32ProcessID = 452
    Erreur : Impossible d'injecter ! ; (0x00000008) 存储空间不足,无法处理此命令。
    
    mimikatz #

    help me

  27. FYI, Windows 8 (dev-preview) is working for me so far. Haven’t tried all the commands yet but so far so good. Is there a way to run all commands planned? Maybe output to a single file?
    -mandingo-

    • I’ve some surprises for windows 8 consummer preview :)
      they’re are some problem with the current version, internal is 90% for x64, and 70% x86.

  28. Pingback: Drunken Security News – Episode 279 » 信息安全播客

  29. Pingback: Tonya Bacam, Security Onion – Episode 279 » 華人資安論壇與資安認知教育網誌

  30. Pingback: Live from CCDC – Episode 280 » 華人資安論壇與資安認知教育網誌

  31. Pingback: Recuperando contraseñas de Windows en texto plano (I de II)

  32. Pingback: 牛X神器-mimikatz | Yoio's Blog

  33. Pingback: 欺天: NLP | HACK | 社会工程学 | 金融

  34. Pingback: Remotely Recovering Windows Passwords in Plain Text « CYBER ARMS – Computer Security

  35. Pingback: 轻量级调试器神器 – mimikatz – 直接抓取 Windows 明文密码 | Linglin'S Blog

  36. Pingback: Episode 647 – Quantum Encryption,TriCk, 100 days, Mimikatz, and MySQL DoS | InfoSec Daily

  37. Pingback: Obtener Contraseña Administrador de Windows desde Windows (Sin Hash NTML/LM) | GEEKNOPATAS

  38. Пополним коллекцию благодарностей на иностранных языках :)
    Спасибо!

  39. Hey, how about a natively english version? I had french in school, but it’s a bit rusty tbh ;)

  40. Pingback: Pw » 关注互联网技术,专注于信息安全,记录生命点滴故事.

  41. Pingback: Recovering Windows Passwords Remotely in Plain Text | IT Security

  42. Pingback: gentilkiwi @ PHDays 2012 | Blog de Gentil Kiwi

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

*

Vous pouvez utiliser ces balises et attributs HTML : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>