Marinate beef cubes with a spice paste made from shallots, garlic, ginger, galangal, dried chilies, and turmeric. Cook in coconut milk with lemongrass, kaffir lime leaves, turmeric leaves, and tamarind slices until tender and the sauce is thickened. Stir in kerisik (toasted coconut) and season with salt and sugar.