-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbits.json
More file actions
545 lines (545 loc) · 18.3 KB
/
bits.json
File metadata and controls
545 lines (545 loc) · 18.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
{
"dataset": {
"name": "EID Quick Reference - BITS Client",
"version": "1.7.0",
"generatedAt": "2026-05-10T00:00:00Z",
"id": "https://raw.githubusercontent.com/zerber0s/windows-eid-data/main/bits.json",
"schema": "https://raw.githubusercontent.com/zerber0s/windows-eid-data/main/schema.json",
"license": {
"name": "Creative Commons Attribution 4.0 International",
"spdx": "CC-BY-4.0",
"notice": "Event descriptions are paraphrased summaries written for this dataset. Source links point to authoritative references."
},
"sources": [
{
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/",
"type": "primary"
}
]
},
"entries": [
{
"id": 3,
"log": "BITS",
"provider": "Microsoft-Windows-Bits-Client",
"channel": "Microsoft-Windows-Bits-Client/Operational",
"level": "Information",
"title": "BITS job created",
"summary": "A new BITS transfer job was created.",
"details": "Generated when a new Background Intelligent Transfer Service (BITS) job is created. Legitimate BITS consumers include svchost.exe, Windows Update components, and known software updaters. Creation by unusual processes such as cmd.exe, powershell.exe, wscript.exe, or from user-writable paths is a strong indicator of LOLBAS abuse -- bitsadmin.exe is a LOLBin (binary), while PowerShell's Start-BitsTransfer and wscript.exe represent the Scripts category of LOLBAS.",
"category": "BITS Transfer",
"tags": [
"bits",
"lolbas",
"file-transfer",
"persistence"
],
"relatedEventIds": [
{
"id": 59,
"log": "BITS"
},
{
"id": 60,
"log": "BITS"
},
{
"id": 1,
"log": "Sysmon"
},
{
"id": 3,
"log": "Sysmon"
}
],
"mitreAttack": [
{
"techniqueId": "T1197",
"techniqueName": "BITS Jobs",
"tactics": [
{
"tacticId": "TA0005",
"tacticName": "Stealth"
},
{
"tacticId": "TA0003",
"tacticName": "Persistence"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"Correlate jobId with EID 59 to identify the download URL and EID 60 to track transfer completion",
"Flag ProcessPath values outside of known system or software update processes"
],
"commonFalsePositives": [
"Windows Update and Microsoft software updaters",
"Third-party software using BITS for legitimate background downloads"
]
},
"keyFields": [
{
"name": "jobTitle",
"xpath": "EventData/Data[@Name='jobTitle']",
"description": "Name assigned to the BITS job"
},
{
"name": "jobId",
"xpath": "EventData/Data[@Name='jobId']",
"description": "Unique identifier for the BITS job; use to correlate across EID 59 and 60"
},
{
"name": "jobOwner",
"xpath": "EventData/Data[@Name='jobOwner']",
"description": "Account that created the job"
},
{
"name": "ProcessPath",
"xpath": "EventData/Data[@Name='ProcessPath']",
"description": "Executable that called the BITS API"
}
],
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/win32/bits/bits-start-page"
},
"volumeIndicator": "medium",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
},
{
"id": 4,
"log": "BITS",
"provider": "Microsoft-Windows-Bits-Client",
"channel": "Microsoft-Windows-Bits-Client/Operational",
"level": "Information",
"title": "BITS job modified",
"summary": "An existing BITS transfer job was modified.",
"details": "Generated when an existing BITS job is modified, such as when a file is added to or removed from the job, the priority changes, or the transfer URL is updated. Adversaries using BITS for persistence or staged downloads often modify existing jobs to update C2 URLs, change destination paths, or re-add files after completion.",
"category": "BITS Job Lifecycle",
"tags": [
"bits",
"lolbas",
"job-modification",
"persistence",
"c2"
],
"relatedEventIds": [
{
"id": 3,
"log": "BITS"
},
{
"id": 59,
"log": "BITS"
},
{
"id": 60,
"log": "BITS"
}
],
"mitreAttack": [
{
"techniqueId": "T1197",
"techniqueName": "BITS Jobs",
"tactics": [
{
"tacticId": "TA0003",
"tacticName": "Persistence"
},
{
"tacticId": "TA0005",
"tacticName": "Stealth"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"A sequence of EID 3 followed by multiple EID 4 modifications for the same jobId, especially URL changes to external addresses, indicates staged abuse",
"Repeated URL modifications to a single jobId suggest a rotating C2 infrastructure",
"Check if the modified destination path points to a startup folder, scheduled task directory, or script location"
],
"commonFalsePositives": [
"Windows Update modifying its own transfer jobs as updates are staged",
"Legitimate software installers adding files to an existing BITS job during download"
]
},
"keyFields": [
{
"name": "jobId",
"xpath": "EventData/Data[@Name='jobId']",
"description": "Unique identifier for the BITS job being modified"
},
{
"name": "jobName",
"xpath": "EventData/Data[@Name='jobName']",
"description": "Name of the BITS job"
},
{
"name": "jobOwner",
"xpath": "EventData/Data[@Name='jobOwner']",
"description": "Account that owns the job"
}
],
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/win32/bits/bits-start-page"
},
"volumeIndicator": "medium",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
},
{
"id": 16,
"log": "BITS",
"provider": "Microsoft-Windows-Bits-Client",
"channel": "Microsoft-Windows-Bits-Client/Operational",
"level": "Information",
"title": "BITS service stopped",
"summary": "The Background Intelligent Transfer Service stopped.",
"details": "Generated when the BITS service (Background Intelligent Transfer Service) stops. The BITS service stopping unexpectedly or being explicitly stopped is a potential defense evasion or anti-forensic indicator. Some malware stops BITS after using it for staging to remove the transfer evidence, or stops it to prevent legitimate Windows Update transfers while maintaining persistence.",
"category": "BITS Service Lifecycle",
"tags": [
"bits",
"lolbas",
"service-stop",
"defense-evasion"
],
"relatedEventIds": [
{
"id": 3,
"log": "BITS"
},
{
"id": 60,
"log": "BITS"
}
],
"mitreAttack": [
{
"techniqueId": "T1489",
"techniqueName": "Service Stop",
"tactics": [
{
"tacticId": "TA0040",
"tacticName": "Impact"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"Correlate with EID 3/60 from earlier in the same session to determine if BITS was used before stopping",
"Check if the stop was triggered by an sc.exe, net.exe, or PowerShell Stop-Service command — use process creation logs",
"Repeated BITS start/stop cycles correlated with file staging events suggest automated malware cleanup"
],
"commonFalsePositives": [
"Normal Windows service lifecycle — BITS stops when idle and restarts when needed",
"Scheduled system maintenance or Windows Update completion stopping BITS"
]
},
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/win32/bits/bits-start-page"
},
"volumeIndicator": "medium",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-04-07"
},
{
"id": 59,
"log": "BITS",
"provider": "Microsoft-Windows-Bits-Client",
"channel": "Microsoft-Windows-Bits-Client/Operational",
"level": "Information",
"title": "BITS job transfer started",
"summary": "A BITS job began transferring data; URL recorded.",
"details": "Generated when a BITS job begins actively transferring data. The url field is the highest-value forensic artifact in the BITS log, revealing the C2 server, staging server, or exfiltration endpoint. Attackers commonly use bitsadmin.exe or PowerShell's Start-BitsTransfer to download payloads from attacker-controlled infrastructure.",
"category": "BITS Transfer",
"tags": [
"bits",
"lolbas",
"file-transfer",
"c2"
],
"relatedEventIds": [
{
"id": 3,
"log": "BITS"
},
{
"id": 60,
"log": "BITS"
},
{
"id": 3,
"log": "Sysmon"
}
],
"mitreAttack": [
{
"techniqueId": "T1197",
"techniqueName": "BITS Jobs",
"tactics": [
{
"tacticId": "TA0005",
"tacticName": "Stealth"
},
{
"tacticId": "TA0003",
"tacticName": "Persistence"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"The url field reveals the download source or upload destination — check against threat intel",
"Correlate jobId with EID 3 (ProcessPath) to identify what initiated the transfer",
"External URLs (non-Microsoft, non-CDN) from unexpected processes are high-fidelity malicious indicators"
],
"commonFalsePositives": [
"Windows Update downloading patches",
"Legitimate software downloading updates via BITS"
]
},
"keyFields": [
{
"name": "jobTitle",
"xpath": "EventData/Data[@Name='jobTitle']",
"description": "Name of the BITS job"
},
{
"name": "jobId",
"xpath": "EventData/Data[@Name='jobId']",
"description": "Unique identifier for the BITS job"
},
{
"name": "jobOwner",
"xpath": "EventData/Data[@Name='jobOwner']",
"description": "Account that owns the job"
},
{
"name": "url",
"xpath": "EventData/Data[@Name='url']",
"description": "Remote URL being downloaded from or uploaded to"
},
{
"name": "bytesTotal",
"xpath": "EventData/Data[@Name='bytesTotal']",
"description": "Total bytes to be transferred"
},
{
"name": "fileCount",
"xpath": "EventData/Data[@Name='fileCount']",
"description": "Number of files in the transfer job"
}
],
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/win32/bits/bits-start-page"
},
"volumeIndicator": "medium",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
},
{
"id": 60,
"log": "BITS",
"provider": "Microsoft-Windows-Bits-Client",
"channel": "Microsoft-Windows-Bits-Client/Operational",
"level": "Information",
"title": "BITS job transfer stopped",
"summary": "A BITS job finished transferring data (completed or halted).",
"details": "Generated when a BITS job stops transferring, either because it completed successfully or was interrupted. A transfer that stopped significantly short of bytesTotal (from EID 59) may indicate detection and intervention, network interruption, or a partial exfiltration.",
"category": "BITS Transfer",
"tags": [
"bits",
"lolbas",
"file-transfer"
],
"relatedEventIds": [
{
"id": 3,
"log": "BITS"
},
{
"id": 59,
"log": "BITS"
},
{
"id": 3,
"log": "Sysmon"
}
],
"mitreAttack": [
{
"techniqueId": "T1197",
"techniqueName": "BITS Jobs",
"tactics": [
{
"tacticId": "TA0005",
"tacticName": "Stealth"
},
{
"tacticId": "TA0003",
"tacticName": "Persistence"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"Compare bytesTransferred against bytesTotal from EID 59 to assess whether the transfer completed",
"Correlate jobId with EID 3 and EID 59 to build the full transfer picture",
"A completed transfer to an external URL identified in EID 59 confirms successful data staging or C2 download"
],
"commonFalsePositives": [
"Any legitimate BITS transfer completing normally"
]
},
"keyFields": [
{
"name": "jobTitle",
"xpath": "EventData/Data[@Name='jobTitle']",
"description": "Name of the BITS job"
},
{
"name": "jobId",
"xpath": "EventData/Data[@Name='jobId']",
"description": "Unique identifier for the BITS job"
},
{
"name": "jobOwner",
"xpath": "EventData/Data[@Name='jobOwner']",
"description": "Account that owns the job"
},
{
"name": "bytesTransferred",
"xpath": "EventData/Data[@Name='bytesTransferred']",
"description": "Number of bytes actually transferred; compare with bytesTotal from EID 59"
},
{
"name": "url",
"xpath": "EventData/Data[@Name='url']",
"description": "Remote URL involved in the transfer"
}
],
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/win32/bits/bits-start-page"
},
"volumeIndicator": "medium",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
},
{
"id": 61,
"log": "BITS",
"provider": "Microsoft-Windows-Bits-Client",
"channel": "Microsoft-Windows-Bits-Client/Operational",
"level": "Warning",
"title": "BITS job error",
"summary": "A BITS transfer job encountered an error.",
"details": "Generated when a BITS job fails or is cancelled due to an error. This event is forensically valuable even when the transfer ultimately fails because it records the remote URL and local destination that were attempted, revealing C2 infrastructure or staging paths. Repeated BITS errors against the same external host from multiple endpoints is a lateral movement or beaconing indicator. HTTP 403/404/401 error codes indicate the attacker's infrastructure was reachable but the specific resource was unavailable or access-controlled.",
"category": "BITS Job Lifecycle",
"tags": [
"bits",
"lolbas",
"job-error",
"c2",
"exfiltration"
],
"relatedEventIds": [
{
"id": 3,
"log": "BITS"
},
{
"id": 59,
"log": "BITS"
},
{
"id": 60,
"log": "BITS"
}
],
"mitreAttack": [
{
"techniqueId": "T1197",
"techniqueName": "BITS Jobs",
"tactics": [
{
"tacticId": "TA0003",
"tacticName": "Persistence"
},
{
"tacticId": "TA0005",
"tacticName": "Stealth"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"The URL in the error event is the primary pivot — extract the domain/IP and check against threat intelligence",
"Destination path reveals where the payload would have landed — check if it is a persistence location",
"Multiple hosts failing to reach the same external URL in the same time window suggests a coordinated staged download campaign"
],
"commonFalsePositives": [
"Windows Update transfer failures during connectivity interruptions",
"Legitimate software updaters using BITS that encounter server-side errors"
]
},
"keyFields": [
{
"name": "jobId",
"xpath": "EventData/Data[@Name='jobId']",
"description": "Unique identifier for the BITS job that failed"
},
{
"name": "jobName",
"xpath": "EventData/Data[@Name='jobName']",
"description": "Name of the BITS job"
},
{
"name": "jobOwner",
"xpath": "EventData/Data[@Name='jobOwner']",
"description": "Account that owns the job"
},
{
"name": "url",
"xpath": "EventData/Data[@Name='url']",
"description": "Remote URL that the transfer attempted to reach"
},
{
"name": "errorCode",
"xpath": "EventData/Data[@Name='errorCode']",
"description": "HRESULT or HTTP status code indicating the failure reason"
}
],
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/win32/bits/bits-start-page"
},
"volumeIndicator": "low",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
}
]
}