Skip to content

Instantly share code, notes, and snippets.

View rc-MikeDevens's full-sized avatar

rc-MikeDevens

View GitHub Profile
@jgamblin
jgamblin / internetdb.ipynb
Created March 14, 2022 19:07
CIDR lookup tool for the InternetDB API
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pmichaudrc
pmichaudrc / Invoke-ChainReaction.ps1
Created July 13, 2021 13:31
PowerShell script that combines the original Chain Reactions from Atomic Red Team
function Invoke-ChainReaction {
<#
.SYNOPSIS
A single script that combines the original Chain Reactions from the Atomic Red Team project
.PARAMETER Reaction
Specifies the ChainReaction to execute.
@ChuckFrey
ChuckFrey / RansomwareExtensions.txt
Last active May 31, 2024 18:41
Possible file extensions to open with notepad.exe to reduce the risk of ransomware executing
You can create a GPO to test changing the default behavior of the following extensions to not behave as a script
but rather as a benign text file opened in notepad.
js
wsh
vbs
wsc
sct
jse
wsf
@curi0usJack
curi0usJack / .htaccess
Last active July 9, 2024 18:38
FYI THIS IS NO LONGER AN .HTACCESS FILE. SEE COMMENTS BELOW. DON'T WORRY, IT'S STILL EASY.
#
# TO-DO: set |DESTINATIONURL| below to be whatever you want e.g. www.google.com. Do not include "http(s)://" as a prefix. All matching requests will be sent to that url. Thanks @Meatballs__!
#
# Note this version requires Apache 2.4+
#
# Save this file into something like /etc/apache2/redirect.rules.
# Then in your site's apache conf file (in /etc/apache2/sites-avaiable/), put this statement somewhere near the bottom
#
# Include /etc/apache2/redirect.rules
#
<Sysmon schemaversion="4.32">
<!-- Capture all hashes -->
<HashAlgorithms>*</HashAlgorithms>
<DnsLookup>False</DnsLookup>
<ArchiveDirectory>Archive</ArchiveDirectory>
<EventFiltering>
<RuleGroup name="" groupRelation="or">
<!-- Event ID 1 == Process Creation. Log all newly created processes except -->
<ProcessCreate onmatch="exclude">
<Image condition="contains">splunk</Image>