Shortcut injects a command into a Windows batch script

LNK_BATCH_ARGUMENT_INJECTION

← All detection heuristics · Windows Shortcut

high LNK_BATCH_ARGUMENT_INJECTION

What it means

The shortcut targets a batch script that ships with Windows, such as winrm.cmd, and adds & or | to its arguments.

Why it fires

A batch script passes its arguments on to the command interpreter. An & or | in those arguments ends the script's own command and starts a new one, so a shortcut that seems to open a signed system file runs the attacker's command, often a script on a WebDAV share.

Other Windows Shortcut heuristics

LNK_CONCATENATED_COPIES LNK_MINIMIZED_COMMAND LNK_MALFORMED_STRUCTURE URL_SHORTCUT_REMOTE_ICON LNK_PUP_SHORTCUT LNK_ARGUMENTS_BEYOND_DISPLAY LNK_REMOTE_ICON LNK_LOLBIN_COMMAND LNK_DOCUMENT_MASQUERADE LNK_APPENDED_PAYLOAD URL_SHORTCUT_EXECUTABLE_DOWNLOAD LNK_ENV_VAR_OBFUSCATION LNK_FOLDER_DECOY_LAUNCHER LNK_TARGET_DOUBLE_EXTENSION LNK_RUNDLL32_USER_WRITABLE_MODULE LNK_RUNDLL32_DISGUISED_MODULE LNK_RUNDLL32_LOCAL_DLL LNK_NOOP_COMMAND_PADDING LNK_ENCODED_COMMAND LNK_AUTOIT_COMPILED_SCRIPT LNK_MASQUERADED_EXTENSION_EXEC LNK_SCRIPT_ENGINE_OVERRIDE LNK_PROGRAM_IN_SHELL_PROFILE_FOLDER LNK_HIDDEN_FOLDER_LAUNCHER