Potentially Suspicious JWT Token Search Via CLI
Description
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.
Query · sigma
selection_tools: CommandLine|contains: - 'find ' - find.exe - findstr - 'select-string ' - strings selection_jwt_string: CommandLine|contains: - eyJ0eXAiOi - eyJhbGciOi - ' eyJ0eX' - ' "eyJ0eX"' - ' ''eyJ0eX''' - ' eyJhbG' - ' "eyJhbG"' - ' ''eyJhbG''' condition: all of selection_*
Known false positives
- Unknown