Suspicious Environment Variable Has Been Registered

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the creation of user-specific or system-wide environment variables via the registry. Which contains suspicious commands and strings

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Registry value modified" AND (OBJECTNAME contains "\Environment" OR (OBJECTNAME endswith "\Environment" AND isExist(OBJECTVALUENAME))) AND (INFORMATION = "powershell,pwsh" OR INFORMATION contains "\AppData\Local\Temp\,C:\Users\Public\,TVqQAAMAAAAEAAAA,TVpQAAIAAAAEAA8A,TVqAAAEAAAAEABAA,TVoAAAAAAAAAAAAA,TVpTAQEAAAAEAAAA,SW52b2tlL,ludm9rZS,JbnZva2Ut,SQBuAHYAbwBrAGUALQ,kAbgB2AG8AawBlAC0A,JAG4AdgBvAGsAZQAtA" OR INFORMATION startswith "SUVY,SQBFAF,SQBuAH,cwBhA,aWV4,aQBlA,R2V0,dmFy,dgBhA,dXNpbm,H4sIA,Y21k,cABhAH,Qzpc,Yzpc") select Action1.HOSTNAME,Action1.MESSAGE,Action1.OBJECTNAME,Action1.PROCESSNAME,Action1.PREVVAL,Action1.CHANGES

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)