As we explained in the previous chapter, the file command is useful for providing quick information about a file on disk and is just one tool we can use in the initial phases of our analysis methodology. When combined with grep or other Linux commands, file becomes a powerful tool with more than a few use cases. For example, we need to use it for discovery to sort through potentially suspicious binaries on our hosts and for information gathering to make sure we understand the format of an executable binary. We can even use the output from file to determine whether or not the file we're examining is using a different format altogether. For example, picture a capture the flag scenario where you're given a file called mystery.zip. Running the file command against this file shows us that the naming convention of the file is meant to try and throw us off by using...
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia