Hayabusa high test sigma

Dumping of Sensitive Hives Via Reg.EXE

Detects the usage of "reg.exe" in order to dump sensitive registry hives. This includes SAM, SYSTEM and SECURITY hives.

View Source

Detection Logic

{
  "process_creation": {
    "EventID": 1,
    "Channel": "Microsoft-Windows-Sysmon/Operational"
  },
  "selection_img": [
    {
      "Image
| endswith": "\\reg.exe"
    },
    {
      "OriginalFileName": "reg.exe"
    }
  ],
  "selection_cli_flag": {
    "CommandLine
| contains": [
      " save ",
      " export ",
      " ˢave ",
      " eˣport "
    ]
  },
  "selection_cli_hive": {
    "CommandLine
| re
| i": "(hk[l˪]m
| hkey_[l˪]oca[l˪]_machine)\"?\\\\[sˢ](y[sˢ]tem
| am
| ecurity)(\\\\
| \"
| \\s
| $)"
  },
  "condition": "process_creation and (all of selection_*)"
}

False Positives

  • ⚠ Dumping hives for legitimate purpouse i.e. backup or forensic investigation

Field Validations

Loading…

Comments (0)

Loading comments...