Weigh out 15 grams of dried guajillo chilies and 5 grams of dried spicy chilies.
Add the dried chilies, coriander, and cumin to a spice grinder.
Grind!
Add the ground spices, garlic, shallots, and shrimp paste to a blender or food processor.
Blend until smooth. You might need to add a little water if the paste is too dry.
Heat up coconut oil in a large sauce pan over medium high heat. Stir in the curry paste and fry for 3 minutes; deglazing with a little bit of coconut milk if the paste starts to stick.
Stir in the rest of the coconut milk, water, palm sugar, salt, and tamarind juice. Simmer for 20 minutes until the marinade becomes thick.
Let the marinade cool before using.
Put the chicken thighs in a gallon sized ziplock bag. Add half of the marinade to the chicken. Marinate overnight for best results.