Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd January 2010, 10:08 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,857
linuxfedorafirefox
bestlifeusa malware script - what precautions to take?

A forum that I visit with Firefox has a message that says the following:

Quote:

I've detected a bestlifeusa.ru script that tries to run of this server, I've reported this, but I'm pretty sure most of you get this one too, I was just protected so I'm fine - you may not be so lucky, so I'm asking you guys to get your system checked immediately.

If you use firefox - install the No Script extention after you have cleaned your system for all worms, viruses and spyware. And make sure that the bestlifeusa.ru script can't execute on your system
from this site.

If you don't have any "anti script" "no script" "script stopping" system installed with your browser, you will likely not notice this script, I suspect it's a spy-script that spies on you - and you most certainly have it!
I think the measures recommended might be Windows oriented. What can be done under Linux?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #2  
Old 2nd January 2010, 11:12 PM
macemoneta's Avatar
macemoneta Offline
Registered User
 
Join Date: May 2004
Location: NJ
Posts: 913
linuxfedorafirefox
NoScript works on Linux as well. That and AdBlock Plus are pretty much mandatory these days.
Reply With Quote
  #3  
Old 3rd January 2010, 12:04 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,857
linuxfedorafirefox
What is an effective way to detect and remove such scripts? I installed the noscript extension and as I view this page, I see the message:

Scripts Currently Forbidden | <SCRIPT>:41 | <OBJECT>:0

but I have no idea what that means.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #4  
Old 3rd January 2010, 01:13 AM
macemoneta's Avatar
macemoneta Offline
Registered User
 
Join Date: May 2004
Location: NJ
Posts: 913
linuxfedorafirefox
NoScript does have a forum and online documentation.

The message you are seeing with hover is the number of scripts forbidden. NoScript is detecting and removing the scripts on the fly.
Reply With Quote
  #5  
Old 3rd January 2010, 02:46 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,857
linuxfedorafirefox
My concern is about what happened prior to installing Noscript. Can malware scripts leave malware on the machine or is their power only in effect when they are running from the web page that contains them? My understanding of Java is that it does have some built-in restrictions about what a program can do. Does Javascript also limit what programs can do? Can a Javascript from a website put a file in my /bin or /usr directory tree? That type of thing is what I want to detect and eliminate.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #6  
Old 3rd January 2010, 02:57 AM
macemoneta's Avatar
macemoneta Offline
Registered User
 
Join Date: May 2004
Location: NJ
Posts: 913
linuxfedorafirefox
On Linux, the file system permissions and mandatory access controls (SELinux) prevents write to those directories. There are really only about 5-6 dozen Linux exploits in the wild (as opposed to a quarter million or so for Windows, for example), and as long as you stay reasonably up to date and don't respond to a browser pop-up with your root password, they are generally ineffective.

If you'd like to check for those, you can run a tool like chkrootkit, which you can install with the Add/Remove Software tool.
Reply With Quote
  #7  
Old 3rd January 2010, 03:42 AM
kyryder
Guest
 
Posts: n/a
linuxfedorafirefox
Quote:
Originally Posted by tashirosgt View Post
My concern is about what happened prior to installing Noscript. Can malware scripts leave malware on the machine or is their power only in effect when they are running from the web page that contains them? My understanding of Java is that it does have some built-in restrictions about what a program can do. Does Javascript also limit what programs can do? Can a Javascript from a website put a file in my /bin or /usr directory tree? That type of thing is what I want to detect and eliminate.
The "new" place for web sites to hide thing is in the /home/username/.macromedia and of course /tmp and /var/tmp and there are probably others. I try to "wipe" those folders every few weeks if I can remember.
Reply With Quote
  #8  
Old 3rd January 2010, 04:15 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,857
linuxfedorafirefox
Do you erase all the directories in
/home/username/.macromedia/Flash_Player/#SharedObjects/
?
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #9  
Old 3rd January 2010, 04:19 AM
kyryder
Guest
 
Posts: n/a
linuxfedorafirefox
Quote:
Originally Posted by tashirosgt View Post
Do you erase all the directories in
/home/username/.macromedia/Flash_Player/#SharedObjects/
?
I go down one more level so everything in /home/kyryder/.macromedia/Flash_Player/#SharedObjects/QMLSKZ86/* would get wiped and everything in /home/kyryder/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys/* I would also wipe.

Ky
Reply With Quote
  #10  
Old 3rd January 2010, 06:38 AM
CiaW's Avatar
CiaW Offline
Registered User
 
Join Date: May 2009
Location: eastern Washington (state) USA
Posts: 489
linuxsafari
Quote:
Originally Posted by macemoneta View Post
On Linux, the file system permissions and mandatory access controls (SELinux) prevents write to those directories. There are really only about 5-6 dozen Linux exploits in the wild (as opposed to a quarter million or so for Windows, for example), and as long as you stay reasonably up to date and don't respond to a browser pop-up with your root password, they are generally ineffective.

If you'd like to check for those, you can run a tool like chkrootkit, which you can install with the Add/Remove Software tool.
Do you happen to know how chkrootkit compares to rkhunter? I have rkhunter installed and in addition to looking for rootkits it also checks for some malware, etc. I'll check out chkrootkit too, just to see what it's like. rkhunter is also a 'yum install' away!
Reply With Quote
  #11  
Old 3rd January 2010, 06:47 AM
macemoneta's Avatar
macemoneta Offline
Registered User
 
Join Date: May 2004
Location: NJ
Posts: 913
linuxfedorafirefox
Both rkhunter and chkrootkit are in the repos. I haven't used rkhunter in a while (it was pretty unstable when it was first added to Fedora). If you like it better, then go for it. I haven't seen real Linux malware or rootkits in the wild in the 15+ years I've been using/administering Linux, so I don't think it matters much which you use.
Reply With Quote
  #12  
Old 3rd January 2010, 07:01 AM
aleph's Avatar
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307
linuxfedorafirefox
Quote:
Originally Posted by tashirosgt View Post
Do you erase all the directories in
/home/username/.macromedia/Flash_Player/#SharedObjects/
?
You may take a look at my post about clearing Flash persistent objects:
http://forums.fedoraforum.org/showthread.php?t=232855

Usually you don't have to worry about /tmp because the tmpwatch cronjob will kick in periodically and remove most stuff from there.
__________________
I believe in nerditarianism. I read FedoraForum for the Fedora-related posts.
Reply With Quote
  #13  
Old 4th January 2010, 05:48 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,857
linuxfedorafirefox
aleph,
I understand your idea and I like it.

On the other hand, after trying to use Noscript for a day, I think it's a nuisance. I spent about an hour trying to order some things from NewEgg and I think I've failed, but I'm not sure. I suppose I'll have to wait a day or so just see if I get the email notice of the oder. In trying the "checkout", you run into several different sites that noscript blocks. When you unblock them, you get a message about re-doing the page. After I finished the last step ( a verification from my credit card company site) it wasn't clear how to continue the process. Firefox blocked a pop-up window at that point and I couldn't get it unblocked. It was a typical computer comedy.



The site that had the bad script (described in the original post) was one where I would set noscript to allow scripts anyway! If I only used one computer, I might eventually get noscript configured well, but I use several.

What the world needs is a product that would attempt to examine scripts and detect malicious ones - like a virus checker. Of course, I'm not claiming this is technologically possible - just wishful thinking.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."

Last edited by tashirosgt; 4th January 2010 at 05:54 AM.
Reply With Quote
Reply

Tags
bestlifeusa, malware, precautions, script

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Malware under WINE? Aloone Using Fedora 6 26th December 2009 05:10 PM
Malware, The Next Generation Evil_Bert Linux Chat 47 5th September 2008 03:50 AM
Malware phree Security and Privacy 4 17th July 2007 11:36 AM
Precautions before connecting hard drives to diferent controller? remi_2 Installation and Live Media 0 12th December 2005 09:14 AM


Current GMT-time: 07:21 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat