Skip to content

Instantly share code, notes, and snippets.

View byinarie's full-sized avatar
🐳

byinarie

🐳
View GitHub Profile
@byinarie
byinarie / RemComObf.sh
Created July 19, 2023 15:05 — forked from snovvcrash/RemComObf.sh
A simple RemComSvc obfuscation PoC (https://github.com/kavika13/RemCom)
#!/usr/bin/env bash
SEARCH="RemCom"
REPLACE=`cat /dev/urandom | tr -dc '[:alpha:]' | fold -w 8 | head -n 1`
git clone -q https://github.com/kavika13/RemCom RemComObf
find RemComObf -type f -exec sed -i -e "s/${SEARCH}/${REPLACE}/g" {} \;
sed -i "s/A service Cannot be started directly./Nothing's here.../g" RemComObf/RemComSvc/Service.cpp