Skip to content
Back to skills

T1417.001 Keylogging

ASecurity

Adversaries may log user keystrokes to intercept credentials or other information from the user as the user types them.

  • 2,182 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 30, 2026
securitygogitsecurity

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill T1417.001_keylogging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of T1417.001 Keylogging?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for T1417.001 Keylogging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-t1417-001-keylogging/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-t1417-001-keylogging)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "T1417.001_keylogging"
description: "Adversaries may log user keystrokes to intercept credentials or other information from the user as the user types them."
category: "information-gathering"
version: "18.1"
author: "cyberstrike-official"
tags:
  - mitre-attack
  - mobile
  - t1417.001
  - collection
  - credential-access
  - android
  - ios
  - sub-technique
technique_id: "T1417.001"
tactic: "collection"
all_tactics:
  - collection
  - credential-access
platforms:
  - Android
  - iOS
mitre_url: "https://attack.mitre.org/techniques/T1417/001"
tech_stack:
  - android
  - ios
cwe_ids:
  - CWE-200
chains_with:
  - T1417
  - T1417.002
prerequisites:
  - T1417
severity_boost:
  T1417: "Chain with T1417 for deeper attack path"
  T1417.002: "Chain with T1417.002 for deeper attack path"
---

# T1417.001 Keylogging

> **Sub-technique of:** T1417

## High-Level Description

Adversaries may log user keystrokes to intercept credentials or other information from the user as the user types them.

Some methods of keylogging include:

- Masquerading as a legitimate third-party keyboard to record user keystrokes. On both Android and iOS, users must explicitly authorize the use of third-party keyboard apps. Users should be advised to use extreme caution before granting this authorization when it is requested.
- Abusing accessibility features. On Android, adversaries may abuse accessibility features to record keystrokes by registering an `AccessibilityService` class, overriding the `onAccessibilityEvent` method, and listening for the `AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED` event type. The event object passed into the function will contain the data that the user typed.
  \*Additional methods of keylogging may be possible if root access is available.

## Kill Chain Phase

- Collection (TA0035)
- Credential Access (TA0031)

**Platforms:** Android, iOS

## What to Check

- [ ] Identify if Keylogging technique is applicable to target mobile environment
- [ ] Check Android devices for indicators of Keylogging
- [ ] Check iOS devices for indicators of Keylogging
- [ ] Verify mitigations are bypassed or absent (2 known mitigations)
- [ ] Assess detection coverage (1 detection strategies)

## How to Test

### Identify Attack Surface

Determine if the target mobile environment is susceptible to Keylogging by examining the target platforms (Android, iOS).

### Assess Existing Defenses

Review whether mitigations for T1417.001 are in place. If defenses are absent or misconfigured, this technique may be exploitable.

## Remediation Guide

### M1012 Enterprise Policy

When using Samsung Knox, third-party keyboards must be explicitly added to an allow list in order to be available to the end-user.

### M1011 User Guidance

Users should be wary of granting applications dangerous or privacy-intrusive permissions, such as keyboard registration or accessibility service access.

## Detection

### Detection of Keylogging

## Risk Assessment

| Finding                         | Severity | Impact     |
| ------------------------------- | -------- | ---------- |
| Keylogging technique applicable | High     | Collection |

## CWE Categories

| CWE ID  | Title                             |
| ------- | --------------------------------- |
| CWE-200 | Exposure of Sensitive Information |

## References

- [Zeltser-Keyboard](https://zeltser.com/third-party-keyboards-security/)
- [NIST Mobile Threat Catalogue](https://pages.nist.gov/mobile-threat-catalogue/authentication-threats/AUT-13.html)
- [MITRE ATT&CK Mobile - T1417.001](https://attack.mitre.org/techniques/T1417/001)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.