Mac vs. Windows – Mac's don't get viruses, right?
Tuesday, May 20th, 2008After a year and a half of using a mac I can say for certain that it's a far more secure environment than windows. I can't imagine ever doing anything important on a windows machine ever again, back when I used windows for work re-installing the entire operating system was a monthly routine, about 90% of these incidents were virus related despite heavy use of system intensive anti-virus software, firewalls, anti-spyware software, and every other effort to prevent it.
While reading a debate on a tech-blog between the commenters of a provocative post polling whether or not you use anti-virus software and why, I ran across a link to an article written almost 2 years ago at InfoWorld [http://weblog.infoworld.com]. The point argument: which is the safer operating system--Windows or OS X, and the old claim that the reason there are no mac viruses* is due to Apple's small market share (of millions and millions of customers). The following is an excerpt from the article listing some of the technical holes that exist in Windows and not in OS X that would allow a virus to get into your system, and hide. Since it's writing Apple has released a Leopard which is even more secure than previous versions, while Microsoft has done the same, most of these flaws still exist in Vista where the most tangible security improvement being disabled by most users due to it's irritating nature.
* The term 'virus' used here relates to malicious software being installed on your system without your knowledge. There is some malicious software (that I am aware of) on macs, and there's no reason why anyone couldn't just write some malicious code, however the secure unix foundation of mac os x and all of it's security features prevent malicious code from being executed without your explicit consent in 99% of cases and if a virus does get running it can't do anything significant without knowing an admin username and password and even then without tipping off the numerous checks and balances that something is awry....
- All Windows background processes/daemons are spawned from a single hyper-privileged process and referred to as services.
- By default, Windows launches all services with SYSTEM-level privileges.
- SYSTEM is a pseudo-user (LocalSystem) that trumps Administrator (like UNIX's root) in privileges. SYSTEM cannot be used to log in, but it also has no password, no login script, no shell and no environment, therefore
- The activity of SYSTEM is next to impossible to control or log.
- Most of the code running on any Windows system at a given time is related to services, most or all of which run with SYSTEM privileges, therefore
- Successful infection of running Windows software carries a good chance of access to SYSTEM privileges.
- Windows buries most privileged software, service executables and configuration files in a single, unstructured massive directory (SYSTEM32) that is frequently used by third parties. Windows will notify you on an attempt to overwrite one of its own system files stored here, but does not try to protect privileged software.
- Microsoft does not sign or document the name and purpose of the files it places in SYSTEM32.
- Windows has no equivalent to OS X's bill of materials, so it cannot validate permissions, dates and checksums of system and third-party software.
- Windows requires that users log in with administrative privileges to install software, which causes many to use privileged accounts for day-to-day usage.
- Windows requires extraordinary effort to extract the path to, and the files and TCP/UDP ports opened by, running services, and to certify that they are valid.
- Microsoft made it easy for commercial applications to refuse a debugger's attempt to attach to a process or thread. Attackers use this same mechanism to cloak malware. A privileged user must never be denied access to a debugger on any system. My right to track down malware on my computers trumps vendors' interests in preventing piracy or reverse-engineering. Maintaining that right is one of the reasons that open source commercial OS kernels are so vital.
- Access to the massive, arcane, nearly unstructured, non-human-readable Windows Registry, which was to be obsolete by now, remains the only resource a Windows attacker needs to analyze and control a Windows system.
- Another trick that attackers learned from Microsoft is that Registry entries can be made read-only even to the Administrator, so you can find an exploit and be blocked from disarming it.
- Malicious code or data can be concealed in NTFS files' secondary streams. These are similar to HFS forks, but so few would think to look at these.
Why this can't happen under OS X:
- One of the strongest tools that Microsoft has to protect users from malware is Access Control Lists (ACLs), but standard tools make ACLs difficult to employ, so most opt for NTFS's inadequate standard access rights.
- OS X has no user account with privileges exceeding root.
- Maximum privilege is extended only to descendants of process ID 1 (init or Darwin's launchd), a role that is rarely used and closely scrutinized.
- Unlike services.exe, launchd executes daemons and scheduled commands in a shell that's subject to login scripts, environment variables, resource limits, auditing and all security features of Darwin/OS X.
- Apple's daemons have man pages, and third parties are duty-bound to provide the same. Admins also expect to be able to run daemons, with verbose reporting, in a shell for testing.
- OS X Man pages document daemons' file dependencies, so administrators can easily rework file permissions to match daemons' reduced privileges.
- Launchd can tripwire directories so that if they're altered unexpectedly, launchd triggers a response.
- If an attacker takes over a local or remote console, any effort to install software or alter significant system settings cannot proceed without entering the administrator's user name and password, even if the console is already logged in as a privileged user. In other words, even having privileges doesn't ensure that even an inside hacker can arrange to keep them.
- OS X has a single console and a single system log, both in plain text.
- OS X's nearest equivalent to the Registry is Netinfo, but this requires authentication for modification. In later releases of OS X, it is fairly sparse.
- Applications have their own per-user and system-wide properties files, private Registries if you like, stored in human-readable files in standard locations.
- Every installed file is traceable to a bill of materials that can verify that the file is meant to exist, and that it and all of its dependencies match their original checksums. Mac users, back up and protect your Receipts folder!
- The directories used to hold OS X's privileged system executables are sacred. Anything new that pops up there is immediately suspect.
- OS X does not require that a user be logged in as an administrator to install software. The user or someone aiding the install needs to know the name and password of a local administrative user to complete the install. On a network, most software is installed using Remote Desktop, an inexpensive Systems Management Server-like console.
- The UNIX/POSIX API, standard command-line tools and open source tools leave malware unable to hide from a competent OS X administrator. It takes a new UNIX programmer longer to choose an editor than it does to write a console app that walks the process tree listing privileged processes. Finding the owners of open TCP/UDP ports or open files is similarly trivial. The "system" is not opaque.
- Basic OS X features can be put to use to make life miserable for malware. For example, Windows' hackable restore points are done better by OS X's ability to create encrypted, read-only disk images. They're simpler than archives, and you can mount them as volumes anywhere in your file hierarchy.
- Likewise, OS X Server will image any Mac client or server's local drives and maintain safe copies that can be used not only for restoration, but which can be booted from to guarantee that there's no trace of infection.
So, after all this, do I have enough to judge Windows inherently more vulnerable to severe malware than OS X? I do. ...
- When erase-and-reinstall is the only way to be sure, OS X Server automates it. It can safely capture the affected Mac's active drives before having that Mac boot from the fresh install image.
-- by Tom Jager at [http://weblog.infoworld.com/...s_inhe.html] - click to read the whole article.

Pretty much everyone that uses the internet knows about it, and according to Adobe 99%+ of browsers have it installed. Flash is a browser plugin that lets you view flash content, everything from games, to animation, video and more.
Adobe Flex builder is an IDE(Integrated Development Environment) for flash. Where using Adobe Flash(software for making flash content) is foreign to most programmers because it's set up for animation and uses an approach based on frames, Flex Builder was designed for programmers. It lets you build RIAs(Rich Internet Applications) with the richness of flash, with the tools you need like code hinting/highlighting, debugging, and a set of usable, flexible controls.
Flex uses Actionscript--the Flash programming language, along with MXML a simple xml schemed language used for the layout of your apps. Flex builder also has a design view that lets you visually arrange and edit the properties of the controls in your application.
To use Flex 3 you can get Flex 3 Builder from Adobe or download the open source Flex 3 SDK(Software Development Kit) and use it with your IDE of choice. Flex Builder 3 and FlexBuilder 3 Pro have some extra features that the SDK doesn't, you can see the differences 
