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

Cybersecurity – Tools And Their Function

Cybersecurity tools play a critical role in safeguarding digital assets, systems, and networks from malicious…

13 hours ago

MODeflattener – Miasm’s OLLVM Deflattener

MODeflattener is a specialized tool designed to reverse OLLVM's control flow flattening obfuscation through static…

13 hours ago

My Awesome List : Tools And Their Functions

"My Awesome List" is a curated collection of tools, libraries, and resources spanning various domains…

13 hours ago

Chrome Browser Exploitation, Part 3 : Analyzing And Exploiting CVE-2018-17463

CVE-2018-17463, a type confusion vulnerability in Chrome’s V8 JavaScript engine, allowed attackers to execute arbitrary…

13 hours ago

Chrome Browser Exploitation, Part 1 : Introduction To V8 And JavaScript Internals

The blog post "Chrome Browser Exploitation, Part 1: Introduction to V8 and JavaScript Internals" provides…

14 hours ago

Chrome Browser Exploitation, Part 3: Analyzing and Exploiting CVE-2018-17463

The exploitation of CVE-2018-17463, a type confusion vulnerability in Chrome’s V8 JavaScript engine, relies on…

16 hours ago