title: AWS API Call From A Kali Or Parrot Linux Client
id: 1644fdac-6559-42d2-a3c7-7c82ef70262a
status: experimental
description: |
    Detects AWS API calls whose user agent carries the kernel version of a Kali or Parrot Linux host,
    as written by the AWS CLI and the Python SDKs (for example "Linux/5.6.0-kali1-amd64").
    Trivial to change for an attacker who knows about it, but a cheap and very low-noise signal.
references:
    - https://summitroute.com/blog/2020/10/09/public_dataset_of_cloudtrail_logs_from_flaws_cloud/
author: PurpleLog
date: 2026-10-17
tags:
    - attack.initial-access
    - attack.t1078.004
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        userAgent|re: '(?i)Linux/\S*-\d*(kali|parrot)'
    condition: selection
falsepositives:
    - Penetration tests and red team exercises, which should be announced
level: medium
