Pulse dried chilies and garlic in a chopper until a coarse paste forms.
Heat oil in a wok over medium-high heat until shimmering.
Add sliced shallots and fry until softened and lightly golden.
Stir in chili-garlic paste and cook until oil turns red and separates.
Add sliced beef and toss until coated and just cooked through.
Add cooked rice, breaking up any clumps, and toss to coat evenly.
Season with salt and sugar, then toss well.
Top with green onion segments, give a final toss, and serve immediately.
Tip: Day-old rice absorbs the red oil best and stays separate.
Tip: Fry the chili paste until the oil is fully red for maximum flavor.