{"id":"99b7460d-c9f1-40d7-a316-1f36f61d52ee","title":"Cscript/Wscript Uncommon Script Extension Execution","description":"Detects Wscript/Cscript executing a file with an uncommon (i.e. non-script) extension","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"high","date":"2023-05-15","modified":"2023-06-19","tags":["attack.execution","attack.t1059.005","attack.t1059.007"],"technique_ids":["T1059.005","T1059.007"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["Internal Research"],"source_path":"rules/windows/process_creation/proc_creation_win_wscript_cscript_uncommon_extension_exec.yml","source_sha256":"e53a18a04b94bd598060bf5e6e53c8f19c210bb1c44bbc8dad1bbe09f96446d8","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_wscript_cscript_uncommon_extension_exec.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Cscript/Wscript Uncommon Script Extension Execution\nid: 99b7460d-c9f1-40d7-a316-1f36f61d52ee\nstatus: test\ndescription: Detects Wscript/Cscript executing a file with an uncommon (i.e. non-script) extension\nreferences:\n    - Internal Research\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-05-15\nmodified: 2023-06-19\ntags:\n    - attack.execution\n    - attack.t1059.005\n    - attack.t1059.007\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - OriginalFileName:\n              - 'wscript.exe'\n              - 'cscript.exe'\n        - Image|endswith:\n              - '\\wscript.exe'\n              - '\\cscript.exe'\n    selection_extension:\n        CommandLine|contains:\n            # Note: add additional potential suspicious extension\n            # We could specify the \"//E:\" flag to avoid typos by admin. But since that's prone to blind spots via the creation of assoc it's better not to include it\n            - '.csv'\n            - '.dat'\n            - '.doc'\n            - '.gif'\n            - '.jpeg'\n            - '.jpg'\n            - '.png'\n            - '.ppt'\n            - '.txt'\n            - '.xls'\n            - '.xml'\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059.005","id":"T1059.005","name":"Visual Basic","page":"techniques/enterprise/T1059.005/"},{"key":"enterprise/T1059.007","id":"T1059.007","name":"JavaScript","page":"techniques/enterprise/T1059.007/"}],"data_path":"data/detection-rules/99b7460d-c9f1-40d7-a316-1f36f61d52ee.json","kind":"sigma"}
