FlyFishing
Lightweight Phishing for Red Team Assessments ๐ฃ
Install / Use
/learn @DoobTheGoober/FlyFishingREADME
FlyFishing ๐ฃ
Quickly Deploy Phishing Webpages for Red Team Assessments
Description ๐ฆ
Quickly deploy phishing webpages and cast phishing emails to lure victims in Red Team Assessments. This is a lighweight golang webserver which hosts the webpage locally or for one to host externally. Caster on the other hand is for casting phishing emails to given targets on an assessment.
Deployment ๐จ
git clone https://github.com/CharlesTheGreat77/FlyFishing
cd FlyFishing
go mod init main
go mod tidy
go get github.com/PuerkitoBio/goquery
go build -o fishing main.go
fishing ๐ฃ
FlyFishing allows one to setup a local phishing webpage based on a given template. Templates can be found in /templates or found online.
./fishing -template templates/google.html
2024/09/23 06:16:27 [*] Server started at http://localhost:8888
2024/09/23 06:16:39 [*] Client IP visiting the page: 192.168.0.42:54773
2024/09/23 06:16:39 [*] Client IP visiting the page: 192.168.0.42:54773
2024/09/23 06:16:58 [*] Client IP on login: 192.168.0.42:54775
2024/09/23 06:16:58 [*] Received form data:
2024/09/23 06:16:58 Field: login_password, Value: admin1233
2024/09/23 06:16:58 Field: remember_me, Value: on
2024/09/23 06:16:58 Field: login_email, Value: admin@gmail.com
Templates ๐
How are templates processed? By using regex to locate action attribute(s) in the form and points such to our /login handler
re := regexp.MustCompile(`(?i)(<form[^>]*action=")([^"]*)(")`)
modified := re.ReplaceAllString(html, `${1}/login${3}`)
- Redirection is based on file name, save templates to templates with the correlating website which the form is for (ie. linkedin.html). Templates are encoded in base64 and displayed after 3 seconds of the page being visited.
Caster ๐ฃ
Caster allows one to send or modify given templates to send to targets. It allows one to test the score(s) of a given phishing email using mail-tester.com for the odds of the email landing in spam. By spoofing a given email by effectively manipulating the headers with a well made phishing email will hook ๐ช most if not all targets!
Build caster โ๏ธ
go build -o caster caster.go
./caster -h
SMTP Setup โ๏ธ
- Edit config.json
- Enter your email (smtp domain)
- Enter your token (password)
- Enter the SMTP server
Usage ๐ค
Usage of ./caster:
-help
show usage
-homograph
specify option to replace chars with cryillic
-spamfilter
enable to get a given templates spam score
-spoof string
specify address to spoof email from [keep spam in mind]
-subject string
specify a subject to add to email
-target string
specify target(s) email address [filename or seperated by commas]
-template string
specify a template for the email
Caster examples โ๏ธ
Single Target
caster -template template.html -subject "RSVP Lunch" -spoof "Steven <michale@filamentco.org>" -target example@domain.com
Multiple Target(s)
caster -template template.html -subject "RSVP Lunch" -spoof "Steven <michale@filamentco.org>" -target example@domain.com,example2@domain.com
Target(s) in file
caster -template template.html -subject "RSVP Lunch" -spoof "Steven <michale@filamentco.org>" -target emails.txt
- emails in file must be seperated by line.
Modify template to replace chars with homographic (cryillic) lookalikes
caster -template template.html -homograph
Testing phishing emails with spamfilter
caster -template template.html -subject "RSVP Lunch" -spoof "Steven <michale@filamentco.org>" -spamfilter
- sends phishing email to mail-tester.com to retreive spam score. [default mail-tester email is hardcoded]
Spamfilter
The spamfilter email to test phishing email spam scores can be changed to an "updated" email of your choice.
- Visit https://mail-tester.com
- Copy Link Email
- Paste email on line 217
tempMail := "test-sxzd09jk9@srv1.mail-tester.com"
Todo ๐งพ
- AI template creation [ ]
- Email Obfuscation [x]
But why FlyFishing? ๐ค
After a previous phishing assessment, I wanted to highlight the ease of spinning up cloned phishing pages within around 20 minutes from start to finish. This would allow anyone with limited time to get crackin' wit creds! ๐ฅ
Credits ๐ช
Templates: https://github.com/htr-tech/zphisher/tree/master/.sites
Disclaimer ๐ฉ
This program should only be used on environments that you own or have explicit permission to do so. The author will not be held liable for any illegal use of this program.
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot ๅฏๅชไฝๆถๅ่ฝๅใไฝฟ็จ <qqmedia> ๆ ็ญพ๏ผ็ณป็ปๆ นๆฎๆไปถๆฉๅฑๅ่ชๅจ่ฏๅซ็ฑปๅ๏ผๅพ็/่ฏญ้ณ/่ง้ข/ๆไปถ๏ผใ
