Take the State of DFIR Survey Caseloads, AI, tools and careers. 8 minutes, anonymous, early access to the report. Take the survey ›

Take the survey

Take the State of DFIR Survey

Caseloads, AI, tools and careers. 8 minutes, anonymous, early access to the report.

Take the survey →
How to guarantee so...
 
Notifications
Clear all

How to guarantee something everybody accepts

3 Posts
2 Users
0 Reactions
630 Views
iruiper
(@iruiper)
Estimable Member
Joined: 21 years ago
Posts: 145
Topic starter   [#3579]

Hello everybody,

I have been lately involved in a report relating the most valuable and most famous Link Files.

The most important conclussions I have come to are based on the internal structure of these files, and although everybody in the community uses this information, does anyone know any official Microsoft webpage that guarantees this internal structure? I would be interested in referencing some "official-stamped" document with the structure I have parsed by myself.

Thanks in advance for your thougths!



   
Quote
(@bithead)
Noble Member
Joined: 22 years ago
Posts: 1206
 

Does THIS un-official document jive with what you have found?

Which is also posted HERE. (Is that "our" JimmyW?)

Per the AIR programming sites

As you'd expect, it being a Microsoft format, there's no official documentation on the file format itself. Microsoft expect you to use their COM objects and APIs to both read and write these files. Unfortunately we've got no way to get at these APIs from AIR.

However, some people - notably Jesse Hager - have reverse-engineered the binary format, at least well enough to read shortcut information from a .lnk file.

But having spent a day creating an AIR class that would write .lnk files according to Jesse's spec, I discovered that the minor errors and handful of unknown byte strings in Jesse's document really, really mattered. Despite doing a number of tests (comparing AIR-generated files to Windows-generated files, fixing byte alignment, adding Unicode support) nothing I did resulted in a working shortcut, at least on Vista. Eventually I was forced to throw in the towel, as it was proving more effort than reward.



   
ReplyQuote
iruiper
(@iruiper)
Estimable Member
Joined: 21 years ago
Posts: 145
Topic starter  

Thank you BitHead.The reference you point out is very useful for practical purposes, but I think I will finally 'put the blame on an EnCase EnScript' and I hope that mentioning a so much accepted tool will do.



   
ReplyQuote

Enterprise Partners

  • semantics21 2026 FF logo
  • celebrite-logo
  • atola-logo
  • MagnetForensics_ForensicFocus

Partners

  • gmdsoft-logo
  • Aid4Mail-Logo
  • logo Belkasoft 135x100
  • Logo_MSAB_Black (2)
  • ADF
  • detego-logo

Academic Partners

  • University of Southampton logo 2
Share: