Blitz the chilies, onion, garlic, sliced lemongrass, galangal, ginger, and two tablespoons of oil in a small food processor until a fine paste forms.
Heat one tablespoon of oil in a large heavy-based pot over high heat. Brown half the beef, transfer it to a plate, and repeat with the remaining beef.
Lower the heat to medium-low. Add the spice paste and cook for two to three minutes, until its moisture reduces and the paste darkens.
Add the cinnamon, clove, star anise, cardamom, smashed lemongrass, coconut milk, tamarind, lime leaves, coconut, sugar, salt, and browned beef. Stir to combine.
Bring the curry to a simmer, then reduce the heat so it bubbles very gently. Cover and simmer for one hour and fifteen minutes.
Remove the lid and check the beef. It should be quite tender but not yet falling apart; if it is already that tender, lift it out before reducing the sauce.
Turn the heat to medium and reduce the sauce for thirty to forty minutes, stirring occasionally at first and frequently near the end, until it coats the beef.
Cook until the beef is fall-apart tender. If needed, add a splash of water and continue cooking. Remove from the heat and serve with plain or coconut rice.