-
Notifications
You must be signed in to change notification settings - Fork 76
/
inventory.yml
131 lines (126 loc) · 3.71 KB
/
inventory.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
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
# based on https://github.com/jborean93/ansible-windows/blob/master/vagrant/inventory.yml
all:
hosts:
dc01:
ip: 10.0.1.10
vagrant_box: StefanScherer/windows_2019
box_version: 2021.05.15
box_type: windows
linked_clone: true
cpus: 2
memory: 4096
win2019-adcs:
ip: 10.0.1.14
vagrant_box: StefanScherer/windows_2019
box_version: 2021.05.15
box_type: windows
linked_clone: true
win10-dev:
ip: 10.0.1.25
vagrant_box: StefanScherer/windows_10
box_version: 2021.08.17
box_type: windows
linked_clone: true
kali:
ip: 10.0.1.88
vagrant_box: kalilinux/rolling
box_type: linux
linked_clone: true # even though there's one, it speeds up testing; this will be removed later
cpus: 2
memory: 4096
win2022-1:
ip: 10.0.1.17
vagrant_box: StefanScherer/windows_2022
box_version: 2021.08.23
box_type: windows
linked_clone: true # even though there's one, it speeds up testing; this will be removed later
win2019-1:
ip: 10.0.1.15
vagrant_box: StefanScherer/windows_2019
box_version: 2021.05.15
box_type: windows
linked_clone: true
win10-1:
ip: 10.0.1.20
vagrant_box: StefanScherer/windows_10
box_version: 2021.12.09
box_type: windows
linked_clone: true
win10-2:
ip: 10.0.1.21
vagrant_box: StefanScherer/windows_10
box_version: 2021.08.17
box_type: windows
linked_clone: true
win11-1:
ip: 10.0.1.22
vagrant_box: StefanScherer/windows_11
box_version: 2021.12.09
box_type: windows
linked_clone: true # just in case we want to add another win11 host for testing
win7-1:
ip: 10.0.1.23
vagrant_box: d1vious/windows_7
box_version: 1.0
box_type: windows
linked_clone: true # even though there's one, it speeds up testing; this will be removed later
metasploitable3-win2k8:
ip: 10.0.1.30
vagrant_box: rapid7/metasploitable3-win2k8
box_version: 0.1.0-weekly
box_type: windows
metasploitable3-ub1404:
ip: 10.0.1.31
vagrant_box: rapid7/metasploitable3-ub1404
box_version: 0.1.12-weekly
box_type: linux
ubuntu1604:
ip: 10.0.1.32
vagrant_box: ubuntu/xenial64
box_version: 20211001.0.0
box_type: linux
ubuntu1804:
ip: 10.0.1.33
vagrant_box: ubuntu/bionic64
box_version: 20221102.0.0
box_type: linux
ubuntu2004:
ip: 10.0.1.34
vagrant_box: ubuntu/focal64
box_version: 20221103.0.0
box_type: linux
vars:
root_domain: attacklab.local
domain_name: attacklab
win_domain_admin: Administrator
win_domain_admin_pass: P@ssw0rd
win_timezone: Eastern Standard Time
adcs_host: win2019-adcs
adcs_common_name: attacklab-win2019-adcs-CA
# ansible winrm config
ansible_winrm_server_cert_validation: ignore
ansible_winrm_scheme: http
# these are default values for hosts, you can override them in the host-specific config above
default_host:
cpus: 1
memory: 2048
# each protocol and host have their own port forward
# the starting IP range (in thousands) is the 'host' variable
# we add the host portion of the IP address to this e.g. dc01: rdp port is 20010, winrm is 22010, etc
# we are theoretically maxed at a single network since a .10 on one network would clash with a .10 on another
vagrant_ports:
rdp:
guest: 3389
host: 30000
ssh:
guest: 22
host: 31000
winrm_http:
guest: 5985
host: 32000
winrm_https:
guest: 5986
host: 33000
smb:
guest: 445
host: 34000