How do denitrifying and sulfate-reducing bacteria degrade hydrocarbons anaerobically

How do denitrifying and sulfate-reducing bacteria degrade hydrocarbons anaerobically and without oxygenases?