I’ve run across this a few times and I have to admit, it makes me a bit nervous. Mind you, I’m always nervous about anything that can completely prevent me from making my hardware ever work again if something goes wrong!
“…provides you with most free and open
source Open Firmware implementations available. Here you find several
implementations of IEEE 1275-1994 (Referred to as Open Firmware)
compliant firmware.
“Among its features, Open Firmware provides an instruction set
independent device interface. This can be used to boot the operating
system from expansion cards without native initialization code.
“It is Open Firmware’s goal to work on all common platforms,
like x86, AMD64, PowerPC, ARM, Sparc and Mips. With its flexible and
modular design, Open Firmware targets servers, workstations and
embedded systems, where a sane and unified firmware is a crucial design
goal and reduces porting efforts noticably”
One of these days, I am going to get over my whimpyness and give this a try. I had the same reservation when I did my first BIOS flash, my first firmware upgrade, and my first OpenWRT implementation. Now, it’s just second nature and I don’t think twice about it. And I’m sure this will become the same.
Does anyone out there have any experiences or stories about OpenBIOS that they would like to share? Put them in the comments.
I have been playing around with the idea of building Internet devices for various different reasons. But, I’ve always been a bit intimidated by the process.
Moblin is an open source project focused on building a Linux-based platform optimized for the next generation of mobile devices including Netbooks, Mobile Internet Devices, and In-vehicle infotainment systems.
This is a terribly exciting prospect because by using their framework, you can avoid a lot of the pain and get on to the fun stuff!
And it looks like they have a lot of the basics already covered! Here are some important links for Moblin:
I have to admit, even though I am a fan of Ubuntu, I do not use it nearly enough. Because of that, it is not uncommon for me to have to go around and find the same website time and time again to show me how to do the same old tasks over and over again.
So, I’ve decided to start documenting the installation of some of the more basic services and applications in Ubuntu. These will all be command line installations so that they will work regardless of whether you have xWindows installed or not.
I will be basing these installations on the following assumptions:
The system is running Ubuntu 8.10
All of the sources have been enabled by modifying the /etc/apt/sources.list file
The system has been installed with basic installation settings and no extras were installed (LAMP, mySQL, etc.)
I will endeavor to make this as cut and paste as possible so that you can reduce the amount of actual effort that you need to perform yourself and get on with the actual work.
This will not be one long series one after the other. Rather, as I find the need to install a different application or program, I will add it to the blog.
Sometimes it takes the worst of situations to bring out the best in us. This is what happened to me the other day. A woman comes into the office that I work in, obviously quite distraught. We quickly discover that she is the widow of a popular local doctor whom recently passed away suddenly. She was carrying with her a laptop and was looking for some help.
It appears that when her husband passed away, he did not leave a record of the user names and passwords for his laptop and there was a lot of information on the system that she would be needing in the near future. She was hoping that we could help. Of course we could.
We Hate F8! We Hate F8!
Initially, I assumed that the users would not have changed the default administrative password from blank. So, all I needed to do was use F8 when booting, go into safe mode, then create a new account with administrative access.
Unfortunately, F8 was disabled on the system and the only way to enable it was to log into Windows. Time to look for something else.
Linux To The Rescue…NOT
My next reaction was to try one of the Linux based password recovery tools. There are a number of boot CDs out there that boot a small Linux kernel and then attempt to recover the password. After trying two different boot CDs, I quickly came to the realization that Linux was going to be of no help this time around.
It just so happens that this was no ordinary laptop. This laptop was a Dell XPS M1730. And, it came with dual hard drives running off a RAID array using the Intel Matrix Storage Manager. And, it had no Linux drivers.
Ask Bart
So, how was I going to proceed. It was obvious that there was no way to get access from a download and boot Linux CD. Then I thought of Bart. Since BartPE creates a self-contained bootable Windows CD, this might do the trick!
A copy of Windows XP Pro with Service Pack 1 (Sorry, you’re on your own for that one)
I installed the BartPE package to C:\pebuilder3110a on my hard drive. Then, I extracted the drivers that I got from the Dell website and placed them in the C:\pebuilder3110a\drivers\SCSIAdapter folder in a directory called iastor. The \drivers\SCSIAdapter folder is where you can put any number of non-standard drivers that will automatically load then you boot the BartPE CD. (For more information on the on adding drivers to a BartPE CD, see their Adding drivers page.) I then proceeded to create the BartPE image and burn it to CD.
Getting the Files
The next step was to get access to the laptop. I put my newly minted CD into the laptop and booted the machine from it. Everything worked like a charm and on first try, too! (That almost never happens for me!) I was able to access the files on the RAID array without any problem.
Now, I could probably have stopped here and copied the files that were needed to a USB drive or even burned them to a CD/DVD. But, I wanted to provide full access to the system so that they would not have to keep coming back to me for help whenever they wanted to get something off the computer. I would have to get the passwords for her.
All Your Passwords Are Belong To Us
To start the process of password recovery, I needed to get a few things:
I booted the laptop one again with the BartPE disk and made sure the USB flash drive was available to the system on boot up.
Next, I started to look through the system and I searched for two files:
C:\Windows\System32\config\SAM
C:\Windows\System32\config\SYSTEM
I copied these two files over to the flash drive, took out the flash drive and shut down the computer.
I then installed ophcrack on my other computer and installed the Vista tables.
Next, I used the Encrypted SAM option to load the files into ophcrack. It immediately recognized all of the accounts that were on the system. It also indicated that the Administrator account and the Guest account had blank passwords. That means that if F8 had been available, I could have gotten into the system in Safe Mode (stupid F8).
So, I started the password recovery process and DING! 29 seconds later I had all of the passwords for the three other accounts on the system. I tried all three and they all worked.
Looking back at the passwords now and the hints that were given in Windows for the passwords, I was on the right track to guessing them but this was a much quicker process.
Lessons Learned
Through all of this, I have learned some lessons about security, passwords, and computers:
Unless you encrypt your hard drive or use some other form of access other than a password (e,g, biometrics, smart card, etc.), it is relatively trivial for someone to get your passwords if they have physical access to your system
Someone does not have to have physical access to your system the entire time they are trying to hack your password. Simply grabbing a couple of files from your computer takes a couple of minutes and they can hack away at your system at their convenience
In the event of your untimely passing, would your loved ones know how to get access to your computer, e-mail, Internet accounts, etc.? If not, you may want to consider a way of getting that information to them