Skip to main content

Wreath

Learn how to pivot through a network by compromising a public facing web machine and tunnelling your traffic to access other machines in Wreath's network.

Task 1: Intro Introduction

Task 2: Intro Accessing the Network

Task 3: Intro Backstory

Task 4: Intro Brief

Task 5: Webserver Enumeration

Task 6: Webserver Exploitation

Task 7: Pivoting What is Pivoting?

Task 8: Pivoting High-level Overview

Task 9: Pivoting Enumeration

Task 10: Pivoting Proxychains & Foxyproxy

Task 11: Pivoting SSH Tunnelling / Port Forwarding

Task 12: Pivoting plink.exe

Task 13: Pivoting Socat

Task 14: Pivoting Chisel

Task 15: Pivoting sshuttle

Task 16: Pivoting Conclusion

Task 17: Git Server Enumeration

Task 18: Git Server Pivoting

Task 19: Git Server Code Review

Task 20: Git Server Exploitation

Task 21: Git Server Stabilisation & Post Exploitation

Task 22: Command and Control Introduction

Task 23: Command and Control Empire: Installation

Task 24: Command and Control Empire: Overview

Task 25: Command and Control Empire: Listeners

Task 26: Command and Control Empire: Stagers

Task 27: Command and Control Empire: Agents

Task 28: Command and Control Empire: Hop Listeners

Task 29: Command and Control Git Server

Task 30: Command and Control Empire: Modules

Task 31: Command and Control Empire: Interactive Shell

Task 32: Command and Control Conclusion

Task 33: Personal PC Enumeration

Task 34: Personal PC Pivoting

Task 35: Personal PC The Wonders of Git

Task 36: Personal PC Website Code Analysis

Task 37: Personal PC Exploit PoC

Task 38: AV Evasion Introduction

Task 39: AV Evasion AV Detection Methods

Task 40: AV Evasion PHP Payload Obfuscation

Task 41: AV Evasion Compiling Netcat & Reverse Shell!

Task 42: AV Evasion Enumeration

Task 43: AV Evasion Privilege Escalation

Task 44: Exfiltration Exfiltration Techniques & Post Exploitation

Task 45: Conclusion Debrief & Report

Task 46: Conclusion Final Thoughts

Back to all networks
Room Icon

Wreath

Premium room

Learn how to pivot through a network by compromising a public facing web machine and tunnelling your traffic to access other machines in Wreath's network.

easy

480 min

14,553

User profile photo.

To access material, start machines and answer questions login.

Press 'Start' to begin


Video

Wreath is designed as a learning resource for beginners with a primary focus on:

  • Pivoting
  • Working with the Empire (Command and Control) framework
  • Simple Anti-Virus evasion techniques

The following topics will also be covered, albeit more briefly:

  • Code Analysis (Python and )
  • Locating and modifying public exploits
  • Simple webapp enumeration and exploitation
  • Repository Analysis
  • Simple Windows Post-Exploitation techniques
  • Administration (CentOS and Windows)
  • Cross-Compilation techniques
  • Coding wrapper programs
  • Simple exfiltration techniques
  • Formatting a pentest report

These will be taught in the course of exploiting the Wreath network.

 

This is designed as almost a environment to follow along with the teaching content; the focus will be on the above teaching points, rather than on initial access and privilege escalation exploits (contrary to other boxes on the platform where the focus is on the challenge).


Tools:
A zipfile containing the tools demonstrated throughout this room is attached to this task. That said, whilst these will work, it would be advisable to download the latest versions of the tools (as instructed by the tasks) during your progression through the content, rather than relying on the provided archive. The password for this zipfile is: WreathNetwork.


Videos:
@DarkStar7471 has kindly created a series of videos to accompany the teaching content in the Wreath network. Please use these as your first line of support! Writeups in the form of pentest reports will also be made available.

The videos can be accessed directly from Dark's YouTube channel; however, each task in this room also contains a link to the relevant video.

Look for the "Play" button at the very bottom right of the screen:

This will update on a task-by-task basis so that it always points to the correct video.


Prerequisites:
This network is designed for beginners, but assumes basic competence in the Linux command line and fundamental hacking methodology. The ability to read and write a little code will also be useful. Any other required knowledge will be linked throughout the tasks. If you need help, please feel free to ask in the TryHackMe Discord -- there is a channel set up for this purpose in the help section there.


Conduct:
As this network is shared amongst a number of people, it goes without saying: please don't mess things up for others in the network. There are no password changes required in any of these tasks, and no files need deleted. At various stages in this network it will be necessary to upload files and tools to the remote box. Please upload these in the format: toolname-username (e.g. socat-MuirlandOracle, shell-MuirlandOracle.aspx, etc) to avoid overwriting work belonging to anyone else. In short, don't be a troll, be respectful, and have fun!

With that being said: let's get started!

Answer the questions below
Read the introduction