Basic Credential Harvesting

Create a new landing page.

let s = document.getElementsByTagName('script'); while (s[0]) { s[0].parentNode.removeChild(s[0])}

Basic Credential Harvesting Landing Page Basic Credential Harvesting Landing Page

  • right click web page > inspect element.
  • find top HTML tag.
  • right click > copy > outer HTML.

Copy Outer HTML Copy Outer HTML

Gophish Landing Page Gophish Landing Page

Create a new email template

Be sure to include {{.URL}} ref

  • Name: Basic credential Harvesting
  • Envelope Sender: guy@target.docker
  • Subject: Account Security Feature Upgrade

Text:

All,

We are upgrading the security around our authentication services. Please login ({{.URL}}) to enable these new features.

Thanks
-
Guy Withaface
IT

HTML:

<html>
<head>
	<title></title>
</head>
<body>
<p>All,</p>

<p>We are upgrading the security around our authentication services. Please <a href="{{.URL}}">login to enable these new features</a>.</p>

<p>Thanks</p>
</body>
</html>

Basic Credential Harvesting Email Template Creation Basic Credential Harvesting Email Template Creation

Create a new group to be our target

We can download the CSV template and populate it with our users we found earlier. Then import the CSV template.

New Gophish Group New Gophish Group

  • Create new Campaign that uses the above.
    • Use http://gophish.docker/this/path/doesnt/matter for the URL.

Basic Credential Harvesting Campaign Basic Credential Harvesting Campaign

Test email in Mailhog

  • Open Mailhog

  • click link. First Email First Email First Landing Page First Landing Page

  • attempt to login with fake credentials. First Campaign Results First Campaign Results