There was a similar question asked earlier. My answer then would be the same now.
"On May 20th of this year, the President signed the "Protecting Tenants at Foreclosure Act of 2009" which provides that leases would survive a foreclosure. Which means the tenant could stay at least until the end of the lease, and that month-to-month tenants would be entitled to 90 days' notice before having to move out.
An exception was included for the buyer who intends to live on the property. The buyer may terminate a lease with 90 days' notice. Importantly, the law provides that any state legislation that is more generous to tenants will not be preempted by the federal law. These protections apply to Section 8 tenants also.
Change of ownership does not justify a termination of lease, the fact that the change occurred through foreclosure, will not justify a termination of the lease."
As for not paying rent - that's not a good idea. It can very well create problems for you down the road.