Normally you have not right if the software is copyrighted. Especially, if you plan to redistribute extracted icons in your own app. You have a lot of websites that offer icons that can be used. For instance, in PNG format. You can then convert them to .ICO (with different icon image sizes) with GConvert.