Windows UAC bypass via IEInstal.exe dropping consent.exe to Temp

Alerts on IEInstal.exe activity writing consent.exe under AppData Local Temp to support a UAC bypass attempt.

FreeReviewedSigma · High · v2
Product
windows
Category
file_event
Author
Christian Burkard (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2021-08-30
Updated
2026-07-31
title: Windows UAC bypass via IEInstal.exe dropping consent.exe to Temp
id: f5588e14-15de-425d-91ca-5adef7e12998
status: test
description: This rule matches file activity where IEInstal.exe is executed and writes a file under a user’s folder to the AppData\Local\Temp directory ending with consent.exe. Such a pattern is consistent with UAC bypass workflows that stage an executable in a temporary location. The detection relies on Windows file event telemetry capturing the Image path and TargetFilename characteristics (start, contain, and end).
references:
  - https://github.com/hfiref0x/UACME
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/file/file_event/file_event_win_uac_bypass_ieinstal.yml
author: Christian Burkard (Nextron Systems), Huntrule Team
date: 2021-08-30
modified: 2022-10-09
tags:
  - attack.privilege-escalation
  - attack.t1548.002
logsource:
  category: file_event
  product: windows
detection:
  selection:
    Image: C:\Program Files\Internet Explorer\IEInstal.exe
    TargetFilename|startswith: C:\Users\
    TargetFilename|contains: \AppData\Local\Temp\
    TargetFilename|endswith: consent.exe
  condition: selection
falsepositives:
  - Unknown
level: high
license: DRL-1.1
related:
  - id: bdd8157d-8e85-4397-bb82-f06cc9c71dbb
    type: derived