Shortcut command line is obfuscated with environment-variable tricks

LNK_ENV_VAR_OBFUSCATION

← All detection heuristics · Windows Shortcut

high LNK_ENV_VAR_OBFUSCATION

What it means

The command is assembled from %VAR:~start,length% substrings or from several variables (call !a!!b!), split across variables inside words (!s!et, wmi!c!), or split with caret escapes.

Why it fires

cmd.exe substring expansion (for example %COMSPEC:~-7,1% for 'c') and caret escapes (p^o^w^e^r^s^h^e^l^l) let a shortcut run a command whose name never appears in the file, as does assembling a name from variables. The details show the resolved command, and its addresses and programs are extracted.

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_FOLDER_DECOY_LAUNCHER LNK_BATCH_ARGUMENT_INJECTION 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