Havoc icon indicating copy to clipboard operation
Havoc copied to clipboard

[File a bug report for the Demon Implant]: Keeps sending checkin request

Open muhyuddin opened this issue 3 years ago • 5 comments

Contact Details

No response

What happened?

Sometimes while working fine, the implant doesn't respond to command requests e.g. download/upload and starts sending check-in requests, but the server doesn't handle it as the implant id is already registered. Check-in ping time is updated to 0 sec when a packet is received, but no command is executed.

Suggestion: Re-registering the implant can be implemented whenever it receives a new check-in request with an already used id or any other mechanism, not just ignoring it.

image

image

Did You Do a Pull First?

Latest (You performed a pull first)

Relevant log output

No response

Did You Read Over Your Issue First?

  • [X] I declare I made an effort and provided the necessary information for replication of the issue.

muhyuddin avatar Nov 10 '22 23:11 muhyuddin

Thanks for your report. Seems like its rather an agent issue since it doesn't detect that it has been registered. I am going to try to fix this issue.

Cracked5pider avatar Nov 11 '22 02:11 Cracked5pider

the same question sorry for issue #237 ,can you delete #237

ghost avatar Dec 05 '22 09:12 ghost

alright gotcha.

Cracked5pider avatar Dec 05 '22 14:12 Cracked5pider

btw does this issue still persists? since I couldn't manage to reproduce the error.

Cracked5pider avatar Dec 05 '22 14:12 Cracked5pider

i think the issue is in demon.c main loop init---online---dispatch command----disconnect----reconnect---reinit(error is here)

i changed CommandDispatcher()'s main loop in command.c change "return" and "break" to "continue"; maintain agent which has been inited in the main loop , it works

ghost avatar Dec 06 '22 09:12 ghost

I believe that this has already been fixed on https://github.com/HavocFramework/Havoc/pull/257 maybe close this @Cracked5pider?

S4ntiagoP avatar Feb 24 '23 21:02 S4ntiagoP

already fixed, thanks for reporting!

S4ntiagoP avatar Feb 28 '23 01:02 S4ntiagoP