Rinse the ribs under cold water and pat them dry with paper towels.
Remove the membrane from the back of the ribs by sliding a knife underneath and pulling it off with your fingers (use a paper towel for a better grip).
In a small bowl, mix together the brown sugar, paprika, garlic powder, onion powder, chili powder, cayenne pepper, black pepper, and salt.
Rub the mixture generously over both sides of the ribs, ensuring an even coat.
Set your smoker to 225°F (107°C) and add your chosen wood chips. If using a grill, set it up for indirect heat with a smoker box or foil packet filled with wood chips.
Place the ribs directly on the smoker grates, bone-side down. Close the lid and let them smoke for 3 hours.
After 3 hours, remove the ribs and wrap them tightly in aluminum foil.
Return the wrapped ribs to the smoker for another 2 hours. This step ensures the meat stays moist and tender.
Carefully unwrap the ribs and place them back on the smoker.
Brush a generous layer of barbecue sauce on both sides (optional). Smoke for an additional 1 hour to caramelize the sauce.
Use a meat thermometer to check the internal temperature. It should read 195–203°F (90–95°C) for perfectly tender ribs.
Let the ribs rest for 10–15 minutes before slicing and serving.