r/linux4noobs • • 17h ago

security Checking linux for malware

Ive encountered hightend cpu usage thru psysonic and my navidrome instance, after killing it to save on resources iv plugged my usb in and the kde notification displayed in all asian characters.

I do not have those languages installed and the usb is named in latin. Ive booted tails on a spare laptop to check the usb by itself and it shows normal and the files on it have not been modified at least as far as i can see and virus total shoes clean on all that i have checked.

Also went thru my tailscale account and it showed no new connection but ive changed passwords to be sure on all accounts related to it.

Is there a way to check my drives from a livecd (like tails) for malware. I would like to avoid manually checking file by file since i have about 1.5 TB of data id rather not delete.

Or is it just a bug?

Distro: CachyOS, updated daily.

8 Upvotes

12 comments sorted by

3

u/rlaptop7 17h ago

iv plugged my usb in and the kde notification displayed in all asian characters.

Your usb... what? headphones?

Anyhow, basic diagnostic on linux might involve using ps to inspect what processes are running, top for finding out what is taking processing time, after that, you might look at lsof for looking at what files are being accessed including ports. Look for things that you don't expect. You might use find to look through your drive for your newest accessed files, maybe look for something suspicious.

It can be a whole rabbit hole.

-2

u/NervousExperience278 17h ago

USB pendrive, what else?

2

u/rlaptop7 17h ago

oh. Okay. A "usb" is just a port, thousands of different things go in them.

You might inspect the drive label for you storage you plugged in. That's probably where the content of you message that you are concerned about.

0

u/NervousExperience278 17h ago

Yeah, thats the thing, the label is all normal, when it connects it usually shows the maker of the usb (tsmc in short for this one) and the name, and on tails i could not replicate the asian characters, its all normal. I will check further...

1

u/rlaptop7 17h ago

IDK them. I am also not certain what message you are talking about, I am assuming that it's something like "inserted <drive label>"

1

u/gmes78 16h ago

Distro: CachyOS, updated daily.

Do you reboot after installing updates?

1

u/Simple_Hamster_4096 6h ago

Seems like another good reason not to use anything derived from Arch...

1

u/NervousExperience278 4h ago

If you mean the AUR i only have one package from it and it is clean

3

u/LeateWonceslace 17h ago

Try clamAV. If you're still worried reinstall your OS. Reinatallation is the ultimate anti-virus.

1

u/Alternative_Log_2313 7h ago

Check if there are any SSH connections to China, and take it offline to investigate.

1

u/skyfishgoo 4h ago

sounds like you hobby disto is borked.

arch is no joke a lot a lot to maintain, and this kind of thing is why i say that.