Post Exploitation

Vermilion : Mastering Linux Post-Exploitation For Red Team Success

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.

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.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

cp Command: Copy Files and Directories in Linux

The cp command, short for "copy," is the main Linux utility for duplicating files and directories. Whether…

6 days ago

Image OSINT

Introduction In digital investigations, images often hold more information than meets the eye. With the…

6 days ago

cat Command: Read and Combine File Contents in Linux

The cat command short for concatenate, It is a fast and versatile tool for viewing and merging…

6 days ago

Port In Networking

What is a Port? A port in networking acts like a gateway that directs data…

6 days ago

ls Command: List Directory Contents in Linux

The ls command is fundamental for anyone working with Linux. It’s used to display the files and…

7 days ago

pwd Command: Find Your Location in Linux

The pwd (Print Working Directory) command is essential for navigating the Linux filesystem. It instantly shows your…

1 week ago