{"id":"6f8b3439-a203-45dc-a88b-abf57ea15ccf","title":"HackTool - CrackMapExec PowerShell Obfuscation","description":"The CrachMapExec pentesting framework implements a PowerShell obfuscation with some static strings detected by this rule.","author":"Thomas Patzke","status":"test","level":"high","date":"2020-05-22","modified":"2023-02-21","tags":["attack.execution","attack.stealth","attack.t1059.001","attack.t1027.005"],"technique_ids":["T1027.005","T1059.001"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://github.com/byt3bl33d3r/CrackMapExec","https://github.com/byt3bl33d3r/CrackMapExec/blob/0a49f75347b625e81ee6aa8c33d3970b5515ea9e/cme/helpers/powershell.py#L242"],"source_path":"rules/windows/process_creation/proc_creation_win_hktl_crackmapexec_powershell_obfuscation.yml","source_sha256":"2930e5798428d3c325c19393d148906e2edf87c868aac0ea2c2b1eeb4605164a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_hktl_crackmapexec_powershell_obfuscation.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: HackTool - CrackMapExec PowerShell Obfuscation\nid: 6f8b3439-a203-45dc-a88b-abf57ea15ccf\nstatus: test\ndescription: The CrachMapExec pentesting framework implements a PowerShell obfuscation with some static strings detected by this rule.\nreferences:\n    - https://github.com/byt3bl33d3r/CrackMapExec\n    - https://github.com/byt3bl33d3r/CrackMapExec/blob/0a49f75347b625e81ee6aa8c33d3970b5515ea9e/cme/helpers/powershell.py#L242\nauthor: Thomas Patzke\ndate: 2020-05-22\nmodified: 2023-02-21\ntags:\n    - attack.execution\n    - attack.stealth\n    - attack.t1059.001\n    - attack.t1027.005\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith:\n              - '\\powershell.exe'\n              - '\\pwsh.exe'\n        - OriginalFileName:\n              - 'PowerShell.EXE'\n              - 'pwsh.dll'\n    selection_cli:\n        CommandLine|contains:\n            - 'join*split'\n            # Line 343ff\n            - '( $ShellId[1]+$ShellId[13]+''x'')'\n            - '( $PSHome[*]+$PSHOME[*]+'\n            - '( $env:Public[13]+$env:Public[5]+''x'')'\n            - '( $env:ComSpec[4,*,25]-Join'''')'\n            - '[1,3]+''x''-Join'''')'\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1027.005","id":"T1027.005","name":"Indicator Removal from Tools","page":"techniques/enterprise/T1027.005/"},{"key":"enterprise/T1059.001","id":"T1059.001","name":"PowerShell","page":"techniques/enterprise/T1059.001/"}],"data_path":"data/detection-rules/6f8b3439-a203-45dc-a88b-abf57ea15ccf.json","kind":"sigma"}
