Skip to content

Instantly share code, notes, and snippets.

@acepace
acepace / rol.im-securegoldenkeyboot
Last active March 25, 2021 00:29
Secure Golden Key Boot: (MS16-094 / CVE-2016-3287 and MS16-100/ CVE-2016-332)
| |
| a w r i t e u p r e l e a s e b y r o l |
| ________ ___ ________ ________ |
| <_ __ \/ \/ \/ ____ \ |
| T T<___/\___/\_ /\ _/\ \__j _/ |
| | | T T T / \ T__\____ T |
| | | | | | \ / |T T T | |
| l__j_____l___j_l__><__j| | | | |
| T _______ T | ___j | l___j | |
| | T __T |_j l_______l________j |
@acepace
acepace / psscor4
Last active August 22, 2017 14:02
windbg managed cheat sheet
#psscor4 (superset of sos)
Object Inspection Examining code and stacks
----------------------------- -----------------------------
DumpObj (do) Threads
DumpArray (da) ThreadState
DumpStackObjects (dso) IP2MD
DumpHeap U
DumpVC DumpStack
@acepace
acepace / mod_plaintext.py
Created January 30, 2018 10:09
Archive of mod_plaintext.py
if 82 - 82: i1 / Ii11i1iIi - i1IIi1i1iiI
if 84 - 84: IIiIii1iI . Ii % oOoO0Ooo / O0oo / O0oo0OOOOO00
if 49 - 49: o0oooooO / Ii11i1iIi * O0oo
if 21 - 21: Oooo - I11I1Ii
if 39 - 39: i1 . i1IIi1i1iiI - OOOoOooO / o0ooO
if 95 - 95: IIiII - Ii11i1iIi / O0oo0OOOOO00 + o0oooooO
time . sleep ( 3 )
if 20 - 20: Oo0
if 57 - 57: O0oo0OOOOO00 . Oo0 + IIiIii1iI * OOOoOooO . o0ooO * i1
if 93 - 93: Ii11i1iIi - Oo0Oo . Oooo . oOoO0Ooo * IIiII % i1
@acepace
acepace / everland.sml
Created April 20, 2019 17:04
Everland source
(*
* Setup
*
* In which we define the realm of terror
* Known as... Everland!
*)
exception CatFlag of string
exception Malformed
exception GameOver of string
@acepace
acepace / Microsoft.PowerShell_profile.ps1
Last active November 17, 2023 19:22 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Operator
@acepace
acepace / readme.md
Last active October 9, 2020 07:15
tl;dr security

Based on the grugq's famous gist, the tl;dr on what to worry about

  • Use a Google Pixel or an iPhone, nothing else.

  • Use encrypted messengers, Signal, WhatsApp, iMessage. Don't use SMS

  • Use Windows 10, patch it. If you're wondering what to buy, any with the Secured Core brand, or anything by Microsoft.

  • 2FA all your logins, use a password manager (doesn't matter which one)

@acepace
acepace / windows_hardening.cmd
Created November 25, 2022 14:41 — forked from mackwage/windows_hardening.cmd
Script to perform some hardening of Windows OS
:: Windows 10 Hardening Script
:: This is based mostly on my own personal research and testing. My objective is to secure/harden Windows 10 as much as possible while not impacting usability at all. (Think being able to run on this computer's of family members so secure them but not increase the chances of them having to call you to troubleshoot something related to it later on). References for virtually all settings can be found at the bottom. Just before the references section, you will always find several security settings commented out as they could lead to compatibility issues in common consumer setups but they're worth considering.
:: Obligatory 'views are my own'. :)
:: Thank you @jaredhaight for the Win Firewall config recommendations!
:: Thank you @ricardojba for the DLL Safe Order Search reg key!
:: Thank you @jessicaknotts for the help on testing Exploit Guard configs and checking privacy settings!
:: Best script I've found for Debloating Windows 10: https://github.com/Sycnex/Windows10Debloater
:
@acepace
acepace / text.md
Created April 23, 2023 20:35
Kafka as Kafka

Credit to Aaur

One morning, as Franz Kafka was waking up from uneasy dreams, he found himself transformed in his bed into an event stream. He lay on his back, which had transformed into a continuous flow of interlaced events, and when he lifted his head a little, he saw his body curving gently as the events streamed over one another.

What had happened to him? He thought, bewildered. It was no dream. His room, a proper human room although a little too small, lay peacefully between its four familiar walls. A collection of textile samples lay spread out on the table - Kafka had been a bureaucrat in a textile company - and above it there hung a picture that he had recently cut out of an illustrated magazine and housed in a nice, gilded frame. It showed a lady fitted out with a fur hat and fur boa who sat upright, raising a heavy fur muff that covered the whole of her lower arm towards the viewer.

As an event stream, Kafka looked out of the window. It was a foggy morning, and the streets below bustled with peop