Towards automated classification of firmware images and identification of embedded devices