{"id":"4281cb20-2994-4580-aa63-c8b86d019934","title":"Hiding Files with Attrib.exe","description":"Detects usage of attrib.exe to hide files from users.","author":"Sami Ruohonen","status":"test","level":"medium","date":"2019-01-16","modified":"2023-03-14","tags":["attack.stealth","attack.t1564.001"],"technique_ids":["T1564.001"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["IgfxCUIService.exe hiding *.cui files via .bat script (attrib.exe a child of cmd.exe and igfxCUIService.exe is the parent of the cmd.exe)","Msiexec.exe hiding desktop.ini"],"references":["https://unit42.paloaltonetworks.com/unit42-sure-ill-take-new-combojack-malware-alters-clipboards-steal-cryptocurrency/","https://www.uptycs.com/blog/lolbins-are-no-laughing-matter"],"source_path":"rules/windows/process_creation/proc_creation_win_attrib_hiding_files.yml","source_sha256":"1880975d49992867918cc4fd72dfe3e71f09187e5ab85dc15bc7229b46cba34e","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_attrib_hiding_files.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Hiding Files with Attrib.exe\nid: 4281cb20-2994-4580-aa63-c8b86d019934\nstatus: test\ndescription: Detects usage of attrib.exe to hide files from users.\nreferences:\n    - https://unit42.paloaltonetworks.com/unit42-sure-ill-take-new-combojack-malware-alters-clipboards-steal-cryptocurrency/\n    - https://www.uptycs.com/blog/lolbins-are-no-laughing-matter\nauthor: Sami Ruohonen\ndate: 2019-01-16\nmodified: 2023-03-14\ntags:\n    - attack.stealth\n    - attack.t1564.001\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\attrib.exe'\n        - OriginalFileName: 'ATTRIB.EXE'\n    selection_cli:\n        CommandLine|contains: ' +h '\n    filter_main_msiexec:\n        CommandLine|contains: '\\desktop.ini '\n    filter_optional_intel:\n        ParentImage|endswith: '\\cmd.exe'\n        CommandLine: '+R +H +S +A \\\\\\*.cui'\n        ParentCommandLine: 'C:\\\\WINDOWS\\\\system32\\\\\\*.bat'\n    condition: all of selection_* and not 1 of filter_main_* and not 1 of filter_optional_*\nfalsepositives:\n    - IgfxCUIService.exe hiding *.cui files via .bat script (attrib.exe a child of cmd.exe and igfxCUIService.exe is the parent of the cmd.exe)\n    - Msiexec.exe hiding desktop.ini\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1564.001","id":"T1564.001","name":"Hidden Files and Directories","page":"techniques/enterprise/T1564.001/"}],"data_path":"data/detection-rules/4281cb20-2994-4580-aa63-c8b86d019934.json","kind":"sigma"}
