sliver icon indicating copy to clipboard operation
sliver copied to clipboard

`implants` command experiences consistent failures after specific trigger

Open save196 opened this issue 1 year ago • 1 comments

Describe the bug The implants command starts failing and returns [!] rpc error: code = Unknown desc = record not found instead of the list of generated implants. The only way I was able to fix it is by removing the ~/.sliver dir.

To Reproduce I was able to consistently reproduce the issue by running migrate -p <pid> in a session created with service format (I'm not sure if it may happens even under other circumnstances). Steps:

  1. implants -> [*] No implant builds
  2. generate --mtls <ip> -l -f service
  3. implants -> shows the generated implant
  4. (spawn session implant on the target machine)
  5. use <session-id>
  6. ps
  7. background
  8. implants -> still shows the list of implants
  9. use <session-id>
  10. migrate -p <pid> -> returns [*] Successfully migrated to 1120 but doesn't spawn any session
  11. background
  12. implants -> [!] rpc error: code = Unknown desc = record not found

Expected behavior Having the list of generated implants from implants.

Desktop (please complete the following information):

  • OS: Kali linux
  • Version 2024.3

Additional context Sliver version: compiled from master (c58cb2d)

save196 avatar Sep 02 '24 08:09 save196

Same issue for me

julie-de-ville avatar Jan 24 '25 16:01 julie-de-ville