forked from FCG-LLC/aucote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaucote_cfg_default.yaml
369 lines (362 loc) · 14.8 KB
/
aucote_cfg_default.yaml
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
# This section provides configurations related to aucote as a service
# service:
# scans:
# parallel_tasks: <int> - Number of parallel task to be running
# physical: (True|False) - Enable scanning of aucote's host physical interfaces (e.g. eth0) if True (default)
# task_politic: <int> 0-2 - Defines aucote's behaviour during changing throttling rate
# - 0 - Close idle workers when throttling changed
# - 1 - Kill working workers first
# - 2 - Kill working workers and close idle workers proportionally to the rate change. e.g. changing
# rate from 0.4 to 0.2 results with killing half of working and idle workers
# - 3 - Firstly close idle workers. If it's not enough, kill working workers
#
# api:
# v1:
# host: <ip> - IP on which web server should listen
# port: (int) - port on which web server should listen
# password: <hexstr> - SHA512 hash of password in hexadecimal format
# Require for admin operations, e.g. killing aucote process.
# Please do not use default password!
# path: <str> - path to the aucote api if aucote is behind proxy
service:
scans:
parallel_tasks: 30
physical: False
task_politic: 0
api:
v1:
host: 0.0.0.0
port: 1235
path: ''
# password: ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff # password: test
# This section contains port detection configuration
# portdetection:
# security_scans: [] - list of `tool` scans. Every scan should be configured in this yaml. Example scans are
# `tools_basic` and `tools_advanced`
# expiration_period: <period> - How much time the found vulnerability is valid
#
# (tcp|udp|sctp|tools): - Type of scan
# scan_enabled: <bool> - Defines if scan is enable or not
# scan_type: <LIVE | PERIODIC> - Type of scan:
# - LIVE - scan host no more than live_scan.min_time_gap. New hosts will be scan when
# they appear in network, and next scan will be after at least
# live_scan.min_time_gap from previous scan
# - PERIODIC - scan all host at given periodic_scan.cron
# periodic_scan:
# cron: <cron-like format> - This options defines how often aucote should run scans. This time is in UTC!
# Examples:
# "*/5 * * * *" - run every 5 minutes
# "1 2 3 4 5" - run every 3rd march at 2:01, if it is friday(5)
# More information: http://www.nncron.ru/help/EN/working/cron-format.htm
# https://en.wikipedia.org/wiki/Cron#CRON_expression
# live_scan:
# min_time_gap: <period> - minimum number of seconds between particular host scan. eg. 2d3g4m5s or 5m where:
# - d - days
# - h - hours
# - m - minutes
# - s - seconds
# networks: - list of networks in CIDR format (eg. 127.0.0.1/32), which should be or shouldn't be scanned
# include:
# - <network in CIDR format>
# - ...
# exclude:
# - <network in CIDR format>
# - ...
# scan_rate: <int> - Rate in packets per seconds for networks scan
# tools.scan_rate is used also during tcp and udp scan for obtaining banners, service detection
#
# scan_devices: - Device types for scanning
# snmp: <bool> - scan devices which supports SNMP (Those devices are scanned first)
# host: <bool> - scan devices which doesn't support SNMP
#
# status: - Read only. This branch is used to communicate witch frontend
# code: ('IDLE'|'IN PROGRESS') - Is scan idle or in progress
# previous_scan_start: <int> - When previous scan started
# next_scan_start: <int> - When next scan is going to be started
# scan_start: <int> - When current scan started
# previous_scan_duration: <int> - Duration of previous scan
#
# run_after: [<str>, ...] - list of scans, which should be fired after ending particular scan.
# Should be taken from `security_scans`
#
# (tcp|udp|sctp): Options related only to tcp, udp and sctp scans
# ports: - Defines list of ports which should be or shouldn't be scanned
# tcp|udp|sctp:
# include|exclude: - Port range in NMAP ports format eg. T:0-65535 or list of ports this same format
# - <NMAP ports format>
# - ...
#
# tcp: - Additional options which are related only to TCP scan
# host_timeout: <int> - Number of seconds after which scanning particular host should be give up
#
# udp: - Additional options which are related only to UDP scan
# max_retries: <int> - How many UDP scan retries is allowed by port detection
# defeat_icmp_ratelimit: <bool> - If True, Nmap won't be waiting on ICMP Port Unreachable
#
# tools: - Additional options for tools scan
# scan_nodes: <bool> - Define if exploits for node should be executed
#
# _internal: - more advanced configuration
# port_period: <period> - Minimal port scanning interval
# broadcast: <bool> - Enable broadcast scanning if True (default is False)
# categories: - List of allowed script categories
# The available categories are:
# - auth - scripts related to authentication
# - brute - scripts perform bruteforcing
# - dos - scripts may cause denial of service
# - exploit - scripts may actively exploit vulnerabilities
# - external - scripts in this category may send data out of network
# - fuzzer - scripts which could sent unexpected data to target
# - intrusive - scripts which could use intrusive methods and may change the target state
# - malware - scripts checking target for malware infection
# - safe - scripts safe to use
# - version - scripts related to service detection
# - vuln - scripts which performs particular vulnerabilities check
# - other - scripts which aren't in any categories
portdetection:
security_scans: ['tools_basic', 'tools_advanced']
tcp:
scan_enabled: True
scan_type: "LIVE"
periodic_scan:
cron: "0 */4 * * *" # run every 4 hours
live_scan:
min_time_gap: 2h
networks:
include: []
exclude: []
ports:
include:
- 0-65535 # TCP: full range
exclude: [9100]
scan_rate: 500
host_timeout: 1h
status:
code: 'IDLE'
previous_scan_start: 0
next_scan_start: 0
scan_start: 0
previous_scan_duration: 0
scripts: []
run_after: []
scan_devices:
snmp: true
host: true
udp:
scan_enabled: True
scan_type: "LIVE"
periodic_scan:
cron: "0 0 * * *" # run every day at midnight
live_scan:
min_time_gap: 20h
networks:
include: []
exclude: []
ports:
include:
- 0-65535 # TCP: full range
exclude: []
scan_rate: 50
defeat_icmp_ratelimit: False
max_retries: 5
status:
code: 'IDLE'
previous_scan_start: 0
next_scan_start: 0
scan_start: 0
previous_scan_duration: 0
scripts: []
run_after: []
scan_devices:
snmp: true
host: true
tools_basic:
scan_enabled: True
scan_type: "PERIODIC"
periodic_scan:
cron: "0 22 * * 1-5" # run every monday-friday at 22:00 UTC
live_scan:
min_time_gap: 24h
networks:
include: [0.0.0.0/0] # all hosts found by other scans
exclude: []
scan_rate: 50
scan_nodes: True
name: 'Basic scan'
status:
code: 'IDLE'
previous_scan_start: 0
next_scan_start: 0
scan_start: 0
previous_scan_duration: 0
scripts: [3, 4, 5, 7, 11, 12, 13, 14, 17, 18, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 32, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 57, 58, 59, 61, 62, 63, 66, 67, 68, 69, 70, 72, 73, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 103, 104, 105, 106, 107, 108, 111, 112, 113, 115, 116, 117, 118, 120, 121, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 136, 137, 138, 139, 140, 142, 143, 144, 145, 147, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 162, 163, 164, 165, 166, 168, 169, 170, 171, 172, 173, 174, 175, 179]
run_after: []
scan_devices:
snmp: true
host: true
tools_advanced:
scan_enabled: False
scan_type: "PERIODIC"
periodic_scan:
cron: "0 22 * * 6" # run every saturday at 22:00 UTC
live_scan:
min_time_gap: 24h
networks:
include: [0.0.0.0/0] # all hosts found by other scans
exclude: []
scan_rate: 50
scan_nodes: True
name: 'Advanced scan'
status:
code: 'IDLE'
previous_scan_start: 0
next_scan_start: 0
scan_start: 0
previous_scan_duration: 0
scripts: [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, 179]
run_after: []
scan_devices:
snmp: true
host: true
sctp:
scan_enabled: False
scan_type: "LIVE"
periodic_scan:
cron: "0 */2 * * *" # run every 2 hours
live_scan:
min_time_gap: 2h
networks:
include: []
exclude: []
ports:
include:
- 0-65535 # TCP: full range
exclude: []
exclude: []
scan_rate: 500
status:
code: 'IDLE'
previous_scan_start: 0
next_scan_start: 0
scan_start: 0
previous_scan_duration: 0
scripts: []
run_after: []
scan_devices:
snmp: true
host: true
_internal:
port_period: 0s
broadcast: False
expiration_period: 7d
# In this section there is configuration related to the tools used by the aucote
#
# This subsection shows common applications options
#
# List of tools:
# - nmap - security scanner
# - masscan - port scanner based on nmap
# - skipfish - active web application scanner
# - hydra - parallelized login cracker
# - aucote-http-headers - HTTP security headers scanner
# - testssl - SSL checks based on testssl.sh
#
# tools:
# (nmap|masscan|hydra|skipfish|aucote-http-headers|testssl|cve-search):
# enable: (True|False) - Enable tool
# cmd: <str> - Command used to run application
# timeout: <int> - defines maximum task execution time
# common: - Contains common configuration e.g. rates
# rate: <int> - rate in pps for tools scan
# active-directory: - Configuration related to active directory scans
# dns_servers: [<str>] - list of dns servers ips
# domains: [<str>] - list of domain names
# username: <str> - active directory username
# password: <str> - active directory password
# http: - HTTP scans related configuration
# useragent: <str> - User-Agent string used by Aucote scripts.
#
# This subsection provides app-specific options
#
# tools:
# nmap: - This subsection contains nmap configuration
# domains: - List of domains used by some scripts e.g. DNS
# - <str>
# - <str>
#
# masscan: - This subsection contains masscan configuration
# args: additional arguments for masscan e.g. outgoing interface
# - <str>
# - <str>
#
# hydra: - This subsection contains thc-hydra configuration
# loginfile: static/logins.hydra.txt
# passwordfile: static/passwords.hydra.txt
# enable: (True|False) - It is possible to disable this tool
# disable_services: - List of disabled services, e.g. vnc
# - <str>
# - <str>
#
# skipfish:
# limit: 0:10:00 - Time limit of skipfish scan
# threads: 5 - Amount of thread used by skipfish
# tmp_directory: /tmp - Path to the temporary directory for reports processing
#
# cve-search:
# api: <str> - Address for CVE-search api, eg. http://localhost:5000/api
#
tools:
nmap:
cmd: nmap
timeout: 7200 # 2 hours
enable: True
scripts_dir: ./static/nmap/
disable_scripts: []
masscan:
cmd: masscan
timeout: 7200 # 2 hours
args: []
hydra:
cmd: hydra
timeout: 7200 # 2 hours
loginfile: static/logins.hydra.txt
passwordfile: static/passwords.hydra.txt
enable: False
disable_services:
- vnc
- http
- https
skipfish:
cmd: skipfish
timeout: 7200 # 2 hours
enable: False
limit: 0:10:00
threads: 5
tmp_directory: /tmp
aucote-http-headers:
enable: True
testssl:
cmd: testssl
timeout: 7200 # 2 hours
enable: True
whatweb:
cmd: whatweb
timeout: 7200 # 2 hours
enable: True
cve-search:
enable: True
api: ''
aucote-active-directory:
enable: True
ciscoapis:
enable: True
api: ''
common:
rate: 50
active-directory:
dns_servers: []
domains: []
username: ''
password: ''
http:
useragent: "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0"