Input Capture: GUI Input Capture T1056.002

Tactics: Collection, Credential Access

Adversaries may mimic common operating system GUI components to prompt users for credentials with a seemingly legitimate prompt. When programs are executed that need additional privileges than are present in the current user context, it is common for the operating system to prompt the user for proper credentials to authorize the elevated privileges for the task (ex: Bypass User Account Control).

Events covered

3 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 5 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (11 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
CommandLine3contains 2, wildcard 1*osascript*display*dialog*authenticate*, *osascript*display*dialog*passphrase*, *osascript*display*dialog*password*, -e, admin
Image2ends_with 2, contains 1, eq 1, starts_with 1/osascript, \appdata\local\microsoft\onedrive\, \appdata\local\microsoft\teams\, \opera_autoupdate.exe
ImageLoaded2ends_with 2\\credui.dll, \\wincredui.dll, \credui.dll, \wincredui.dll
OriginalFileName2eq 2credui.dll, wincredui.dll
Company1contains 1misc314
EventID1eq 17
EventType1eq 1exec
Product1contains 1mouse lock
host.os.type1eq 1
process.args1eq 1-e
process_name1eq 1osascript

Top indicator values (45 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
OriginalFileNameeq
credui.dll
22
OriginalFileNameeq
wincredui.dll
22
CommandLinecontains
-e
13
CommandLinecontains
admin
14
CommandLinecontains
administrator
12
CommandLinecontains
answer
1
CommandLinecontains
authenticate
1
CommandLinecontains
authentication
1
CommandLinecontains
credentials
12
CommandLinecontains
dialog
1
CommandLinecontains
display
1
CommandLinecontains
mouse lock_
1
CommandLinecontains
pass
12
CommandLinecontains
password
14
CommandLinecontains
unlock
1
CommandLinewildcard
*osascript*display*dialog*authenticate*
1
CommandLinewildcard
*osascript*display*dialog*passphrase*
1
CommandLinewildcard
*osascript*display*dialog*password*
1
CommandLinewildcard
*pass*display*dialog*
1
Companycontains
misc314
1
EventIDeq
7
139
EventTypeeq
exec
1171
Imagecontains
\appdata\local\microsoft\onedrive\
1
Imagecontains
\appdata\local\microsoft\teams\
1
Imageends_with
/osascript
17
Imageends_with
\opera_autoupdate.exe
1
Imageends_with
\procexp.exe
1
Imageends_with
\procexp64.exe
1
Imageends_with
\teams.exe
12
Imageeq
c:\windows\explorer.exe
1

Exclusions (28 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
CommandLinecontains
-e with timeout of 3600 seconds
1
CommandLinecontains
encryption key escrow
1
Imagecontains
\appdata\local\microsoft\onedrive\
1
Imagecontains
\appdata\local\microsoft\teams\
1
Imageends_with
\opera_autoupdate.exe
1
Imageends_with
\procexp.exe
1
Imageends_with
\procexp64.exe
1
Imageends_with
\teams.exe
1
Imageeq
c:\windows\explorer.exe
1
Imageeq
c:\windows\immersivecontrolpanel\systemsettings.exe
1
Imageeq
c:\windows\regedit.exe
1
Imagestarts_with
c:\program files (x86)\
1
Imagestarts_with
c:\program files\
1
Imagestarts_with
c:\users\
1
Imagestarts_with
c:\windows\system32\
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 3 rules

Elastic 1 rule

Splunk 1 rule