Bobng

Q: I get a box message to sign for elevated privilages

About every 30 minutes I have a box pop up that says: "Elevated privilages are required in order to complete installation. Type an administrators name and password to allow this."

 

1. That is different than messages while updating in the past.

2. I do not have any upgrades listed in the App Store.

3. I have not installed anything needing approval that I am aware of.

4. I had this happen several weeks ago and it suddenly stopped?

 

I'm afraid that it is someone trying to get approval for malware? I have run my virus program that found nothing but might not since I haven't provided the administrator info. Has anyone else had this experiance? Anyone know how to find out what progam might be asking this in that format?

MacBook Pro with Retina display, Other OS, Mavericks

Posted on Feb 13, 2014 3:03 PM

Close

Q: I get a box message to sign for elevated privilages

  • All replies
  • Helpful answers

  • by Linc Davis,Helpful

    Linc Davis Linc Davis Feb 13, 2014 4:34 PM in response to Bobng
    Level 10 (208,037 points)
    Applications
    Feb 13, 2014 4:34 PM in response to Bobng

    When you next have the problem, note the exact time: hour, minute, second.

       

    If you have more than one user account, these instructions must be carried out as an administrator.

      

    Launch the Console application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.

     

    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select

    View Show Log List

    from the menu bar.

    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above. Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first. Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).

    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough. It is never necessary or helpful to post more than about 100 lines. "The more, the better" is not the rule here.

    Please do not indiscriminately dump thousands of lines from the log into this discussion.

      

    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • by Bobng,

    Bobng Bobng Feb 13, 2014 5:06 PM in response to Linc Davis
    Level 1 (5 points)
    Feb 13, 2014 5:06 PM in response to Linc Davis

    Thanks Linc I'll do that.

  • by Bobng,

    Bobng Bobng Feb 13, 2014 5:41 PM in response to Linc Davis
    Level 1 (5 points)
    Feb 13, 2014 5:41 PM in response to Linc Davis

    Just happened again. Here is what is shown in console:

     

    2/13/14 8:38:03.019 PM com.apple.launchd.peruser.501[305]: (com.avg.LoaderAgent[56142]) Job appears to have crashed: Trace/BPT trap: 5

    2/13/14 8:38:03.019 PM com.apple.launchd.peruser.501[305]: (com.avg.LoaderAgent) Throttling respawn: Will start in 10 seconds

    2/13/14 8:38:03.037 PM ReportCrash[56125]: Removing excessive log: file:///Users/bobng/Library/Logs/DiagnosticReports/LoaderAgent_2014-02-13-20343 9_Bobs-Retina.crash

    2/13/14 8:38:03.433 PM com.apple.launchd.peruser.501[305]: (com.avg.LoaderAgent) Throttling respawn: Will start in 10 seconds

    2/13/14 8:38:03.472 PM CleanMyMacHelperTool[56156]: Mounted devices (

    )

    2/13/14 8:38:03.475 PM CleanMyMacHelperTool[56156]: CleanMyMacHelperTool started as volume cleaner with cleanTrashes 1 cleanMacOSJunk 1 cleanWinJunk 1

    2/13/14 8:38:03.475 PM CleanMyMacHelperTool[56156]: Mounted devices (

    )

    2/13/14 8:38:03.475 PM CleanMyMacHelperTool[56156]: Wont clean mounted devices.

    2/13/14 8:38:03.476 PM CleanMyMacHelperTool[56156]: CleanMyMacHelperTool exited...

    2/13/14 8:38:13.586 PM com.apple.launchd.peruser.501[305]: (com.avg.LoaderAgent[56181]) Job appears to have crashed: Trace/BPT trap: 5

    2/13/14 8:38:13.586 PM com.apple.launchd.peruser.501[305]: (com.avg.LoaderAgent) Throttling respawn: Will start in 10 seconds

    2/13/14 8:38:13.602 PM ReportCrash[56125]: Removing excessive log: file:///Users/bobng/Library/Logs/DiagnosticReports/LoaderAgent_2014-02-13-20344 9_Bobs-Retina.crash

    2/13/14 8:38:23.731 PM com.apple.launchd.peruser.501[305]: (com.avg.LoaderAgent[56186]) Job appears to have crashed: Trace/BPT trap: 5

    2/13/14 8:38:23.731 PM com.apple.launchd.peruser.501[305]: (com.avg.LoaderAgent) Throttling respawn: Will start in 10 seconds

    2/13/14 8:38:23.749 PM ReportCrash[56125]: Removing excessive log: file:///Users/bobng/Library/Logs/DiagnosticReports/LoaderAgent_2014-02-13-20345 9_Bobs-Retina.crash

  • by Linc Davis,

    Linc Davis Linc Davis Feb 13, 2014 5:50 PM in response to Bobng
    Level 10 (208,037 points)
    Applications
    Feb 13, 2014 5:50 PM in response to Bobng

    Remove the worthless "CleanMyMac" product by following the first set of instructions on this page. If you have a different version of the product, the procedure may be different. Do not drag the CleanMyMac application to the Trash.

    Remove the equally useless AVG product according to its developer's instructions.

    Back up all data before making any changes.

  • by Bobng,

    Bobng Bobng Feb 13, 2014 6:27 PM in response to Linc Davis
    Level 1 (5 points)
    Feb 13, 2014 6:27 PM in response to Linc Davis

    OK, I actually had to install cleanmymac to uninstall as instructed. Apparently I eliminated it but still had a remnant.

     

    I have Avast installed as a virus checker. I believe that I did have AVG at one time and must have remnants of that around so will have to do the same thing.  

     

    This is when it happened again;

    2/13/14 8:52:19.958 PM Google Notifier[57364]: Growler for Google Notifier: growlBundle: NSBundle </Users/bobng/Library/Application Support/Google Notifier/GoogleGrowl.plugin/Contents/Frameworks/Growl-WithInstaller.framework> (loaded)

    2/13/14 8:52:20.026 PM Google Notifier[57364]: Growler for Google Notifier! New messages received, full count: 1, messages: (

            {

            authorEmail = "***";

            authorName = "Bob Stegemann";

            eventStatus = confirmed;

            identifier = "http://www.google.com/calendar/feeds/gandbob%40gmail.com/private/full/ca9t6l70jh ubhuoe07gnd1a8bg";

            issued = 2013-12-10 16:10:25 +0000;

            link = "https://www.google.com/calendar/event?eid=Y2E5dDZsNzBqaHViaHVvZTA3Z25kMWE4YmdfMj AxNDAxMTRUMTUwMDAwWiBnYW5kYm9iQG0";

            linkWithSecurityPolicy = "https://www.google.com/calendar/event?eid=Y2E5dDZsNzBqaHViaHVvZTA3Z25kMWE4YmdfMj AxNDAxMTRUMTUwMDAwWiBnYW5kYm9iQG0";

            modified = 2013-12-10 16:10:25 +0000;

            notifyTime = 2014-02-11 10:00:00 -0500;

            startTime = 2014-02-18 10:00:00 -0500;

            stopTime = 2014-02-18 12:00:00 -0500;

            title = "Art Class";

            where = "";

        }

    )

    2/13/14 8:52:20.026 PM Google Notifier[57364]: Use Address Book icon? YES

    2/13/14 8:52:20.026 PM Google Notifier[57364]: showMail? (null)

    2/13/14 8:52:20.027 PM Google Notifier[57364]: showEvent? (null)

    2/13/14 8:52:20.120 PM Google Notifier[57364]: Growler for Google Notifier! Path to Google Notifier: /Applications/Google Notifier.app (icon: <NSImage 0x4684b0 Size={32, 32} Reps=(

        NSIconRefBitmapImageRep 0x468550 Size={128, 128} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=128x128 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x556f60>,

        NSIconRefBitmapImageRep 0x468680 Size={128, 128} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=256x256 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x558160>,

        NSIconRefBitmapImageRep 0x468700 Size={256, 256} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=256x256 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x558da0>,

        NSIconRefBitmapImageRep 0x468780 Size={256, 256} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=512x512 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x266e7c0>,

        NSIconRefBitmapImageRep 0x468800 Size={512, 512} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=512x512 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x266f040>,

        NSIconRefBitmapImageRep 0x4688a0 Size={48, 48} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=48x48 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x653080>,

        NSIconRefBitmapImageRep 0x468910 Size={36, 36} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=36x36 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x645a60>,

        NSIconRefBitmapImageRep 0x468990 Size={36, 36} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=72x72 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x39dda0>,

        NSIconRefBitmapImageRep 0x468a10 Size={32, 32} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=32x32 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x64d180>,

        NSIconRefBitmapImageRep 0x468b00 Size={32, 32} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=64x64 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x39d9b0>,

        NSIconRefBitmapImageRep 0x468b40 Size={18, 18} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=18x18 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x63d610>,

        NSIconRefBitmapImageRep 0x468bb0 Size={18, 18} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=36x36 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x6440d0>,

        NSIconRefBitmapImageRep 0x468c30 Size={16, 16} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=16x16 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x63de30>,

        NSIconRefBitmapImageRep 0x468cb0 Size={16, 16} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=32x32 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x63cdf0>,

        NSIconRefBitmapImageRep 0x468d30 Size={512, 512} ColorSpace=Generic RGB colorspace BPS=8 BPP=32 Pixels=1024x1024 Alpha=YES Planar=NO Format=0 CurrentBacking=<CGImageRef: 0x22649f0>

    )>, icon data length: 6981534)

    2/13/14 8:52:20.122 PM Google Notifier[57364]: Growler for Google Notifier! Normalized event dictionary: {

        "-eventTime" = "Feb 18, 2014, 10:00:00 AM - 12:00:00 PM";

        "-summaryWhere" = "(No summary)\n";

        "-whereSummary" = "\n(No summary)";

        authorEmail = "***";

        authorName = "Bob Stegemann";

        eventStatus = confirmed;

        identifier = "http://www.google.com/calendar/feeds/gandbob%40gmail.com/private/full/ca9t6l70jh ubhuoe07gnd1a8bg";

        issued = 2013-12-10 16:10:25 +0000;

        link = "https://www.google.com/calendar/event?eid=Y2E5dDZsNzBqaHViaHVvZTA3Z25kMWE4YmdfMj AxNDAxMTRUMTUwMDAwWiBnYW5kYm9iQG0";

        linkWithSecurityPolicy = "https://www.google.com/calendar/event?eid=Y2E5dDZsNzBqaHViaHVvZTA3Z25kMWE4YmdfMj AxNDAxMTRUMTUwMDAwWiBnYW5kYm9iQG0";

        modified = 2013-12-10 16:10:25 +0000;

        notifyTime = 2014-02-11 10:00:00 -0500;

        startTime = 2014-02-18 10:00:00 -0500;

        stopTime = 2014-02-18 12:00:00 -0500;

        summary = "(No summary)";

        title = "Art Class";

        where = "";

    }

    2/13/14 8:52:20.123 PM Google Notifier[57364]: Growler for Google Notifier! Sending event notification: title: Art Class Feb 18, 2014, 10:00:00 AM - 12:00:00 PM, description:

    (No summary), notification name: New Event (Google Notifier), iconData: 6981534 bytes, click context (link): https://www.google.com/calendar/event?eid=Y2E5dDZsNzBqaHViaHVvZTA3Z25kMWE4YmdfMj AxNDAxMTRUMTUwMDAwWiBnYW5kYm9iQG0

    2/13/14 8:52:20.216 PM Google Notifier[57364]: new messages received: (

            {

            authorEmail = "***";

            authorName = "Bob Stegemann";

            eventStatus = confirmed;

            identifier = "http://www.google.com/calendar/feeds/gandbob%40gmail.com/private/full/ca9t6l70jh ubhuoe07gnd1a8bg";

            issued = 2013-12-10 16:10:25 +0000;

            link = "https://www.google.com/calendar/event?eid=Y2E5dDZsNzBqaHViaHVvZTA3Z25kMWE4YmdfMj AxNDAxMTRUMTUwMDAwWiBnYW5kYm9iQG0";

            linkWithSecurityPolicy = "https://www.google.com/calendar/event?eid=Y2E5dDZsNzBqaHViaHVvZTA3Z25kMWE4YmdfMj AxNDAxMTRUMTUwMDAwWiBnYW5kYm9iQG0";

            modified = 2013-12-10 16:10:25 +0000;

            notifyTime = 2014-02-11 10:00:00 -0500;

            startTime = 2014-02-18 10:00:00 -0500;

            stopTime = 2014-02-18 12:00:00 -0500;

            title = "Art Class";

            where = "";

        }

    )

    2/13/14 8:52:20.607 PM GrowlHelperApp[57602]: Using your own bundle identifier as an NSUserDefaults suite name does not make sense and will not work. Break on _NSUserDefaults_Log_Nonsensical_Suites to find this

    2/13/14 8:52:20.687 PM Google Notifier[57364]: Growler for Google Notifier: Growl is ready for Google Notifier!

    2/13/14 8:52:21.862 PM osascript[57616]: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:

              /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper

    2/13/14 8:52:22.362 PM com.apple.launchd.peruser.501[305]: (com.hp.help.tocgenerator) Throttling respawn: Will start in 10 seconds

     

    I appreciate your help; thanks

     

    <Email Edited by Host>

  • by Linc Davis,Helpful

    Linc Davis Linc Davis Feb 13, 2014 6:23 PM in response to Bobng
    Level 10 (208,037 points)
    Applications
    Feb 13, 2014 6:23 PM in response to Bobng

    I have Avast installed as a virus checker.

     

    That's even worse than AVG. However, it may not be causing this problem. Google applications aggressively install auto-updaters, and one of them may be throwing the alerts.

      

    "Avast" is perhaps the worst of the whole wretched lot of commercial "security" products for the Mac. It's worse than the imaginary "viruses" you were worried about when you installed it. Not only does it fail to protect you from any real danger, it throws false warnings, destabilizes and slows down your computer, and sometimes or always corrupts the network settings and the permissions of files in your home folder. Removing it may not repair all the damage, and neither will Disk Utility or even reinstalling OS X.

    Back up all data, then remove "Avast" according to the developer's instructions. Reboot.

    If you tried to remove Avast by dragging an application to the Trash, you'll have to reinstall it and then follow the instructions linked above.

  • by Bobng,

    Bobng Bobng Feb 13, 2014 6:27 PM in response to Bobng
    Level 1 (5 points)
    Feb 13, 2014 6:27 PM in response to Bobng

    OK I'll remove Avast then install AVG so I can remove properly. Do you recommend any virus program for Mac or just rely on OSX?

  • by Bobng,

    Bobng Bobng Feb 13, 2014 6:34 PM in response to Bobng
    Level 1 (5 points)
    Feb 13, 2014 6:34 PM in response to Bobng

    AVG & Avast are gone. Shore would be nice when window requesting info would say what wants that info.

  • by Linc Davis,

    Linc Davis Linc Davis Feb 13, 2014 7:10 PM in response to Bobng
    Level 10 (208,037 points)
    Applications
    Feb 13, 2014 7:10 PM in response to Bobng
    1. This is a comment on what you should and should not do to protect yourself from malicious software ("malware") that circulates on the Internet. It does not apply to software, such as keystroke loggers, that may be installed deliberately by an intruder who has hands-on access to your computer, or who has been able to log in to it remotely. That threat is in a different category, and there's no easy way to defend against it. If you have reason to suspect that you're the target of such an attack, you need expert help.
      
    If you find this comment too long or too technical, read only sections 5, 6, and 10.
      
    OS X now implements three layers of built-in protection specifically against malware, not counting runtime protections such as execute disable, sandboxing, system library randomization, and address space layout randomization that may also guard against other kinds of exploits.

    2. All versions of OS X since 10.6.7 have been able to detect known Mac malware in downloaded files, and to block insecure web plugins. This feature is transparent to the user. Internally Apple calls it "XProtect."
    The malware recognition database used by XProtect is automatically updated; however, you shouldn't rely on it, because the attackers are always at least a day ahead of the defenders.
       
    The following caveats apply to XProtect:
    • It can be bypassed by some third-party networking software, such as BitTorrent clients and Java applets.
    • It only applies to software downloaded from the network. Software installed from a CD or other media is not checked.
    As new versions of OS X are released, it's not clear whether Apple will indefinitely continue to maintain the XProtect database of older versions such as 10.6. The security of obsolete system versions may eventually be degraded. Security updates to the code of obsolete systems will stop being released at some point, and that may leave them open to other kinds of attack besides malware.
      
    3. Starting with OS X 10.7.5, there has been a second layer of built-in malware protection, designated "Gatekeeper" by Apple. By default, applications and Installer packages downloaded from the network will only run if they're digitally signed by a developer with a certificate issued by Apple. Software certified in this way hasn't necessarily been tested by Apple, but you can be reasonably sure that it hasn't been modified by anyone other than the developer. His identity is known to Apple, so he could be held legally responsible if he distributed malware. That may not mean much if the developer lives in a country with a weak legal system (see below.)
       
    Gatekeeper doesn't depend on a database of known malware. It has, however, the same limitations as XProtect, and in addition the following:
    • It can easily be disabled or overridden by the user.
    • A malware attacker could get control of a code-signing certificate under false pretenses, or could simply ignore the consequences of distributing codesigned malware.
    • An App Store developer could find a way to bypass Apple's oversight, or the oversight could fail due to human error.
    For the reasons given above, App Store products, and other applications recognized by Gatekeeper as signed, are safer than others, but they can't be considered absolutely safe. "Sandboxed" applications may prompt for access to private data, such as your contacts, or for access to the network. Think before granting that access. Sandboxing security is based on user input. Never click through any request for authorization without thinking.
           
    4. Starting with OS X 10.8.3, a third layer of protection has been added: a "Malware Removal Tool" (MRT). MRT runs automatically in the background when you update the OS. It checks for, and removes, malware that may have evaded the other protections via a Java exploit (see below.) MRT also runs when you install or update the Apple-supplied Java runtime (but not the Oracle runtime.) Like XProtect, MRT is effective against known threats, but not against unknown ones. It notifies you if it finds malware, but otherwise there's no user interface to MRT.
     
    5. The built-in security features of OS X reduce the risk of malware attack, but they're not absolute protection. The first and best line of defense is always going to be your own intelligence. With the possible exception of Java exploits, all known malware circulating on the Internet that affects a fully-updated installation of OS X 10.6 or later takes the form of so-called "Trojan horses," which can only have an effect if the victim is duped into running them. The threat therefore amounts to a battle of wits between you and Internet criminals. If you're smarter than they think you are, you'll win. That means, in practice, that you always stay within a safe harbor of computing practices. How do you know when you're leaving the safe harbor? Below are some red flags that indicate danger.
      
    Software from an untrustworthy source
    • Software of any kind is distributed via BitTorrent or Usenet.
    • Software with a corporate brand, such as Adobe Flash Player, doesn't come directly from the developer’s website.
    • Rogue websites such as Softonic and CNET Download distribute free applications that have been packaged in a superfluous "installer."
    • The software is advertised by means of spam or intrusive web popups.
    Software that is plainly illegal or does something illegal
    • Software that you would otherwise have to pay for is "cracked" or "free."
    • An application helps you to infringe copyright, for instance by circumventing the copy protection on commercial software, or saving streamed media for reuse without permission.
    Conditional or unsolicited offers from strangers
    • A web page tells you that you have a “virus” and offers to help you remove it. (Some reputable websites did legitimately warn visitors who were infected with the "DNSChanger" malware. That exception to this rule no longer applies.)
    • A web site offers free content such as video or music, but to use it you must install a “codec,” “plug-in,” "player," "downloader," "extractor," or “certificate” that comes from that same site, or an unknown one.
    • You win a prize in a contest you never entered.
    • Someone on a message board such as this one is eager to help you, but only if you install an application of his choosing.
    • A "FREE WI-FI !!!" network advertises itself in a public place such as an airport, but is not provided by the management.
    Unexpected events
    • You open what looks like a document and get an alert that it's "an application downloaded from the Internet." Click Cancel and delete the file or message.
    • An application does something inexplicable, such as asking for permission to access your contacts, your location, or the Internet for no obvious reason.
    • Software is attached to email that you didn't request, even if it comes (or seems to come) from someone you trust.
    I don't say that leaving the safe harbor just once will necessarily result in disaster, but making a habit of it will weaken your defenses against malware attack. Any of the above scenarios should, at the very least, make you uncomfortable.
      
    6. Java on the Web (not to be confused with JavaScript, to which it's not related, despite the similarity of the names) is a weak point in the security of any system. Java is, among other things, a platform for running complex applications in a web page, on the client. That was always a bad idea, and Java's developers have proven themselves incapable of implementing it without also creating a portal for malware to enter. Past Java exploits are the closest thing there has ever been to a Windows-style virus affecting OS X. Merely loading a page with malicious Java content could be harmful.
      
    Fortunately, client-side Java on the Web is obsolete and mostly extinct. Only a few outmoded sites still use it. Try to hasten the process of extinction by avoiding those sites, if you have a choice. Forget about playing games or other non-essential uses of Java.
       
    Java is not included in OS X 10.7 and later. Discrete Java installers are distributed by Apple and by Oracle (the developer of Java.) Don't use either one unless you need it. Most people don't. If Java is installed, disable itnot JavaScript — in your browsers.
       
    Regardless of version, experience has shown that Java on the Web can't be trusted. If you must use a Java applet for a task on a specific site, enable Java only for that site in Safari. Never enable Java for a public website that carries third-party advertising. Use it only on well-known, login-protected, secure websites without ads. In Safari 6 or later, you'll see a lock icon in the address bar with the abbreviation "https" when visiting a secure site.

    Stay within the safe harbor, and you’ll be as safe from malware as you can practically be. The rest of this comment concerns what you should not do to protect yourself.

    7. Never install any commercial "anti-virus" or "Internet security" products for the Mac, as they all do more harm than good, if they do any good at all. If you need to be able to detect Windows malware in your files, use one of the free security apps in the Mac App Store — nothing else.
      
    Why shouldn't you use commercial "anti-virus" products?
    • To recognize malware, the software depends on a database of known threats, which is always at least a day out of date. New threats are emerging on a daily basis. Research has shown that most successful attacks are "zero-day" — that is, previously unknown. Recognition-based malware scanners do not defend against such attacks.
    • Their design is predicated on the nonexistent threat that malware may be injected at any time, anywhere in the file system. Malware is downloaded from the network; it doesn't materialize from nowhere.
    • In order to meet that nonexistent threat, the software modifies or duplicates low-level functions of the operating system, which is a waste of resources and a common cause of instability, bugs, and poor performance.
    • By modifying the operating system, the software itself may create weaknesses that could be exploited by malware attackers.
    8. An anti-malware product from the App Store, such as "ClamXav," has the same drawback as the commercial suites of being always out of date, but it does not inject code into the operating system. That doesn't mean it's entirely harmless. It may report email messages that have "phishing" links in the body, or Windows malware in attachments, as infected files, and offer to delete or move them. Doing so will corrupt the Mail database. The messages should be deleted from within the Mail application.
        
    An anti-virus app is not needed, and should not be relied upon, for protection against OS X malware. It's useful only for detecting Windows malware, and even for that use it's not completely effective. Windows malware can't harm you directly (unless, of course, you use Windows.) Just don't pass it on to anyone else.
        
    A Windows malware attachment in email is usually easy to recognize. The file name will often be targeted at people who aren't very bright; for example:
      
    ♥♥♥♥♥♥♥♥♥♥♥♥♥♥!!!!!!!H0TBABEZ4U!!!!!!!.AVI♥♥♥♥♥♥♥♥♥♥♥♥♥♥.exe
       
    Anti-virus software may be able to tell you which particular trojan it is, but do you really care? In practice, there's seldom a reason to use the software unless an institutional policy requires it. Windows malware is so widespread that you should assume it's in every unknown email attachment until proven otherwise.
      
    The ClamXav developer won't try to "upsell" you to a paid version of the product. Other developers may do that. Don't be upsold. For one thing, you should not pay to protect Windows users from the consequences of their choice of computing platform. For another, a paid upgrade from a free app will probably have all the disadvantages mentioned in section 7.
      
    9. It seems to be a common belief that the built-in Application Firewall acts as a barrier to infection, or prevents malware from functioning. It does neither. It blocks inbound connections to certain network services you're running, such as file sharing. It's disabled by default and you should leave it that way if you're behind a router on a private home or office network. Activate it only when you're on an untrusted network, for instance a public Wi-Fi hotspot, where you don't want to provide services. Disable any services you don't use in the Sharing preference pane. All are disabled by default.
        
    10. As a Mac user you don't have to live in fear that your computer may be infected every time you install software, read email, or visit a web page. But neither should you assume that you will always be safe from exploitation, no matter what you do. The greatest harm done by security software is precisely its selling point: it makes people feel safe. They may then feel safe enough to take risks from which the software doesn't protect them. "Hmmmm, this torrent is a crack of that new game I want. I think I'll download it. It could be a trojan, but the antivirus will warn me if it is." Then they wonder why their Mac is so slow all of a sudden. It's slow because it's running flat out mining bitcoins for a hacker who has already sold their credit card number and banking passwords to a criminal gang. Maybe a week later the antivirus does warn them, but what good does that do?
        
    Nothing can lessen the need for safe computing practices.
  • by Linc Davis,

    Linc Davis Linc Davis Feb 13, 2014 7:16 PM in response to Bobng
    Level 10 (208,037 points)
    Applications
    Feb 13, 2014 7:16 PM in response to Bobng
    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve your problem.
        
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
       
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to gather information about the state of your computer. That information goes nowhere unless you choose to share it on this page. However, you should be cautious about running any kind of program (not just a shell script) at the request of a stranger on a public message board. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them.

    Here's a summary of what you need to do, if you choose to proceed: Copy a line of text from this web page into the window of another application. Wait for the script to run. It usually takes a couple of minutes. Then paste the results, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.

    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.

    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply.

    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking  anywhere in the line. The whole line will highlight, though you may not see all of it in your browser, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.

    Triple-click anywhere in the line of text below on this page to select it:

    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; Pc () { o=`grep -v '^ *#' "$2"`; Pm "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id | grep -qw '80(admin)'; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed '8!d;s/^ *//'; o=`SP Hardware | awk '/Mem/{print $2}'`; o=$((o<4?o:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d; /[my].*:/d'`; [[ "$o" =~ s:\ [^O]|x([^08]||0[^2]8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/{s/^.*://p;}' <<< "$p"`; Ps "Battery condition"; for b in Thunderbolt USB; do o=`SP $b | sed -En '1d; /:$/{s/ *:$//;x;s/\n//p;}; /^ *V.* [0N].* /{s/ 0x.... //;s/[()]//g;s/\(.*: \)\(.*\)/ \(\2\)/;H;}; /Apple|SCSM/{s/.//g;h;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; d=(/ ""); D=(System User); E=; for i in 0 1; do o=`cd ${d[$i]}L*/L*/Dia* || continue; ls | while read f; do [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && e=" *" || e=; awk -F_ '!/ag$/{$NF=a[split($NF,a,".")]; print $0 "'"$e"'"}' <<< "$f"; done | tail`; Pm "${D[$i]} diagnostics"; done; [[ "$o" =~ \*$ ]] && printf $'\n* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|last value [1-9]|n Cause: -|NVDA\(|pagin|SATA W|ssert|timed? ?o' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); o=${s[2]}%; Ps "CPU usage by process \"$s\" with UID ${s[1]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); s[2]=${s[2]%[+-]}; o=$((s[2]>=25000?s[2]:0)); Ps "Mach ports used by process \"$s\" with UID ${s[1]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | awk 'NR>1 && !/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'`; Pm "Extrinsic system jobs"; o=`launchctl list | awk 'NR>1 && !/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; o=`for d in {/,}L*/Lau*; do M; done | grep -v com\.apple\.CSConfig | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/Star*; do M; done`; Pm "Startup items"; o=`find -L /S*/L*/E* {/,}L*/{A*d,Compon,Ex,In,Keyb,Mail/B,P*P,Qu*T,Scripti,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB\ :CFBundleIdentifier "$d/Info.plist") || ID="No bundle ID"; [[ "$ID" =~ ^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|\.hpio|JMicron|microsoft\.MDI|print|SoftRAID ]] || printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find -L /u*/{,*/}lib -type f | while read f; do file -b "$f" | grep -qw shared && ! codesign -v "$f" && echo $f; done`; Pm "Unsigned shared libraries"; o=`for e in DYLD_INSERT_LIBRARIES DYLD_LIBRARY_PATH; do launchctl getenv $e; done`; Pm "Environment"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; Ps "DNS"; R && o=`sudo profiles -P | grep : | wc -l`; Ps "Profiles"; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; Pc "hosts" <(grep -v 'host *$' /etc/hosts); Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l | sed 's:/Users/[^/]*/:/Users/USER/:g'); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`SP Fonts | egrep "Valid: N|Duplicate: Y" | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
       
    Copy the selected text to the Clipboard by pressing the key combination command-C.

    7. Launch the built-in Terminal application in any of the following ways:

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

    Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.

    If you see an error message in the Terminal window such as "syntax error," enter

    exec bash

    and press return. Then paste the script again.

    If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know your password, or if you prefer not to enter it, just press return three times at the password prompt.

    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.

    The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line "[Process completed]" to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report your results. No harm will be done.

    8. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.

    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.

    When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.

    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.

     

    ________________________________

      
    Copyright © 2014 Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of Apple Support Communities ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.
  • by Bobng,

    Bobng Bobng Feb 13, 2014 7:24 PM in response to Linc Davis
    Level 1 (5 points)
    Feb 13, 2014 7:24 PM in response to Linc Davis

    LInc thank you for your considerable efforts. I try to be careful with what I download or open and I do not use Java. It was for that reason I haven't signed in as administrator when the unidentified box shows up. I will read you complete article and look into the unix suggestion as well. Still not sure if I should keep cancelling the box or not?

    Again thanks,

    Bob