Detection rules › Elastic
Suspicious Microsoft IIS Child Process
Identifies the creation of a Microsoft IIS Worker child process with an unusual call stack. This may indicate successful execution via an IIS exploit or webshell activity.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Initial Access |
Rule body
[rule]
description = """
Identifies the creation of a Microsoft IIS Worker child process with an unusual call stack. This may indicate successful
execution via an IIS exploit or webshell activity.
"""
id = "69819042-5436-48b6-a65f-be1f5920c52e"
license = "Elastic License v2"
name = "Suspicious Microsoft IIS Child Process"
os_list = ["windows"]
reference = [
"https://www.elastic.co/security-labs/siestagraph-new-implant-uncovered-in-asean-member-foreign-ministry",
]
version = "1.0.2"
query = '''
process where event.action == "start" and process.parent.name : "w3wp.exe" and
process.parent.thread.Ext.call_stack_summary == "ntdll.dll|kernelbase.dll|kernel32.dll|windows.storage.dll|shell32.dll|shcore.dll|kernel32.dll|ntdll.dll" and
not (process.parent.args : "PrintService" and process.code_signature.exists == false) and
not (process.code_signature.subject_name == "Hercules Social Housing B.V." and process.code_signature.trusted == true)
'''
min_endpoint_version = "8.10.0"
optional_actions = []
[[actions]]
action = "kill_process"
field = "process.entity_id"
state = 0
tree = true
[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1190"
name = "Exploit Public-Facing Application"
reference = "https://attack.mitre.org/techniques/T1190/"
[threat.tactic]
id = "TA0001"
name = "Initial Access"
reference = "https://attack.mitre.org/tactics/TA0001/"
[internal]
min_endpoint_version = "8.10.0"
Stages and Predicates
Stage 1: process
process where event.action == "start" and process.parent.name : "w3wp.exe" and
process.parent.thread.Ext.call_stack_summary == "ntdll.dll|kernelbase.dll|kernel32.dll|windows.storage.dll|shell32.dll|shcore.dll|kernel32.dll|ntdll.dll" and
not (process.parent.args : "PrintService" and process.code_signature.exists == false) and
not (process.code_signature.subject_name == "Hercules Social Housing B.V." and process.code_signature.trusted == true)
Exclusions
The rule actively suppresses these predicates.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
process.code_signature.exists | eq | false | excludes:process.code_signature.exists field:"process.code_signature.exists" value:"false" |
process.parent.args | eq | PrintService | excludes:process.parent.args field:"process.parent.args" value:"PrintService" |
process.code_signature.subject_name | eq | Hercules Social Housing B.V. | excludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Hercules Social Housing B.V." |
process.code_signature.trusted | eq | true | excludes:process.code_signature.trusted field:"process.code_signature.trusted" value:"true" |
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
event.action | eq |
| field:"EventType" kind:eq value:"start" |
process.parent.name | wildcard |
| field:"parent_process_name" kind:wildcard value:"w3wp.exe" |
process.parent.thread.Ext.call_stack_summary | eq |
| field:"process.parent.thread.Ext.call_stack_summary" kind:eq value:"ntdll.dll|kernelbase.dll|kernel32.dll|windows.storage.dll|shell32.dll|shcore.dll|kernel32.dll|ntdll.dll" |