{"id":"06b401f4-107c-4ff9-947f-9ec1e7649f1e","title":"Potential Arbitrary Command Execution Via FTP.EXE","description":"Detects execution of \"ftp.exe\" script with the \"-s\" or \"/s\" flag and any child processes ran by \"ftp.exe\".","author":"Victor Sergeev, oscd.community","status":"test","level":"medium","date":"2020-10-09","modified":"2024-04-23","tags":["attack.execution","attack.stealth","attack.t1059","attack.t1202"],"technique_ids":["T1059","T1202"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://lolbas-project.github.io/lolbas/Binaries/Ftp/"],"source_path":"rules/windows/process_creation/proc_creation_win_ftp_arbitrary_command_execution.yml","source_sha256":"09e33c44cdcd7745b282448b258e2c40f5ccda04cb9e3dcbc1d28603e776c0ba","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_ftp_arbitrary_command_execution.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Arbitrary Command Execution Via FTP.EXE\nid: 06b401f4-107c-4ff9-947f-9ec1e7649f1e\nstatus: test\ndescription: Detects execution of \"ftp.exe\" script with the \"-s\" or \"/s\" flag and any child processes ran by \"ftp.exe\".\nreferences:\n    - https://lolbas-project.github.io/lolbas/Binaries/Ftp/\nauthor: Victor Sergeev, oscd.community\ndate: 2020-10-09\nmodified: 2024-04-23\ntags:\n    - attack.execution\n    - attack.stealth\n    - attack.t1059\n    - attack.t1202\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_parent:\n        ParentImage|endswith: '\\ftp.exe'\n    selection_child_img:\n        - Image|endswith: '\\ftp.exe'\n        - OriginalFileName: 'ftp.exe'\n    selection_child_cli:\n        CommandLine|contains|windash: '-s:'\n    condition: selection_parent or all of selection_child_*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059","id":"T1059","name":"Command and Scripting Interpreter","page":"techniques/enterprise/T1059/"},{"key":"enterprise/T1202","id":"T1202","name":"Indirect Command Execution","page":"techniques/enterprise/T1202/"}],"data_path":"data/detection-rules/06b401f4-107c-4ff9-947f-9ec1e7649f1e.json","kind":"sigma"}
