All Projects → elreydetoda → packer-kali_linux

elreydetoda / packer-kali_linux

Licence: LGPL-3.0 license
This is a repository that will be used to help create a process of a new kali vagrant box for hashicorp each week.

Programming Languages

shell
77523 projects
python
139335 projects - #7 most used programming language
HCL
1544 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to packer-kali linux

Packer Build
Packer Automated VM Image and Vagrant Box Builds
Stars: ✭ 199 (+452.78%)
Mutual labels:  vagrant, packer
Detectionlab
Automate the creation of a lab environment complete with security tooling and logging best practices
Stars: ✭ 3,237 (+8891.67%)
Mutual labels:  vagrant, packer
Packer Templates
Scripts and Templates used for generating Vagrant images
Stars: ✭ 219 (+508.33%)
Mutual labels:  vagrant, packer
packer-vagrant-builder
Build Solaris,CentOS or Ubuntu Vagrant box with puppet rpm's
Stars: ✭ 49 (+36.11%)
Mutual labels:  vagrant, packer
windows-docker-desktop-box
Vagrant box to test Docker Desktop with Linux/Windows containers
Stars: ✭ 17 (-52.78%)
Mutual labels:  vagrant, packer
Windows Vagrant
Windows 2012R2/10/2016/2019 Base Vagrant Box (https://app.vagrantup.com/rgl)
Stars: ✭ 169 (+369.44%)
Mutual labels:  vagrant, packer
Packer
Packer helpers and templates for Docker, IIS, SQL Server and Visual Studio on Windows and Ubuntu
Stars: ✭ 242 (+572.22%)
Mutual labels:  vagrant, packer
Packer Ubuntu 1804
This build has been moved - see README.md
Stars: ✭ 101 (+180.56%)
Mutual labels:  vagrant, packer
ansible-role-cardano-node
Ansible role for the provisioning of Shelly Cardano binaries from source.
Stars: ✭ 20 (-44.44%)
Mutual labels:  vagrant, packer
django-angular2-fullstack-devops
All-in-one django/angular2 seed with cli interface for multi-environment devops on aws using ansible/packer/terraform
Stars: ✭ 54 (+50%)
Mutual labels:  vagrant, packer
Infrastructure As Code Tutorial
Infrastructure As Code Tutorial. Covers Packer, Terraform, Ansible, Vagrant, Docker, Docker Compose, Kubernetes
Stars: ✭ 1,954 (+5327.78%)
Mutual labels:  vagrant, packer
dockpack
This project uses ansible, packer and vagrant to create an agile lab.
Stars: ✭ 13 (-63.89%)
Mutual labels:  vagrant, packer
Packer Windoze
Packer templates to create Windows vagrant box images
Stars: ✭ 117 (+225%)
Mutual labels:  vagrant, packer
Nixbox
NixOS Vagrant boxes [[email protected]]
Stars: ✭ 189 (+425%)
Mutual labels:  vagrant, packer
Adfs2
Multi Vagrant environment with Active Directory
Stars: ✭ 117 (+225%)
Mutual labels:  vagrant, packer
Packer Centos 7
This build has been moved - see README.md
Stars: ✭ 223 (+519.44%)
Mutual labels:  vagrant, packer
My Cheat Sheets
A place to keep all my cheat sheets for the complete development of ASIC/FPGA hardware or a software app/service.
Stars: ✭ 94 (+161.11%)
Mutual labels:  vagrant, packer
Beetbox
Pre-provisioned L*MP stack
Stars: ✭ 94 (+161.11%)
Mutual labels:  vagrant, packer
packer-centos
Create CentOS images for different hypervisors with Packer
Stars: ✭ 18 (-50%)
Mutual labels:  vagrant, packer
proxmox-ve
Proxmox VE Vagrant Base Box
Stars: ✭ 70 (+94.44%)
Mutual labels:  vagrant, packer

Automated Kali Vagrant Box

Kali Vagrant img

credit/src ¹ for image.

CircleCI CodeFactor Codacy Badge Gitter Release Version

Presentation

Overview

Vagrant Cloud Image

here is my account on vagrant cloud (which should list all the packer builds for this repo): https://app.vagrantup.com/elrey741/

and specifically here is the vagrant box for the master branch: https://app.vagrantup.com/elrey741/boxes/kali-linux_amd64

VM info

  • user: vagrant
  • pass: vagrant

Installed software

listed in the scripts directory: here

what this repo will be for

So you can vagrant box update to get the new box that is created from this each month by a cron job on my server. This will allow for a fresh new image of Kali with the most up to date tools through the ease of vagrant and however you want to provision my kali box.

Based on vagrants help command (displayed below), this should destroy/delete anything from before the box was upgraded.

$ vagrant box update --help
Usage: vagrant box update [options]

Updates the box that is in use in the current Vagrant environment,
if there any updates available. This does not destroy/recreate the
machine, so you'll have to do that to see changes.

To update a specific box (not tied to a Vagrant environment), use the
--box flag.

grand scheme

packer vagrant eco So to get the new up to date kali box you would have to vagrant destroy and vagrant up it again. Then everything would be based on your Vagrantfile for provisioning.

things to consider

before vagrant destroy

  • did you backup all your metasploit data? - msfconsole -q -x "db_export -f xml /root/pentesting/metasploit-backups/general/metasploit-backup-main.xml; exit"
  • did you backup all your metasploit creds (doesn't get exported by metasploit by default...)? - msfconsole -q -x "creds -o /root/pentesting/metasploit-backups/creds/metasploit-backup-creds.csv; exit"
  • do you have any customizations that could be automated in your Vagrantfile?
  • putting all your data in your /vagrant folder is ideal, to keep everything shared and making sure it doesn't get lost when destroying boxes (because it is on your local machine as a shared folder)

Dependencies

  • vagrant
  • packer
  • internet connection

Future plans

  • Create different kali box automations (i.e. with empire and other frameworks)
  • docs...eventually :D
  • different virtualization platforms (virtualbox)

Footnotes

[1] KALI LINUX ™ is a trademark of Offensive Security. This repo is not the official implementation of Vagrant and Kali. You can find that here

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].