IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Mshta Making Network Connectionsedit
Identifies Mshta.exe making outbound network connections. This may indicate adversarial activity as Mshta is often leveraged by adversaries to execute malicious scripts and evade detection.
Rule type: eql
Rule indices:
- logs-endpoint.events.*
- winlogbeat-*
Severity: medium
Risk score: 21
Runs every: 5 minutes
Searches indices from: now-9m (Date Math format, see also Additional look-back time
)
Maximum alerts per execution: 100
Tags:
- Elastic
- Host
- Windows
- Threat Detection
- Defense Evasion
Version: 1
Added (Elastic Stack release): 7.10.0
Rule authors: Elastic
Rule license: Elastic License
Rule queryedit
sequence by process.entity_id with maxspan=2h [process where event.type in ("start", "process_started") and process.name : "mshta.exe" and not process.parent.name : "Microsoft.ConfigurationManagement.exe" and not (process.parent.executable : "C:\\Amazon\\Amazon Assistant\\amazonAssistantService.exe" or process.parent.executable : "C:\\TeamViewer\\TeamViewer.exe") and not process.args : "ADSelfService_Enroll.hta"] [network where process.name : "mshta.exe"]
Threat mappingedit
Framework: MITRE ATT&CKTM
-
Tactic:
- Name: Defense Evasion
- ID: TA0005
- Reference URL: https://attack.mitre.org/tactics/TA0005/
-
Technique:
- Name: Mshta
- ID: T1170
- Reference URL: https://attack.mitre.org/techniques/T1170/