-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdns_mx.yml
70 lines (69 loc) · 1.96 KB
/
dns_mx.yml
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
name: DNS MX Request
description: Check that at least one of the MX servers are present in DNS response
to type MX request is present in the flow.
requirements:
protocols: [dns]
marks: [dns]
pcap: dns_mx.pcap
probe:
protocols: [dns]
at_least_one: [dns_id, dns_flags, dns_req_query_type, dns_req_query_class, dns_req_query_name,
dns_resp_rcode, dns_resp_rr.name, dns_resp_rr.type, dns_resp_rr.class, dns_resp_rr.ttl,
dns_resp_rr.data, dns_resp_rr.flowmon_data]
flows:
- src_ip: 192.168.170.8
dst_ip: 192.168.170.20
ip_version: 4
protocol: 17
bytes: 56
bytes@rev: 284
packets: 1
packets@rev: 1
src_port: 32795
dst_port: 53
dns_id: 63343
_forward:
dns_flags: 0x0100
dns_req_query_type: 15
dns_req_query_class: 1
dns_req_query_name: google.com
_reverse:
dns_flags: 0x8180
dns_resp_rcode: 0
dns_resp_rr:
- name: google.com
type: 15
class: 1
ttl: 552
data: 40 smtp4.google.com
flowmon_data: '0x0028736D7470342E676F6F676C652E636F6D'
- name: google.com
type: 15
class: 1
ttl: 552
data: 10 smtp5.google.com
flowmon_data: '0x000A736D7470352E676F6F676C652E636F6D'
- name: google.com
type: 15
class: 1
ttl: 552
data: 10 smtp6.google.com
flowmon_data: '0x000A736D7470652E676F6F676C652E636F6D'
- name: google.com
type: 15
class: 1
ttl: 552
data: 10 smtp1.google.com
flowmon_data: '0x000A736D7470312E676F6F676C652E636F6D'
- name: google.com
type: 15
class: 1
ttl: 552
data: 10 smtp2.google.com
flowmon_data: '0x000A736D7470322E676F6F676C652E636F6D'
- name: google.com
type: 15
class: 1
ttl: 552
data: 40 smtp3.google.com
flowmon_data: '0x0028736D7470332E676F6F676C652E636F6D'