← Back to SOC feed Coverage →

Suspicious Git Clone - Linux

sigma MEDIUM SigmaHQ
T1593.003
imProcessCreate
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at SigmaHQ →
Retrieved: 2026-03-25T02:50:08Z · Confidence: medium

Hunt Hypothesis

Adversaries may use suspicious Git clone activity to exfiltrate data or deploy malicious payloads under the guise of legitimate code repositories. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify potential compromise of development environments and prevent lateral movement.

Detection Rule

Sigma (Original)

title: Suspicious Git Clone - Linux
id: cfec9d29-64ec-4a0f-9ffe-0fdb856d5446
status: test
description: Detects execution of "git" in order to clone a remote repository that contain suspicious keywords which might be suspicious
references:
    - https://gist.githubusercontent.com/MichaelKoczwara/12faba9c061c12b5814b711166de8c2f/raw/e2068486692897b620c25fde1ea258c8218fe3d3/history.txt
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-01-03
modified: 2023-01-05
tags:
    - attack.reconnaissance
    - attack.t1593.003
logsource:
    category: process_creation
    product: linux
detection:
    selection_img:
        Image|endswith: '/git'
        CommandLine|contains: ' clone '
    selection_keyword:
        CommandLine|contains:
            # Add more suspicious keywords
            - 'exploit'
            - 'Vulns'
            - 'vulnerability'
            - 'RCE'
            - 'RemoteCodeExecution'
            - 'Invoke-'
            - 'CVE-'
            - 'poc-'
            - 'ProofOfConcept'
            # Add more vuln names
            - 'proxyshell'
            - 'log4shell'
            - 'eternalblue'
            - 'eternal-blue'
            - 'MS17-'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

KQL (Azure Sentinel)

imProcessCreate
| where (TargetProcessName endswith "/git" and TargetProcessCommandLine contains " clone ") and (TargetProcessCommandLine contains "exploit" or TargetProcessCommandLine contains "Vulns" or TargetProcessCommandLine contains "vulnerability" or TargetProcessCommandLine contains "RCE" or TargetProcessCommandLine contains "RemoteCodeExecution" or TargetProcessCommandLine contains "Invoke-" or TargetProcessCommandLine contains "CVE-" or TargetProcessCommandLine contains "poc-" or TargetProcessCommandLine contains "ProofOfConcept" or TargetProcessCommandLine contains "proxyshell" or TargetProcessCommandLine contains "log4shell" or TargetProcessCommandLine contains "eternalblue" or TargetProcessCommandLine contains "eternal-blue" or TargetProcessCommandLine contains "MS17-")

False Positive Guidance

MITRE ATT&CK Context

Original source: https://github.com/SigmaHQ/sigma/blob/master/rules/linux/process_creation/proc_creation_lnx_susp_git_clone.yml