Sigma rule: Potential Download/Upload Activity Using Type Command

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-19b58e9a28bb, updated 2022-12-14T00:00:00.000Z.

Rule

Title
Potential Download/Upload Activity Using Type Command
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-12-14
File
rules/windows/process_creation/proc_creation_win_cmd_type_arbitrary_file_download.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects usage of the "type" command to download/upload data from WebDAV server

Log source

product
windows
category
process_creation

Detection

# Note that since built in CMD commands do not trigger a process creation. This would be detected only if used in a "/c" command
selection_upload:
    CommandLine|contains|all:
        - 'type '
        - ' > \\\\'
selection_download:
    CommandLine|contains|all:
        - 'type \\\\'
        - ' > ' # Space are added to increase atom length and speed up matching. If your backend can handle this remove the space
condition: 1 of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.command-and-control
  • attack.t1105

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_cmd_type_arbitrary_file_download.yml

Sources and licences

  • SigmaHQ

    "Potential Download/Upload Activity Using Type Command" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_cmd_type_arbitrary_file_download.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential Download/Upload Activity Using Type Command",
entity page, dataset version ref-19b58e9a28bb, updated 2022-12-14T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/aa0b3a82-eacc-4ec3-9150-b5a9a3e3f82f (accessed 2026-11-03).
Underlying source: SigmaHQ rule aa0b3a82-eacc-4ec3-9150-b5a9a3e3f82f, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.