Files
blue-team-tools/rules/windows/process_creation/proc_creation_win_persistence_bitsadmin.yml
T

42 lines
1.5 KiB
YAML
Raw Normal View History

2021-06-14 07:33:26 +02:00
title: Monitoring For Persistence Via BITS
id: b9cbbc17-d00d-4e3d-a827-b06d03d2380d
2023-01-27 06:48:34 +01:00
status: test
2022-10-28 15:06:36 +02:00
description: BITS will allow you to schedule a command to execute after a successful download to notify you that the job is finished. When the job runs on the system the command specified in the BITS job will be executed. This can be abused by actors to create a backdoor within the system and for persistence. It will be chained in a BITS job to schedule the download of malware/additional binaries and execute the program after being downloaded
2021-06-14 07:33:26 +02:00
references:
- https://www.fireeye.com/blog/threat-research/2020/10/kegtap-and-singlemalt-with-a-ransomware-chaser.html
- http://0xthem.blogspot.com/2014/03/t-emporal-persistence-with-and-schtasks.html
- https://isc.sans.edu/diary/Wipe+the+drive+Stealthy+Malware+Persistence+Mechanism+-+Part+1/15394
2022-10-28 15:06:36 +02:00
author: Sreeman
date: 2020/10/29
modified: 2022/03/07
tags:
- attack.defense_evasion
- attack.t1197
2021-06-14 07:33:26 +02:00
logsource:
product: windows
category: process_creation
detection:
selection_1:
2022-03-07 19:08:30 +01:00
CommandLine|contains|all:
- 'bitsadmin'
- '/SetNotifyCmdLine'
2022-10-28 15:06:36 +02:00
CommandLine|contains:
2022-03-07 19:08:30 +01:00
- '%COMSPEC%'
- 'cmd.exe'
- 'regsvr32.exe'
2021-06-14 07:33:26 +02:00
selection_2:
2022-03-07 19:08:30 +01:00
CommandLine|contains|all:
- 'bitsadmin'
- '/Addfile'
2022-10-28 15:06:36 +02:00
CommandLine|contains:
2022-03-07 19:08:30 +01:00
- 'http:'
- 'https:'
- 'ftp:'
- 'ftps:'
condition: 1 of selection_*
2021-06-14 07:33:26 +02:00
fields:
- CommandLine
2022-10-28 15:06:36 +02:00
falsepositives:
- Unknown
2022-03-07 19:08:30 +01:00
level: medium