Skip navigation.

exploreopera

| Help

Sign up | Help

Penguin Stumblings

Here There Everywhere and Back to Nowhere...

Posts tagged with "Computer"

Vista plays hide-and-seek with hackers

Windows Vista Beta 2, released last week, includes a new security feature designed to protect against buffer overrun exploits. Called Address Space Layout Randomization (ASLR), the feature loads key system files in different memory locations each time the PC starts, making it harder for malicious code to run, according to Microsoft.

"It is not a panacea, it is not a replacement for insecure code," Michael Howard, a senior security program manager at Microsoft, wrote in a a blog post announcing the feature. "But when used in conjunction with other technologies...it is a useful defense, because it makes Windows systems look 'different' to malware, making automated attacks harder."

A buffer overrun exploit is malicious code that seeks to exploit a common error in computer code called a buffer overrun or buffer overflow. In such an attack, data is stored beyond the boundaries of a buffer, with the result that the extra data overwrites adjacent memory locations. This can cause a process to crash, or allow malicious code to run.

ASLR is not a Microsoft invention. Several open-source security systems use it already, including OpenBSD, and the PaX and Exec Shield patches for Linux.

Certain attacks attempt to call Windows system functions, such as the "socket()" function in "wsock32.dll," to open a network socket. The new security feature moves these system files around so they're in unpredictable locations. In Windows Vista Beta 2, a DLL or EXE file could be loaded into any of 256 locations, Howard wrote.

"An attacker has a 1/256 chance of getting the address right," Howard wrote.

Randomization seems to have served open-source systems fairly well, said Russ Cooper, senior scientist at Cybertrust, a security vendor in Herndon, Va. The question is how Microsoft implements ASLR and whether the randomization is predictable at all, he said.

"I suspect this will be the first thing looked for--something which tells you which of the locations has been chosen, or anything that provides you with a pointer," Cooper said.

Attackers could also create malicious software that tries to poke at all 256 memory locations. However, that's more likely to cause the PC to crash, rather than allow a complete compromise, Cooper said. "That's good if all you care about is preventing malware from running, but it might not bode well for keeping systems up and running," he said.

ASLR feedback
Microsoft gets some praise in the security world for its ASLR efforts in Vista. "Remote exploitation of overflows has just got a lot harder," David Litchfield, a researcher at Next Generation Security Software, wrote in an e-mail to the BugTraq mailing list.

But there is also skepticism. Somebody using the alias "c0ntex" wrote in a reply to Litchfield that ASLR has been "trivially circumvented in Linux for years now."

Microsoft has only just added ASLR to a Windows Vista trial release, another sign that the successor to Windows XP is not yet ready for prime time. "We added ASLR pretty late in the game, but we decided that adding it to beta 2 and enabling it by default was important so we can understand how well it performs in the field," Howard wrote.

Together with other enhancements in Vista, ASLR raises the bar in terms of security in the forthcoming operating system, Microsoft says. The company has described Vista, slated to be broadly available in January, as the most secure version of Windows to date.

In addition to ASLR, Howard mentioned a buffer overrun detection option in Visual C++; an exception checker in Vista; function pointer obfuscation; and support for NX, or No-Execute, data execution protection that is included in processors.

"The net of this is, ASLR is seen as just another defense," Howard wrote.

Source: http://news.zdnet.com/2100-1009_22-6079101.html?tag=nl.e589

Volunteer Computer Grids—Beyond SETI@home

, ,

By Michael W. Muchmore

If you've walked past the idle computers of techies during the past few years, you've undoubtedly seen the colorful bars of the SETI@home screensaver. These geeks are doing their part in the quest for intelligent extraterrestrial life. Taking advantage of PCs' idle time, grid projects like SETI@home are able to do computations that would take many years in less than a day. In fact, SETI@home has already done over 2 million computer-years worth of computation.
But now there are dozens of other massively multiprocessor projects—known alternatively as distributed computing (DC), grid computing, or volunteer computing—that can take advantage of your otherwise unused CPU cycles in an effort to do things like predict global climate change, calibrate particle accelerators, or develop drugs to combat cancer and AIDS.

We decided to look into whether these projects have actually accomplished anything or were just spinning CPU cycles unnecessarily and making their users feel virtuous. After considering the platforms, projects, and how distributed computing works, we'll focus in on three project areas for a closer look to see what kind of results they've produced.

Continued...

Create an Indestructible Shared PC

, ,

By Neil J. Rubenking

Need to put a PC in a public place? A free Microsoft tool makes it easy to lock down.

Schools, libraries, and other organizations often want to make computers available in public places. These can become tempting targets for hackers. Even well-intentioned users can wreak havoc by deleting important files or accidentally installing malware.


Microsoft's free Shared Computer Toolkit lets you configure a PC that can be used to search the Internet, look up resources, and run approved programs; it also stops users from making permanent system changes, running arbitrary programs, or introducing malware. Administrators on domain-based PCs have long been able to do this; the toolkit offers a similar level for any PC. You don't need an IT degree—the kit leads an administrator through the steps of locking down a system.

We evaluated a recent release candidate of the toolkit, which can be downloaded at www.microsoft.com/sharedaccess. The toolkit requires Windows XP Service Pack 2 or Windows XP Tablet PC Edition 2005, and you'll probably need to download the oddly named User Profile Hive Cleanup Service. Start by installing the toolkit while logged on to an account that will become the toolkit administrator account. It will open a Getting Started applet that lists the steps you'll follow to lock down the computer.

The first step is usually to adjust the disk's partitioning to make room for Windows Disk Protection. WDP requires a region of unallocated disk space that is located just beyond the boot partition and whose size is at least 10 percent of the boot partition's size but no less than 1 GB. Windows doesn't provide a nondestructive partition management utility; the toolkit suggests using PartitionMagic 8 or Terabyte Unlimited's BootIt. If you're configuring a new computer, you can adjust the partition size during installation of Windows XP. When active, WDP discards all changes to the boot partition when the computer is restarted, so you won't turn it on until the other configuration steps are completed.

The second step pulls together a number of security settings and suggests you enable them all. One key option removes the toolkit administrator account from the Welcome screen—users won't know the account name, much less the password. As the administrator, you'll log in by pressing Ctrl-Alt-Del twice at the Welcome screen, then entering the account name and password in the dialog box. Among other restrictions, the toolkit can prevent other users from shutting down or restarting the computer, block Windows from caching Passport or other credentials, and disallow unapproved user profiles. The Test Your Password button checks to be sure you haven't used a blank password or a weak password like your username.

Next you'll create a public account to be shared by all walk-up users. (You can make multiple accounts by repeating the next few steps.) The instructions advise making it a Limited account, but there are also instructions for dealing with an Administrative account, in case a critical program won't run under a Limited one. For the setup, you should set a password for this account, or else Windows will boot to it on each restart, forcing you to log off and then into the toolkit administrator account. Next, the wizard asks you to log on to this new account and configure it completely, including setting appearance, configuring the printer, enabling the Quick Launch toolbar (if desired), and setting up programs such as Microsoft Office that perform user-specific initialization. Be sure to install add-ons like Adobe Reader and Flash. Now log off the public account and back into the toolkit administrator account.

In the wizard, the User Restrictions applet offers a range of limitations from mild to draconian. The Lock This Profile check box tells the system not to save Internet history and other user changes. You can force a specific home page and limit which drives are displayed in My Computer in order to block the user from bringing in software on diskette or USB key. You can configure this profile to log off after a specified amount of time, or of idle time. And you can set it to restart at log-off; this is significant when WDP is enabled, because restarting discards all changes to the Windows partition.

Checking the Recommended Restrictions box really locks down the system. Start menu restrictions eliminate many icons such as Control Panel and My Network Places, force the classic Start menu style, and disable right-clicking on Start menu items. General XP restrictions eliminate the Recycle Bin (so one user can't paw through another's trash), block access to such tools as the Command Prompt, Registry Editor, and Microsoft Management Console, and prevent activating Task Manager to kill specific processes. Internet Explorer restrictions disable right-clicking within IE, block access to Internet Options, and suppress certain toolbar buttons. Office restrictions disable macros and VBA and prevent other inappropriate changes. The Software Restriction Policy blocks all programs not found in the Windows or Program Files folder and prevents use of tools that could bypass the toolkit's security.

You can go even further. You can block Internet access for the account, prevent IE or Windows Messenger from running, or disable Microsoft Office. And you can disconnect this account from the All Users account, so the only items on the Start menu are those specifically installed for this user.

Next the wizard asks you to test the account and make sure it's not so restricted as to be unusable. You'll find it a novel experience. Most of the right-click menus are disabled. You can't launch a Command Prompt or enter a program name in the Run dialog. You can't change the wallpaper or set the clock. All you can do is run the programs listed in the Start menu or log off. Do run all the programs to be sure they work.

Now, log back on as administrator; you'll have to press Ctrl-Alt-Del twice. Turn on Windows Disk Protection. When WDP is active, it takes control of all programmatic requests to read or write data to the Windows drive. The write requests are trapped and stored without changing the drive itself. For read requests, WDP reads from the physical drive, then applies any modifications based on those stored write requests.

The technique of inserting a layer between the system and the physical disk is used by other products, like Altiris Protect and ShadowUser. While WDP doesn't have all the flexibility of these programs, it has a nice feature they lack: It automates Windows Update installation. At the scheduled time, it will restart the computer to discard changes, run Windows Update, commit those changes to the physical hard disk, and restart with WDP protection active. You can also run a script to update your antivirus program during this process.

Once WDP is active, all changes, even those made under the toolkit administrator account, are discarded by default when you restart the computer. You get one warning about this, at the time you turn WDP on. After making configuration changes, you must set WDP to save changes on the next restart. It will commit your changes to disk and return to the default of discarding changes. You can also set it to retain all changes until actively placed back in the protection mode. Note that WDP protects only the boot partition (the one containing the Windows folder) and that it disables hibernation.


The system is now ready for public use. The shared public account is locked down so users can do only what you've allowed them to do. And the system is automatically wiped clean at each restart. You'll want to read the security advice in the Shared Computer Toolkit Handbook—in particular, to create a strong password for the powerful toolkit admin-istrator account.

If you decide to uninstall the toolkit, you'll want to be very careful. Many of its restrictions are simply existing features of Windows, brought together for convenience. The settings will remain even if the toolkit is removed. Before uninstalling, you must work backwards through the steps in the Getting Started applet, turning off WDP and undoing the restrictions for all accounts. Only then can you safely uninstall.

You might think it would be easier to uninstall the toolkit by restoring an earlier drive-image backup, but even here you need to act with care. WDP uses a nonstandard configuration for both the main partition and its data storage partition. If your drive-imaging tool supports it, you'd have to delete both partitions and restore the image into the resulting free space. You'd also have to configure the tool to restore the Master Boot Record and mark the restored partition as active.

We applaud Microsoft for making this security tool available. It should be a godsend for schools, libraries, and other havens of public computers.

Source: http://www.pcmag.com/article2/0,1895,1892666,00.asp

Configure Your System Wickedly - REPLACE THE SHELL

, ,

Special: How to control your home computer from anywhere

by Gina Trapani

Ever been at a friend’s house and wanted to show off a photo you left saved on your home computer? Ever wanted to check from the office that your daughter’s doing homework and not instant messaging with friends at home? Ever need to grab a file on your home hard drive when you’re miles away? An age-old protocol called VNC and some free software lets you control your home computer from anywhere.

In this tutorial, we’ll set up a VNC (Virtual Network Computing) server on your home computer, which will let you connect to your desktop and drive it from any Internet-connected computer.

Notes and warnings: Running a server and opening up a port on your home computer to the Internet is a risky undertaking. Make sure your computer has all the latest security patches, has been checked for spyware and viruses and that you’re using strong passwords. The VNC protocol is not inherently secure. This how-to assumes you’re comfortable with basic networking concepts. If you’re scared off by the fine print, check out an easier alternative [1] to VNC. Still with me? Read on.

The Virtual Network Computing (VNC) protocol remotely controls another computer over a network. Think of it as a window into your home computer’s desktop from any other computer. Your key presses and mouse clicks get transferred over the network and happen on the remote computer in real time, and anyone at the remote computer can watch the action as it happens.

A few things you can do with a VNC server running at home:


Start a downloading a large file, like a movie, in the morning so it’s there when you get home in the evening
Search your home computer’s IM logs, address book or file system for important information
Help Mom figure out why Microsoft Word doesn’t start without having to go to her house (even though Mom would like to see you more often)
Control a headless (monitor-less) machine like a media center or file server in another room in the house from the laptop on the couch

VNC requires two components for a successful connection: the server on your home computer, and the viewer on the remote computer. Let’s set up each component to get going. Here’s how.

Step 1. Install the VNC server.

Windows users: TightVNC is free Windows VNC server and client software. TightVNC is a nice choice because it also allows for file transfers and high compression levels for slow connections. Download TightVNC from here and run the installation on your home computer. Start the server, and set a password for incoming connections.

TightVNC can be set to run as a Windows service, which means your Windows usernames and passwords can be used to authenticate on the VNC server connection. Be sure all your Windows passwords are set and strong, and that any passwordless guest accounts are disabled.

Mac users: OSXvnc is a free Mac VNC server. Download, install, set up a password and start the server.

If your VNC server is connected directly to the Internet, it is now listening for Internet requests [2] on port 5900, VNC’s default port (which is also configurable). Visit WhatIsMyIP from your home computer to determine its IP address and write it down.

Step 2. Install the VNC client.

On the remote Windows computer, also download and install TightVNC, but this time, start the viewer, NOT the server. If you’re on a Mac, download the free Chicken of the VNC Mac viewer to connect to your home PC. Enter your home computer’s IP address [3] and password to connect.

And that’s that! You’re virtually sitting at your home desktop from anywhere in the world.

A few extra VNC tips to chew on:


For slower network connections, set the compression to “best.” The window image quality will be lower, but the connection response will be snappier.
Bring a VNC viewer with you on a USB memory stick so you don’t have to download and install on every computer you want to use to connect to your server.
Avoid having to install a server on Mom’s computer; email her the 166K self-extracting SingleClick UltraVNC server for your next tech support phone session. More on SingleClick in an upcoming Lifehacker feature.

FOOTNOTES:
[1] LogMeIn is a web-based application that also provides this remote desktop control and may be a better option for some folks. I prefer VNC because it’s more of a challenge and doesn’t require third party intervention.

[2] If your home computer is behind a home network router with a firewall, remote computers will not be able to connect. You must open up a port on your router’s firewall and forward requests to it to your computer, a how-to that’s beyond the scope of this article but will be covered in an upcoming Lifehacker feature is covered in the Lifehacker feature How to access a home server behind a firewall.

[3] Alternately, you can enter your home computer’s domain name. For more information on setting that up, see previous Lifehacker feature Assign a domain name to your home server. This way, when connecting using the VNC viewer, you can enter an address like mycomputer.dyndns.org instead of an IP address.

Source: http://www.lifehacker.com/software/feature/special-how-to-control-your-home-computer-from-anywhere-125607.php

Mental Typewriter and Game Controller Becomes a Reality

, ,

'Mental typewriter' controlled by thought alone

A computer controlled by the power of thought alone has been demonstrated at CEBIT in Germany. As we have speculated here, rapid advances in cybernetics are now ocurring, which will eventually change how consumers interface with computers, while the substructure of how people inter-relate online has continued to evolve quickly. Imagine reaction time that is constrained only by the power and speed of thought without any mechanical components. It would seem we are headed towards an always-connected global brain. With complete integration of components, what is the difference between telepathy and let's say, a WiFi/Bluetooth connection between your computer and your brain, with the computer/device acting as a filter and transceiver?

The device could provide a way for paralysed patients to operate computers, or for amputees to operate electronically controlled artificial limbs. But it also has non-medical applications, such as in the computer games and entertainment industries.

The Berlin Brain-Computer Interface (BBCI) – dubbed the "mental typewriter" – was created by researchers from the Fraunhofer Institute in Berlin and Charité, the medical school of Berlin Humboldt University in Germany. It was shown off at the CeBit electronics fair in Hanover, Germany.

The machine makes it possible to type messages onto a computer screen by mentally controlling the movement of a cursor. A user must wear a cap containing electrodes that measure electrical activity inside the brain, known as an electroencephalogram (EEG) signal, and imagine moving their left or right arm in order to manoeuvre the cursor around.

"It's a very strange sensation," says Gabriel Curio at Charité. "And you can understand from the crowds watching that the potential is huge."

Learning algorithms
Curio says users can operate the device just 20 minutes after going through 150 cursor moves in their minds. This is because the device rapidly learns to recognise activity in the area of a person's motor cortex, the area of the brain associated with movement. "The trick is the machine-learning algorithms developed at the Fraunhofer Institute," Curio says.

John Chapin, an expert in using implanted electrodes to control computers, agrees EEG sensing technology is advancing rapidly. "There's been a lot of progress on the non-invasive side in recent years," he said.

The German researchers hope to develop a commercial version of the device as an aid for paralysed patients and amputees.

Chapin adds that brain-computer interfaces could have a range of uses beyond the medical. "Signals from the brain give you a fraction of a second advantage," he says. The device could make a novel game controller and be used in other ways. The researchers have even begun testing the machine as a driving aid, as it can sense a sudden reaction and control a vehicle's brakes before even the driver can.

The next stage is to develop a cap that does not have to be attached directly to the scalp. This should make the device easier to use and cause less skin irritation for the wearer.

posted by michael addicott @ 6:49 PM

Source: http://blog.cognitivelabs.com/2006/03/mental-typewriter-and-game-controller.html

Trojan Cryzip extorts decryption fee

, ,

By Dawn Kawamoto, CNET News.com
Published on ZDNet News: March 14, 2006, 9:15 AM PT

A Trojan making the rounds encrypts victims' files and demands a $300 payment to have them decrypted and unlocked, according to a report by security firm Lurhq Threat Intelligence Group.

This so-called "ransomware" Trojan, dubbed Cryzip, is the second of its type to emerge in the past 10 months, following the PGPcoder Trojan. It also is the third such Trojan to appear since 1989.

Lurhq researchers noted Tuesday that the appearance within a year of two encryption Trojans may indicate they are part an emerging trend in malicious software.

"Last year, we saw the PGPcoder, and anything that shows itself to be a viable way to make money, usually people start jumping on the bandwagon after that," said Joe Stewart, senior security researcher for Lurhq.

The Cryzip Trojan will search for files, such as source code or database files, on infected systems. It then uses a commercial zip library to store the encrypted files. Security researchers, however, have yet to determine how the Trojan is distributed, noting it could come from a number of sources, including malicious Web sites, or enter through a previously created backdoor on a virus-infested computer.

The Trojan will overwrite the victims' text and then delete it, leaving only encrypted material that contains the original file name and _CRYPT_.ZIP.

"Unlike the PGPcoder that used a trivial encryption scheme, the zip encryption is stronger. It's harder to go through a list of possible (encryption) keys to get the information back," Stewart said. "But a brute-force attack is still possible, if a user has a copy of the original file. It can be reversed-engineered with a copy of the Trojan."

Cryzip has yet to become a widespread problem. Lurhq said it is aware of only about two dozen infection cases. Increasingly, malicious software writers are becoming more interested in launching low-level attacks in the hopes that it will take longer for security companies to notice their presence and develop a defense.

Users may also be less willing to seek help if it involves disclosing where they might have come across the threat.

The Cryzip writer, who uses an E-Gold account for collecting ransom payments, tells the victims: "Your computer catched our software while browsing illegal porn pages, all your documents, text files, databases was archived with long enough password. You cannot guess the password for your archived files--password length is more than 10 symbols that makes all password recovery programs fail to bruteforce it."

The Trojan writer then goes on to demand that a $300 payment be sent electronically to the E-Gold account.

Stewart advises users to frequently back up their important files, not only to minimize the damage if their system crashes but to reduce damage from an encryption attack.

Source: http://news.zdnet.com/2100-1009_22-6049449.html?tag=nl.e589
October 2008
SMTWTFS
September 2008November 2008
1234
567891011
12131415161718
19202122232425
262728293031