HavocFramework / Havoc

The Havoc Framework.
https://havocframework.com
GNU General Public License v3.0
6.72k stars 949 forks source link

[Teamserver-Client--Bug]: Dotnet inline-execute & execute ERROR - Execution failed or CLR failed #374

Closed vatsalgupta67 closed 1 year ago

vatsalgupta67 commented 1 year ago

Contact Details

No response

What happened?

I was trying to execute mimikatz and many other executables too but got an error again and again - ERROR : Execution failed or CLR failed something.

I also tried with privileged user and spent over hours to fix but nothing worked !

Did You Do a Pull First?

Latest (You performed a pull first)

Did You Try With the Dev Branch?

Yes (You tried using the dev branch but the problem persist)

Relevant log output

dotnet inline-execute /usr/share/windows-resources/mimikatz/x64/mimikatz.exe coffee exit
[*] [F5ECB879] Tasked demon to inline execute a dotnet assembly: /usr/share/windows-resources/mimikatz/x64/mimikatz.exe
[+] Send Task to Agent [200 bytes]
[*] [HwBpEngine] Amsi/Etw has been hooked & patched
[*] Using CLR Version: v4.0.30319
[!] Failed to execute assembly or initialize the clr

Did You Read Over Your Issue First?

S4ntiagoP commented 1 year ago

that module is only for .NET binaries

vatsalgupta67 commented 1 year ago

I tried Rubeus.exe and still not working !!!

S4ntiagoP commented 1 year ago

It works for me, can you share logs/screenshots?

vatsalgupta67 commented 1 year ago

Hi, now it worked 😊. As you said that only.NET binaries are supported. But I used & saw non-dotnet executables running through "dotnet inline-execute". So, from now only dotnet is supported or non-dotnet too ?

Can we implement something for non-dotnet binaries too ? I was recently doing Red Team Engagements and found Havoc is awesome. But on other hand, it should be supported for non - dotnet binaries. Also can we implement interactive shell ( it'll be handy)

Thanks for your precious time!!!