Sigma rule: Potentially Suspicious JWT Token Search Via CLI
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-34da84f4e2af, updated 2025-10-21T00:00:00.000Z.
Rule
- Title
- Potentially Suspicious JWT Token Search Via CLI
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems), kagebunsher
- Date
- 2022-10-25
- Modified
- 2025-10-21
- File
- rules/windows/process_creation/proc_creation_win_susp_jwt_token_search.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects potentially suspicious search for JWT tokens via CLI by looking for the string "eyJ0eX" or "eyJhbG".
JWT tokens are often used for access-tokens across various applications and services like Microsoft 365, Azure, AWS, Google Cloud, and others.
Threat actors may search for these tokens to steal them for lateral movement or privilege escalation.
Log source
- product
- windows
- category
- process_creation
Detection
selection_tools:
CommandLine|contains:
- 'find '
- 'find.exe'
- 'findstr'
- 'select-string '
- 'strings'
selection_jwt_string:
CommandLine|contains:
- 'eyJ0eXAiOi' # {"typ":
- 'eyJhbGciOi' # {"alg":
- ' eyJ0eX'
- ' "eyJ0eX"'
- " 'eyJ0eX'"
- ' eyJhbG'
- ' "eyJhbG"'
- " 'eyJhbG'"
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.credential-access
- attack.t1528
- attack.t1552.001
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_jwt_token_search.yml
Sources and licences
SigmaHQ
"Potentially Suspicious JWT Token Search Via CLI" by Nasreddine Bencherchali (Nextron Systems), kagebunsher (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_jwt_token_search.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Potentially Suspicious JWT Token Search Via CLI",
entity page, dataset version ref-34da84f4e2af, updated 2025-10-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/6d3a3952-6530-44a3-8554-cf17c116c615 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 6d3a3952-6530-44a3-8554-cf17c116c615, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.