• We did not send an email asking for donations - please read this post.

Linux virus



D

Deleted member 101831

Guest
Nothing is bullet proof and 100% and the worst threat to any OS is the user.

I've been a Linux user 6 years and have never heard of any user getting a virus on Linux.

 
OP
T4B

T4B

New Member
Joined
Aug 10, 2020
Messages
8
Reaction score
0
Credits
68

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,574
Reaction score
1,192
Credits
10,075
It happens, but it's rare.


There is something called ClamAV (anti-virus)
But as Nelson said, the best thing is just don't click on the wrong link, or download the wrong software.

I don't remember the exact numbers, but it seems at the time I read an article on this, there were a couple of hundred viruses for Linux, but tens of thousands for windows.

I hope that helps put it in perspective.
 
  • Love
Reactions: T4B

70 Tango Charlie

Well-Known Member
Joined
Oct 7, 2019
Messages
523
Reaction score
676
Credits
2,064
Welcome T4B,
I've been using Linux Mint for about 3 years and have never had even a 'sniff' of a virus.
Frankly, I don't see why anyone would bother trying to infect Linux, when there is hardly anything financial to be gained.
Old Geezer, Tango Charlie
 

captain-sensible

Well-Known Member
Joined
Jun 14, 2019
Messages
2,913
Reaction score
1,970
Credits
18,126
----------- SCAN SUMMARY -----------
Known viruses: 8370791
Engine version: 0.101.4
Scanned directories: 1
Scanned files: 11
Infected files: 2
Data scanned: 20.73 MB
Data read: 1882.34 MB (ratio 0.01:1)
Time: 59.531 sec (0 m 59 s)
i've got 2 ;

Scanning /home/andrew/Desktop/eicar_com.zip
/home/andrew/Desktop/eicar_com.zip: Eicar-Test-Signature FOUND
Scanning /home/andrew/Desktop/eicar.com
/home/andrew/Desktop/eicar.com: Eicar-Test-Signature FOUND

mind you i did get them on purpose from here: https://www.eicar.org/?page_id=3950
 

70 Tango Charlie

Well-Known Member
Joined
Oct 7, 2019
Messages
523
Reaction score
676
Credits
2,064
----------- SCAN SUMMARY -----------
Known viruses: 8370791
Engine version: 0.101.4
Scanned directories: 1
Scanned files: 11
Infected files: 2
Data scanned: 20.73 MB
Data read: 1882.34 MB (ratio 0.01:1)
Time: 59.531 sec (0 m 59 s)
i've got 2 ;

Scanning /home/andrew/Desktop/eicar_com.zip
/home/andrew/Desktop/eicar_com.zip: Eicar-Test-Signature FOUND
Scanning /home/andrew/Desktop/eicar.com
/home/andrew/Desktop/eicar.com: Eicar-Test-Signature FOUND

mind you i did get them on purpose from here: https://www.eicar.org/?page_id=3950
I guess if you want to get a virus on Linux, then you have to go and look for it. LOL.
Otherwise I guess we're just out of luck when it comes to viruses on Linux.
OG
BTW
I haven't forgotten about your question about how I am doing with C programming. I just got involved with lots of other stuff along the way - like Golf!!!
OG
 
  • Like
Reactions: T4B

gvisoc

Well-Known Member
Joined
May 29, 2020
Messages
448
Reaction score
538
Credits
4,587
Frankly, I don't see why anyone would bother trying to infect Linux, when there is hardly anything financial to be gained.
Except that most servers in the world run in Linux, and banks’ servers are not an exception.

There are no virus as such (spontaneous and autonomous propagation), but there are heaps of malware (trick the user to click on a link + install stuff, put sudo password) and there are a huge number of vulnerabilities and exploits for many of the Linux processes.

My two cents here for @T4B are:
  • Keep your software up to date,
  • Delete unexpected emails
  • Do not blindly follow links
  • Verify signatures of your downloads / download software from trusted repositories always,
  • Do not obey prompts for your password that weren’t expected (e.g., when clicking a link, or when opening a document like a PDF) and, in case of doubt,
  • use a malware scanner as the ones recommended or upload the suspicious file to https://www.virustotal.com/
 
  • Like
Reactions: T4B

70 Tango Charlie

Well-Known Member
Joined
Oct 7, 2019
Messages
523
Reaction score
676
Credits
2,064
Except that most servers in the world run in Linux, and banks’ servers are not an exception.

There are no virus as such (spontaneous and autonomous propagation), but there are heaps of malware (trick the user to click on a link + install stuff, put sudo password) and there are a huge number of vulnerabilities and exploits for many of the Linux processes.

My two cents here for @T4B are:
  • Keep your software up to date,
  • Delete unexpected emails
  • Do not blindly follow links
  • Verify signatures of your downloads / download software from trusted repositories always,
  • Do not obey prompts for your password that weren’t expected (e.g., when clicking a link, or when opening a document like a PDF) and, in case of doubt,
  • use a malware scanner as the ones recommended or upload the suspicious file to https://www.virustotal.com/
My bad.
I was only thinking about personal desktops. You are correct about the servers being run on Linux, and there would be big money involved there.
Let me go clean the egg off my face now.
OG TC
 

gvisoc

Well-Known Member
Joined
May 29, 2020
Messages
448
Reaction score
538
Credits
4,587
Hahaha oh man, I didn't mean to "sound" harsh.

Interestingly enough, attacking personal computers is something that has a lot of value. This material from Brian Krebs explains what is the value on a personal PC for an adversary. It's from 2012 but today it is still as current as it was back then. TL;DR: a hacked personal computer is very valuable.
 
  • Like
Reactions: T4B

captain-sensible

Well-Known Member
Joined
Jun 14, 2019
Messages
2,913
Reaction score
1,970
Credits
18,126
BTW
I haven't forgotten about your question about how I am doing with C programming.
OG
Ok what output do you get for
: g++
and
: clang
I'm on phone so can't do square brace
Ive got both slackware if you have them could do a simple c++ file compile and run and then you tick that off your bucket list
 
Last edited:
  • Like
Reactions: T4B

70 Tango Charlie

Well-Known Member
Joined
Oct 7, 2019
Messages
523
Reaction score
676
Credits
2,064
@captain-sensible
It tells me I need to install both g++ and clang - which I did.
g++.png


I have no idea what I am supposed to get. Remember I am new to C and an older guy {that's not a good combination I am finding out.} But, I will march on with confidence in Linux.org people to assist me. Yay for all you good guys!!!
I also installed clang with the same message as for g++.
TC
 

70 Tango Charlie

Well-Known Member
Joined
Oct 7, 2019
Messages
523
Reaction score
676
Credits
2,064
Hahaha oh man, I didn't mean to "sound" harsh.

Interestingly enough, attacking personal computers is something that has a lot of value. This material from Brian Krebs explains what is the value on a personal PC for an adversary. It's from 2012 but today it is still as current as it was back then. TL;DR: a hacked personal computer is very valuable.
@gvisoc
I didn't think you harsh at all. I'll take a look at Brians' material.
Thanks for the corrections. I really do appreciate them.
TC :)
 

captain-sensible

Well-Known Member
Joined
Jun 14, 2019
Messages
2,913
Reaction score
1,970
Credits
18,126
ok technically we are hijacking @T4B thread ; or it could be of interest ? Either g++ or Clang would have done. Maybe start a new thread out of courtesy to T4B?
 

sp331yi

Well-Known Member
Joined
Apr 11, 2020
Messages
725
Reaction score
328
Credits
4,614
Been running Linux for 10 years plus and I've never had a virus of any kind.
Been running GNU/linux distros for 10+ years and have had two root kits and been hacked three times, now. Like Garth Brooks, "I've got friends in low places." Either that or enemies in higher places (or both)! LOL
 

70 Tango Charlie

Well-Known Member
Joined
Oct 7, 2019
Messages
523
Reaction score
676
Credits
2,064
ok technically we are hijacking @T4B thread ; or it could be of interest ? Either g++ or Clang would have done. Maybe start a new thread out of courtesy to T4B?
@wizardfromoz
Cap,
Fine with me if Wiz wants to move this over to the Command Line forum.
Probably be a better place for it.
Charlie
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,843
Reaction score
6,676
Credits
29,104
Maybe start a new thread out of courtesy to T4B?

No I will allow it here, for the moment. The OP may gain some valuable tips from this discussion. However English is not his 1st language, and if he feels his needs are not being answered, I will separate them.

Fine with me if Wiz wants to move this over to the Command Line forum.
Probably be a better place for it.

No, actually, Linux Security is the place for AntiVirus threads.

I will pack up the whole shebang and move it over there. All will be notified.

Hang on to your hats and Wizard will send you on a magic carpet ride. :p

Wiz
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top