Windows application log

application/octet-stream

Safe

Magic Bytes

Offset: 0
7B 22 75 72 6C 22 3A 20 22 68 74 74 70 73 3A 2F

The Windows application log (LGD) is a text-based data format used by Microsoft Windows components and third-party software to record operational events. These files typically contain structured JSON data, including URL references and telemetry, to assist system administrators and developers in diagnosing connectivity issues or update failures. While technically safe and non-executable, users should review contents before sharing, as these plain text logs may inadvertently capture specific system configuration details or usage history.

Extension

.lgd

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .lgd files in Python

Python
def is_lgd(file_path: str) -> bool:
    """Check if file is a valid LGD by magic bytes."""
    signature = bytes([0x7B, 0x22, 0x75, 0x72, 0x6C, 0x22, 0x3A, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3A, 0x2F])
    with open(file_path, "rb") as f:
        return f.read(16) == signature

How to validate .lgd files in Node.js

Node.js
function isLGD(buffer: Buffer): boolean {
  const signature = Buffer.from([0x7B, 0x22, 0x75, 0x72, 0x6C, 0x22, 0x3A, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3A, 0x2F]);
  return buffer.subarray(0, 16).equals(signature);
}
Go
func IsLGD(data []byte) bool {
    signature := []byte{0x7B, 0x22, 0x75, 0x72, 0x6C, 0x22, 0x3A, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3A, 0x2F}
    if len(data) < 16 {
        return false
    }
    return bytes.Equal(data[:16], signature)
}

API Endpoint

GET /api/v1/lgd
curl https://filesignature.org/api/v1/lgd

Related Formats