Warning! It can take MONTHS! And, don't expect to get a deal.
We put an offer on one. The realtor hinted that there were other higher offers and that we should up our offer. So we did. And then we waited. And waited. And waited. We noticed one day that the home across the way was for sale and so we went and looked. It was more money, but the kitchen and bath had been completely remodeled and the yard had been landscaped; so it was totally worth the price difference. We made an offer, went through negotiations, closed escrow and moved in.
....and then we heard back on the foreclosure, that someone else's higher offer had been accepted! haha!
Good luck!