nakmuaycactus / LabOps

Automation and security testing playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LabOps: Automation and Security testing playground

Introduction

This repo is a fusion of smaller initiatives, forming an ongoing journey with automated infrastructure and logging. It uses Packer, Terraform, and Ansible on an ESXi and vCenter instance (both 8.0; trial versions) to spin up, configure, and customise Windows and Linux systems. Falco, Auditd, and Apache logging are enabled for Linux hosts, along with Auditbeat as an optional log shipper (uses Auditd). Event logs are used for Windows and are configured to include the most important log sources (documented but not currently automated). Finally, there is an adversary simulation proof-of-concept using a custom C# Sliver C2 stager.

Project Setup

See the environment setup wiki page for a detailed overview of setting up the required environment, including cloning this repo

See the configuration setup wiki page for a detailed overview of modifying required configurations to get the project to work in your specific environment

To use the project, run

sh build.sh

and

sh provision.sh

Featured VMs

  • Rocky Linux
    • Acts as the control node for the lab
    • Configured to have Packer, Terraform, and Ansible for recursive provisioning
  • Ubuntu Linux
    • Generic Linux server
    • Includes an intentionally vulnerable web app with susceptibility to SQLi, web shell uploads, and weak credentials
  • Kali Linux
    • Red team box
  • Windows Server 2022
    • Domain Controller and/or multipurpose server
  • Windows 10
    • Generic Windows workstation

About

Automation and security testing playground

License:GNU General Public License v3.0


Languages

Language:PowerShell 46.9%Language:HCL 41.3%Language:C# 8.4%Language:Shell 2.9%Language:Batchfile 0.5%