Need help with Veil-Pillage?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

138 Stars 53 Forks GNU General Public License v3.0 25 Commits 0 Opened issues


Veil-Pillage is a post-exploitation framework that integrates with Veil-Evasion.

Services available


Need anything else?

Contributors list


Veil-Pillage is a post-exploitation framework and a part of the Veil framework.

Veil-Pillage was built by @harmj0y is currently under active support by @harmj0y with help from the @VeilFramework team.


Start everything up with ./ All the modules in ./modules/* will automatically be loaded up with their path reflected in the menu (i.e. enumeration/host/credential_validation).

First, you need to specify a target or target(s), and a set of credentials:

Targets can be set with "set targets" 
                    or  "set targets,"
                    or  "set targets hostlist.txt"
                    or  "set targets"
                    or  cli with "-t target"
                    or  cli with "-tL target_list.txt"

Credentials can be set with "set creds (domain/)username:password" or "set creds (domain/)username:LM:NTLM" or "set creds" or cli with "-U user -P password" or clie with "-cF credential_file" (hashdump or tab-separated)

Then you can launch a given module with "use path/name" or "use [module #]". All modules can be listed with "list modules", and the paths for 'use' are tab-completable.

Once in a module menu, you can modify given paramters for the module with 'set X'. After everything is set, type run, Y to confirm, and the module will execute.

Status updates will display during execution, and any output will be stored in an output file that is named on the completion screen. Output is stored in the veil-output folder/pillage/modulename/timestamp.out. If there is a cleanup file, it will be stored in the same location with a *.pc extension.

To cleanup, type "cleanup /path to *.pc file" and Veil-Pillage will try to restore all targets to their original state.

Random Features:

  • the current program state, including set credentials, targets, and all module options, is saved off to a state file on exit or rage-quit user is prompted for restore on user start - can turn this off with arguments or value -manual restore file name can be specified with "-s pillage.state" "--norestore" skips the state restore prompt

  • should parse connection information for the MSF database automatically, and auto-connect to the database

  • can list hosts or creds from the MSF database with "db listtargets/listcreds"

  • can add hosts/creds from the MSF database with "db addtargets/addcreds 1,2,3" where 1,2,3 is the selection displayed from listtargets/listcreds

  • Module options like 'lhost' can be set globally from the main menu, i.e. "set lhost"

  • Complete command line options are availabe, run ./ for a list.

  • Almost everything that can be tab-completable has been bilt to be. Commands, options, files paths, etc.

  • Variables can be reset with "reset varname"

  • can set options globally for every module with "set lhost" on the main menu, or cli with "-o lhost="

  • 'clean' or "--clean" cleans out the output folders

  • the module to jump to can be set cli with "-m module/name OPTION=value..."

  • ties into Veil-Evasion for most payload_delivery/* modules

Software Requirements:


Currently, only Kali linux x86 is officially supported.

We recommend that users install this tool as a part of the Veil superproject to take advantage of the full functionality of the Veil-Framework.

Veil-Evasion is required for payload generation.

Impacket and the passing-the-hash toolkit are required for payload delivery and triggering.

Setup (tldr;)

Install the Veil superproject and run the top level Veil/ script to install all necessary dependencies and build a common configuration file at /etc/veil/

If you install this separately, run the ./ script on each major pull update to ensure all dependencies and configurations are correct.

Please just install the Veil superproject. All the pieces of the Veil-Framework were built to work together. Installing them separately is a recipe for grief and support requests.


A quick overview of the structure of everything:

  • ./ - the main launcher for the tool, parses arguments and calls ./lib/
  • ./ - the setup and update logic for the framework

  • ./modules/* - usable modules organized roughly by function

  • ./modules/ - example module template

  • ./lib/* - reusable library methods

  • ./lib/ - the main control logic for the framework, including menu interfaces

  • ./lib/ - various misc helper methods

  • ./lib/ - methods to execute specific commands on hosts, use executeResult() and executeCommand()

  • ./lib/ - methods to delivery payloads to hosts (upload, host, powershell, etc.)

  • ./lib/impacket_* - impacket libraries adapted for our use

  • ./lib/ - http related methods (i.e. temp http server)

  • ./lib/ - abtracts out interaction for the local msfdatabase

  • ./lib/ - smb related methods, including upload/delete/tempserver/etc.

  • ./data/* - various data elements needed by modules (i.e. PowerSploit scripts)

  • ./tools/* - misc tools for use with the framework

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.