Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://trustedsec.com/blog/lnkmemaybe-a-review-of-cve-2026-25185 Content Categories: Based on the analysis, this content was categorized under "Windows Hardening -> (new) Windows Shortcut (.LNK) Attacks / No-click .LNK NTLM leak (CVE-2026-25185) OR Pentesting Web is not applicable; better placed near Windows credential theft / NTLM sections". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Post focus
TrustedSec documents Windows Shortcut (
.lnk) internals (per MS-SHLLINK) learned while writing a cross-platform C#/.NET 8 shortcut library and tooling, and uses that reverse engineering to explain and validate CVE-2026-25185: a crafted.lnkcan trigger outbound Windows authentication (credential leak/NTLM relay primitive) when a folder is merely viewed/previewed (no double-click required).How Windows shortcuts work ...
🔧 Technical Details
When analyzing “no-click” shortcut attack surface, focus on what Windows does when it loads a
.lnkto render metadata (e.g., icons) during directory listing/preview/indexing/AV scanning. Use Sysinternals Procmon to filter on a specific shortcut filename (e.g.,viewme.lnk), trigger folder view over a share, then pivot from the captured stack trace into disassembly to identify parsing routines (example:CShellLink::_LoadFromStreaminwindows.storage.dll) and their cross-references to understand all entry points that can process a shortcut without execution.A credential-leak primitive can be created by abusing icon-resolution logic: craft a valid shortcut whose ExtraData contains DARWIN_PROPS (signature
0xa0000006) and ICON_ENVIRONMENT_PROPS (signature0xa0000007) such that the parser reads TargetUnicode (at an observed offset of 268 bytes into the icon block),...🤖 Agent Actions
Summary:
.lnkNTLM leak via ExtraData icon resolution, plus tooling mention and references.Files updated:
src/windows-hardening/ntlm/places-to-steal-ntlm-creds.mdTests:
If you want, I can also add a short detection/IR note for this no-click
.lnkpath in the same file.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.