46 Commits

Author SHA1 Message Date
Z. Cliffe Schreuders
fceb2a5316 lab updates 2019-10-10 11:01:12 +01:00
Z. Cliffe Schreuders
15344764b8 updated ovirt bases 2019-09-30 10:30:54 +01:00
Z. Cliffe Schreuders
def6999405 lab updates 2019-09-23 16:19:46 +01:00
Z. Cliffe Schreuders
df05e51344 Windows 7 support in oVirt -- depends on changes to vagrant winssh, the ovirt-plugin, and the basebox having SSH, puppet, and rsync -- possibly breaks old baseboxes that don't have these installed, but SSH is required rather than WinRM due to proxy limitations 2019-09-20 10:47:51 +01:00
Z. Cliffe Schreuders
86672c94fd Windows 7 using WinSSH 2019-09-16 10:58:02 +01:00
Cliffe
fa087c6a0f Merge pull request #150 from emlynbutterfield/windowsbasebox
Windows vagrant basebox and windows accounts
2019-09-10 15:01:20 +01:00
Z. Cliffe Schreuders
eee1a3725a Windows XP SP3 on oVirt -- needs VirtualBox base added 2019-07-23 14:59:08 +01:00
Z. Cliffe Schreuders
f6c671e787 rename base module path 2019-07-09 16:18:18 +01:00
Emlyn Butterfield
e546271ad7 Merge branch 'master' of https://github.com/emlynbutterfield/SecGen 2019-07-09 10:50:20 +01:00
Emlyn Butterfield
ccae583695 Windows base box 2019-07-09 10:47:24 +01:00
Z. Cliffe Schreuders
c10a35691e Merge major changes from Semester 2 into master 2019-06-18 14:37:47 +01:00
Z. Cliffe Schreuders
1aa6d22e6d Merge branch 'master' of https://github.com/cliffe/SecGen 2019-04-23 00:19:57 +01:00
Z. Cliffe Schreuders
b092b5d09b wheezy desktop and server bases update #140 2019-04-23 00:19:31 +01:00
Cliffe
1cf570cdd9 Merge pull request #144 from dezull/windows-on-esxi
Fix windows image not built properly for ESXi
2019-04-22 13:21:11 +01:00
Z. Cliffe Schreuders
41d88c9038 wheezy server base update #140 2019-04-21 00:04:21 +01:00
Dzul Nizam
ba3b911e84 Fix windows image not built properly for ESXi 2019-04-18 08:54:48 +08:00
Z. Cliffe Schreuders
880c0b3892 KDE stretch fixed #140 2019-03-27 20:12:25 +00:00
Z. Cliffe Schreuders
8242f8bff4 updating VirtualBox bases #140 2019-03-26 00:13:09 +00:00
redwiz666@gmail.com
7591dc74fd Added ESXi Support 2019-03-15 20:50:58 -05:00
Z. Cliffe Schreuders
52c51484d1 lab updates 2019-03-15 16:44:40 +00:00
thomashaw
a0ced25201 reverting upgrade on wheezy bases for now 2019-02-07 13:02:00 +00:00
ts
0f8b41c3d0 delete bases/ubuntu_xenial_64 2019-02-06 17:45:11 +00:00
ts
341cd0bdf6 vulnerabilities/unix/local/dirtycow 2019-02-05 17:28:15 +00:00
ts
5bce99b86c Merge branch 'ctf_challenges_merge' into january_19_merge
# Conflicts:
#	lib/helpers/constants.rb
#	modules/utilities/unix/languages/java_wheezy_compatible/java/spec/spec_helper.rb~upstream_stretch_kde_update
2019-01-11 13:02:39 +00:00
Z. Cliffe Schreuders
a673d84d3c basebox update 2018-11-30 16:00:46 +00:00
Z. Cliffe Schreuders
1219dc4900 basebox oVirt update 2018-11-30 14:00:40 +00:00
ts
e839f5363a ubuntu 64bit base - elk doesn't support 32bit bases 2018-11-16 10:19:09 +00:00
ts
3810f84178 Testing script, stretch fixes + code review 2018-11-16 10:19:08 +00:00
thomashaw
ea89afcb14 working template name revert ... 2018-10-24 17:27:50 +01:00
thomashaw
4888ed7549 kali template (working!) 2018-10-24 11:21:56 +01:00
ts
bf0fedfeed Template update.. 2018-10-23 11:18:54 +01:00
ts
03cf17ed8c Template updates 2018-10-23 11:09:29 +01:00
ts
4c4fe0a75e VirtualBox Base updates to prevent locking issue. 2018-10-19 13:46:50 +01:00
ts
f0bb2a26e1 Testing script, stretch fixes + code review 2018-10-19 13:46:49 +01:00
ts
b6af3ebe3e Updating VirtualBox bases: kali_light + kali_light_msf 2018-09-28 16:12:47 +01:00
ts
7d832ea498 Updating VirtualBox bases: debian_stretch_desktop_kde 2018-09-28 16:12:22 +01:00
ts
5ce8e14bff Updating VirtualBox bases: debian_stretch 2018-09-27 17:59:08 +01:00
ts
5208ae5cc7 Squashed WNS + IRI DL work 2018-09-21 12:34:26 +01:00
thomashaw
7cfde8317a Rework WIP: Testing changes so far. Still need to rework network-ranges passthrough hack with something more flexible. 2017-10-05 14:24:56 +01:00
thomashaw
7abaabe9b6 move <ovirt_template> next to basebox url in metadata and schema 2017-10-05 11:49:59 +01:00
Z. Cliffe Schreuders
ce502abcdb Hackerbot, labs, and associated changes 2017-09-28 16:35:28 +01:00
thomashaw
cef610bf04 oVirt now uses VM memory allocation based on command line options. Added missing options to usage. Added default memory allocations for oVirt VMs based on base type. 2017-09-28 15:32:47 +01:00
thomashaw
f58fb0d2b4 WIP: ovirt templates -> bases 2017-09-21 15:44:23 +01:00
thomashaw
7a6334fb00 PR_90 changes: added cpu_word_size to differentiate between 32/64bit systems in bases, refactored vagrantfile.erb to include this, changed windows 'config.vm.network' settings to use the system name rather than config. 2017-06-30 22:46:54 +01:00
Jjk422
7960914a79 Adds the Windows 2008 r2 server 64 bit basebox, allows for no license.
Will download ISO from microsoft site, will then build basebox (storing in VAGRANT_BASEBOX_STORAGE) and will then build with vagrant.
If Basebox is not present SecGen will prompt whether to use packer (requires download from packer website in README.md and for the binary to be in the system path) to build the Basebox.

*** Changes ***
constants.rb
51-57: Added the 2 constants PUPPET_VERSION: version of puppet to install on the newly generated system, and VAGRANT_BASEBOX_STORAGE which stores generated baseboxes (currently set to SecGen_root/.generated).

project_files_creator.rb
48-80: Added logic to check for existing basebox and to generate new basebox if not present.

base_metadata_schema.xsd
11: Added windows to platform options type
45-50: Added extra packer helper tags, packerfile_path (path to packer file in the layout of base_module_name/Packerfile_name) and product_key (will use a trial version if product key is not present)

vulnerability_metadata_schema.xsd
32: Added windows value to platformOptions type to allow for windows system implementation.

Vagrantfile.erb
21: Changed --hwvirtex to default of on without gui output, problems can occur if this is not set to on.
23,28,31: Removed - tags before ending %>, this was causing an error with the vagrantfile as the options were not being placed on different lines.
48-56: Added the use of winrm instead of the default ssh for the base module if the base module is windows.

puppet_install/LICENSE
Added Mozilla Public License Version 2.0 (GPL v3 compatable) that came with the puppet_install/windows.ps1 script, the script to install puppet can be rewritten with a more simple implementation, however this script should do error checking to add an extra level of stability to the puppet install.

puppet_install/windows.ps1
Will install puppet on the Windows machine.

virtualbox_guest_install/windows.bat
Will install the virtualbox guest additions on the Windows machine.

Autounattend.xml.erb
Aurounattend script that allows for setting out the system layout including system information, disk configuration and product keys.

Packerfile.erb
Packerfile that builds the machine via packer, was going to be fully parameterised with all options being in the SecGen metadata (it still can be converted to this easily) however this lead to a large SecGen_metadata file with multiple tags which were only used if the basebox is not present, therefore only the product_key and packerfile_path keys were added to the SecGen_metadata file. Although the product_key data may be moved to a central product_key file later on.

secgen_metadata.xml
SecGen metadata file for the new windows basebox.
2017-03-19 17:52:17 +00:00
Z. Cliffe Schreuders
b5b19fe1c5 Major overhaul of code base! 2016-06-09 00:03:04 +01:00