Suspicious Schtasks Execution AppData Folder

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the creation of a schtask that executes a file from C:\\Users\\\\AppData\\Local

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\schtasks.exe" AND (COMMANDLINE contains "/Create" AND COMMANDLINE contains "/RU" AND COMMANDLINE contains "/TR" AND COMMANDLINE contains "C:\Users" AND COMMANDLINE contains "\AppData\Local") AND COMMANDLINE contains "NT AUT, SYSTEM ") AND ((PARENTPROCESSNAME notcontains "\AppData\Local\Temp" OR PARENTPROCESSNAME notcontains "TeamViewer_.exe") OR PROCESSNAME notendswith "\schtasks.exe" OR COMMANDLINE notcontains "/TN TVInstallRestore") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

pH-T (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)