To a large heatproof bowl, add dried chiles and cover with boiling water. Set a plate over the chiles to submerge, if necessary, and set aside until softened, about 30 minutes. Drain.
Transfer the chiles to a blender along with tomato puree, onion, garlic, and sugar. Puree until smooth. Stir in lime juice. Taste and adjust seasoning with salt, lime juice, and sugar.