LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-07-2016, 12:44 PM   #16
OldHolborn
Member
 
Registered: Jul 2012
Posts: 229

Rep: Reputation: 190Reputation: 190

It's a serious lack of imagination to think that just because of the root/user separation that linux users are immune from malware.

What about this ...

Write an FLAC-to-MP3 script in perl, embed within it a short downloader for malware with a crontab - command in it and get it hosted/posted somewhere

At dark o'clock in the morning it contacts the nasty disposable server and downloads the malware proper which
1) encrypts all my files and sends the key off to far-away ransom land or
2) reads through /var/spool/mail or scans thunderbird db for email addresses and sends copies of itself "Dude, you gotta try this..." style or just spams them with viagra ads.

None of this requires more than user rights

Yes, you might be clued, but what about your granny or kid brother?
 
Old 04-07-2016, 01:39 PM   #17
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
In a Desktop environment, it is a simple matter to prohibit remote logins (or even place it on a toggle for when you need it) which makes 99% of exploits impossible. IMHO possibly the greatest threat is that there are so few viable threats it is all too common to become complacent. I've run Samhain and TripWire in the past as well as setting iptables to monitor all connection attempts continuously on display (even by port ranges) and one by one they all fell into disuse from lack of any threat in almost 20 years. I have relied on a hardware firewall, strict control of running services, and monthly rkhunter runs for 5 years now and still have yet to log an actual threat of any kind. I do apply security patches and update browsers but have never run any Anti Virus software on Slackware. For Desktop use it is simply superfluous IMHO.
 
Old 04-07-2016, 02:00 PM   #18
BratPit
Member
 
Registered: Jan 2011
Posts: 250

Rep: Reputation: 100Reputation: 100
Code:
It's a serious lack of imagination to think that just because of the root/user separation that linux users are immune from malware.
YEs it's quite possible.
But if it's so easy theoretically, why is so hard in real world?

MAybe FLAC-to-MP3 script in perl is so simple that any complexity is suspicious and will not work simply and blindly by clicking the mouse :-)

But Yes .It's known path of potential malware propagation.
Knowledge of this is also part of the security :-)
It's better than "safest" "unknown" system behind 77 firewalls IMHO.

One question: what is /etc/cron.deny ???? if you know path.

A similar case .
In 2011, J. Rutkowska announced that it is built in keylogger on Linux . Xorg . Eureka .
Many years have passed and no one somehow did not use the "big hole" in perception of Windows world.
Your example of the cron would make a nice it exploited .
Rutkowska is also a child of Windows. In that world it is unthinkable .
Learned from practice knowledge of one need not be the same in the second.

But no doubt these are some weaknesses by design. The knowledge of this gives us an advantage over the attacker and do not need to panic immediately .
There are many ways of neutralizing them in Linux if you 're afraid . It's not Windows .

Last edited by BratPit; 04-07-2016 at 02:27 PM.
 
Old 04-07-2016, 04:44 PM   #19
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by Skaendo View Post
http://www.zdnet.com/article/incompe...r-ddos-botnet/

If you're running an SSH server and not using PKI, you need your head examined.

Last edited by rkelsen; 04-07-2016 at 04:45 PM.
 
2 members found this post helpful.
Old 04-08-2016, 05:59 AM   #20
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
PEBCAK is often the biggest source of idiocy. When in doubt, just add a layer of security and use common sense. Even if it seems meaningless, you never know.
 
Old 04-08-2016, 06:22 AM   #21
nickmartin42
LQ Newbie
 
Registered: Mar 2016
Posts: 13

Rep: Reputation: 1
To assist the best security to your Linux server such that to secure it from Virus/malware attack one should go for a Linux firewall that features all of the security and provide a centralized network access control from Administrator side
 
Old 04-08-2016, 09:36 AM   #22
BratPit
Member
 
Registered: Jan 2011
Posts: 250

Rep: Reputation: 100Reputation: 100
By the way.

Malvare gone beyond the OS-es.

https://www.youtube.com/watch?v=rcwn...&nohtml5=False

Last edited by BratPit; 04-08-2016 at 10:24 AM.
 
Old 04-08-2016, 07:17 PM   #23
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
If memory serves, some of the malware aimed at Macs targeted not just the OS, but the firmware.
 
Old 04-11-2016, 02:01 AM   #24
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Quote:
Originally Posted by BratPit View Post
By the way.

Malvare gone beyond the OS-es.

https://www.youtube.com/watch?v=rcwn...&nohtml5=False
Thank you for the link. She truly has a unique and proper perspective regarding security. I was aware that UEFI, a sorely needed improvement in BIOS if only in the size to improve capability but shockingly superficial in implementation so far but now I see why.... Intel ME and it's Master Plan to give embedded proprietary hardware the upperhand (arms, shoulders, legs and feet) which, as Joanna pointed out, wouldn't be too bad if the User/Owner (hesitated typing "Owner" since that may become moot and/or meaningless) was given the sort of control that could coexist with "proprietary" but create at least a truly trustworthy system free of user info data mining and the backdoors to use it.

Her talk made me look up Lenovo X60s to see if I could live with the power limitations to get improved security at the hardware layer and they're so cheap I'm going to get one to play with and see for myself. On paper, they look like some versions can work just fine for several years yet. With an SSD or a 7200 rpm hdd and the 2 core CPU at almost 2GHz with 4GB Ram it looks like the Intel GMA 950 is the only moderately weak spot and even that is capable of 2048x1536. Lenovo X60 Detailed Specs Thank you Microsoft! Surely did drive that price down LOL.
 
Old 04-11-2016, 03:22 AM   #25
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by BratPit View Post
By the way.

Malvare gone beyond the OS-es.

https://www.youtube.com/watch?v=rcwn...&nohtml5=False
Yes, I'll also say thanks for the link. A very interesting presentaton.

I had heard of ME but had no idea what it actually is! All my old, recycled hardware is looking very good indeed!

With acceptance of ME in the CPU and the ubiquitous man-in-the-middle on the net (CloudFlare), it is a cruel joke to talk seriously about digital privacy and security.

Last edited by astrogeek; 04-11-2016 at 03:26 AM.
 
Old 04-11-2016, 04:32 AM   #26
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,220

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Quote:
Originally Posted by astrogeek View Post
I had heard of ME but had no idea what it actually is! All my old, recycled hardware is looking very good indeed!
Minifree sell ThinkPad refurbs with the Intel ME disabled and coreboot preinstalled. Be aware however that if you're interested in Qubes OS, the Minifree ThinkPads don't have IOMMU for network VM isolation (as far as I know). Slackware 14.1 runs just nicely on my X200 though.

Disclaimer: please don't tell me that the laptops are old and decrepit, I don't care, these are some of the only laptops certified by the FSF and I'm just posting it for those that are interested.
 
Old 04-11-2016, 05:51 AM   #27
lemonade
Member
 
Registered: Oct 2015
Posts: 40

Rep: Reputation: Disabled
AVG has a version for linux and it installs as a daemon too

I mention it because for windows, for me, avg is the safe option. And we could say
they do have very updated databases.

On the other hand, i don't remember it had a gui, just the daemon and several command line programs
 
Old 04-11-2016, 05:56 AM   #28
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
What I use on my machine (Internet facing, SSH-only server):

* OSSEC for intrusion/binary modification detection
* DenyHosts to protect from OpenSSH abuse
* ClamAV to scan downloaded files (and only downloaded files)
* Both chkrootkit (with personal patches) and rkhunter to check for potential rootkits

All of these are updated on a daily basis.

All firewall duties are delegated to my ADSL router.

I also scan my machine from the Internet from time to time to make sure nothing untoward has appeared.

I update my machine religiously and check for updates daily as well.
 
Old 04-11-2016, 06:05 AM   #29
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
AVG no longer offers a linux version. Windows, MAC and Android only these days
 
Old 04-11-2016, 07:14 AM   #30
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by Noryungi View Post
All firewall duties are delegated to my ADSL router.
Do you run a software firewall on your PC? Some NAT routers are vulnerable to attacks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Defense against government-grade malware: FinFisher displace Linux - Security 5 10-09-2014 09:34 PM
system call table attack . How to defense ? prabhurajreddy Linux - Security 2 03-12-2014 12:11 AM
LXer: To build the best defense, know which attack is which LXer Syndicated Linux News 0 03-02-2014 10:50 PM
NSA on Computer Network Attack & Defense win32sux Linux - Security 1 05-03-2010 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration