Skip to content

create-atl-delete/ez_packer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

About

Easy-to-use templates for Packer builds, specifically aimed at digital foresnsics workstations.

Ubuntu

Connections

Supports SSH over SSM

Scripts

Includes shell scripts for several common configuration tasks:

  • Joining an AD domain using credentials from SecretsManager
  • Install SANS' SIFT Workstation

Windows

Connctions

Supports the following

  • WinRM
  • SSH over SSM (recommended)
    • Possibly the biggest selling point of this repo. HashiCorp has completely neglected writing documentation for and providing examples on getting SSH over SSM to actually work. This template solves that.

Scripts

Included Powershell scripts for several common configuration tasks:

  • Disabling UAC and/or Defender
  • Installing binaries (.exe/.msi, unarchived or .7z/.zip) downloaded from a specified s3 bucket
  • Installing common apps with Chocolatey
  • Joining a domain using credentials from SecretsManager

Prerequisites

Local Host

AWS CLI

See install instructions here.

Session Manager Plugin

See install instructions here.

Remote Host

SSM Agent

The SSM agent is pre-installed on almost all AWS Marketplace AMIs. If you are using a custom AMI, see install instructions here.

IAM Policy

AWS SSM can be enabled at the account level or on individual Instances using an IAM Instance Profile.

Account

See instructions here.

EC2 Instance

See instructions here.

User/Role

  • The user running the Packer build will require the permissions described here.

Networking

Security Groups

One of the main benefits of AWS SSM is that it requires no inbound access. The Instances' Security Groups do not need any inbound rules in order for Summoner to work.

VPC Endpoint

For added security, use a VPC Endpoint for AWS SSM See instructions here.

Releases

No releases published

Packages

No packages published