Deception/ Application
D076F1 Application

💀 Source Code Honeytoken

Fake creds in code comments and config files.

What it is

Deliberately planted fake credentials, API keys, and connection strings in source code comments, configuration files, and environment templates. These are specifically crafted to be picked up by attacker tools (TruffleHog, GitLeaks, manual grep) and, when used, route to DOAR-controlled infrastructure.

Implementation requirements

Technologies

AWSApplication

ATT&CK coverage 5

TechniqueTacticStatusConfidenceTier
T1005
Data from Local System
Collection confirmed strong T2
↳ Detection point: the decoy fires at a later step of the attack
↳ Evidence (2 sources)
T1213.003
Code Repositories
Collection confirmed strong T2
↳ Detection point: the decoy fires at a later step of the attack
↳ Evidence (4 sources)
T1552.001
Credentials In Files
Credential Access confirmed strong T2
↳ Detection point: the decoy fires at a later step of the attack
↳ Evidence (5 sources)
T1083
File and Directory Discovery
Discovery confirmed strong T2
↳ Detection point: the attack step itself touches the decoy
↳ Evidence (2 sources)
T1037
Boot or Logon Initialization Scripts
Persistence theoretical moderate T2
↳ Detection point: the decoy fires at a later step of the attack
↳ Evidence (2 sources)

Reading credentials out of a decoy logon script is logged; the credential fires when used.

Evidence

Research basis: Weinberg, "PHANTOM: Polymorphic Honeytoken Adaptation" (ResearchGate, 2026). Thinkst Canarytokens (Industry Standard). GitGuardian Honeytoken Deployment (2024-2026).