{"id":"dd6b39d9-d9be-4a3b-8fe0-fe3c6a5c1795","title":"Use NTFS Short Name in Command Line","description":"Detect use of the Windows 8.3 short name. Which could be used as a method to avoid command-line detection","author":"frack113, Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-08-05","modified":"2022-09-21","tags":["attack.stealth","attack.t1564.004"],"technique_ids":["T1564.004"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Applications could use this notation occasionally which might generate some false positives. In that case Investigate the parent and child process."],"references":["https://www.acunetix.com/blog/articles/windows-short-8-3-filenames-web-security-problem/","https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc959352(v=technet.10)","https://twitter.com/jonasLyk/status/1555914501802921984"],"source_path":"rules/windows/process_creation/proc_creation_win_susp_ntfs_short_name_use_cli.yml","source_sha256":"7ec57b7c1d822b8aa22931fabbdbd1ebb34eb12c98fc6e03f6cdf107bf2d4f0c","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_susp_ntfs_short_name_use_cli.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Use NTFS Short Name in Command Line\nid: dd6b39d9-d9be-4a3b-8fe0-fe3c6a5c1795\nrelated:\n    - id: 3ef5605c-9eb9-47b0-9a71-b727e6aa5c3b\n      type: similar\nstatus: test\ndescription: Detect use of the Windows 8.3 short name. Which could be used as a method to avoid command-line detection\nreferences:\n    - https://www.acunetix.com/blog/articles/windows-short-8-3-filenames-web-security-problem/\n    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc959352(v=technet.10)\n    - https://twitter.com/jonasLyk/status/1555914501802921984\nauthor: frack113, Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-08-05\nmodified: 2022-09-21\ntags:\n    - attack.stealth\n    - attack.t1564.004\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        CommandLine|contains:\n            - '~1.exe'\n            - '~1.bat'\n            - '~1.msi'\n            - '~1.vbe'\n            - '~1.vbs'\n            - '~1.dll'\n            - '~1.ps1'\n            - '~1.js'\n            - '~1.hta'\n            - '~2.exe'\n            - '~2.bat'\n            - '~2.msi'\n            - '~2.vbe'\n            - '~2.vbs'\n            - '~2.dll'\n            - '~2.ps1'\n            - '~2.js'\n            - '~2.hta'\n    filter:\n        - ParentImage|endswith:\n              - '\\WebEx\\WebexHost.exe'\n              - '\\thor\\thor64.exe'\n        - CommandLine|contains: 'C:\\xampp\\vcredist\\VCREDI~1.EXE'\n    condition: selection and not filter\nfalsepositives:\n    - Applications could use this notation occasionally which might generate some false positives. In that case Investigate the parent and child process.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1564.004","id":"T1564.004","name":"NTFS File Attributes","page":"techniques/enterprise/T1564.004/"}],"data_path":"data/detection-rules/dd6b39d9-d9be-4a3b-8fe0-fe3c6a5c1795.json","kind":"sigma"}
