Remove the stems, seeds and veins from the chiles and rinse them. For a smokier sauce, toast them on a hot comal about 15 seconds per side (optional). Do not let them burn.
Put the chiles, onion and garlic in a pot, cover with water and put the lid on. Cook over medium heat about 20 minutes, until the chiles are very soft.
Turn off the heat and let everything rest in the water 10 to 15 minutes.
Meanwhile, char the tomatoes on a comal or under the broiler, turning now and then, until blistered and soft, 8 to 10 minutes.
Lift the chiles, onion and garlic out of the water (discard the water). Blend them with the tomatoes, oregano and 4 cups (960 ml) stock for about 1 minute, until smooth. Work in batches if needed.
Strain through a fine mesh sieve, pressing on the solids.
Heat the oil in a deep pot over medium heat. Add the sauce carefully (it splatters) and cook about 10 minutes, stirring often, until it darkens a little and coats the back of a spoon.
Season with salt and pepper. Use warm, or cool and store.