<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RedTeam Pentesting Blog</title><image><url>https://blog.redteam-pentesting.de/apple-touch-icon-144.png</url><title>RedTeam Pentesting</title><link>https://www.redteam-pentesting.de</link><width>144</width><height>144</height><description>RedTeam Pentesting Logo</description></image><link>https://blog.redteam-pentesting.de/posts/index.xml</link><description>All blog posts published by RedTeam Pentesting</description><lastBuildDate>Wed, 11 Jun 2025 10:00:00 +0200</lastBuildDate><atom:link href="https://blog.redteam-pentesting.de/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>A Look in the Mirror - The Reflective Kerberos Relay Attack</title><link>https://blog.redteam-pentesting.de/2025/reflective-kerberos-relay-attack/</link><pubDate>Wed, 11 Jun 2025 00:00:00 +0000</pubDate><description>&lt;p&gt;It is a sad truth in IT security that some vulnerabilities never quite want to
die and time and time again, vulnerabilities that have long been fixed get
revived and come right back at you. While researching relay attacks, the bane of
Active Directory, we accidentally revived the reflective relay attack. Since
2008 with
&lt;a href="https://learn.microsoft.com/en-us/security-updates/securitybulletins/2008/ms08-068"&gt;MS08-068&lt;/a&gt;,
it is impossible to relay back NTLM messages to the host they were initiated
from. In 2025 we asked ourselves: What if we try it with Kerberos, instead?&lt;/p&gt;
&lt;p&gt;As it turns out, this question led to the discovery of the Reflective Kerberos
Relay Attack. It not only bypasses the restrictions put in place for NTLM
reflection but it also exploits a privilege-escalation vulnerability. If you
can coerce any Windows host to authenticate back to you via SMB, you can relay
the computer account&amp;rsquo;s Kerberos ticket back to the host and obtain &lt;code&gt;NT AUTHORITY\SYSTEM&lt;/code&gt; privileges and thereby Remote Code Execution.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A patch for this vulnerability was released as part of &lt;a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-33073"&gt;Patch Tuesday on 10th June 2025&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>The Ultimate Guide to Windows Coercion Techniques in 2025</title><link>https://blog.redteam-pentesting.de/2025/windows-coercion/</link><pubDate>Wed, 04 Jun 2025 00:00:00 +0000</pubDate><description>&lt;p&gt;Windows authentication coercion often feels like a magic bullet against the
average Active Directory. With any old low-privileged account, it usually
allows us to gain full administrative access to almost arbitrary Windows
workstations and servers, after which compromising the entire Active Directory
is only a matter of time.
It hardly comes as a surprise, then, that Microsoft has
implemented various changes in recent Windows versions which aim to mitigate
this attack vector. In this blog post, we provide a comprehensive reference of coercion
techniques in Windows domains, and discuss their current effectiveness, quirks, and typical
applications. We further explain, how our recent patches to
&lt;a href="https://github.com/fortra/impacket/pull/1974"&gt;Impacket&lt;/a&gt; and
&lt;a href="https://github.com/Pennyw0rth/NetExec/pull/718"&gt;NetExec&lt;/a&gt; help circumvent some of
Microsoft&amp;rsquo;s new mitigations and present &lt;a href="https://github.com/RedTeamPentesting/wspcoerce"&gt;an implementation of a coercion technique&lt;/a&gt; that is currently not widely used.&lt;/p&gt;</description></item><item><title>Back to School - Exploiting a Remote Code Execution Vulnerability in Moodle</title><link>https://blog.redteam-pentesting.de/2024/moodle-rce/</link><pubDate>Tue, 27 Aug 2024 00:00:00 +0000</pubDate><description>&lt;p&gt;Surprisingly often, implementations include functionality where user input is passed to dangerous functions like PHP&amp;rsquo;s &lt;code&gt;eval()&lt;/code&gt; - despite &lt;a href="https://www.php.net/manual/en/function.eval.php"&gt;clear warnings&lt;/a&gt;.
Often, devs are somewhat aware of this danger and attempt to sanitize the input, but this approach is rarely as robust as assumed.
In this post, we will show you how we bypassed the sanitization attempts of the popular learning platform &lt;a href="https://moodle.org"&gt;Moodle&lt;/a&gt; to achieve remote code execution, and demonstrate why it is always best to stick to the famous quote from Rasmus Lersdorf, creator of PHP:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If eval() is the answer, you&amp;rsquo;re almost certainly asking the wrong question.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;The vulnerability was corrected in Moodle versions 4.4.2, 4.3.6, 4.2.9, and 4.1.12 released Aug 10, 2024.&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Bitwarden Heist - How to Break Into Password Vaults Without Using Passwords</title><link>https://blog.redteam-pentesting.de/2024/bitwarden-heist/</link><pubDate>Wed, 03 Jan 2024 00:00:00 +0000</pubDate><description>&lt;p&gt;Sometimes, making particular security design decisions can have unexpected
consequences. For security-critical software, such as password managers, this
can easily lead to catastrophic failure: In this blog post, we show how
&lt;a href="https://bitwarden.com/"&gt;Bitwarden&amp;rsquo;s&lt;/a&gt; Windows Hello implementation allowed us
to remotely steal all credentials from the vault without knowing the password
or requiring biometric authentication. When we discovered this during a
penetration test it was so unexpected for us that we agreed with our client to
publish a blog post about it and tell the story.&lt;/p&gt;</description></item><item><title>Better dSAFER than Sorry - An Attacker's Overview of Ghostscript</title><link>https://blog.redteam-pentesting.de/2023/ghostscript-overview/</link><pubDate>Wed, 11 Oct 2023 00:00:00 +0000</pubDate><description>&lt;p&gt;&lt;a href="https://www.ghostscript.com"&gt;Ghostscript&lt;/a&gt; is the backbone of document
processing for a lot of web apps and programs. If you have never heard of
Ghostscript yet, you still have very likely already used it a lot through
various programs such as PDF viewers, office suites or document converters.
However, since you are reading a security-centric blog, you may have already
heard of Ghostscript due to various high-profile vulnerabilities that allowed
for powerful attacks against it. Even without vulnerabilities in Ghostscript
itself, there are still a lot of pitfalls and misconceptions that can
easily result in serious vulnerabilities in programs that rely on Ghostscript.&lt;/p&gt;
&lt;p&gt;Join us on a deep dive into how and where
&lt;a href="https://www.ghostscript.com"&gt;Ghostscript&lt;/a&gt; is commonly used, what PostScript is
and how attackers can abuse it to achieve remote code execution (RCE) and
arbitrary file disclosure using practical examples. We will also highlight some
obscure facts about the security features of Ghostscript and how the recent
bypasses (&lt;a href="https://www.cve.org/CVERecord?id=CVE-2023-36664"&gt;CVE-2023-36664&lt;/a&gt; and
&lt;a href="https://www.cve.org/CVERecord?id=CVE-2023-43115"&gt;CVE-2023-43115&lt;/a&gt;) for
these security features works.&lt;/p&gt;</description></item><item><title>Bringing Monsoon to the Next Level</title><link>https://blog.redteam-pentesting.de/2023/monsoon-next-level/</link><pubDate>Wed, 12 Jul 2023 00:00:00 +0000</pubDate><description>&lt;p&gt;We&amp;rsquo;ve just a released a major update for our HTTP fuzzer
&lt;a href="https://github.com/RedTeamPentesting/monsoon"&gt;monsoon&lt;/a&gt; with many new features
and improvements. In this blog post we will cover these changes in detail. If you
haven&amp;rsquo;t heard about &lt;a href="https://github.com/RedTeamPentesting/monsoon"&gt;monsoon&lt;/a&gt;, you
should start with our &lt;a href="https://blog.redteam-pentesting.de/2020/introducing-monsoon/"&gt;announcement blog post&lt;/a&gt; where
we explain the purpose of &lt;a href="https://github.com/RedTeamPentesting/monsoon"&gt;monsoon&lt;/a&gt;
and show how it can be used in various scenarios. With that said,
let&amp;rsquo;s jump into the changes.&lt;/p&gt;</description></item><item><title>Storing Passwords - A Journey of Common Pitfalls</title><link>https://blog.redteam-pentesting.de/2023/storing-passwords/</link><pubDate>Mon, 05 Jun 2023 00:00:00 +0000</pubDate><description>&lt;p&gt;As pentesters, we regularly see creative ways of handling authentication and
almost as often we see the pitfalls that come along with these unconventional
ways. For instance, we recently discovered a vulnerability in the web interface
of STARFACE PBX allowing login using the password hash rather than the
cleartext password (see
&lt;a href="https://www.redteam-pentesting.de/advisories/rt-sa-2022-004/"&gt;advisory&lt;/a&gt;). We
want to use this as an opportunity to discuss how we analyse such login
mechanisms and talk about the misconceptions in security concepts that
result in such pitfalls along the way.&lt;/p&gt;</description></item><item><title>Introducing resocks - An Encrypted Back-Connect SOCKS Proxy for Network Pivoting</title><link>https://blog.redteam-pentesting.de/2023/introducing-resocks/</link><pubDate>Tue, 09 May 2023 00:00:00 +0000</pubDate><description>&lt;p&gt;Compromising a host in a company&amp;rsquo;s perimeter often creates the opportunity to
pivot into an internal network. From there on, each additional compromised
system may grant us access into further subnets. Pivoting like this is second
nature to pentesters, but let&amp;rsquo;s step back and look at this scenario in detail in
order to understand why we created our newest open-source tool
&lt;a href="https://github.com/RedTeamPentesting/resocks"&gt;resocks&lt;/a&gt; - a secure reverse
SOCKS5 proxy (reverse as in &lt;em&gt;reverse shell&lt;/em&gt;, not as in &lt;em&gt;reverse proxy&lt;/em&gt;).&lt;/p&gt;</description></item><item><title>Rooting a Common-Criteria Certified Printer to Improve OPSEC</title><link>https://blog.redteam-pentesting.de/2023/rooting-printer/</link><pubDate>Wed, 12 Apr 2023 00:00:00 +0000</pubDate><description>&lt;p&gt;Besides conducting penetration tests, we also attend to maintenance tasks of
our internal infrastructure in order to have all systems being involved in our
everyday work meet our specified requirements. One of these systems is the
printer that we use to print our penetration test reports. When our service
provider announced that they will not be able to provide maintenance services
for our printer anymore, we started looking for a new one. This blog post deals
with the analysis process of our new Canon imageRUNNER ADVANCE DX C5850i
printer with the aim to meet our specified security requirements according to
our threat model.&lt;/p&gt;</description></item><item><title>Introducing Pretender - Your New Sidekick for Relaying Attacks</title><link>https://blog.redteam-pentesting.de/2022/introducing-pretender/</link><pubDate>Wed, 13 Jul 2022 00:00:00 +0000</pubDate><description>&lt;p&gt;We&amp;rsquo;ve just released another open-source tool:
&lt;a href="https://github.com/RedTeamPentesting/pretender"&gt;pretender&lt;/a&gt;, a cross-platform
tool to obtain a machine-in-the-middle position inside Windows networks in the
spirit of &lt;a href="https://github.com/SpiderLabs/Responder"&gt;Responder&lt;/a&gt; and
&lt;a href="https://github.com/dirkjanm/mitm6"&gt;mitm6&lt;/a&gt;. It implements local name resolution
spoofing using the mDNS, LLMNR, and NetBIOS-NS protocols as well as a DHCPv6 DNS
takeover attack. Since last year
&lt;a href="https://github.com/RedTeamPentesting/pretender"&gt;pretender&lt;/a&gt; has become a
frequently used tool in our network penetration tests and we are proud to share
our work with the community.&lt;/p&gt;</description></item><item><title>Inside a PBX - Discovering a Firmware Backdoor</title><link>https://blog.redteam-pentesting.de/2021/inside-a-pbx/</link><pubDate>Mon, 20 Dec 2021 00:00:00 +0000</pubDate><description>&lt;p&gt;This blog post illustrates how RedTeam Pentesting discovered a real-world
backdoor in a widely used Auerswald phone system (see also the
&lt;a href="https://www.redteam-pentesting.de/en/advisories/rt-sa-2021-007/-auerswald-compact-multiple-backdoors"&gt;advisory&lt;/a&gt;
and &lt;a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40859"&gt;CVE-2021-40859&lt;/a&gt;). We will describe the methodology used to find the
backdoor by examining the firmware, highlight the practical implications of the
vulnerability and outline our communications with Auerswald.&lt;/p&gt;</description></item><item><title>Remarkable Encryption - From Threat Model to Final Implementation</title><link>https://blog.redteam-pentesting.de/2021/remarkable-encryption/</link><pubDate>Fri, 21 May 2021 00:00:00 +0000</pubDate><description>&lt;p&gt;In the process of going paperless, we recently acquired multiple reMarkable 2
epaper tablets. Among other things, the tablets will be used for taking notes
about engagements. These data are highly sensitive and must be well protected.
Unfortunately, by default the reMarkable offers little protection against
attackers with physical access. We therefore opted to add a layer of encryption
to our tablets. In this blog post we outline our journey from threat modeling to
a secure, reliable and user-friendly implementation using &lt;code&gt;gocryptfs&lt;/code&gt;, C++, Qt
and &lt;code&gt;systemd&lt;/code&gt;. The final result has been released on
&lt;a href="https://github.com/RedTeamPentesting/remarkable-encryption"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Wholesome curl Calls for Your Blog Posts</title><link>https://blog.redteam-pentesting.de/2021/wholesome-curl-calls/</link><pubDate>Thu, 04 Mar 2021 00:00:00 +0000</pubDate><description>&lt;p&gt;An important part of each penetration test is the documentation of all discovered vulnerabilities.
The documentation often includes program calls to further demonstrate how a vulnerability was found, tested or exploited. To better visualise these steps in the context of web applications, we often include invocations of the command-line HTTP client &lt;a href="https://curl.se/"&gt;curl&lt;/a&gt;. In the following, we discuss how program calls can be styled for documentation to appeal to all audiences.&lt;/p&gt;</description></item><item><title>Insecure Deserialization - How to Trace Down a Gadget Chain</title><link>https://blog.redteam-pentesting.de/2021/deserialization-gadget-chain/</link><pubDate>Mon, 04 Jan 2021 00:00:00 +0000</pubDate><description>&lt;p&gt;Insecure deserialization vulnerabilities potentially result in the ability to remotely
execute code on the affected system. Once such a vulnerability is identified it is still
necessary to compose a gadget chain that provides this ability. This post deals with the
complex but also fascinating process of finding a gadget chain in the &lt;a href="https://www.yiiframework.com/"&gt;Yii PHP framework&lt;/a&gt;.
Finally, the discovered gadget chain is demonstrated by means of an example application.&lt;/p&gt;</description></item><item><title>Introducing monsoon ‒ a Lean and Versatile HTTP Enumerator</title><link>https://blog.redteam-pentesting.de/2020/introducing-monsoon/</link><pubDate>Wed, 02 Dec 2020 00:00:00 +0000</pubDate><description>&lt;p&gt;We recently released our first open-source project,
&lt;a href="https://github.com/RedTeamPentesting/monsoon"&gt;monsoon&lt;/a&gt;. monsoon is a so-called
command-line &lt;em&gt;HTTP enumerator&lt;/em&gt;: A tool that iterates over a list of values, for example
a word list or a range of integers, and sends one HTTP request per item towards a given
server. The target server, path and HTTP headers can be configured on the command line.
There, one can replace parts of the HTTP request with the placeholder &lt;code&gt;FUZZ&lt;/code&gt;. All its
occurrences are replaced with the current item during each iteration. Optionally,
monsoon can filter or even parse the HTTP response.&lt;/p&gt;
&lt;p&gt;monsoon can be very helpful during penetration testing and in this blog post we would
like to motivate its development and introduce some common scenarios that can be tackled
using monsoon.&lt;/p&gt;</description></item><item><title>Diving into a WebSocket Vulnerability in Apache Tomcat</title><link>https://blog.redteam-pentesting.de/2020/websocket-vulnerability-tomcat/</link><pubDate>Mon, 02 Nov 2020 00:00:00 +0000</pubDate><description>&lt;p&gt;Apache Tomcat is a Java application server commonly used with web applications, which we
often encounter in penetration tests.&lt;/p&gt;
&lt;p&gt;In this post we will dive into the analysis of a vulnerability in the Apache Tomcat server
and an exploit which helped our customer to assess the risk on their business. The
vulnerability is a denial-of-service vulnerability appearing in conjunction with
WebSockets, and has been assigned &lt;a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13935"&gt;CVE-2020-13935&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>