Skip to content

Instantly share code, notes, and snippets.

View wizardy0ga's full-sized avatar
😄

WizardYoga wizardy0ga

😄
View GitHub Profile
@wizardy0ga
wizardy0ga / TerminateAnalysisTools.c
Last active June 15, 2024 01:39
T1562.001 - Impair Defenses: Disable or Modify Tools
/*
Author: wizardy0ga
Date: June 2024
Description: Spawns a thread that looks for & terminates processes that could be used for malware analysis
Tactic: TA0005 - Defense Evasion
Technique: T1562.001 - Impair Defenses: Disable or Modify Tools
Note: Nothing that hasn't been done before, just a bare bones PoC i coded for another project.
*/
@wizardy0ga
wizardy0ga / main.c
Last active June 23, 2024 21:16
Unhook NTDLL using a copy read from disk with indirect syscalls
/*
Author:
wizardy0ga
Date:
June 2024
Tested on:
Windows 10 19045.4529
@wizardy0ga
wizardy0ga / main.c
Last active June 23, 2024 21:27
Unhook with fresh NTDLL mapped from disk with indirect syscalls (syswhispers3)
/*
Author:
wizardy0ga
Date:
June 2024
Arch:
x64
@wizardy0ga
wizardy0ga / UnhookNtDllFromKnownDlls.c
Last active June 18, 2024 03:10
Unhooking NTDLL using a copy from the KnownDlls directory
/*
Author:
wizardy0ga
Date:
June 2024
Description:
Unhook ntdll using a copy mapped from the knowndlls directory.
https://learn.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order#factors-that-affect-searching
@wizardy0ga
wizardy0ga / NtdllFromLocalPEB.c
Created June 18, 2024 03:08
Dynamically parsing ntdll from the local process using the process environment block & supporting structures
/*
Author:
wizardy0ga
Date:
June 2024
Arch:
x64
@wizardy0ga
wizardy0ga / UnhookNtDllFromKnownDllsSyscalls.c
Created June 18, 2024 13:05
Unhook ntdll with a fresh text section from the knowndlls directory using syscalls generated with syswhispers3.
/*
Author:
wizardy0ga
Date:
June 2024
Arch:
x64
@wizardy0ga
wizardy0ga / config
Last active June 20, 2024 02:14
Configuration file for i3 window manager
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@wizardy0ga
wizardy0ga / i3status.conf
Last active June 19, 2024 23:26
Configuration file for i3status bar
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
@wizardy0ga
wizardy0ga / picom.conf
Created June 19, 2024 22:47
A configuration file for picom
# Picom Configuration, courtesy of Xubuntu Developers
# https://raw.githubusercontent.com/Xubuntu/xubuntu-default-settings/master/etc/xdg/xdg-xubuntu/picom.conf
#
# About Picom: https://github.com/yshui/picom
# Heavily based on: https://bit.ly/1l5OrzL
# Sample settings: https://github.com/chjj/compton/blob/master/compton.sample.conf
# --- Backend (OpenGL used by default)
# Related Links
# https://github.com/chjj/compton/wiki/perf-guide
@wizardy0ga
wizardy0ga / alacritty.toml
Last active June 21, 2024 03:14
A configuration file for alacritty
[font]
size = 12
[font.normal]
family = "Fira Code"
style = "Regular"
[font.bold]
family = "Fira Code"
style = "Bold"