Powershell Script Created by Remote Management Service

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the creation of a PowerShell script file (.ps1) by a remote management or remote access service process.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "File Created or Modified" AND (( PROCESSNAME endswith "\AnyDesk.exe,\Teamviewer.exe,\Screenconnect.exe,\Ateraagent.exe,\Connectwisecontrol.exe,\PDQDeployrunner.exe" ) AND ( OBJECTNAME endswith ".ps1" OR FILENAME endswith ".ps1" )) select Action1.HOSTNAME,Action1.MESSAGE,Action1.USERNAME,Action1.DOMAIN,Action1.OBJECTNAME,Action1.FILENAME,Action1.PROCESSNAME,Action1.FILETYPE,Action1.ACCESSLIST

Detection

Execution Mode

realtime

Log Sources

Windows