Hayabusa medium test sigma

Suspicious Group And Account Reconnaissance Activity Using Net.EXE

Detects suspicious reconnaissance command line activity on Windows systems using Net.EXE Check if the user that executed the commands is suspicious (e.g. service accounts, LOCAL_SYSTEM)

View Source

Detection Logic

{
  "process_creation": {
    "EventID": 4688,
    "Channel": "Security"
  },
  "selection_img": [
    {
      "NewProcessName
| endswith": [
        "\\net.exe",
        "\\net1.exe"
      ]
    },
    {
      "OriginalFileName": [
        "net.exe",
        "net1.exe"
      ]
    }
  ],
  "selection_group_root": {
    "CommandLine
| contains": [
      " group ",
      " localgroup "
    ]
  },
  "selection_group_flags": {
    "CommandLine
| contains": [
      "domain admins",
      " administrator",
      " administrateur",
      "enterprise admins",
      "Exchange Trusted Subsystem",
      "Remote Desktop Users",
      "Utilisateurs du Bureau à distance",
      "Usuarios de escritorio remoto",
      " /do"
    ]
  },
  "filter_group_add": {
    "CommandLine
| contains": " /add"
  },
  "selection_accounts_root": {
    "CommandLine
| contains": " accounts "
  },
  "selection_accounts_flags": {
    "CommandLine
| contains": " /do"
  },
  "condition": "process_creation and (selection_img and ((all of selection_group_* and not filter_group_add) or all of selection_accounts_*))"
}

False Positives

  • ⚠ Inventory tool runs
  • ⚠ Administrative activity

Field Validations

Loading…

Comments (0)

Loading comments...