Skip to content

Instantly share code, notes, and snippets.

View realoriginal's full-sized avatar

Austin Hudson realoriginal

View GitHub Profile
@realoriginal
realoriginal / GetIp.s
Created March 15, 2024 19:04
GetIp AARCH64 for Windows on ARM.
.section .text$C
.global GetIp
GetIp:
bl _next_instruction
_next_instruction:
mov x0, lr
sub x0, x0, _next_instruction - GetIp
ret
/*!
*
* ROGUE
*
* GuidePoint Security LLC
*
* Threat and Attack Simulation Team
*
!*/
@realoriginal
realoriginal / agent_proc_list_tab.py
Created September 15, 2023 14:32
Example elements for displaying information back to the client and right-click-opt
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
import PyQt5
import qtinter
import asyncio
class AgentProcListTab( PyQt5.QtWidgets.QWidget ):
"""
Tasks the specified agent with requesting a process listing against the
specified agent and executes the rendered results.
import asyncio
import qtinter
import ipaddress
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5.QtGui import *
class ExportPayloadDialog( QObject ):
"""
#
# ROGUE
#
# GuidePoint Security LLC
#
# Threat and Attack Simulation Team
#
import os
import sys
import click
D_SEC( A ) NTSTATUS NTAPI Entry( _In_ PVOID Parameter )
{
PARSED_BUF Psr;
UINT32 Wrt = 0;
PARG Arg = NULL;
LPWSTR Nps = NULL;
HANDLE Pip = NULL;
@realoriginal
realoriginal / Entry.c
Created March 29, 2023 16:40
TLDR: How a socks proxy client is written to tunnel connections from a 'teamserver' to an agent.
/*!
*
* RPROXICMP
*
* GuidePoint Security LLC
*
* Threat and Attack Simulation Team
*
!*/