{"id":"aef9d1f1-7396-4e92-a927-4567c7a495c1","title":"Suspicious Git Clone","description":"Detects execution of \"git\" in order to clone a remote repository that contain suspicious keywords which might be suspicious","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-01-03","modified":"2023-01-10","tags":["attack.reconnaissance","attack.t1593.003"],"technique_ids":["T1593.003"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://gist.githubusercontent.com/MichaelKoczwara/12faba9c061c12b5814b711166de8c2f/raw/e2068486692897b620c25fde1ea258c8218fe3d3/history.txt"],"source_path":"rules/windows/process_creation/proc_creation_win_git_susp_clone.yml","source_sha256":"d400f29312ec5fa4ca8cd348b85bb6e924d7c988fd48ee4620bce751329d2dc3","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_git_susp_clone.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious Git Clone\nid: aef9d1f1-7396-4e92-a927-4567c7a495c1\nstatus: test\ndescription: Detects execution of \"git\" in order to clone a remote repository that contain suspicious keywords which might be suspicious\nreferences:\n    - https://gist.githubusercontent.com/MichaelKoczwara/12faba9c061c12b5814b711166de8c2f/raw/e2068486692897b620c25fde1ea258c8218fe3d3/history.txt\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-01-03\nmodified: 2023-01-10\ntags:\n    - attack.reconnaissance\n    - attack.t1593.003\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith:\n              - '\\git.exe'\n              - '\\git-remote-https.exe'\n        - OriginalFileName: 'git.exe'\n    selection_cli:\n        CommandLine|contains:\n            - ' clone '\n            - 'git-remote-https '\n    selection_keyword:\n        CommandLine|contains:\n            # Add more suspicious keywords\n            - 'exploit'\n            - 'Vulns'\n            - 'vulnerability'\n            - 'RemoteCodeExecution'\n            - 'Invoke-'\n            - 'CVE-'\n            - 'poc-'\n            - 'ProofOfConcept'\n            # Add more vuln names\n            - 'proxyshell'\n            - 'log4shell'\n            - 'eternalblue'\n            - 'eternal-blue'\n            - 'MS17-'\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1593.003","id":"T1593.003","name":"Code Repositories","page":"techniques/enterprise/T1593.003/"}],"data_path":"data/detection-rules/aef9d1f1-7396-4e92-a927-4567c7a495c1.json","kind":"sigma"}
