Mod_Rewrite for Red Team Infrastructure Logo

Mod_Rewrite for Red Team Infrastructure

0
Free
83
21 Apr 2017
10 September 2025
Visit Website

Setting up infrastructure for a Red Team engagement can be time consuming and difficult. Jeff Dimmock and Steve Borosh have done a lot of work to make this process easier and more transparent. They gave a great presentation that went over the fundamentals of setting up good Red Team infrastructure. As part of this effort, they released a wiki. One of the most interesting bits of tradecraft released in this talk and on Jeff's blog is their very creative use of apache2’s mod_rewrite functionality. Mod_Rewrite is very powerful for a few reasons: It can be used to hide the true location of your Teamserver. It can be used to evade detection from Incident Response. It can be used to redirect mobile users away from a payload to a spoofed login portal, to capture credentials. It can be used to block specific IP addresses from your teamserver, to aid in IR evasion. It can be used to only allow your Malleable C2 traffic to the Teamserver. In a Red Team engagement, there are often multiple team servers and multiple redirectors in front of each team server. In the event that a defender identifies and blocks one of the redirectors, they should be easy to recreate. However, manually setting up mod_rewrite rules can be complex and time-consuming.

FEATURES

SIMILAR TOOLS

An Azure Function that validates and relays Cobalt Strike beacon traffic based on Malleable C2 profile authentication.

Parrot Security OS is a comprehensive, secure, and customizable operating system for cybersecurity professionals, offering over 600+ tools and utilities for red and blue team operations.

A suite of tools for Wi-Fi network security assessment and penetration testing.

SauronEye helps in identifying files containing sensitive data such as passwords through targeted directory searches.

SharpEDRChecker scans system components to detect security products and tools.

Tool for enumerating proxy configurations and generating CobaltStrike-compatible shellcode.

PyBOF is a Python library that enables in-memory loading and execution of Beacon Object Files (BOFs) with support for argument passing and function targeting.

A digital archive of the internet, allowing users to capture and browse archived web pages.

A CVE compliant archive of public exploits and corresponding vulnerable software, and a categorized index of Internet search engine queries designed to uncover sensitive information.

PINNED

Proton Pass Logo

Proton Pass is a cross-platform password manager that provides encrypted storage, password generation, and security monitoring features with integrated 2FA and dark web monitoring capabilities.

Data Protection
NordVPN Logo

NordVPN is a commercial VPN service that encrypts internet connections and hides IP addresses through a global network of servers, featuring integrated threat protection and multi-device support.

Network Security
Mandos Logo

Fractional CISO service that helps B2B companies implement security leadership to win enterprise deals, achieve compliance, and develop strategic security programs.

Consulting
Checkmarx SCA Logo

Checkmarx SCA

A software composition analysis tool that identifies vulnerabilities, malicious code, and license risks in open source dependencies throughout the software development lifecycle.

Application Security
Orca Security Logo

Orca Security

A cloud-native application protection platform that provides agentless security monitoring, vulnerability management, and compliance capabilities across multi-cloud environments.

Cloud Security
DryRun Logo

DryRun

A GitHub application that performs automated security code reviews by analyzing contextual security aspects of code changes during pull requests.

Application Security
CybersecTools logoCybersecTools

Explore the largest curated directory of cybersecurity tools and resources to enhance your security practices. Find the right solution for your domain.

Operated by:

Mandos Cyber • KVK: 97994448

Netherlands • contact@mandos.io

VAT: NL005301434B12

Copyright © 2025 - All rights reserved