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 8th February 2013, 04:53 AM
asicDesign Offline
Registered User
 
Join Date: Dec 2011
Location: NC
Posts: 4
linuxchrome
Security message that seems to point that my system is hacked

I keep getting the following security alert. What does it mean? Has my system been hacked? How do I find out if it has been hacked? Is there any software I can download to enhance security?
Some help on this will be much appreciated.



SELinux is preventing /opt/teamviewer/teamviewer/7/wine/bin/wine-preloader from mmap_zero access on the memprotect .

***** Plugin mmap_zero (34.9 confidence) suggests **************************

If you do not think /opt/teamviewer/teamviewer/7/wine/bin/wine-preloader should need to mmap low memory in the kernel.
Then you may be under attack by a hacker, this is a very dangerous access.
Do
contact your security administrator and report this issue.

***** Plugin wine (34.9 confidence) suggests *******************************

If you want to ignore this AVC because it is dangerous and your wine applications are working correctly.
Then you must tell SELinux about this by enabling the wine_mmap_zero_ignore boolean.
Do
# setsebool -P wine_mmap_zero_ignore 1

***** Plugin catchall_boolean (28.0 confidence) suggests *******************

If you want to control the ability to mmap a low area of the address space, as configured by /proc/sys/kernel/mmap_min_addr.
Then you must tell SELinux about this by enabling the 'mmap_low_allowed' boolean.You can read 'mmap_selinux' man page for more details.
Do
setsebool -P mmap_low_allowed 1

***** Plugin catchall (3.94 confidence) suggests ***************************

If you believe that wine-preloader should be allowed mmap_zero access on the memprotect by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep wine-preloader /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023
Target Context unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023
Target Objects [ memprotect ]
Source wine-preloader
Source Path /opt/teamviewer/teamviewer/7/wine/bin/wine-
preloader
Port <Unknown>
Host asic1
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.10.0-96.fc16.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name asic1
Platform Linux asic1 3.6.11-1.fc16.i686 #1 SMP Mon Dec 17
21:36:23 UTC 2012 i686 i686
Alert Count 246
First Seen Sat 16 Jun 2012 11:18:07 PM EDT
Last Seen Wed 06 Feb 2013 11:04:45 PM EST
Local ID 205069e9-9682-401a-a52b-0fa9a3860796

Raw Audit Messages
type=AVC msg=audit(1360209885.671:1950): avc: denied { mmap_zero } for pid=10973 comm="wine-preloader" scontext=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 tclass=memprotect


Hash: wine-preloader,wine_t,wine_t,memprotect,mmap_zero

audit2allow

#============= wine_t ==============
#!!!! This avc can be allowed using the boolean 'mmap_low_allowed'

allow wine_t self:memprotect mmap_zero;

audit2allow -R

#============= wine_t ==============
#!!!! This avc can be allowed using the boolean 'mmap_low_allowed'

allow wine_t self:memprotect mmap_zero;
Reply With Quote
  #2  
Old 8th February 2013, 09:51 AM
domg472 Offline
SELinux Contributor
 
Join Date: May 2008
Posts: 621
linuxfirefox
Re: Security message that seems to point that my system is hacked

Wine attempts to mmap_zero on memprotect

This is *potentially* dangerous

Wine does not always actually need this permission and therefore SELinux denies these attempts and prints a report about the event by default.

It is up to you to determine whether this access is really needed or that it is a "false positive"

If it is really needed, e.g. your wine application does not work, then you can tell SELinux to allow this access with the following command:

Code:
 sudo setsebool -P mmap_low_allowed 1
If your wine-app works fine. Then it is a false positive and then you can tell SELinux to silently deny attempts by wine to mmap_zero on memprotect (that way SELinux will block but will no longer print a report of the event):

Code:
 sudo setsebool -P wine_mmap_zero_ignore 1
Most of the time wine does not need this access, only some old windows applications actually need this.

So that is why you get this message. Now you are aware that it is something to think about. It is up to you to decide how to deal with it.

This is a common issue with wine, so it probably does not signal an actual intrusion.

Quote:
Is there any software I can download to enhance security?
This *IS* enhanced security. A potential dangerous action was blocked and you were informed about the event. It does not get much more " Enhanced" than this.
__________________
Come join us on #fedora-selinux on irc.freenode.org
http://docs.fedoraproject.org/selinu...ide/f10/en-US/

Last edited by domg472; 8th February 2013 at 09:56 AM.
Reply With Quote
  #3  
Old 8th February 2013, 11:53 AM
ptuk Offline
Registered User
 
Join Date: Nov 2005
Posts: 75
linuxfirefox
Re: Security message that seems to point that my system is hacked

I get these kinds of warning all the time when using Wine. The programs still seem to run OK so I've not investigated further and I've not altered SELinux permissions to get rid of the warnings.
Reply With Quote
Reply

Tags
hacked, message, point, security

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
Is my system hacked?? shanx Using Fedora 1 6th May 2012 09:17 PM
Proper computer security ... driving the point home. Dan Wibble 8 31st March 2010 10:57 PM
REAL BAD:My system hacked into :( satishir Security and Privacy 16 8th May 2008 05:00 AM
System out of control - hacked I guess...? paul matthijsse Security and Privacy 7 25th January 2007 01:58 PM
Fedora Core 3 System Hacked :( valdes Installation and Live Media 1 29th September 2006 02:54 PM


Current GMT-time: 18:10 (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