{"id":"aa0b3a82-eacc-4ec3-9150-b5a9a3e3f82f","title":"Potential Download/Upload Activity Using Type Command","description":"Detects usage of the \"type\" command to download/upload data from WebDAV server","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-12-14","modified":"","tags":["attack.command-and-control","attack.t1105"],"technique_ids":["T1105"],"logsource":{"product":"windows","category":"process_creation"},"falsepositives":["Unknown"],"references":["https://mr0range.com/a-new-lolbin-using-the-windows-type-command-to-upload-download-files-81d7b6179e22"],"source_path":"rules/windows/process_creation/proc_creation_win_cmd_type_arbitrary_file_download.yml","source_sha256":"0a1a559e7654687a709c88239539cdfa462180f57e92ae0682500eec30d7a5fa","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_cmd_type_arbitrary_file_download.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 Download/Upload Activity Using Type Command\nid: aa0b3a82-eacc-4ec3-9150-b5a9a3e3f82f\nstatus: test\ndescription: Detects usage of the \"type\" command to download/upload data from WebDAV server\nreferences:\n    - https://mr0range.com/a-new-lolbin-using-the-windows-type-command-to-upload-download-files-81d7b6179e22\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-12-14\ntags:\n    - attack.command-and-control\n    - attack.t1105\nlogsource:\n    product: windows\n    category: process_creation\ndetection:\n    # Note that since built in CMD commands do not trigger a process creation. This would be detected only if used in a \"/c\" command\n    selection_upload:\n        CommandLine|contains|all:\n            - 'type '\n            - ' > \\\\\\\\'\n    selection_download:\n        CommandLine|contains|all:\n            - 'type \\\\\\\\'\n            - ' > ' # Space are added to increase atom length and speed up matching. If your backend can handle this remove the space\n    condition: 1 of selection_*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1105","id":"T1105","name":"Ingress Tool Transfer","page":"techniques/enterprise/T1105/"}],"data_path":"data/detection-rules/aa0b3a82-eacc-4ec3-9150-b5a9a3e3f82f.json","kind":"sigma"}
