Windows Scheduled Task Making Suspicious Network Connection
Detects scheduled tasks created to reach out to external domains and download arbitrary binaries on a set or recurring schedule. Inspired by the 2022 Red Canary Threat Detection report.
Sigma rule (View on GitHub)
1title: Windows Scheduled Task Making Suspicious Network Connection
2id: 4a224230-746d-436b-b569-59f2d6809d6b
3status: experimental
4description: Detects scheduled tasks created to reach out to external domains and
5 download arbitrary binaries on a set or recurring schedule. Inspired by the 2022
6 Red Canary Threat Detection report.
7references:
8 - https://redcanary.com/threat-detection-report/techniques/scheduled-task/
9author: Micah Babinski
10date: 2022/11/04
11tags:
12 - attack.persistence
13 - attack.execution
14 - attack.t1053
15 - attack.t1053.005
16logsource:
17 category: process_creation
18 product: windows
19detection:
20 selection:
21 Image|endswith: '\schtasks.exe'
22 CommandLine|contains|windash: '/create'
23 CommandLine|contains:
24 - 'https://'
25 - 'http://'
26 - 'ftp://'
27 condition: selection
28falsepositives:
29 - Creation of legitimate scheduled tasks which need to access external sites.
30level: medium```
References
Related rules
- Windows Scheduled Task Behaving Improperly or Suspiciously
- Windows Scheduled Task Create Shell
- Command Shell Unusual or Suspicious Process Ancestry
- Base64 Encoding in CMD or Powershell
- Chrome Spawned by Powershell with Load-Extension in Command Line