{"id":"56c217c3-2de2-479b-990f-5c109ba8458f","title":"HackTool - Default PowerSploit/Empire Scheduled Task Creation","description":"Detects the creation of a schtask via PowerSploit or Empire Default Configuration.","author":"Markus Neis, @Karneades","status":"test","level":"high","date":"2018-03-06","modified":"2023-03-03","tags":["attack.execution","attack.persistence","attack.privilege-escalation","attack.s0111","attack.g0022","attack.g0060","car.2013-08-001","attack.t1053.005","attack.t1059.001"],"technique_ids":["T1053.005","T1059.001"],"logsource":{"product":"windows","category":"process_creation"},"falsepositives":["Unlikely"],"references":["https://github.com/0xdeadbeefJERKY/PowerSploit/blob/8690399ef70d2cad10213575ac67e8fa90ddf7c3/Persistence/Persistence.psm1","https://github.com/EmpireProject/Empire/blob/08cbd274bef78243d7a8ed6443b8364acd1fc48b/lib/modules/powershell/persistence/userland/schtasks.py"],"source_path":"rules/windows/process_creation/proc_creation_win_hktl_powersploit_empire_default_schtasks.yml","source_sha256":"23ba3e795c8d8f7806e51816f76f5c2c44e64f32bd6d07bbec896bfed9290c1d","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_hktl_powersploit_empire_default_schtasks.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 - Default PowerSploit/Empire Scheduled Task Creation\nid: 56c217c3-2de2-479b-990f-5c109ba8458f\nstatus: test\ndescription: Detects the creation of a schtask via PowerSploit or Empire Default Configuration.\nreferences:\n    - https://github.com/0xdeadbeefJERKY/PowerSploit/blob/8690399ef70d2cad10213575ac67e8fa90ddf7c3/Persistence/Persistence.psm1\n    - https://github.com/EmpireProject/Empire/blob/08cbd274bef78243d7a8ed6443b8364acd1fc48b/lib/modules/powershell/persistence/userland/schtasks.py\nauthor: Markus Neis, @Karneades\ndate: 2018-03-06\nmodified: 2023-03-03\ntags:\n    - attack.execution\n    - attack.persistence\n    - attack.privilege-escalation\n    - attack.s0111\n    - attack.g0022\n    - attack.g0060\n    - car.2013-08-001\n    - attack.t1053.005\n    - attack.t1059.001\nlogsource:\n    product: windows\n    category: process_creation\ndetection:\n    selection:\n        ParentImage|endswith:\n            - '\\powershell.exe'\n            - '\\pwsh.exe'\n        Image|endswith: '\\schtasks.exe'\n        CommandLine|contains|all:\n            - '/Create'\n            - 'powershell.exe -NonI'\n            - '/TN Updater /TR'\n        CommandLine|contains:\n            - '/SC ONLOGON'\n            - '/SC DAILY /ST'\n            - '/SC ONIDLE'\n            - '/SC HOURLY'\n    condition: selection\nfalsepositives:\n    - Unlikely\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1053.005","id":"T1053.005","name":"Scheduled Task","page":"techniques/enterprise/T1053.005/"},{"key":"enterprise/T1059.001","id":"T1059.001","name":"PowerShell","page":"techniques/enterprise/T1059.001/"}],"data_path":"data/detection-rules/56c217c3-2de2-479b-990f-5c109ba8458f.json","kind":"sigma"}
