Elastic Defend high stable eql

Potential Masquerading as SVCHOST

Identifies the creation of a svchost process with an unusual parent. This may indicate an attempt to masquerade a malicious process.

View Source

Detection Logic

process where event.action == "start" and
  process.name : "svchost.exe" and
  process.parent.executable != null and
  not process.parent.executable : (
    "?:\\Windows\\System32\\services.exe",
    "\\Device\\HarddiskVolume?\\Windows\\System32\\services.exe",
    "\\Device\\HarddiskVolume??\\Windows\\System32\\services.exe",
    "?:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MsMpEng.exe",
    "?:\\Program Files\\Microsoft Security Client\\MsMpEng.exe",
    "?:\\Program Files*\\Windows Defender\\MsMpEng.exe",
    "?:\\Windows\\*\\rpcnet*.exe",
    "?:\\Windows\\System32\\MRT.exe",
    "?:\\Windows\\System32\\MRT-*.exe",
    "?:\\Program Files*\\Unity Client\\Unity.exe",
    "?:\\Windows\\System32\\wermgr.exe",
    "?:\\Windows\\System32\\svchost.exe",
    "?:\\WINDOWS\\SysWOW64\\svchost.exe",
    "\\Device\\VhdHardDisk*\\Windows\\System32\\services.exe",
    "\\Device\\HarddiskVolume*\\Windows\\System32\\services.exe",
    "\\Device\\HarddiskVolume*\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MsMpEng.exe",
    "\\Device\\HarddiskVolume*\\Program Files\\Microsoft Security Client\\MsMpEng.exe",
    "\\Device\\HarddiskVolume*\\Program Files*\\Windows Defender\\MsMpEng.exe",
    "\\Device\\HarddiskVolume*\\Windows\\*\\rpcnet*.exe",
    "\\Device\\HarddiskVolume*\\Windows\\system32\\MRT.exe",
    "\\Device\\HarddiskVolume*\\Program Files*\\Unity Client\\Unity.exe",
    "\\Device\\HarddiskVolume*\\Windows\\System32\\wermgr.exe",
    "?:\\Program Files\\Microsoft Security Client\\Antimalware\\MsMpEng.exe", 
    "?:\\Program Files (x86)\\Microsoft Security Client\\Antimalware\\MsMpEng.exe", 
    "?:\\Program Files\\Cisco\\AMP\\*\\sfc.exe", 
    "?:\\Program Files (x86)\\Cisco\\AMP\\*\\sfc.exe", 
    "?:\\Program Files (x86)\\AlibabaProtect\\*\\AlibabaProtect.exe", 
    "?:\\Program Files\\AlibabaProtect\\*\\AlibabaProtect.exe", 
    "?:\\Program Files\\Microsoft Security Client\\Antimalware\\MsMpEng.exe", 
    "?:\\Program Files (x86)\\Tencent\\QQ\\Bin\\QQExternal.exe", 
    "\\\\?\\Volume{*}\\Windows\\System32\\services.exe", 
    "\\\\?\\Volume{*}\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MsMpEng.exe", 
    "\\\\?\\Volume{*}\\Program Files\\Microsoft Security Client\\MsMpEng.exe", 
    "\\\\?\\Volume{*}\\Program Files*\\Windows Defender\\MsMpEng.exe", 
    "\\\\?\\Volume{*}\\Windows\\*\\rpcnet*.exe", 
    "\\\\?\\Volume{*}\\Windows\\system32\\MRT.exe", 
    "\\\\?\\Volume{*}\\Program Files*\\Unity Client\\Unity.exe", 
    "\\\\?\\Volume{*}\\Windows\\System32\\wermgr.exe", 
    "?:\\Program Files (x86)\\Common Files\\One Identity\\Safeguard Privilege Manager for Windows\\Client\\CSEHost.exe") and
  not (process.parent.executable : "?:\\Windows\\system32\\svchost.exe" and process.executable : "?:\\Windows\\syswow64\\svchost.exe") and
  not (process.parent.executable :
                   ("?:\\Windows\\System32\\svchost.exe",
                    "?:\\Program Files\\COMODO\\COMODO Internet Security\\cmdvirth.exe",
                    "?:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\acrocef*\\RdrCEF.exe") and
       process.Ext.token.integrity_level_name == "system") and
  not (process.pe.original_file_name == "AsDVDLock.exe" and
       process.executable : "?:\\Program Files (x86)\\ASUS\\ASUS Manager\\USB Lock\\svchost.exe") and
  not (process.parent.executable : "?:\\Windows\\System32\\svchost.exe" and process.executable : "?:\\Windows\\System32\\svchost.exe") and
  not (process.code_signature.subject_name : ("SyncFuture Software Company Limited", "Code Systems Corporation") and process.code_signature.trusted == true)

Field Validations

Loading…

Comments (0)

Loading comments...