How to buy a pre foreclosed home

I am new to real estate. I found a pre foreclosed property but do not know who the owner is in order to contact to buy the property. I tried looking into county website, but was unsuccessful as the name was mentioned as secured. Also, I saw foreclosed attorney or trustee contact details for this property. So, I am not sure how to proceed in order to buy the property. Any help.
Thanks.