44 Commits

Author SHA1 Message Date
thomashaw
f8a97b2842 Parameterised Cleanup Module 2017-01-17 16:11:50 +00:00
thomashaw
1522fd3ac9 Enable static IP address network IP address resolution & a fix for the duplicate modules being output when using multiple systems in Vagrantfile bug 2017-01-17 14:49:24 +00:00
Z. Cliffe Schreuders
f8ba19ad75 datastores for storing and reusing calculated values 2017-01-07 21:21:17 +00:00
thomashaw
87e029fdd3 change [0] for .first 2016-12-22 20:23:44 +00:00
thomashaw
17f425b37f Multiple leaked files, new secgen_functions module encapsulating the file_leak and overshare.erb logic. Updated old modules to use the new resource type. 2016-12-08 10:43:48 +00:00
thomashaw
d197421c11 Vagrantfile removed encoders + generators as they don't need to be on the box 2016-12-06 16:52:53 +00:00
thomashaw
7d7d2e2677 Rework: Moved hello_world to messages. Changed write_fact to output_type. Updated PATH constants to DIR. Changed string generators to more specific message_generator in strings_to_leak. 2016-12-05 17:15:55 +00:00
thomashaw
733c871072 Additional parameterisation. New modules: parameterised_accounts, generators and an account_encoder. Added plenty of parameters/default_inputs to currently existing vulnerability modules. 2016-11-30 18:09:22 +00:00
Z. Cliffe Schreuders
518485f61d cleanup Vagrantfile output 2016-10-18 22:31:58 +01:00
Z. Cliffe Schreuders
e63aa00e0a parameterisation 2016-10-18 21:19:47 +01:00
Z. Cliffe Schreuders
8bbdc885a3 Merge branches 'master' and 'parameterisation' of https://github.com/cliffe/SecGen 2016-09-05 08:56:59 +01:00
Jjk422
f9b2cd548f Correcting pull request errors, only one out of --total-memory or --memory-per-vm is selected (first to be inputted) and shows error message if both inputted.
Also removed defaults so that vms automatically decide on values if not specified.
2016-08-31 09:37:01 +01:00
Z. Cliffe Schreuders
9f0bd61726 Parameterisation 2016-08-30 23:18:31 +01:00
Z. Cliffe Schreuders
6b96ef6476 Parameterisation 2016-08-29 23:06:57 +01:00
Jjk422
42adbcb853 Added extra command line options to modify generated vms, need to be separated into a ruby class to ensure max values are not set (max ram larger then system ram) and to make sure that large ruby blocks are not in Vagrantfile.erb.
Options added are:
--memory-per-vm
--total-memory
--max-cpu-cores
--max-cpu-usage
2016-08-19 19:35:47 +01:00
Z. Cliffe Schreuders
d8d624cd03 Merge remote-tracking branch 'origin/parameterisation' into parameterisation
Conflicts:
	lib/objects/module.rb
	lib/objects/system.rb
	lib/readers/module_reader.rb
	lib/schemas/scenario_schema.xsd
	modules/vulnerabilities/unix/local/writeable_shadow/secgen_metadata.xml
	scenarios/simple_examples/writeable_shadow_vulnerability.xml
2016-08-17 23:13:28 +01:00
Z. Cliffe Schreuders
edc1e28d68 Parameterisation 2016-08-17 23:11:53 +01:00
egg82
28eb21a083 Update Vagrantfile.erb 2016-08-17 13:33:15 -06:00
egg82
2b900f94d1 Allowing SecGen to be run on servers/droplets 2016-08-14 15:04:57 -06:00
Z. Cliffe Schreuders
f314b141ec parameterisation - work in progress 2016-08-08 11:40:43 +01:00
Z. Cliffe Schreuders
f68ed2f4a7 parameterisation - work in progress 2016-08-08 11:40:36 +01:00
thomashaw
8b32a8dc62 Feature: Utilities - extracted services which do not run on a network socket e.g. package manager update, firewall rules, java etc. into utilities 2016-08-01 18:55:50 +01:00
Z. Cliffe Schreuders
af64680bb7 parameterisation - work in progress 2016-06-12 13:45:53 +01:00
Z. Cliffe Schreuders
8293403135 parameterisation - work in progress 2016-06-12 00:21:12 +01:00
Z. Cliffe Schreuders
b5b19fe1c5 Major overhaul of code base! 2016-06-09 00:03:04 +01:00
Jjk422
eee0d2706d Changed Object variables to Object attributes hashes 2016-05-21 23:34:00 +01:00
Jjk422
c3988f9e89 Xml report generation as report.xml, ERB file still created as Report, should work, minor fixes to code all usage options options should work now.
New File xml_report_generator.rb created.
2016-04-01 20:09:47 +01:00
aviio
3e6a5916eb Relates to SG-11 - Now has the ability to generate a site that is specified in the scenario.xml - also improves upon the build times by using Puppet v4 Environments 2016-03-30 03:33:46 +01:00
Connor Wilson
4d2c6139f9 removes wordpress in vagrantbase as the mechanism for selecting them isnt done yet 2016-03-29 19:27:24 +01:00
Connor Wilson
67d58a1e1f Relates to SG-11 : Now able to generate a full wordpress site (Apache / SQL / Wordpress) 2016-03-28 21:07:27 +01:00
Connor Wilson
386810cab4 Relates to SG-11 : Now able to generate a full wordpress site (Apache / SQL / Wordpress) 2016-03-26 19:45:13 +00:00
Connor Wilson
866de4d855 Relates to SG-11 : Pushes code to repo for Tom to branch from 2016-03-26 02:49:56 +00:00
Connor Wilson
9e40d48687 mid-commit for apache server install 2016-03-22 12:53:26 +00:00
Connor Wilson
7ebadf6caf Directory structure changes 2016-03-08 22:54:59 +00:00
Connor Wilson
6a0107ee05 Builds boxes now, puppet name changes 2016-03-08 22:53:49 +00:00
thomashaw
57a5e462d0 changes to vagrantbase.erb 2016-03-08 22:52:10 +00:00
Connor Wilson
7b12a869e7 changes puppet path in vulnerability 2016-03-08 22:52:03 +00:00
thomashaw
ea573072c8 vulnerability helper + change to vagrant base 2016-03-08 22:51:50 +00:00
Z. Cliffe Schreuders
9c74651eb7 Overhaul of the processing and selection of vulnerabilities and output formatting. Adds support for secure services, which will be fulfilled if a vulnerability of that type has not already beed allocated to a system. Vulnerability selection now filters on vulnerability CVE, access level, etc. Enforces a limit of one service or vulnerability of each type on each system, to resolve potential conflict (for example, one FTP server). Some general code cleanup. 2015-01-29 08:42:37 -08:00
LewisArdern
d14062400b moved ends to be positioned for multiple boxes.. 2015-01-14 23:03:55 +00:00
lewis ardern
02d7df03f3 fixing multiple vm build.. 2014-12-09 20:02:42 +00:00
Lewis Ardern
40aa0e12b5 reporting now displays IP 2014-03-29 22:02:14 +00:00
Lewis Ardern
a2a74bd2fc modification to kali ip 2014-03-29 21:44:07 +00:00
Lewis Ardern
6237ada8f1 initial commit 2014-03-29 21:35:53 +00:00