RSSAmplifier

Blog

hausec

Professional Cloud Puncher

hausec.comRSS feed ↗10 posts

Latest posts

Azure Storage Account Attacks and Detections

In Azure land, there s many resources for many reasons. Throughout the cloud security part of my career, I ve seen environments use many different types of resources but the most common one I ve seen, by far, are storage accounts. Storage accounts are used sometimes without the customer even knowing it. Ever spin up Cloud Shell? There s [ ]

Azure Virtual Machine Execution Techniques

In Azure, there are several ways to execute commands on a running virtual machine aside from using RDP or SSH to remote in and open a shell. One of the common ways to accomplish this in Azure is through the Run Command feature that is present on all Azure Virtual Machines. Since this is commonly [ ]

PowerZure 2.1 Update

It s been almost a year since my Azure exploitation project PowerZure received an update and in the changing world of Azure/cloud, that means several things broke. PowerZure will now continue to be my focus and receive regular support updates, starting with the latest release, version 2.1. Several things have been changed and added, some [ ]

Abusing and Detecting Alternative Data Channel Command Execution on Azure Virtual Machines

Currently, command execution on virtual machines (VM) in Azure happens through the cmdlet Invoke-AzVMRunCommand. There are other specific ways, such as using an Azure Runbook if a RunAs account is being used. However, after some experimentation, there is another data channel that can be abused by Azure VMs to allow an attacker to run commands [ ]

Attacking Azure & Azure AD, Part II

Abstract When I published my first article, Attacking Azure Azure AD and Introducing PowerZure, I had no idea I was just striking the tip of the iceberg. Over the past eight months, my co-worker Andy Robbins and I have continued to do a lot of research on the Azure front. We’ve recently found some [ ]

Cobalt Strike and Tradecraft

It’s been known that some built-in commands in Cobalt Strike are major op-sec no-no’s, but why are they bad? The goal of this post isn’t to teach you “good” op-sec, as I feel that is a bit subjective and dependent on the maturity of the target’s environment, nor is it “how to detect Cobalt Strike”. [ ]

Creating a Red & Blue Team Homelab

Over the years of penetration testing, red teaming, and teaching, I (and I m sure a lot of others) are often asked how to get started in infosec. More specifically, how to become a pentester/red teamer or threat hunter/blue teamer. One of the things I always recommend is to build out a lab so you can [ ]

AzureHound Cypher Cheatsheet

List of Cypher queries to help analyze AzureHound data. Queries under GUI are intended for the BloodHound GUI (Settings Query Debug Mode). Queries under Console are intended for the Neo4j console (usually located at http://localhost:7474). Download the Custom Queries json file here: https://github.com/hausec/Bloodhound-Custom-Queries GUI Return All Azure Users that are part of the Global…

Using a C# Shellcode Runner and ConfuserEx to Bypass UAC

I was recently on an engagement where we phished in and ran into UAC which gave me more trouble than I expected. When a user logs onto Windows, a logon session is created and the credentials are tied into an authentication package inside of the logon session. Whenever a process wants to act as a [ ]

Kerberosity Killed the Domain: An Offensive Kerberos Overview

Kerberos is the preferred way of authentication in a Windows domain, with NTLM being the alternative. Kerberos authentication is a very complex topic that can easily confuse people, but is sometimes heavily leveraged in red team or penetration testing engagements, as well as in actual attacks carried out by adversaries. Understanding how Kerberos works legitimately [ ]