LSASS Dumping Using DFIR Tools

Sdílet
Vložit
  • čas přidán 7. 06. 2024
  • In today's video, I show a way to dump LSASS without dumping just the LSASS process. We are using DFIR tools to dump all of the memory, exfil the file created, and then dump the credentials of the box. This is a foolproof method and will get by almost every EDR solution. You will have to deal with a large file size, but in today's day and age, this isn't as big of a problem as it has been in the past.
    WinPmem
    github.com/Velocidex/WinPmem/...
    Volatility
    github.com/volatilityfoundati...
    Chapters
    00:00 Introduction
    00:28 Credential Guard
    02:05 WinPmem
    04:18 Dumping Memory
    05:31 SIEM Rules for Detection of Memory Dumping
    07:52 Dumping Creds with Volatility
    10:36 Please Turn on Credential Guard! Do IT Now!
    10:57 Outro
  • Věda a technologie

Komentáře • 31

  • @HAMETE
    @HAMETE Před 28 dny

    As always. This channel is gold. Thanks!

  • @MikeClark7
    @MikeClark7 Před 28 dny

    Very cool. I always enjoy learning new things from your videos! They give me great ideas for different detections.

  • @cyberadvent
    @cyberadvent Před 28 dny +1

    This was amazing and I will be using this lol thank you!

  • @erwin166
    @erwin166 Před 28 dny

    Great!!, I like computer forensic, and I will keep this topic in mind.

  • @danielabay01
    @danielabay01 Před 28 dny

    Awesome technique, learned something knew today, thanks!

  • @theuni903
    @theuni903 Před 28 dny

    Hi Brian, thank you so much the content you are putting out. In terms of detection, would it not be more robust to look for the winpmem driver hash? As modifying it would invalidate the signature. Of course, assuming that we would have the detection capabilities and incentives

  • @eladfern
    @eladfern Před 27 dny

    Great video !!!
    Unfortunately Microsoft requirements for Credential Guard are pretty "heavy". For example it will work only on windows Enterprise edition.

    • @CyberAttackDefense
      @CyberAttackDefense  Před 26 dny

      Very true! This is the reason many orgs didn’t implement this control. Implement where possible.

  • @ohmsohmsohms
    @ohmsohmsohms Před 28 dny

    Wow

  • @crash9706
    @crash9706 Před 28 dny

    Great content. i learn a lot from you as a red teamer. My question is, how did you learn or know about this.

    • @CyberAttackDefense
      @CyberAttackDefense  Před 28 dny +1

      This one was brought on by a fleeting chat in a SANS chat room and experimentation. I am lucky to be around other smart people with great ideas that I can test and make into reality.

  • @BEAST4LIF3
    @BEAST4LIF3 Před 28 dny +1

    Funny I used the same technique with remote magnet capture but had trouble parsing out lsass with volatility. SAM worked great.

    • @CyberAttackDefense
      @CyberAttackDefense  Před 28 dny

      I have done similar remotely with PCIleach installed as a service.

    • @BEAST4LIF3
      @BEAST4LIF3 Před 28 dny

      @@CyberAttackDefense sounds similar to phymem2profit maybe? BTW what is the best way to reach you. I am a solo operator right now and always need people to bounce ideas off of😅.

    • @CyberAttackDefense
      @CyberAttackDefense  Před 27 dny

      Twitter DM

  • @cvport8155
    @cvport8155 Před 28 dny

    Wow bro make more ❤❤❤

  • @franciscog7110
    @franciscog7110 Před 14 dny

    This is a great share. I am using it and dumped the RAM, and from it the SAM hashes using volatility3. However, it would be more useful to get the actual NTLM hashes of the AD users, and this is not in the LSA secrets method from volatility3. I thought, that maybe if I carved out somehow the process data from the Lsass.exe that is in the RAM dump it would be possible to analyze it with mimikatz minidump locally. But it just fails. Am I doing something that makes no sense?

    • @CyberAttackDefense
      @CyberAttackDefense  Před 14 dny

      The hashes from volatility are the ntlm hashes. You can crack or pass them.

    • @franciscog7110
      @franciscog7110 Před 14 dny

      thank you for the reply​@@CyberAttackDefense. I get the local user hashes from the volatility3 plugin windows.hashdump and mimikatz returns also the NT hashes of the AD users in the same host. So I was wondering if it is possible to convert the output from Winpmem and use it on mimikatz offline. I know the DA NTLM hash is there, and then just need to pass it to end the test

    • @CyberAttackDefense
      @CyberAttackDefense  Před 13 dny

      @@franciscog7110 You can dump the process with volatility and run mimikatz against it. Did you try using memdump? or if you have an older version of volatility there is a mimikatz plugin.

  • @Goun-hn6uv
    @Goun-hn6uv Před 12 dny

    Then how to bypass credential guard?

    • @CyberAttackDefense
      @CyberAttackDefense  Před 11 dny

      So you can’t really bypass credential guard. There are some other methods but the closest I have seen was what Oliver Lyak did here. research.ifcr.dk/pass-the-challenge-defeating-windows-defender-credential-guard-31a892eee22

    • @Goun-hn6uv
      @Goun-hn6uv Před 9 dny

      @@CyberAttackDefense thanks for sharing!

  • @gunnerysergeant8889
    @gunnerysergeant8889 Před 27 dny

    Was that from a low-priv user??

  • @alexanderdell2623
    @alexanderdell2623 Před 28 dny +1

    Man, stop burning tools just like that😅