Thanks for the info, so this searchable items list is getting populated by available programs when sudo command is run initially is the idea here ?Nokkaelaein wrote: Mon Jan 13, 2025 8:23 am That's because they are not installed. Checked your used command more closely, and you are doing an "apt search" - this searches for all suitable available packages, not merely packages that are installed.
Hacked by hydra. At wits end.
Re: Hacked by hydra. At wits end.
-
- Posts: 338
- Joined: Fri Jul 17, 2020 10:32 am
Re: Hacked by hydra. At wits end.
No, sudo doesn't have anything to do with it. Sudo is a utility in unix/linux/etc. to run things with elevated privileges, and it only does that. It's most often used in admin tasks a regular user account doesn't have sufficient privileges for. In turn, apt just has a command called "search" that lists available packages matching the search string, and that's it. You can do an apt search with standard user privileges, too, with no use of sudo. (Provided that a system has fetched the package lists for the repositories in use - manually fetching the lists is done for example by running "apt update", and this is an action that requires elevated privileges. Anyway, everything seems to be okay with your systemscatman98 wrote: Mon Jan 13, 2025 8:31 am Thanks for the info, so this searchable items list is getting populated by available programs when sudo command is run initially is the idea here ?
Last edited by Nokkaelaein on Mon Jan 13, 2025 8:43 am, edited 1 time in total.
Re: Hacked by hydra. At wits end.
scatman98 wrote: Mon Jan 13, 2025 6:14 am As soon as I run an update on fresh install malware gets installed like hydra, squashfs-tools-ng, slack , tiger-otheros, unburden-home-dir , vagrant-sshsfs , vagrant-libvirt, vbackup , unionfs-fuse , python3-cinder, python-flufl, ruby-lockfile and many more.
Not one of these programs are installed on my system I installed just over a week ago.
Check again.
Code: Select all
apt list --installed
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
- DukeComposed
- Posts: 1453
- Joined: Thu Mar 16, 2023 1:57 pm
Re: Hacked by hydra. At wits end.
Agreed, network security tools are an important part of the Linux ecosystem. We also don't know for sure that any of these packages are actually installed, since "apt search <something>" can list a bunch of software, but it doesn't actually install any of it. dpkg -l | grep hydra will be useful here in showing if any of these tools are actually present on the system.Nokkaelaein wrote: Mon Jan 13, 2025 8:07 am No, it's not malware, it's a security tool developed for breaching login passwords. Why it is installed on your system is hopefully discovered later in this thread.
Code: Select all
Repos:
Packages: pm: dpkg pkgs: 2117 libs: 1052 tools: apt,apt-get,aptitude,nala,synaptic
Perhaps OP thinks that "apt search <something>" searches the local system for installed software, rather than what "apt search" really does: searches the repositories configured on the system for available packages.
-
- Posts: 338
- Joined: Fri Jul 17, 2020 10:32 am
Re: Hacked by hydra. At wits end.
Indeed, ninja'd above while you were writing this, heh :)DukeComposed wrote: Mon Jan 13, 2025 8:43 am We also don't know for sure that any of these packages are actually installed, since "apt search <something>" can list a bunch of software, but it doesn't actually install any of it.
Re: Hacked by hydra. At wits end.
yes i did assume these were installed packagesDukeComposed wrote: Mon Jan 13, 2025 8:43 amAgreed, network security tools are an important part of the Linux ecosystem. We also don't know for sure that any of these packages are actually installed, since "apt search <something>" can list a bunch of software, but it doesn't actually install any of it. dpkg -l | grep hydra will be useful here in showing if any of these tools are actually present on the system.Nokkaelaein wrote: Mon Jan 13, 2025 8:07 am No, it's not malware, it's a security tool developed for breaching login passwords. Why it is installed on your system is hopefully discovered later in this thread.
QSI shows there are 2,117 packages installed on the system currently. I loaded an MX 23.4 x64 ISO to match the OS in the QSI and it shows 2,114 packages present in the live session. I honestly don't think any of these NFS-related applications are getting installed.Code: Select all
Repos: Packages: pm: dpkg pkgs: 2117 libs: 1052 tools: apt,apt-get,aptitude,nala,synaptic
Perhaps OP thinks that "apt search <something>" searches the local system for installed software, rather than what "apt search" really does: searches the repositories configured on the system for available packages.

i dont understand though why does 'apt search' query show more than just the results from ' dpkg -l | grep' only after sudo is run inititially otherwise there is no difference in results when i search for 'apt search 'nfs-*' or dpkg -l | grep 'nfs-*'
-
- Posts: 338
- Joined: Fri Jul 17, 2020 10:32 am
Re: Hacked by hydra. At wits end.
Again, sudo doesn't have an effect on this. It's what you run with elevated privileges using sudo. If your system doesn't have the package lists fetched, apt search will not show you those available packages in the repos that aren't installed. I guarantee the situation will not change if you just run sudo by itself. If, in a situation where there are no package lists on your local machine, you use sudo to run a command (that requires elevated privileges) that fetches them, then the situation changes, and "apt search" shows you all available packages, including ones that aren't installed on your system.scatman98 wrote: Mon Jan 13, 2025 8:58 am i dont understand though why does 'apt search' query show more than just the results from ' dpkg -l | grep' only after sudo is run inititially otherwise there is no difference in results when i search for 'apt search 'nfs-*' or dpkg -l | grep 'nfs-*'
- DukeComposed
- Posts: 1453
- Joined: Thu Mar 16, 2023 1:57 pm
Re: Hacked by hydra. At wits end.
The cache gets updated. "man apt" and "man apt-cache" might be useful here in describing how these tools work, particularly the section that goes:scatman98 wrote: Mon Jan 13, 2025 8:58 am i dont understand though why does 'apt search' query show more than just the results from ' dpkg -l | grep' only after sudo is run inititially otherwise there is no difference in results when i search for 'apt search 'nfs-*' or dpkg -l | grep 'nfs-*'
Code: Select all
apt-cache does not manipulate the state of the system but does provide operations to search and generate interesting output from the package metadata. The metadata is acquired and updated via the 'update' command of e.g. apt-get, so that it can be outdated if the last update is too long ago, but in exchange apt-cache works independently of the availability of the configured sources (e.g. offline).
Re: Hacked by hydra. At wits end.
i had run three commands with sudo all were "command not found" . these are the commands i had run to move from few to many results with apt search, does this check out as legit behaviour?Nokkaelaein wrote: Mon Jan 13, 2025 9:05 amAgain, sudo doesn't have an effect on this. It's what you run with elevated privileges using sudo. If your system doesn't have the package lists fetched, apt search will not show you those available packages in the repos that aren't installed. I guarantee the situation will not change if you just run sudo by itself. If, in a situation where there are no package lists on your local machine, you use sudo to run a command (that requires elevated privileges) that fetches them, then the situation changes, and "apt search" shows you all available packages, including ones that aren't installed on your system.scatman98 wrote: Mon Jan 13, 2025 8:58 am i dont understand though why does 'apt search' query show more than just the results from ' dpkg -l | grep' only after sudo is run inititially otherwise there is no difference in results when i search for 'apt search 'nfs-*' or dpkg -l | grep 'nfs-*'
Code: Select all
psa@mx:~
$ apt search 'nfs-*'
Sorting... Done
Full Text Search... Done
liblockfile1/now 1.17-1+b1 amd64 [installed,local]
NFS-safe locking library
libnfs13/now 4.0.0-1 amd64 [installed,local]
NFS client library (shared library)
libnfsidmap1/now 1:2.6.2-4 amd64 [installed,local]
NFS idmapping library
libtirpc-common/now 1.3.3+ds-1 all [installed,local]
transport-independent RPC library - common files
libtirpc-dev/now 1.3.3+ds-1 amd64 [installed,local]
transport-independent RPC library - development files
libtirpc3/now 1.3.3+ds-1 amd64 [installed,local]
transport-independent RPC library
manpages/now 6.03-2 all [installed,local]
Manual pages about using a GNU/Linux system
nfs-common/now 1:2.6.2-4 amd64 [installed,local]
NFS support files common to client and server
nfs-common-modified-init/now 19.07.01 all [installed,local]
modified nfs-common init script for mx and antiX linux
nfs-kernel-server/now 1:2.6.2-4 amd64 [installed,local]
support for NFS kernel server
psa@mx:~
$ sudo /etc/init.d/nscd restart
[sudo] password for psa:
sudo: /etc/init.d/nscd: command not found
psa@mx:~
$ sudo /etc/init.d/dnsmasq restart
sudo: /etc/init.d/dnsmasq: command not found
psa@mx:~
$ sudo /etc/init.d/named restart
sudo: /etc/init.d/named: command not found
psa@mx:~
$ apt search 'nfs-*'
Sorting... Done
Full Text Search... Done
4pane/stable 8.0-1+b2 amd64
four-pane detailed-list file manager
arch-install-scripts/stable,stable 28-1 all
scripts aimed at automating some menial tasks
backuppc/stable 4.4.0-8 amd64
high-performance, enterprise-grade system for backing up PCs
cinder-api/stable,stable,stable-security,stable-security 2:21.3.1-1~deb12u1 all
OpenStack block storage system - API server
.................
.................
.....................
....................
Re: Hacked by hydra. At wits end.
What are you searching for?
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.