Skip to main content

SecureRun and Inline Commands

By default PolicyPak SecureRun will also block “inline commands.”

For example, one can run something like this from the Run dialog (or in many other ways.)

cmd /c "mkdir C:\TEST & copy c:\Windows\notepad.exe C:\TEST"

![A screenshot of a computer error

Description automatically generated](/img/product_docs/endpointpolicymanager/endpointpolicymanager/leastprivilege/securerun/securerun_and_inline_commands.webp)

Normally, users don’t do this. But it could be valid during an application installation or program setup. You can see an example of this used in the Microsoft Latest Astaroth living-off-the-land attacks are even more invisible but not less observable article.

SecureRun will automatically try to block such attempts. For more information on how to deal wit this issue, please see Why does Endpoint Policy Manager SecureRun block "inline commands" and what can I do to overcome or revert the behavior ? for guidance and details.