Appzdev.com

iPhone and Mac Blog www.appzdev.com

Appzdev.com - iPhone and Mac Blog www.appzdev.com

Kaspersky Confirms Widespread Mac Infections Via Flashback Trojan

 

Kaspersky Confirms Widespread Mac Infections Via Flashback Trojan

 

Security firm Kaspersky Lab today weighed in on the Flashback Trojan controversy, confirming that the flaw likely infected more than half a million Macs.

In a blog post, Kaspersky Lab expert Igor Soumenkov said the firm analyzed the latest variant of the botnet – dubbed Flashfake – to try and nail down where the infected computers resided and how many were affected.

“We reverse engineered the first domain generation algorithm and used the current date, 06.04.2012, to generate and register a domain name, ‘krymbrjasnof.com,’” Soumenkov wrote. “After domain registration, we were able to log requests from the bots. Since every request from the bot contains its unique hardware UUID, we were able to calculate the number of active bots.”

Kaspersky’s analysis saw more than 600,000 unique bots connect to its servers in less than 24 hours, using a total of 620,000 external IP addresses. More than 50 percent came from the United States.

That’s in line with Wednesday data from anti-virus firm Doctor Web, which said that about 550,000 Macs were likely infected by the Java flaw, known as the Flashback Trojan.

Approximately 300,917 of the active bots were located in the U.S., followed by 94,625 in Canada, 47,109 in the U.K., and 41,600 in Australia, Kaspersky said. A smaller number of devices in France, Italy, Mexico, Spain, Germany, and Japan were also affected.

Soumenkov said Kaspersky could not confirm or deny that all the bots were running Mac OS X, but the firm was able to get a “rough estimation” using passive OS fingerprinting techniques.

“More than 98 percent of incoming network packets were most likely sent from Mac OS X hosts,” he wrote. “Although this technique is based on heuristics and can’t be completely trusted, it can be used for making order-of-magnitude estimates. So, it is very likely that most of the machines running the Flashfake bot are Macs.”

Yesterday, Apple issued a second update to address this issue, though it did not appear to be too in depth.

Security experts are suggesting that Mac users, particularly those on older versions of OS X, update their software as soon as possible. For the technically inclined, F-Secure also has instructions on how to locate a Flashback infection.

 

Download Messages Beta for Mac

 

 

 

Download Messages Beta and get a taste of what’s coming in OS X Mountain Lion. When you install Messages, it replaces iChat. But iChat services will continue to work. And Messages brings iMessage to the Mac — just like on iPad, iPhone, and iPod touch running iOS 5. Here are the features you can expect with Messages:

  • Send unlimited iMessages to any Mac, iPad, iPhone, or iPod touch.*
  • Start an iMessage conversation on your Mac and continue it on your iPad, iPhone, or iPod touch.
  • Send photos, videos, attachments, contacts, locations, and more.
  • Launch a FaceTime video call and bring the conversation face-to-face.
  • Messages supports iMessage, AIM, Yahoo!, Google Talk, and Jabber accounts.

Download here!

Need an iPhone App designed for your business?

 Contact Us

32 or 64 bit Mac?

How to tell if you have a 32 or 64 bit Mac Choose About This Mac from the Apple (?) menu in the upper-left menu bar, then click More Info. Open the Hardware section. Locate the Processor Name.

Compare your Processor Name to information below to determine whether your Mac has a 32-bit or 64-bit processor.

Processor Name      32- or 64-bit

Intel Core Solo 32 bit
Intel Core Duo 32 bit
Intel Core 2 Duo 64 bit
Intel Quad-Core Xeon 64 bit
Dual-Core Intel Xeon 64 bit
Quad-Core Intel Xeon 64 bit
Core i3 64 bit Core i5 64 bit
Core i7 64 bit

 

Where is the User Library Folder in Lion? It’s gone!

After trying to find my ~/Library/Preferences folder in Mac Lion I finally figured out how to find this folder.

The Library folder is hidden in 10.7 for Lion so you have to unhide it.

Here’s how you do it:

Search for the Application ‘Terminal’ and run the program.  In Terminal paste the following:
chflags nohidden ~/Library

now hit the Enter button on the keyboard and it’s fixed!  You’ll now be able to see your Library folder under users.

Random Tech: Mac OS X Services (the menu you never go to)

Mac OS X Services (the menu you never go to)

 

(Note: Numbers 1 through 3 require WordService — read the article to understand)

There’s a whole hidden side of text modification that is stashed away, yet right at your fingertips. If you go to the Application menu (if you’re in Safari, click the menu ‘Safari’) -> Services, a whole list pops down. You’ve probably disregarded this in the past (if you’ve ever seen it) because most of the options are grayed out, or unclickable. All you need to do is highlight some text. Go back to the menu and there are so many to choose from! Here are my favorites:

1) Have you ever typed something and then realized you were in caps lock? You probably deleted it and typed it again all in lowercase. You could be more efficient. If you go to Services -> Convert -> Lowercase, it solves the problem without you having to type it all again! You could even do Convert -> Initial Caps of Sentences to have every letter lowercase except the first letter of the first word in a sentence. Nifty!

2) Are you space bar trigger happy? Ever typed more than 1 space in between words? Services -> Format -> Remove Multiple Spacestakes care of that.

3) This one’s really helpful. Have you ever needed a long list to be alphabetized? Maybe not even just words, but how about lines of text? At Services -> Format -> Sort Lines Ascending, your entire selection becomes alphabetized. No shareware programs necessary!

4) Don’t feel like reading this whole article, but you still want to get an idea of what it’s about? Perfect! Select all of it and go toServices -> Summarize. Works well with reviews and book reports!

And this doesn’t only work with Safari – it works with every application on your Mac! There are several you can download from the internet. They’re called Services and you put them in your home folder -> Library -> Services, if they don’t get installed there already.

Mac OS X Disable Unnecessary Services

Mac OS X Disable Unnecessary Services

 

How do I disable unnecessary services under Mac OS X to secure my Mac OS X based desktop / server / laptop?

Mac OS X use the following directories to start various services (quoting from the man page):

  1. /System/Library/LaunchDaemons/ - System-wide daemons provided by Mac OS X
  2. /System/Library/LaunchAgents/ - Per-user agents provided by Mac OS X.
  3. ~/Library/LaunchAgents/ - Per-user agents provided by the user.
  4. /Library/LaunchAgents/ - Per-user agents provided by the administrator.
  5. /Library/LaunchDaemons/ - System-wide daemons provided by the administrator.

launchd manages processes, both for the system as a whole and for individual users using .plist files. Open the terminal and type the following commands to view directory files:

cd /System/Library/LaunchDaemons/
ls -l
ls -l | less

OR

cd /System/Library/LaunchAgents/
ls -l
ls -l | less

How Do I Disable Unnecessary Services?

You need to use the launchctl command as follows:

sudo launchctl unload -w /path/to/.plist/file
sudo launchctl unload -w /System/Library/LaunchDaemons/file.plist

In this example, you are disabling the Bonjour service, enter:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponderHelper.plist

by VIVEK GITE

11 Ways to Optimize Your Mac’s Performance

Publisher’s note: This has been the most popular article in the history of Low End Mac. Bear in mind that this was written toward the end of the Mac OS X 10.4 Tiger era, so some tips may not apply to newer versions.

 

Every now and then, my Macs begin to feel a little sluggish. There are many potential reasons why: I tend to run 8 to 10 applications all the time – and sometimes push 15 or more. This alone will bog down any Mac.  At other times, I realize that it’s been weeks since I restarted the computer, and a simple restart will solve a lot of these woes.

 

When those don’t speed things up, I’ve found a number of things I can do to encourage my Macs back to their youthful snappiness. Here are a few tips I’ve found for restoring my Macs to full speed without spending a penny.

 

Editor’s note: None of these tips will improve your Mac’s performance as much as more RAM, a faster hard drive, or a CPU upgrade can. They mostly have to do with reducing memory use by limiting the number of active processes and freeing up drive space, since a too full drive (especially past the 90% mark) can slow down your Mac. These are tips for getting the most out of the Mac you currently have without investing in hardware upgrades.

 

1. Clean out Startup Items

Some applications automatically (or when asked) set themselves as a “startup item”, which causes them to open at every restart or login. You can find out what is in your startup items list by navigating to Apple Menu > System Preferences > Accounts > Login Items. You may be surprised at how many there are.

To remove them, simply select the item by clicking on its name and then hit the “minus” button at the bottom of the list. However, be sure that you know what you’re removing; otherwise you may kill some critical function for the next time you restart.

 

2. Turn off Universal Access, Bluetooth, Speech Recognition, and Internet Sharing if you don’t use them

While System Preferences is open, take a look at a few other things. Apple has generously included a number of very useful features as preferences. Some, however, may not be useful to you, such as Universal Access (which offers help for visually and hearing impaired users) or Bluetooth (which allows certain devices to be used wirelessly). If you don’t use these features, verify that they are turned off. This will save you some valuable RAM and processor resources.

 

3. Clean Out ‘Other’ System Preferences

Don’t close System Preferences yet! Take a peek in the bottom section of your System Preferences window, labeled “Other”. How many items are down there? Do you know what they do? Do you use what they do?

If there is a Preference Pane that you don’t use or that you use only occasionally, disable it (either turn it “off” within the Preference Pane itself or remove it from the folder “~/Library/PreferencePanes”).

 

4. Check out what ‘build’ your software is

If you’re running an Intel Mac, some of your software may be running under the “Rosetta” translator, which allows applications built for a PowerPC processor to run on an Intel chip. Rosetta is surprisingly efficient, but don’t use it if you don’t have to! There may be a patch for your favorite application that will upgrade it to a “universal build”. By making sure you’re running the latest version you can be confident you’re not using Rosetta in vain (a utility like the App Update widget will help with this).

 

5. Clean out unnecessary code

You’re either running a PowerPC or Intel processor. You don’t have to understand what this means, but you should know that, with both being options, most recent software comes programmed for both. But you don’t need optimization for both – you only need optimization for your computer. Fortunately, there are utilities like XSlimmer (and Monolingual – more on this in a minute) that will strip out unnecessary code in your software. This not only helps the applications run faster; it also saves hard drive space (sometimes a lot of it).

Editor’s note: If you’re using a PowerPC Mac and anticipate migrating to Intel, you might want to defer “slimming” your programs until you’ve made the switch. Otherwise all the programs you’ve slimmed for PowerPC will be running under Rosetta on your Intel Mac – unless you take the time to do a fresh installation.

We’ve also hear horror stories of XSlimmer eviscerating Rosetta, so if you use it on an Intel Mac, be sure you don’t strip the System frameworks.

 

6. Get rid of languages and translations you won’t use

Apple is very considerate in providing language localizations for many, many languages. But the chances are you aren’t using the Catalan, Farsi, or Klingon language localizations on your Mac. And even if you are, you can strip out the other ones you aren’t using and gain more efficiency and drive space using a utility like Monolingual.

By the way, the latest version of Monolingual will also strip out unnecessary architecture from your system – but not your applications – so it also performs a function similar to XSlimmer, yet different.

 

7. Cool off

The new MacBooks got a bad rap at first for running very hot; the truth is, every Mac will run more efficiently with a cooler processor. Even though they’ve largely fixed the cooling issue in the MacBooks, I use a utility called Fan Control on mine, which allows me to change the threshold for when my MacBook’s fan turns on and off. This allows me to keep my ‘Book running cooler, which maximizes performance (though it does shorten battery life a little bit).

 

8. Evaluate your Widgets

If you’re using Mac OS X 10.4.x “Tiger”, you have probably played around with the Dashboard. There are hundreds of useful widgets available, most for free – but there are many that you won’t use, even if they are very helpful to others. This includes some that came with Tiger.

It takes RAM and processor power to keep these widgets running, even when Dashboard is hidden – so a judicious evaluation of what widgets you do use can boost computing efficiency nicely. Do you really need that Ski Conditions widget or the Clock widget running? If not, disable them to conserve RAM and processor use.

 

9. Keep an eye on Activity Monitor

There may be other things hogging your processor’s attention or sucking up RAM. How will you know about them? By using Apple’s Activity Monitor, which comes with OS X. Activity Monitor will tell you about CPU usage, RAM requirements, virtual memory usage, and whether a given application is a PowerPC or Intel (Universal) build. Check it occasionally to see if there are any red flags – or keep it running for a few days (with one of the useful Dock icons or floating windows enabled) to keep an eye on when things are spiking.

 

10. Clean off your hard drive

It doesn’t matter how large your hard drive is – eventually it will begin to fill up. Whether it is a huge iPhoto library, some videos you’re editing, or simply accumulation of lots of “stuff”, a full hard drive can cause problems. (One colleague couldn’t figure out why her drive was so full – until she realized that she hadn’t emptied her Trash in almost four years!)

You may not realize that Mac OS X (and the Classic Mac OS, too) uses the free space on your hard drive as “virtual memory”, and it depends heavily on that virtual memory to run efficiently. If you’re starting to feel sluggish, it may be because your drive is too full. There are lots of ways to clean it off – maybe a different article will cover that – but sometimes a little more free space is all you need to be a peak performance again.

 

11. Run OnyX

Whenever things get slow on my Mac, one of the “go to” solutions is to run a utility like OnyX. (There are several, many of them free; I’ve found Cocktail and TinkerTool to be other good and popular options.)

These utilities offer a variety of “jobs” and “repairs” to the system, and while some are skeptical about how much this is necessary, my experience has been that they do bring a good level of optimization back to my Macs. I tend to run the whole battery of tools – both the maintenance and the cleaning options in OnyX – at the same time, but you may prefer to set them to run as scheduled routines in a certain order.

By the way, check out fellow Low End Mac writer Charles Moore’s words about the value of these routines in his recent article on Applelinks, Yes, Running System Maintenance Routines Really Can Help.

It’s not quite like getting a brand-new Mac – after all, the “next new thing” will always be faster than the current offerings, and no one can keep up all the time. But giving some attention to these optimization tasks won’t take long – probably 2-3 hours for all of these, if you did them at the same time – and it will pay big dividends in speed.

You might even put aside those thoughts of upgrading – at least for a few days!

 

Article by Ed Eubanks Jr

How to edit the hosts file in Mac OS X Leopard/Lion

How to edit the hosts file in Mac OS X – Leopard and Lion

 Introduction

The hosts file is a text file that maps hostnames to IP addresses.
Upon typing a url address on the browser, the system is checking if there is a relevant entry on the hosts file and gets the corresponding IP address, else it resolves the IP via the active connection’s DNS servers.

The hosts file can be edited to block certain hostnames (like ad-serving/malicious hosts), or used for web development purposes, i.e. to redirect domains to local addresses.

Editing the hosts file

Editing the hosts file in Mac OS X – Leopard, is a pretty easy task, especially if you are familiar with the terminal.

Step 1 – Open the Terminal.app

Either by start typing Terminal on the Spotlight, or by going into Applications -> Utilities -> Terminal.

Need iPhone development for your business?
Contact Us

Step 2 – Open the hosts file

Open the hosts by typing on the Terminal that you have just opened:

Copy this and paste:

sudo nano /private/etc/hosts

Type your user password when prompted.

Step 3 – Edit the hosts file

The hosts file contains some comments (lines starting with the # symbol), as well as some default hostname mappings (e.g. 127.0.0.1 – localhost).
Simply append your new mappings underneath the default ones. Or edit one of the default values if you know what you are doing!
You can navigate the file using the arrow keys.

Step 4 – Save the hosts file

When done editing the hosts file, press control-o to save the file.
Press enter on the filename prompt, and control-x to exit the editor.

Step 5 – Flush the DNS cache

On Leopard you can issue a simple Terminal command to flush the DNS cache, and have your host file changes to take immediate effect:

dscacheutil -flushcache

You can now test your new mapping on the browser!