Elastic Defend high stable eql

UAC Bypass via Event Viewer

Identifies attempts to bypass User Account Control (UAC) via eventvwr.exe. Attackers bypass UAC to stealthily execute code with elevated permissions.

View Source

Detection Logic

process where event.action == "start" and
 process.Ext.token.integrity_level_name == "high" and
 (
  /* mscfile hijacking */
  process.parent.name : "eventvwr.exe" or

  /* Unsafe .Net Deserialization in Windows Event Viewer */
  (process.parent.name : "mmc.exe" and
   process.parent.args : ("?:\\WINDOWS\\system32\\eventvwr.msc", "?:\\WINDOWS\\SysWOW64\\eventvwr.msc", "eventvwr.msc"))
  ) and

 /* FPs */
 not process.executable :
           ("?:\\Windows\\SysWOW64\\mmc.exe",
            "?:\\Windows\\System32\\mmc.exe",
            "?:\\Windows\\System32\\WerFault.exe",
            "?:\\Windows\\SysWOW64\\WerFault.exe",
            "?:\\Windows\\System32\\wermgr.exe",
            "?:\\Windows\\SysWOW64\\wermgr.exe",
            "?:\\Program Files (x86)\\*.exe",
            "?:\\Program Files\\*.exe",
            "?:\\Windows\\System32\\DWWIN.EXE",
            "?:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
            "?:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
            "?:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe",
            "?:\\Program Files\\Mozilla Firefox\\firefox.exe",
            "?:\\Program Files\\Internet Explorer\\iexplore.exe",
            "?:\\Program Files (x86)\\Tencent\\QQPinyin\\*\\QQPYUserCenter.exe") and
 not (process.name : "rundll32.exe" and process.args : "cryptext.dll,CryptExtOpenCRL")

Field Validations

Loading…

Comments (0)

Loading comments...