In a medium bowl, combine brown sugar, paprika, garlic powder, onion powder, black pepper, salt, and cayenne pepper (if using).
Whisk the ingredients together until well combined and no clumps remain.
Generously apply the dry rub to your ribs, ensuring an even coating on all sides. For best results, rub the spices into the meat and let it sit for at least 30 minutes (or refrigerate overnight) before cooking.
Notes
This rub is versatile and can also be used on pork chops, chicken, or even vegetables.