Input Capture T1056

Adversaries may use methods of capturing user input to obtain credentials or collect information. During normal system usage, users often provide credentials to various different locations, such as login pages/portals or system dialog boxes. Input capture mechanisms may be transparent to the user (e.g. Credential API Hooking) or rely on deceiving the user into providing input into what they believe to be a genuine service (e.g. Web Portal Capture).

Events covered

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

Authoring guide

Patterns shared across the 10 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 (13 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
EventID4eq 44688, 1, 7
Type3eq 3
CommandLine2contains 2-encodedcommand, mouse lock_
Image2ends_with 2, contains 1, eq 1, starts_with 1\appdata\local\microsoft\onedrive\, \appdata\local\microsoft\teams\, \onelaunch.exe, \opera_autoupdate.exe
ImageLoaded2ends_with 2\\credui.dll, \\wincredui.dll, \credui.dll, \wincredui.dll
OriginalFileName2eq 2credui.dll, wincredui.dll
ScriptBlockText2contains 1, match 1[windows.input.keyboard]::iskeydown([system.windows.input.key]::, get-keystrokes, get-procaddress user32.dll getasynckeystate, get-procaddress user32.dll getforegroundwindow
Company1contains 1misc314
EfectiveCommand1regex_match 1regexEmpire
EventData1contains 1-encodedcommand, powershell.exe, powershell_ise.exe
Product1contains 1mouse lock
QueryName1eq 1update.onelaunch.com
event_type1in 1childproc, netconn, proc

Top indicator values (42 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
EventIDeq
4688
2312
EventIDeq
1
1232
EventIDeq
7
139
OriginalFileNameeq
credui.dll
22
OriginalFileNameeq
wincredui.dll
22
CommandLinecontains
-encodedcommand
13
CommandLinecontains
mouse lock_
1
Companycontains
misc314
1
EfectiveCommandregex_match
regexEmpire
1
EventDatacontains
-encodedcommand
1
EventDatacontains
powershell.exe
1
EventDatacontains
powershell_ise.exe
1
EventDatacontains
pwsh.exe
1
Imagecontains
\appdata\local\microsoft\onedrive\
15
Imagecontains
\appdata\local\microsoft\teams\
1
Imageends_with
\onelaunch.exe
1
Imageends_with
\opera_autoupdate.exe
1
Imageends_with
\procexp.exe
18
Imageends_with
\procexp64.exe
18
Imageends_with
\teams.exe
16
Imageeq
c:\windows\explorer.exe
19
Imageeq
c:\windows\immersivecontrolpanel\systemsettings.exe
15
Imageeq
c:\windows\regedit.exe
1
Imagestarts_with
c:\program files (x86)\
119
Imagestarts_with
c:\program files\
120
Imagestarts_with
c:\users\
110
Imagestarts_with
c:\windows\system32\
124
Imagestarts_with
c:\windows\systemapps\
12
Imagestarts_with
c:\windows\syswow64\
122
ImageLoadedends_with
\\credui.dll
1

Exclusions (19 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
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
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.

Sigma 5 rules

Splunk 4 rules

Kusto 1 rule