Skip to content

Commit 34ee746

Browse files
committed
add sane defaults for capture-application in pcap-metadata
1 parent f708dc9 commit 34ee746

1 file changed

Lines changed: 133 additions & 1 deletion

File tree

objects/pcap-metadata/definition.json

Lines changed: 133 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
{
22
"attributes": {
3+
"capture-application": {
4+
"description": "Name of the application used to perform the packet capture.",
5+
"disable_correlation": true,
6+
"misp-attribute": "text",
7+
"sane_default": [
8+
"tcpdump",
9+
"dumpcap",
10+
"Wireshark",
11+
"tshark",
12+
"WinDump",
13+
"Npcap",
14+
"netsniff-ng",
15+
"ngrep",
16+
"snort",
17+
"suricata",
18+
"Zeek",
19+
"Arkime",
20+
"NetworkMiner",
21+
"Kismet",
22+
"CloudShark",
23+
"termshark"
24+
],
25+
"ui-priority": 1
26+
},
27+
"capture-filter": {
28+
"description": "Capture filter used when recording packets.",
29+
"disable_correlation": true,
30+
"misp-attribute": "text",
31+
"ui-priority": 1
32+
},
33+
"capture-hardware": {
34+
"description": "Hardware details of the capture device.",
35+
"disable_correlation": true,
36+
"misp-attribute": "text",
37+
"ui-priority": 1
38+
},
339
"capture-interface": {
440
"description": "Interface name where the packet capture was running.",
541
"disable_correlation": true,
@@ -12,6 +48,84 @@
1248
"misp-attribute": "text",
1349
"ui-priority": 1
1450
},
51+
"capture-operating-system": {
52+
"description": "Operating system used by the capture device.",
53+
"disable_correlation": true,
54+
"misp-attribute": "text",
55+
"ui-priority": 1
56+
},
57+
"captured-packets": {
58+
"description": "Number of packets captured in the packet capture file.",
59+
"disable_correlation": true,
60+
"misp-attribute": "counter",
61+
"ui-priority": 1
62+
},
63+
"displayed-packets": {
64+
"description": "Number of displayed packets.",
65+
"disable_correlation": true,
66+
"misp-attribute": "counter",
67+
"ui-priority": 1
68+
},
69+
"dropped-packets": {
70+
"description": "Number of dropped packets during capture.",
71+
"disable_correlation": true,
72+
"misp-attribute": "counter",
73+
"ui-priority": 1
74+
},
75+
"elapsed-time": {
76+
"description": "Elapsed time between first and last packet seen.",
77+
"disable_correlation": true,
78+
"misp-attribute": "text",
79+
"ui-priority": 1
80+
},
81+
"encapsulation": {
82+
"description": "Packet encapsulation format used in the capture.",
83+
"disable_correlation": true,
84+
"misp-attribute": "text",
85+
"ui-priority": 1
86+
},
87+
"file-format": {
88+
"description": "Capture file format.",
89+
"disable_correlation": true,
90+
"misp-attribute": "text",
91+
"ui-priority": 1
92+
},
93+
"file-hash-md5": {
94+
"description": "MD5 hash of the packet capture file.",
95+
"disable_correlation": true,
96+
"misp-attribute": "md5",
97+
"ui-priority": 1
98+
},
99+
"file-hash-ripemd160": {
100+
"description": "RIPEMD160 hash of the packet capture file.",
101+
"disable_correlation": true,
102+
"misp-attribute": "text",
103+
"ui-priority": 1
104+
},
105+
"file-hash-sha1": {
106+
"description": "SHA1 hash of the packet capture file.",
107+
"disable_correlation": true,
108+
"misp-attribute": "sha1",
109+
"ui-priority": 1
110+
},
111+
"file-hash-sha256": {
112+
"description": "SHA256 hash of the packet capture file.",
113+
"disable_correlation": true,
114+
"misp-attribute": "sha256",
115+
"ui-priority": 1
116+
},
117+
"file-name": {
118+
"description": "Name of the packet capture file.",
119+
"disable_correlation": true,
120+
"misp-attribute": "filename",
121+
"ui-priority": 1
122+
},
123+
"file-size-in-bytes": {
124+
"description": "Size of the packet capture file in bytes.",
125+
"disable_correlation": true,
126+
"misp-attribute": "size-in-bytes",
127+
"ui-priority": 1
128+
},
15129
"first-packet-seen": {
16130
"description": "When the first packet has been seen.",
17131
"disable_correlation": true,
@@ -24,6 +138,18 @@
24138
"misp-attribute": "datetime",
25139
"ui-priority": 0
26140
},
141+
"marked-packets": {
142+
"description": "Number of marked packets.",
143+
"disable_correlation": true,
144+
"misp-attribute": "counter",
145+
"ui-priority": 1
146+
},
147+
"packet-size-limit": {
148+
"description": "Packet size limit (snapshot length) in bytes.",
149+
"disable_correlation": true,
150+
"misp-attribute": "size-in-bytes",
151+
"ui-priority": 1
152+
},
27153
"protocol": {
28154
"description": "Capture protocol (linktype name).",
29155
"disable_correlation": true,
@@ -238,6 +364,12 @@
238364
"disable_correlation": true,
239365
"misp-attribute": "text",
240366
"ui-priority": 1
367+
},
368+
"time-span-seconds": {
369+
"description": "Time span of the packet capture in seconds.",
370+
"disable_correlation": true,
371+
"misp-attribute": "float",
372+
"ui-priority": 1
241373
}
242374
},
243375
"description": "Network packet capture metadata",
@@ -249,5 +381,5 @@
249381
"last-packet-seen"
250382
],
251383
"uuid": "0784aefa-ec3a-4eca-a431-c31ed7058bd3",
252-
"version": 2
384+
"version": 3
253385
}

0 commit comments

Comments
 (0)