From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Windows Shell Link (LNK)" |
|---|
| claim | "The 76-byte ShellLinkHeader: size, CLSID, data flags, file attributes, three FILETIMEs, file size, icon index, ShowWindow, hot key, 10 reserved bytes." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "all shell links" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "ShellLinkHeader" |
|---|
| size | "0x4C" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "header_size" |
|---|
|
| offset | "0x4" |
|---|
| size | 16 |
|---|
| type | "GUID" |
|---|
| name | "link_clsid" |
|---|
|
| offset | "0x14" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "data_flags" |
|---|
|
| offset | "0x18" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "file_attribute_flags" |
|---|
|
| offset | "0x1C" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "creation_time" |
|---|
|
| offset | "0x24" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "access_time" |
|---|
|
| offset | "0x2C" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "write_time" |
|---|
|
| offset | "0x34" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "file_size" |
|---|
|
| offset | "0x38" |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "icon_index" |
|---|
|
| offset | "0x3C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "show_window" |
|---|
|
| offset | "0x40" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "hot_key" |
|---|
|
| offset | "0x42" |
|---|
| size | 10 |
|---|
| type | "uint8_t[10]" |
|---|
| name | "reserved" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "File header table" |
|---|
| repo | "https://github.com/libyal/liblnk" |
|---|
| commit | "78ad04396973196a0656509589b5662e7abc9ec0" |
|---|
| path | "documentation/Windows Shortcut File (LNK) format.asciidoc" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "ShellLinkHeader layout" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:14:12.241Z" |
|---|
| verifications | |
|---|