this post was submitted on 10 Jul 2025
12 points (100.0% liked)

Linux

56916 readers
665 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] whostosay@lemmy.world 3 points 3 weeks ago (1 children)

Not quite, PC gets hacked, on hacked machine someone does something like cd, but on that PC cd has been set up as an alias for some sort of command that downloads a malicious executable to the hackers machine and executed it.

That executable very well could be a keylogger, but doesn't necessarily have to be. It could be be rm -rf --no-preserve-root / or a reverse shell or whatever really.

I imagine cd would be a terrible choice to alias given how much it's used, but maybe something else more obscure could be used that is frequently used when bots/attackers are rummaging through files for stuff to steal.

[–] Strit@lemmy.linuxuserspace.show 4 points 3 weeks ago (1 children)

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.

[–] whostosay@lemmy.world 1 points 3 weeks ago (1 children)

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.