Detectionmediumtest

Suspicious Git Clone - Linux

Detects execution of "git" in order to clone a remote repository that contain suspicious keywords which might be suspicious

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2023-01-03Updated 2023-01-05cfec9d29-64ec-4a0f-9ffe-0fdb856d5446linux
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
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_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
cfec9d29-64ec-4a0f-9ffe-0fdb856d5446
Status
test
Level
medium
Type
Detection
Created
2023-01-03
Modified
2023-01-05
Path
rules/linux/process_creation/proc_creation_lnx_susp_git_clone.yml
Raw Tags
attack.reconnaissanceattack.t1593.003
View on GitHub