Skip to main content
Process diagram: the software supply chain behind “Penetration testing Attack Infrastructure”, with the fault at Recon & phishing. Illustration: SecurityXP

Penetration testing Attack Infrastructure

· 2 min read · SecurityXP Editorial Desk

Attack Infra

  • Penetration testing Planning
    • Fill the planning gap
    • Attack Infrastructure/C2
    • Recon
    • Social Engineering
    • Weaponization
  • Initial Access/foothold
  • Network Propagation
  • Action on Objectives

Mitre Attack Framework

Pre attack framework is to be followed. The MITRE ATT&CK™ framework is a comprehensive matrix of tactics and techniques used by threat hunters, red teamers, and defenders to better classify attacks and assess an organization’s risk

Infrastructure Requirements

  • An External Hosting provider should be selected and procured like E2E Networks etc
  • Domain names purchase similar to the target organization should be procured, some organizations do also block similar names called Domain squirting so care should be given while purchasing domains.
  • Domain certificate generation, SSL Cert should be procured or enabled from free providers for those domains.
  • Mail Server setups with DKIM, SPF, and DMARC configured for additional reputation.
  • Phishing and Credential Theft sites setup, lookalike domain, and lookalike mail portals or websites should be created.
  • Reputation and categorization confirmation of all domains and IP’s, DKIM, SPF, and DMARC should be configured for domains as many organizations nowadays enforce DMARC Reject policy. also, many times organizations’ web proxies do block domains that came into existence less than 30 days in such cased domains at sale can be utilized.
  • Set up long and short-haul C2 Infra
  • Custom c2 tooling configuration
  • External C2 Communication Schemes testing

Baseline of Attack infra

  • Hardware
    • VM Images
  • Software
    • Windows and Linux both
    • Attack tools
  • Network Infra
    • Cloud providers

Open Source Adversary Emulation Tools

  • Metasploit
  • Empire

Commercials

  • Cobalt Strike
  • Innuendo
  • Core Impact

C2 Matrix

The C2 Matrix

Cloud Providers

  • Aws
  • Azure
  • GCP

Domain Purchase and categorize Direct Access to IP is blocked Outbound proxies block sites on basis of category Register and get them categorized Else purchase categorized domains which are expired

  • Expireddomains.net
  • Domainhuntergatherer.com

Categorization sites

  • Bright cloud brightcloud.com/tools/url-ip-lookup.php
  • Fortiguard fortiguard.com/webfilter
  • MacAfee trustedsource.org
  • Palo alto urlfiltering.paloaltonetworks.com/query/
  • Symantec/bluecoat web pulse sitereview.bluecoat.com

Digital certificates Lets Encrypt Cloudflare Financial sites SSL isn’t decrypted mostly

Redirectors

Disposable Options Socat pot redirect on Linux Crontab -e @reboot /usr/bin/socat TCP-LISTEN:443, fork TCP:192.168.10.1:443& Netsh port redirect on windows Netsh interface portproxy add v4tov4 listenprort=443 Listenaddress=8.8.8.8 connectionport=443 connectaddress=192.168.10.1 Other options: iptables, apache mod_rewrite, Nginx, domain fronting

Tags: C2 Infra DKIM DMARC Mitre MITRE ATT&CK Redirectors SPF web proxies Offensive Penetration Testing
SE SecurityXP Editorial Desk
SecurityXP Editorial Desk Vulnerability Research & News Board

Automated and analyst-reviewed threat intelligence briefings tracking active exploitation campaigns, CVE disclosures, and extortion group activity.

Security Digest

The most important cybersecurity stories, CVE alerts, and threat intelligence — one concise email. Unsubscribe anytime.

Related Articles

Process diagram of the exploitation chain: Adversary behavior through Remediate gaps, with the fault at Detection check.
Compliance & Privacy

Micro Emulation Plans by MITRE-Engenuity

An overview of MITRE Engenuity's Micro Emulation Plans: compact, focused adversary-emulation exercises that let defenders validate detections against specific behaviors.

Process diagram of the exploitation chain: ATT&CK v10 through Enterprise, with the fault at Data Sources.
Vulnerabilities & Exploits

MITRE ATT&CK October 2021 Update: New Techniques

MITRE ATT&CK® is a globally accessible knowledge base of adversary tactics and techniques based on real-world observations. The ATT&CK knowledge base is used as a foundation for the development of ...

Process diagram of the exploitation chain: ATT&CK Update through Threat Models, with the fault at Data Sources.
Vulnerabilities & Exploits

MITRE ATT&CK April 2021 Update: New Techniques

MITRE ATT&CK® is a globally accessible knowledge base of adversary tactics and techniques based on real-world observations. The ATT&CK knowledge base is used as a foundation for the development of ...

Process diagram of the exploitation chain: ATT&CK v11 through ICS matrix added, with the fault at Detection reorg.
Compliance & Privacy

MITRE ATT&CK April 2022 Update: New Techniques

The Techniques, Groups, and Software for Enterprise, Mobile, and ICS are updated in the April 2022 (v11) ATT&CK release. The most significant modifications are the reorganisation of Detections, whi...