HavocFramework / Havoc

The Havoc Framework.
GNU General Public License v3.0
6.3k stars 905 forks source link

[Teamserver-Client--Bug]: #464

Open ckj18 opened 4 months ago

ckj18 commented 4 months ago

Contact Details

chlrudwn456@gmail.com

What happened?

I am a student learning the Havoc framework. Both the server and client are running, and I configured the Listener to support both https and http. image image

My goal is to generate payloads and execute an exe file on the Victim to establish a connection with the Host. However, when I try to execute the exe file on the Victim, I encounter the following connection error. I'm curious about what might be causing this issue, and could it be due to having all internet connections disabled for security purposes?

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

[DEBUG::WinMain::5] WinMain: hInstance:[000000bcb8da5000] hPrevInstance:[00007ff6812f4500] lpCmdLine:[] nShowCmd:[-2127608576]
[DEBUG::DemonInit::290] TRANSPORT_HTTP
[DEBUG::DemonInit::393] OSVersion: 10
[DEBUG::DemonConfig::581] Config Size: 526
[DEBUG::DemonConfig::588] Sleep: 2 (15%)
[DEBUG::DemonConfig::593] [CONFIG] Memory:
 - Allocate: 2
 - Execute : 2
[DEBUG::DemonConfig::609] [CONFIG] Spawn:
 - [x64] => C:\Windows\System32\notepad.exe
 - [x86] => C:\Windows\SysWOW64\notepad.exe
[DEBUG::DemonConfig::629] [CONFIG] Sleep Obfuscation:
 - Technique: 0
 - Stack Dup: FALSE
[CONFIG] ProxyLoading: 0
[CONFIG] SysIndirect : FALSE
[CONFIG] AmsiEtwPatch: 0
[DEBUG::DemonConfig::645] KillDate: 0
[DEBUG::DemonConfig::667] [CONFIG] Hosts [1]
:[DEBUG::DemonConfig::673]  - 127.0.0.1:443
[DEBUG::HostAdd::359] Host -> Host:[127.0.0.1] Size:[20] Port:[443]
[DEBUG::DemonConfig::682] Hosts added => 1
[DEBUG::DemonConfig::686] Host going to be used is => 127.0.0.1:443
[DEBUG::DemonConfig::690] [CONFIG] Secure: TRUE
[DEBUG::DemonConfig::696] [CONFIG] UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
[DEBUG::DemonConfig::701] [CONFIG] Headers [1]:
[DEBUG::DemonConfig::709]   - Content-type: */*
[DEBUG::DemonConfig::717] [CONFIG] Uris [1]:
[DEBUG::DemonConfig::725]   - /
[DEBUG::DemonConfig::762] [CONFIG] [PROXY] Disabled
[DEBUG::LdrModuleLoad::335] Loading module using LdrLoadDll
[DEBUG::LdrModuleLoad::354] Module "ADVAPI32.DLL": 00007ffe0ac40000
[DEBUG::RtAdvapi32::57] Loaded Advapi32 functions
[DEBUG::LdrModuleLoad::335] Loading module using LdrLoadDll
[DEBUG::LdrModuleLoad::354] Module "IPHLPAPI.DLL": 00007ffe084d0000
[DEBUG::RtIphlpapi::263] Loaded Iphlpapi functions
[DEBUG::LdrModuleLoad::335] Loading module using LdrLoadDll
[DEBUG::LdrModuleLoad::354] Module "SHELL32.DLL": 00007ffe09c50000
[DEBUG::RtShell32::198] Loaded Shell32 functions
[DEBUG::LdrModuleLoad::335] Loading module using LdrLoadDll
[DEBUG::LdrModuleLoad::354] Module "SSPICLI.DLL": 00007ffe09000000
[DEBUG::RtSspicli::423] Loaded Sspicli functions
[DEBUG::LdrModuleLoad::335] Loading module using LdrLoadDll
[DEBUG::LdrModuleLoad::354] Module "WS2_32.DLL": 00007ffe0b430000
[DEBUG::RtWs2_32::383] Loaded Ws2_32 functions
[DEBUG::LdrModuleLoad::335] Loading module using LdrLoadDll
[DEBUG::LdrModuleLoad::354] Module "WINHTTP.DLL": 00007ffe08080000
[DEBUG::RtWinHttp::496] Loaded WinHttp functions
[DEBUG::RtGdi32::300] Loaded Gdi32 functions
[DEBUG::LdrModuleLoad::335] Loading module using LdrLoadDll
[DEBUG::LdrModuleLoad::354] Module "OLEAUT32.DLL": 00007ffe0b6c0000
[DEBUG::RtOleaut32::132] Loaded Oleaut32 functions
[DEBUG::RtMsvcrt::230] Loaded Msvcrt functions
[DEBUG::RtUser32::166] Loaded User32 functions
[DEBUG::LdrModuleLoad::335] Loading module using LdrLoadDll
[DEBUG::LdrModuleLoad::354] Module "NETAPI32.DLL": 00007ffdfaa60000
[DEBUG::RtNetApi32::339] Loaded NetApi32 functions
[DEBUG::SysNtQueryInformationProcess::227] NtQueryInformationProcess( ... ) = 00000000
[DEBUG::CfgQueryEnforced::1248] Control Flow Guard Policy Enabled = FALSE
[DEBUG::DemonInit::570] Instance DemonID => 6b2a2b04
[DEBUG::SysNtOpenThreadToken::55] NtOpenThreadToken( ... ) = c000007c
[DEBUG::SysNtOpenProcessToken::68] NtOpenProcessToken( ... ) = 00000000
[DEBUG::SysNtQueryInformationToken::410] NtQueryInformationToken( ... ) = 00000000
[DEBUG::SysNtClose::451] NtClose( ... ) = 00000000
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!
[DEBUG::TransportInit::15] Connecting to listener
[DEBUG::HttpSend::291] HTTP Error: 12029
[DEBUG::HostRotation::489] Specified to keep going. To infinity... and beyond
[DEBUG::PackageTransmitNow::264] TransportSend failed!

Did You Read Over Your Issue First?

byinarie commented 4 months ago

If you're running the teamserver with the -debug flags and compiled demon with those flags enabled, demon will send debug output upon execution. Run the teamserver without the debug flags, and recompile a new demon

Cracked5pider commented 3 months ago

image

it seems like the agent is not able to connect to the specified host or address you specified. make you sure you specified everything correctly and can connect to the host from your target machine (you can check by pinging the address or domain yo specified)