File size: 681 Bytes
d428d56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  "title": "Suspicious PowerShell Encoded Command",
  "description": "Detects PowerShell process creation with an encoded-command argument.",
  "logsource": {
    "product": "windows",
    "category": "process_creation"
  },
  "detection": {
    "selection_image": {
      "Image|endswith": [
        "\\powershell.exe",
        "\\pwsh.exe"
      ]
    },
    "selection_flag": {
      "CommandLine|contains": [
        " -enc ",
        " -EncodedCommand "
      ]
    },
    "condition": "all of selection_*"
  },
  "attack_techniques": [
    "T1059.001"
  ],
  "false_positives": [
    "Authorized administrative scripts using encoded commands"
  ],
  "severity": "medium"
}