LNK file analysis with LECmd
LECmd is another great free and open source Windows forensic tool by Eric Zimmerman. It processes files really fast, and can be used for parsing both single LNK files and the folders that contain them. Also, it has quite a wide range of export options, including CSV and XML.
Getting ready
Go to the LECmd download page to get the archive with the tool. Unpack the archive you have downloaded, run the Windows Command Prompt, change the directory to the one you have just unpacked, and you are ready to go.
How to do it...
The steps for LNK files analysis with LECmd:
- As we have already said, LECmd can process both single files and folders. If you want to extract information from a single file, use
-f
switch; if your target is a directory, use-d
switch. If you are interested only in LNK files pointing to removable drives, you can use -r switch. The other available options can be seen in the following figure:

Figure 7.18. LECmd options
- If you want to run LECmd against a file...