The ultrasound radiomics model, utilizing both intratumoral and peritumoral features, demonstrates effective diagnostic capability in predicting KRAS status in rectal cancer patients. Here, KRAS is linked to rectal cancer.