{"id":"04936b66-3915-43ad-a8e5-809eadfd1141","title":"Insensitive Subfolder Search Via Findstr.EXE","description":"Detects execution of findstr with the \"s\" and \"i\" flags for a \"subfolder\" and \"insensitive\" search respectively. Attackers sometimes leverage this built-in utility to search the system for interesting files or filter through results of commands.\n","author":"Furkan CALISKAN, @caliskanfurkan_, @oscd_initiative, Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"low","date":"2020-10-05","modified":"2024-03-05","tags":["attack.credential-access","attack.command-and-control","attack.stealth","attack.t1218","attack.t1564.004","attack.t1552.001","attack.t1105"],"technique_ids":["T1105","T1218","T1552.001","T1564.004"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Administrative or software activity"],"references":["https://lolbas-project.github.io/lolbas/Binaries/Findstr/","https://oddvar.moe/2018/04/11/putting-data-in-alternate-data-streams-and-how-to-execute-it-part-2/","https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f"],"source_path":"rules/windows/process_creation/proc_creation_win_findstr_subfolder_search.yml","source_sha256":"3dd232234e34b5cc3c43ec66c6598af692577a03d80bb9f7b727a4b353eff29a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_findstr_subfolder_search.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Insensitive Subfolder Search Via Findstr.EXE\nid: 04936b66-3915-43ad-a8e5-809eadfd1141\nrelated:\n    - id: bf6c39fc-e203-45b9-9538-05397c1b4f3f\n      type: obsolete\nstatus: test\ndescription: |\n    Detects execution of findstr with the \"s\" and \"i\" flags for a \"subfolder\" and \"insensitive\" search respectively. Attackers sometimes leverage this built-in utility to search the system for interesting files or filter through results of commands.\nreferences:\n    - https://lolbas-project.github.io/lolbas/Binaries/Findstr/\n    - https://oddvar.moe/2018/04/11/putting-data-in-alternate-data-streams-and-how-to-execute-it-part-2/\n    - https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f\nauthor: Furkan CALISKAN, @caliskanfurkan_, @oscd_initiative, Nasreddine Bencherchali (Nextron Systems)\ndate: 2020-10-05\nmodified: 2024-03-05\ntags:\n    - attack.credential-access\n    - attack.command-and-control\n    - attack.stealth\n    - attack.t1218\n    - attack.t1564.004\n    - attack.t1552.001\n    - attack.t1105\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_findstr:\n        - CommandLine|contains: findstr\n        - Image|endswith: 'findstr.exe'\n        - OriginalFileName: 'FINDSTR.EXE'\n    selection_cli_search_subfolder:\n        CommandLine|contains|windash: ' -s '\n    selection_cli_search_insensitive:\n        CommandLine|contains|windash: ' -i '\n    condition: selection_findstr and all of selection_cli_search_*\nfalsepositives:\n    - Administrative or software activity\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1105","id":"T1105","name":"Ingress Tool Transfer","page":"techniques/enterprise/T1105/"},{"key":"enterprise/T1218","id":"T1218","name":"System Binary Proxy Execution","page":"techniques/enterprise/T1218/"},{"key":"enterprise/T1552.001","id":"T1552.001","name":"Credentials In Files","page":"techniques/enterprise/T1552.001/"},{"key":"enterprise/T1564.004","id":"T1564.004","name":"NTFS File Attributes","page":"techniques/enterprise/T1564.004/"}],"data_path":"data/detection-rules/04936b66-3915-43ad-a8e5-809eadfd1141.json","kind":"sigma"}
