Sigma high test sigma

Potential Persistence Via MyComputer Registry Keys

Detects modification to the "Default" value of the "MyComputer" key and subkeys to point to a custom binary that will be launched whenever the associated action is executed (see reference section for example)

View Source

Detection Logic

{
  "selection": {
    "TargetObject
| contains": "\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MyComputer",
    "TargetObject
| endswith": "path\\(Default)"
  },
  "filter_main_default": {
    "Details
| startswith": [
      "%%SystemRoot%%\\",
      "%%Windir%%\\",
      "%SystemRoot%\\",
      "%Windir%\\",
      "C:\\Windows\\"
    ]
  },
  "filter_main_path_backup": {
    "TargetObject
| endswith": "\\MyComputer\\BackupPath\\(Default)",
    "Details
| endswith": [
      "\\System32\\sdclt.exe",
      "\\SysWOW64\\sdclt.exe"
    ]
  },
  "filter_main_path_cleanup": {
    "TargetObject
| endswith": "\\MyComputer\\cleanuppath\\(Default)",
    "Details
| endswith": [
      "\\System32\\cleanmgr.exe /D %c",
      "\\SysWOW64\\cleanmgr.exe /D %c",
      "\\System32\\cleanmgr.exe /D %%c",
      "\\SysWOW64\\cleanmgr.exe /D %%c"
    ]
  },
  "filter_main_path_defrag": {
    "TargetObject
| endswith": "\\MyComputer\\DefragPath\\(Default)",
    "Details
| endswith": [
      "\\System32\\dfrgui.exe",
      "\\SysWOW64\\dfrgui.exe"
    ]
  },
  "condition": "selection and not (filter_main_default and 1 of filter_main_path_*)"
}

False Positives

  • ⚠ Unlikely but if you experience FPs add specific processes and locations you would like to monitor for

Field Validations

Loading…

Comments (0)

Loading comments...