From ca338ad0e644a099c95a02f7b8f2bab659eab8b7 Mon Sep 17 00:00:00 2001 From: xambroz Date: Mon, 27 Feb 2017 00:17:17 +0100 Subject: [PATCH 1/3] adding the win7_64 profile --- .../Autounattend.xml | 0 .../enablewinrm.ps1 | 0 malboxes/profiles/win7_64_analyst.json | 30 +++++++++++++++++++ 3 files changed, 30 insertions(+) rename malboxes/installconfig/{windows_7x64 => windows7_64}/Autounattend.xml (100%) rename malboxes/installconfig/{windows_7x64 => windows7_64}/enablewinrm.ps1 (100%) create mode 100644 malboxes/profiles/win7_64_analyst.json diff --git a/malboxes/installconfig/windows_7x64/Autounattend.xml b/malboxes/installconfig/windows7_64/Autounattend.xml similarity index 100% rename from malboxes/installconfig/windows_7x64/Autounattend.xml rename to malboxes/installconfig/windows7_64/Autounattend.xml diff --git a/malboxes/installconfig/windows_7x64/enablewinrm.ps1 b/malboxes/installconfig/windows7_64/enablewinrm.ps1 similarity index 100% rename from malboxes/installconfig/windows_7x64/enablewinrm.ps1 rename to malboxes/installconfig/windows7_64/enablewinrm.ps1 diff --git a/malboxes/profiles/win7_64_analyst.json b/malboxes/profiles/win7_64_analyst.json new file mode 100644 index 0000000..97133b5 --- /dev/null +++ b/malboxes/profiles/win7_64_analyst.json @@ -0,0 +1,30 @@ +{ + "builders": [{ + "guest_os_type": "Windows7", + {% include 'snippets/builder_virtualbox_windows.json' %}, + + "iso_url": "file://{{ iso_path }}/en_windows_7_professional_with_sp1_x86_dvd_u_677056.iso", + "iso_checksum": "d89937df3a9bc2ec1a1486195fd308cd3dade928", + "iso_checksum_type": "sha1", + + "floppy_files": [ + "{{ cache_dir }}/Autounattend.xml", + "{{ dir }}/installconfig/windows7/enablewinrm.ps1" + ] + }], + + {% include 'snippets/postprocessor_vagrant.json' %}, + + "provisioners": [ + + {% include 'snippets/provision_powershell.json' %} + + {% if tools_path %}, + {% include 'snippets/tools.json' %} + {% endif %} + {% if ida_path %}, + {% include 'snippets/ida_remote_32.json' %} + {% endif %} + + ] +} From 8adadb51590529b2448737ea798d39543d69db78 Mon Sep 17 00:00:00 2001 From: xambroz Date: Mon, 27 Feb 2017 00:35:52 +0100 Subject: [PATCH 2/3] change from win7 to win7_64 --- malboxes/profiles/win7_64_analyst.json | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/malboxes/profiles/win7_64_analyst.json b/malboxes/profiles/win7_64_analyst.json index 97133b5..61c3cec 100644 --- a/malboxes/profiles/win7_64_analyst.json +++ b/malboxes/profiles/win7_64_analyst.json @@ -1,15 +1,15 @@ { "builders": [{ - "guest_os_type": "Windows7", + "guest_os_type": "Windows7_64", {% include 'snippets/builder_virtualbox_windows.json' %}, - "iso_url": "file://{{ iso_path }}/en_windows_7_professional_with_sp1_x86_dvd_u_677056.iso", - "iso_checksum": "d89937df3a9bc2ec1a1486195fd308cd3dade928", + "iso_url": "file://{{ iso_path }}/en_windows_7_professional_with_sp1_x64_dvd_u_676939.iso", + "iso_checksum": "0bcfc54019ea175b1ee51f6d2b207a3d14dd2b58", "iso_checksum_type": "sha1", "floppy_files": [ "{{ cache_dir }}/Autounattend.xml", - "{{ dir }}/installconfig/windows7/enablewinrm.ps1" + "{{ dir }}/installconfig/windows7_64/enablewinrm.ps1" ] }], @@ -22,9 +22,10 @@ {% if tools_path %}, {% include 'snippets/tools.json' %} {% endif %} - {% if ida_path %}, - {% include 'snippets/ida_remote_32.json' %} - {% endif %} + {% if ida_path %}, + {% include 'snippets/ida_remote_64.json' %}, + {% include 'snippets/ida_remote_32.json' %} + {% endif %} ] } From 6e129714d8ad27e339be6ca6056d4c09ee964631 Mon Sep 17 00:00:00 2001 From: xambroz Date: Mon, 27 Feb 2017 00:36:39 +0100 Subject: [PATCH 3/3] cosmetics --- malboxes/config-example.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/malboxes/config-example.js b/malboxes/config-example.js index f19a44f..b88b70a 100644 --- a/malboxes/config-example.js +++ b/malboxes/config-example.js @@ -3,9 +3,9 @@ * Malboxes Example Configuration File * * Uncomment a specific section of the file to trigger a particular feature. - * - * Paths should be written using forward slashes even on Windows. - * For ex: C:/Tools + * + * Paths should be written using forward slashes even on Windows. + * For ex: C:/Tools */ // This allows you to use a local filestore for ISOs.