Skip to content

Instantly share code, notes, and snippets.

View Satharus's full-sized avatar
💻
Just tinkering and stuff.

Ahmed Elmayyah Satharus

💻
Just tinkering and stuff.
View GitHub Profile
@Satharus
Satharus / MUICache.yml
Last active May 27, 2021 11:22
Velociraptor Artifact to return a table which contains the MUI Cache entries.
name: Custom.Windows.Registry.MUICache
description: |
Parses the system's MUI cache from the registry
author: Ahmed Elmayyah & eduardocm
parameters:
- name: ModernRegistryGlob
default: HKEY_USERS\*\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache**
- name: LegacyRegistryGlob
@Satharus
Satharus / VT Escape Colours.c
Last active July 17, 2022 17:10
An example for using ANSI escape sequences to change foreground and background colours in a terminal.
#include <stdio.h>
#include <string.h>
/*
Terminal text foreground and background colours can be changed using ANSI escape codes.
If an escape character followed by a certain sequence is printed to STDOUT, the terminal will change the fore/background colour.
- Foregroud colour sequence: ESC[38;5;{COLOUR}m replace {COLOUR} with one of the numbers from the 8-bit ANSI colour lookup table.
- Background colour sequence: Do the exact same as above but use 48 instead of 38. Making the sequence ESC[48;5;{COLOUR}m
@Satharus
Satharus / OSC - Getting Started with Cybersecurity.md
Last active February 9, 2024 19:50
A session for OSC 2023's Linux committee and general crew on how to get started with cybersecurity on 30/1/2023

What is Cybersecurity anyway?

  • In layman's terms: Protecting computers from theft or damage
  • In more technical terms:
    • Penetration Testing
    • Vulnerability Assessment
    • "Ethical Hacking"
    • Cyber Defence
    • Threat Monitoring
    • Threat Hunting
    • Threat Intelligence