If you connect to Xbox Live then they will be able to detect the modified hardware and/or software. Either by various updates or random checks.
No one know how they detect it, they just do. If people knew how they would always be one step ahead and never get caught.