June 30, 2009

stotti.blog()New Wordpress password hasher tool

June 30, 2009 08:40 PM EET

This time just a quick post as I am in a hurry. Ever wondered how to change your Wordpress password in case you have forgotten it? In early versions Wordpress used the MD5 hashing algorithm to “encrypt” the passwords of a user. Nowadays Wordpress uses the Portable PHP password hashing framework (PHPASS) instead of MD5 hashing since version 2.5 (see this ticket) - so you cannot simply MD5 hash a new password and enter the digest into the database anymore. You have to encode it using the framework mentioned above.

Today i have implemented the PHPASS framework and turned it into a mainframe8 tool called the Wordpress password hasher. Use it to convert your new password into a “encrypted” hash and insert it into the wp_users table of the wordpress database. I will write a detailed howto later.


Fat BlokeVirtualBox 3.0 is released!

June 30, 2009 02:08 PM EET

Good news! VirtualBox 3.0 is released. This is the  release where guests went SMP (multiple vCPUs).  And to show what that means here's a screenshot of a MacBook Pro (Intel Core 2 Duo) running:

...on a host which has 2 physical CPUs, as can be seen from the Mac's Activity Monitor window bottom of picture. (Click on the image to zoom in).

6 vCPUs from 2

For the interested amongst you, each virtual machine is a separate process on the host. And each process consists of several threads, where some of those host threads represent virtual CPUs, and others represent helper threads that deal with stuff like device access.

Configuring your guest for SMP is a piece of cake. The VirtualBox 3.0 UI has been modified to hopefully be easier to use and we've introduced a simple slider control to determine how many vCPUs you want to assign to your guest.

32 vCPUs

One point to note is that if you assign many more vCPUs than you have physical CPUs the system may run slower because the host spends more time scheduling threads than actually running them. So VirtualBox limits the CPUs you can assign to a guest to twice the number of physical CPUs. i.e. in the example above, 4 vCPUs was the limit of a 2 CPU system in a single guest (you can have several concurrent guests BTW). And on larger server platforms VirtualBox can go to a maximum of 32.

For a full list of what's new see the ChangeLog and download it now from the Usual Places.

-FB 

June 29, 2009

stotti.blog()How to crack MD5 passwords with John the Ripper - a live example exploiting TYPO3

June 29, 2009 09:35 PM EET

Earlier I told you how to crack MD5 passwords in general. This article tells how to get the passwords out of a TYPO3 installation, which are MD5-hashed, and crack them using John the Ripper.

Preparations step 1: lurk the data!

Okay, assuming that you’re an TYPO3 administrator that wants to check the password strength of your backend users (good guy). Or you have gained access to the database of a TYPO3 installation and want to access the content management system (bad guy). No, you wouldn’t do that…
Well, in both cases you may want to to execute the following SQL query to assemble the account names and their respective passwords.


SELECT `username` , `password`
FROM `be_users`
INTO OUTFILE ‘/tmp/typo3passwords.txt’
FIELDS TERMINATED BY ‘:’
LINES TERMINATED BY ‘\n’

Now you have a well-formatted file containing all username/password combos of the specific TYPO3 setup.

Preparations step 2: fetch your tools!

Go and get John the Ripper (JtR) first. As required by the German law I can not tell how or where to get it. I guess you query your favourite search engine and will find it instantly. John the Ripper does come with a few cipher formats compiled in, but for MD5 you need more formats. These come in patches provided by third parties.

For Linux you have to compile JtR yourself, including the so called “big patch”.

<fetch john-1.7.2.tar.gz from a source near you>
tar xvf john-1.7.2.tar.gz
wget http://www.openwall.com/john/contrib/john-1.7.2-all-12.diff.gz
gunzip john-1.7.2-all-12.diff.gz
patch -p1 < john-1.7.2-all-12.diff
cd src/
make clean linux-x86-any
<notice: if you get errors missing des.h, you should install the libssl-dev (debian) package and re-run the make statement>

Sorry to say I have no idea how to get John the Ripper & the big patch running on windows. You better use Cain & Abel for that, i guess.

So, if the compiling went through you can test if everything went well:

~/jtr/john-1.7.2/src$ ../run/john

It should contain the following list of cipher formats:

--format=NAME force ciphertext format NAME: DES/BSDI/MD5/BF/AFS/LM/NT/PO/raw-MD5/IPB2/raw-sha1/macosx-sha1/md5a/hmac-md5/KRB5/bfegg/nsldap/ssha/oracle/MYSQL/mysql-sha1/mscash/lotus5/DOMINOSEC/NETLM/NETNTLM/NETLMv2/NETHALFLM/mssql/mssql05/epi/phps/mysql-fast

raw-MD5 is the cipher of choice and it is available right now - so let’s rock!

Go go gadget: starting to crack

The actual cracking process is quite simple: run John the Ripper using the format parameter stating that you want to use raw-MD5 and input the file you have created using the SQL statement above:

~/jtr/john-1.7.2/src$ ../run/john --format=raw-MD5 /tmp/typo3passwords.txt
Loaded 2 password hashes with no different salts (Raw MD5 [raw-md5])

The application then runs for a different amount of time - depending on your CPU power, your wordfiles and the weakness of the chosen passwords. In my example there are very weak passwords, as they are cracked nearly instantly. Let me show you using the –show parameter of JtR:

~/jtr/john-1.7.2/src$ ../run/john --format=raw-MD5 --show /tmp/typo3passwords.txt
jane.simpson:jane
admin:way2go
2 password hashes cracked, 0 left

That’s it! I can now approach the users and tell them how stupid their passwords are. You should do the same and check the passwords - especially your own. ;)

Did this article help you out? Please leave a comment, i appreciate them. You can subscribe to my RSS-Feed as well - it’s free! And last but not least do not forget to Digg me!


June 25, 2009

ThinkThinA Little Remodeling

June 25, 2009 12:05 AM EET

Depending how you read this blog, you might have notice a few subtle changes aimed at increasing usability.  The very talented Matthias Müller-Prove, Sun's Desktop Virtualization Engineering Group's User Experience Architect added some cool new features to the Think Thin Blog. 

Updates in a nutshell:

A big thanks to Matthias, the changes look and work great!

June 24, 2009

Thin GuySun Ray Software 5 Early Access Coming Soon!

June 24, 2009 11:43 PM EET

Quite a few folks have asked me what new features are coming up in our next release of Sun Ray Software.  While the software should be "released" in the fall, we are having two Early Access periods beginning July 6th.  Unlike previous beta periods, we've opted to make both EA periods open to the public.  Also for the first time, our primary support method is going to be Forum based, much like we did for the early access period for VDI 3. 

One small detail to bear in mind to avoid future confusion with our naming scheme as I just got a comment on a blog from a couple of years ago on Sun Ray Software 4 Update 1.   Sun Ray Software is a suite of products that includes Sun Ray Server Software and Sun Ray Windows Connector which versions will be 4.2 and 2.2 respectively.  Clear?  No?  Well, roll with it anyways.  :)

Sun Ray Server Software Supported Platforms:

A few of the planned highlights of EA1:

Planned highlight for EA2 (August Timeframe):

Watch this space and the Think Thin Blog for more details of other features.

June 19, 2009

Virtual DesktopsLogin button on logged-out-page not always 'active'

June 19, 2009 05:27 PM EET
When a users logs out of the SSGD webtop with the logout-button the logged-out-page is shown. The logged-out-page contains a login-button. The login-button is not always 'active' (when clicking on the login-button nothing happens).

When looking into the JSP-code of the logged-out-page the 'activation' of the login-button is based upon the status of the TCC (Tarantella Client Connector/a SSGD-application which displays the applications). When the TCC is still running the login-button is 'activated'. This is a bit strange since logging out of the SGD webtop will stop the TCC.

/opt/tarantella/webserver/tomcat//webapps/sgd/webtops/standard/webtop/logged-out.jsp
I saw a check to 'enable' or 'disable' the login-button. The button is 'enabled' when the TCC is stll running.


A quick fix to always show the link by editing the logged-out-page. Follow these steps:

boolean showLoginLink = (tccStarted != null && tccStarted.equals("true"));
boolean showLoginLink = (tccStarted != null && tccStarted.equals("true"));
showLoginLink = true;

After this change verify the change by logging on to the webtop and log out again to see if the login-button is 'active'.

Fat BlokeVirtualBox 3.0 Beta Program

June 19, 2009 03:18 PM EET

If you know what you are doing and you like to live dangerously, you might want to read about the VirtualBox 3.0 Beta which was made available this week.

-FB 

June 16, 2009

ThinkThinWikis For The Win!

June 16, 2009 05:05 PM EET

When the VDI 3 team decided that all the documentation for our new product would be done on wikis.sun.com, I really didn't give it a lot of thought.  I'm a huge believer in and consumer of social media from blogs to twitter and I know the power they can have if used correctly. 

After we released the product there was a lot of negative feedback on the documentation for a variety of reasons such as no access to the internet, not portable, etc.  While those are valid concerns, I believe the primary reason for the negative feedback boiled down having to navigate something new.  But honestly I was starting to have my doubts as some customers weren't happy at all.  Maybe the world wasn't ready for wiki only documentation for a Sun product.

The VDI 3 team made the docs available in a PDF, including the Release Notes.  However the purpose of this entry isn't about changing to PDF, it's about the real benefit of the Wiki format for documentation.  Not to take anything away from the old documentation process, but in all fairness it is a slow process.  Now consider this.

Recently we added support for Solaris 10 U7 with our first patch for VDI 3, this allows one to use a S10 U7 Server instead of OpenSolaris for the iSCSI/ZFS storage magic that is a huge part of Sun VDI 3.  This morning a Systems Engineer asked this question:

Is somebody preparing instruction for Solaris10 Storage Server?

Within a couple of hours, this response came back:

I've added http://wikis.sun.com/display/VDI3/How+to+Set+Up+a+Solaris+Storage+Server

~Thomas

I could rattle off more 100 examples like that one for topics like clarification, errors, missing info, etc.  Changes that used to take days, weeks, or months to make its way into the official documentation and out to the user base is now done in minutes.  The response time is a credit to our great VDI engineering team, the agility is due to the wiki and the combination is a win, plain and simple.  Many thanks to the Sun VDI team and the Sun Community Services Engineering team.

June 11, 2009

White men can't jumpBuilding a VDI demo

June 11, 2009 11:37 AM EET

Hi,

We now have a demo guide that runs you through the setup of a single box VDI demo based on VirtualBox.

Feedback is welcome,

Dirk

, ,

June 09, 2009

Fat BlokeSun VirtualBox and Sun VDI Power JavaOne

June 09, 2009 02:42 PM EET

Even though you may be away from the office attending a conference, the rest of the world moves on and you quite often need to keep up with your day job. At JavaOne this year, Sun provisioned 21,000 Virtual Desktops for the attendees to use to stay on top of things. This blog entry describes briefly how this was done using VirtualBox and Sun VDI...

User's experience

Dotted around the Moscone Center were hundreds of Sun Rays. These were in the Lobby Areas,


Underpass between North and South Halls, 

and Cyber Lounge areas in the Pavilion.

Every JavaOne attendee was given a smartcard as part of their Welcome Kit on registration. And all you needed to do to get your Virtual Desktop was insert this into the nearest free Sun Ray.

The user can then choose which type of Virtual Desktop they want from:

Under the hood:

The first time you make this choice your Virtual Desktop virtual machine (vm) is created based on a template in Sun VDI. The virtual machine configuration is held in a MySQL database and the virtual disk image is quickly cloned from the template using a feature of ZFS which underpins the Sun Storage 7000 servers that were in use. Then Sun VDI chooses a VirtualBox server (based on load) and launches the new vm on that server, with the configuration and iSCSI target id that uniquely identifies the new virtual disk.

When you pull your card out the vm suspends after a short period which means resources can be freed up for other users.

When you re-insert your card and launch a previously created Virtual Desktop, the vm is restored from disk (note that this can be to a different VirtualBox server than the original session ) and you are good to go.

Here is my Windows 7 Virtual Desktop.

Administrator Experience 

To manage the 21,000 virtual desktops we had 2 guys (admittedly smart guys).

And the whole thing was powered by a single rack:

The rack consisted of:

This was vastly over-spec'ed as we could see using the Analytics of the storage servers:

Thanks to Christian and Thomas (our architects and admins for the week) and kudos to Dirk's and Achim's teams.

- FB 

June 08, 2009

ThinkThinSRSS 4.1 on Solaris 10 5/09 With Trusted Extensions

June 08, 2009 01:45 PM EET

Here's a detailed installation log for a simple SRSS 4.1, SRWC 2.1 on the latest release of Solaris 10 5/09 with Trusted Extensions.  Download a zip file with everything you need here.  After downloading & unzipping, you'll find the detailed installation & configuration instructions in this file: srss4.1-on-s10u7-tx-install-log.txt.

The installation is based on this example topology:

June 07, 2009

White men can't jumpVDI 3 Patching

June 07, 2009 08:00 PM EET

VDI 3 just released its first patch a week ago. So far, so good. But there came up a number of questions about how the whole patch strategy for the product including the various technologies. This works in the following way:

Cheers,

Dirk


, ,

White men can't jumpVDI 3 @ JavaOne - Summary

June 07, 2009 07:04 PM EET

Here is a short summary of our VDI implementation for the JavaOne conference. How we did it, has been described on our wiki. During the show we've been gathering data, here are some highlights:

FatBloke took some nice pictures showing people using VDI 3.

200906071925.jpg

And by the way, it is a very new experience seeing people working on the same thin device all using different desktop OSs.

200906071927.jpg

And this is the user experience that has been offered to the users:

  1. Choose your desktop
    200906071936.jpg
  2. Connecting to the desktop
    200906071938.jpg
  3. Working with your personal Windows 7 desktop
    200906071939.jpg

That's it around the show. Interesting experience for the VDI team and very good proof of our solution.

-Dirk


, ,

June 03, 2009

ThinkThinPatch Releases: SRSS 4.1 (02) + Kiosk (01) + SRWC 2.1 (01)

June 03, 2009 03:56 PM EET
The following patches have been released & are available at SunSolve.

SRSS 4.1 Patch Rev 02:

SRSS 4.1 Kiosk Patch Rev 01:

SRWC 2.1 Patch Rev 01:

June 02, 2009

White men can't jumpVDI 3 @ JavaOne

June 02, 2009 11:49 PM EET

Today I'm at the Community/JavaOne conference in San Francisco, Moscone Center.  A couple of thousand participants will be at the show. And as usual they get terminals to access their session schedule or browse the internet. The cool thing from a VDI perspective is, that this is all powered by Sun VDI.


200906011758.jpg

There is an article on how we set it up: http://wikis.sun.com/display/DesktopVirtualization/Sun+VDI+for+JavaOne. I think this is very impressive, running about 20000 virtual desktops with such a small equipment.


200906011826.jpg

Special thanks to the tradeshow team, Vernon and Kevin, and to Thomas and Chris, to get this setup going in such a short time.

- Dirk

, , ,

May 30, 2009

Fat BlokeSun VirtualBox 2.2.4 released!

May 30, 2009 12:33 PM EET

Quick one: Version 2.2.4 was made available for download last night from the Usual Places.

What got fixed is listed here.

- FB 

White men can't jumpSun VDI 3 - Patch 1 Released

May 30, 2009 05:33 AM EET

Hi,

I'm sure this will be of interest for various people. We have just released a first patch for VDI 3. It includes a number of important enhancements, such as:

The x86 version is 141482-01.

The Sparc version is 141481-01.

Just one note: The documentation will reflect the changes sometime next week. So stay tuned for the update.

- Dirk


, , ,

May 28, 2009

White men can't jumpA new storage for VDI, the 7310 Unified Storage System

May 28, 2009 01:41 PM EET

Sun has just announced a new storage system, the 7310. The big thing about it is: It provides basically the same functionality as the 7410 including High Availability through clustering, but at a lower entry price. This system is ideal to start small and grow later for dedicated VDI deployments.

It starts with 6 TB and can grow to 96TB in up to four storage extensions. It is perfectly made for hosting VM images through NFS or iSCSI with a big read/write caches in the middle. But of course it can also be used as a file server in a Windows environment. As said, ideal for VDI.

-Dirk

, ,

May 21, 2009

Fat BlokeVirtual Appliances

May 21, 2009 09:17 AM EET

One of the really cool and really powerful features introduced in version 2.2 is the ability to export and import virtual appliances. A Virtual Appliance consists of:

 With VirtualBox you can now easily create virtual appliances by simply exporting your vm's directly from the VirtualBox GUI or on the command line. 

And of course you can import just as easily as you would expect.

For details of how it works and why you might want to do this here's a 9 minute movie. There are chapter markers for Import and Export sections if you want to skip thru it.

-FB

May 17, 2009

stotti.blog()MD5 and SHA1 encoder plugins for major browsers

May 17, 2009 09:40 PM EET

As already announced at the site itself, the MD5 and SHA1 encoders at mainframe8 support the use of custom browser search engines for quite a while now. This means you can MD5/SHA1 encode strings directly from the browser!

Screenshot of an MD5 encoding option integrated to the Mozilla Firefox browser

Screenshot of an MD5 encoding option integrated to the Mozilla Firefox browser

Technical background

We don’t rely on the old Sherlock standard but used the up-to-date OpenSearch definition. Sherlock has been Mozilla specific while the A9 OpenSearch Standard is now supported by all major browser vendors (Microsoft, Mozilla and -as far as i know- Google). Sorry to say Apple’s Safari and Opera seem to deny to adopt OpenSearch functionality yet. Don’t worry, i plan to write a blog article on how to add custom search functionality to Opera and Safari later.

How to install the encoder functionality

By far the most simple way is to enter the encoder sites (MD5/SHA1) and to click on the link in the green news box:

News on the MD5 encoder that includes the possibility to integrate the MD5 encoder into the browser

News on the MD5 encoder that includes the possibility to integrate the MD5 encoder into the browser

This will add the encoder functionality to the browser by using a javascript function. You are free to repeat this step for each encoder you need. On each site there is a link for the specific encoder.

Another way to incorporate the encoder into the browser is by using the autodiscovery function of the browser itself. Every opensearch enabled tool by mainframe8 identifies itself as a possible browser search plugin. Smart browsers such as Firefox v2/v3 and (hard to say that ;) ) Internet Explorer v7/v8 will check that identification and display it to the user.

Mozilla Firefox browser pointing to a custom search enabled website

Mozilla Firefox browser pointing to a custom search enabled website

To integrate the encoding functionality you are required to click on the higlighted/backlighted icon of your default search engine. The browser then gives you the opportunity to integrate it by using a simple dialog.

The Microsoft Internet Explorer behaves similiar:

Microsoft Internet Explorer 7 browser pointing to a custom search enabled website

Microsoft Internet Explorer 7 browser pointing to a custom search enabled website

How to use the encoder functionality

Now that you have integrated the custom “search” engine to the browser of your choice you can start using it. Here is an example usage of the MD5 integration into the Microsoft Internet Explorer 7:

Encoding MD5 digest directly from the Microsoft Internet Explorer 7 browser

Encoding MD5 digest directly from the Microsoft Internet Explorer 7 browser

  1. Use the drop-down button of the installed search engines
  2. Choose the appropriate encoder (here: MD5)
  3. Enter your string to hash into the input box and press enter

You will see the digest of your message instantly. Happy converting real text strings to hashes! :)


May 05, 2009

Fat Bloke3D graphics acceleration with VirtualBox

May 05, 2009 09:05 PM EET

VirtualBox 2.1 introduced 3D acceleration in Windows guests and 2.2 introduced support for Linux and OpenSolaris guests. Here's a short video about how this feature can deliver the Compiz effects in a Linux guest.


May 04, 2009

stotti.blog()Review of first CloudCamp Berlin

May 04, 2009 09:30 AM EET

As announced i took part in the first instance of a CloudCamp in Berlin last thursday. While originally intended for tech-savvy people i had the impression that there were many folks from the management as well.

The first thing to notice is the different perception of the term “Cloud Computing” among the crowd as well as the speakers. The speaker who is most consistent with my view was Niko Nelissen of Sun. Niko described these architectural service layers of Cloud Computing:

  1. Software as a Service (SaaS)
  2. Platform as a Service (PaaS)
  3. Infrastructure as a Service (IaaS)

In my opinion this is the broadest and most appropriate notion of Cloud Computing. All other speakers defined Cloud Computing as a subpart of these layers.

Eventually the speeches were of different quality. They were arranged as lightning talks, so no pitching allowed and only five minutes to talk per speaker. I had the impression that some guys have stripped down their usual presentation slides to exclude everything that smells like a product and talked about the rest of the slides. Usually there is not much information left in a marketing talk. So my advice would be that these guys should be allowed to pitch their product. By this the Google talk could have been interesting.
Otherwise there were some really good speeches. Morris Riedel of the Jülich Supercomputing Center summed up some important learnings of the GRID Computing community that could be helpful for early adopters of Cloud Computing. I also liked the talk by Scott Wheeler of Directed Edge, whose conclusion i did not get - but the overall talk was good. ;)

As far as i can remember there were speakers from the following companies:

Overall the first CloudCamp Berlin was a good start and i’d like to see it repeat in the capital later this year!

More extensive reviews of the event in German can be found at gruenderszene.de and MashedUp.


May 02, 2009

Fat BlokeStill Buzzin'

May 02, 2009 11:15 PM EET

Fat Bloke had a little time off lately after the excitement of releasing 2.2. But the Buzz around VirtualBox didn't let up and was fueled even more by events such as the launch new versions of Ubuntu and Mandriva, Microsoft's XP-mode with Windows 7 and, of course, Oracle's move for Sun.

So FB has been working hard to catch up and sift thru all the great stuff that has been published in the last couple of weeks. If you want to keep up with the VirtualBox zeitgeist you might want to follow the VirtualBox Buzz blog.

-FB

April 30, 2009

stotti.blog()Heading for CloudCamp Berlin

April 30, 2009 04:00 PM EET

Heading for CloudCamp Berlin soon. With around 160 attendees it’s going to be really crowded. Tonite’s the night! ;)


April 28, 2009

Fat BlokeSun VirtualBox 2.2.2 released!

April 28, 2009 09:30 PM EET

There were a few problems in the 2.2[.0] release which we have now rectified in this new maintenance release.

It is available for the usual platforms from the usual places and, BTW, this one works really well with Ubuntu 9.04.

Ubuntu 9.04