Skip to content

Commit b8742d6

Browse files
Update MpfComModifyShortcutTarget.cpp
1 parent 5dbbb3a commit b8742d6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Malicious Code/MpfComModifyShortcutTarget.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/*
2+
LnkPath = L"C:\\Users\\User1\\Desktop\\Chrome.exe.lnk" <--- MUST BE .LNK!
3+
NewValue = L"C:\\Windows\\System32\\calc.exe"
4+
5+
Chrome.exe.lnk on desktop now launches calc.exe
6+
*/
7+
18
BOOL MpfComModifyShortcutTargetW(PWCHAR LnkPath, PWCHAR NewValue)
29
{
310
HRESULT Result = S_OK;

0 commit comments

Comments
 (0)