Sigma low test sigma

Local Accounts Discovery

Local accounts, System Owner/User discovery using operating systems utilities

View Source

Detection Logic

{
  "selection_other_img": [
    {
      "Image
| endswith": [
        "\\whoami.exe",
        "\\quser.exe",
        "\\qwinsta.exe"
      ]
    },
    {
      "OriginalFileName": [
        "whoami.exe",
        "quser.exe",
        "qwinsta.exe"
      ]
    }
  ],
  "selection_other_wmi": {
    "Image
| endswith": "\\wmic.exe",
    "CommandLine
| contains
| all": [
      "useraccount",
      "get"
    ]
  },
  "selection_other_cmdkey": {
    "Image
| endswith": "\\cmdkey.exe",
    "CommandLine
| contains": " /l"
  },
  "selection_cmd": {
    "Image
| endswith": "\\cmd.exe",
    "CommandLine
| contains
| all": [
      " /c",
      "dir ",
      "\\Users\\"
    ]
  },
  "filter_cmd": {
    "CommandLine
| contains": " rmdir "
  },
  "selection_net": {
    "Image
| endswith": [
      "\\net.exe",
      "\\net1.exe"
    ],
    "CommandLine
| contains": "user"
  },
  "filter_net": {
    "CommandLine
| contains": [
      "/domain",
      "/add",
      "/delete",
      "/active",
      "/expires",
      "/passwordreq",
      "/scriptpath",
      "/times",
      "/workstations"
    ]
  },
  "condition": "(selection_cmd and not filter_cmd) or (selection_net and not filter_net) or 1 of selection_other_*"
}

False Positives

  • ⚠ Legitimate administrator or user enumerates local users for legitimate reason

Field Validations

Loading…

Comments (0)

Loading comments...