Sort of command that would pull a download that is self executed to the host machine?

That’s worded a bit fucky, if I need to elaborate, please chime in.

  • Strit@lemmy.linuxuserspace.show
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    I mean, I’m sure it’s possible, it’s just a matter of how to get the honeypot/script on the system and give the downloaded file executable rights.

    • chingadera@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Is there anything that is specific to ssh that would allow for this? Like a command that would allow something to execute back to the other machine similar to downloading? I’m not well versed just kind of a napkin idea I thought of.

        • chingadera@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          I kind of figured it would be a shot in the dark, some scripting could definitely be done to assess that, and even run code per major OS depending on some automated recon.

          Let’s say you’ve got that figured out, and the user is running putty on windows as an administrator. Is there anything that could take advantage of that fact?

          I feel like this would be way easier/more feasible to run a script on your own machine as a defensive measure like OC mentioned early, but just more asking our of curiosity. I’m not skilled enough to even imagine what to do with this or write it, but I am fascinated by security stuff.

        • chingadera@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          And when you say “can’t know” do you mean it would be impossible to tell strictly through SSH?