Skip to content

Latest commit

 

History

History
66 lines (32 loc) · 3.34 KB

README.md

File metadata and controls

66 lines (32 loc) · 3.34 KB

vermilion

CI License: Unlicense Red Team Badge Go Report Card

Linux post exploitation tool for info gathering and exfiltration 🐧 📡 💀

Abstract

Vermilion is a simple and lightweight CLI tool designed for rapid collection, and optional exfiltration of sensitive information from Linux systems.
Its primary purpose is to streamline the process of gathering critical data in red teaming scenarios.

Caution

Vermilion has been designed as a resource for red teamers and security researchers.
The author assumes no responsibility for the weaponization of this tool or the improper handling of sensitive data collected through its use.

How It Works

Vermilion is a Linux-focused tool designed for efficient information gathering and sensitive data exfiltration. It collects:

  • System Information : OS details, hostname, network configurations, public and local IPs, active connections, system uptime, and more.

  • Environment Variables : Captures all available environment variables.

  • User and System Files : Gathers sensitive directories and files, including:

    • User-specific files: .ssh, .bash_history, .zsh_history, .aws, .docker, .kube, .azure, .gnupg, .git-credentials, and more.

    • System-level files: /etc/passwd, /etc/shadow, /etc/group, /etc/hostname, /etc/hosts, /etc/ssl, and cron configurations.

    • Logs and temporary files: Authentication logs, system logs, and temporary files.

  • User Enumeration : Automatically enumerates all system users and collects sensitive files from accessible home directories.

The tool creates a compressed archive of the collected data for easy local storage or exfiltration to a specified endpoint.
Additionally, it provides the option to exfiltrate the collected data via an HTTP POST request to a specified endpoint.

The implementation of the endpoint for exfiltration is outside the scope of this tool; for an example, refer to this resource.

Vermilion supports amd64, arm and arm64 architectures.

Example Use Case

Imagine being engaged in a red teaming campaign and successfully compromising a user on a Linux machine.
Linux environments often are treasure trove of sensitive data and information due to their use as servers and their integration with other systems and softwares.
Therefore, it is crucial to have an automated tool that enables rapid collection and exfiltration of sensitive information, such as environment variables and strategic directories, within seconds.

This is where Vermilion proves helpful!

Video Demo

video_demo.mp4

Getting Started

In order to get started with vermilion, follow the docs.