Skip to content

Instantly share code, notes, and snippets.

View mback2k's full-sized avatar
👨‍👩‍👧‍👦
I may be slow to respond. Family life and day job keep me busy.

Marc Hörsken mback2k

👨‍👩‍👧‍👦
I may be slow to respond. Family life and day job keep me busy.
View GitHub Profile
@psrok1
psrok1 / emotet-doc.py
Created May 17, 2019 13:29
URL unpacker from documents with malicious macros sent by Emotet
"""
Needs oledump.py in the same directory (download from https://raw.githubusercontent.com/DidierStevens/DidierStevensSuite/master/oledump.py)
and olefile (pip install olefile)
Usage: python2 emotet-doc.py [doc path]
"""
import base64
import re
import sys
@alexjebens
alexjebens / ghost-network-adapters-powershell.ps1
Last active January 22, 2023 22:55
Remove Ghost Network Adapters with PowerShell only
$T = @"
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace Win32
{
public static class SetupApi
{
// 1st form using a ClassGUID only, with Enumerator = IntPtr.Zero