1. A method for detection of malicious executable files the method comprising: determining a type of an executable file being analyzed; determining types of extractable resources of the executable file based on the type of the executable file; extracting the identified extractable resources of the executable file; comparing the extracted resources of the executable file to a plurality of known resources of malicious executable files; determining a degree of similarity between the one or more resource of the executable file and the plurality of known resources of malicious executable files; and determining whether the executable file is malicious based on the determined degree of similarity of the one or more compared resources, wherein different thresholds of the degrees of similarity are used in determining the maliciousness of different types of resources.