Originally inspired by Wietze on his Link-It-Up project !
This script generate Windows Short with a fake displayed target, but launch a different file on click !
- The Specified displayed decoy and the real executed target must exist on the system
- The LNK icon depend on the specified decoy file type
python lnkswitch_generator.py --target "C:\Windows\System32\calc.exe" \
--display "C:\Users\Mohamed\Documents\BTS-Cyber-Securite.pdf" \
--read-only \
--output bts.lnk--targetis the real file that is launched on click--displayis the displayed file path in properties box--read-onlyprevent explorer.exe to recreate the lnk on icon change, destroying the trick (showing real target in properties box)--outputreally man ??
Actually Icon auto changing system doesn't work (tested on 11 25H2) Explorer fail to manage icon indexes in Shell32 or imageres. No idea how to come through If you can contribute that would be a lot ❤️