Git Product home page Git Product logo

digisparkstealer's Introduction

DigiSparkStealer 🚀

This project allows you to steal passwords and cookies of the victim by inserting a Digispark Attiny85, ATMEGA32U4 or another programming controller with this software and after few seconds you have all the data by mail

Just plug BadUSB and get all data

Warning

Everything in this repository is strictly for educational purposes. Notice I am not responsible for stolen data. You are responsible for your actions using developed script for BadUSB

About

All your data when working with a browser is cached. Since popular browsers like Chrome, Opera or Yandex Browser are chromium based browsers, all stored data on a computer has a similar structure.

The interesting for us data collected in database SQLite. The url, login fields are stored explicitly, but password must be decrypted by win32crypt. This type of encryption means that passwords can be extended only on the client’s computer and nowhere else. We run our program on the client, it uses the client's keys to decrypt passwords and send the decrypted data to our email. Moreover, we can also send cookies and another useful information.

For example, to get all the saved passwords from earlier connected Wi-Fi networks, you just need to type the command:

netsh wlan show profiles

It displays a list of all saved networks. For each network, you must write a command with name (ESSID) of the network. You can read more here

This way we get more victims information. MAC-addresses also can be extracted, using ipconig /all

Alpha version NTLM

Try to extract Windows user password using mimikatz, pypykatz and pypykatz + procdump

Run

Based on the fact that antivirus programs define chrompass as malicious and do not allow it to be run, I had to write a program myself that receives all the data. My modified code sends data to the mail, while in the previous version of the program a powershell was involved in SMTP server creation.

Advantages:

  • Not blocked by firewall
  • Steals WI-FI passwords
  • Works not only with Chrome, but also with Opera and Yandex
  • Simple w3-style css report.

Output example

Disadvantages:

  • Big executable file (5Mb)

Getting Started

Requirements

  1. Buy Digispark ATtiny85
  2. Install Arduino IDE for Digispark

Install

  1. Download this repo

Linux:

$ git clone https://github.com/kovinevmv/DigiSparkStealer
$ cd DigiSparkStealer

Windows: Click on green button on right top of main page. Then - "Download Zip"

  1. Replace your mail, password from the mail and the recipient with your data here
  2. Compile your code by pyinstaller to create executable file
pyinstaller --onefile main.py
  1. Upload executable file from dist to Internet (like git or DropBox)
  2. Replace LINK_HERE with your url here
  3. Run sketch in Arduino IDE, plug Digispark Attiny85
  4. Find victim)

Requirements for victim's PC

  • Switch the keyboard layout to English.
  • Internet is required on the victim's computer

TODO

  • Integrate mimikatz to extract passwords from windows.
  • Rewrite WI-FI password grabber to powershell script, to get all the passwords including those requiring administrator rights.
  • Fix Yandex Browser

Old versions

Based on Nirsoft program

Nirsoft sources

First version is based on Nirsoft program - ChromePass

This software is very convenient and has own advantages. The company has developed software for recovering forgotten passwords. To see your passwords, you just need to run the program and get all your passwords saved on the PC in the "Login Data" file. Most antivirus programs, including Windows Defender, block this file, so most likely the result of this script is poor. Here is report. A PC with a disabled protector and no antivirus is required.

Remember that it only steals Chrome passwords. No more!!!

Advantages:

  • Fast download. Executable file is <1Mb. Can be used in case of bad internet at the victim.
  • Simple presentation of the report in csv, html text forms.

Disadvantages:

  • High probability of launch blocking

Donate for coffee

Boosty

digisparkstealer's People

Contributors

kovinevmv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

digisparkstealer's Issues

No such file or directory #include "HID.h"

Hey, I got a problem when I want to upload the sketch script to my digispark. This is the error I got:

Arduino:1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board:"Digispark (Default - 16.5mhz)"

In file included from C:\Users\144298\Desktop\DigiSparkStealer-master\arduino_source\sketch\sketch.ino:1:0:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\Keyboard\src/Keyboard.h:25:17: fatal error: HID.h: No such file or directory

#include "HID.h"

             ^

compilation terminated.

exit status 1

Error compiling for board Digispark (Default - 16.5mhz)

Does not work

when ı run the main.exe a command prompt opens and close immediatly, any solutions ?

`
This file lists modules PyInstaller was not able to find. This does not
necessarily mean this module is required for running you program. Python and
Python 3rd-party packages include a lot of conditional or optional modules. For
example the module 'ntpath' only exists on Windows, whereas the module
'posixpath' only exists on Posix systems.

Types if import:

  • top-level: imported at the top-level - look at these first
  • conditional: imported within an if-statement
  • delayed: imported from within a function
  • optional: imported within a try-except-statement

IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
yourself tracking down the missing module. Thanks!

missing module named 'org.python' - imported by copy (optional), xml.sax (delayed, conditional)
missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), http.server (delayed, optional), webbrowser (delayed), pip._vendor.distlib._backport.tarfile (optional), pip._vendor.distlib._backport.shutil (optional), netrc (delayed, conditional), getpass (delayed)
missing module named org - imported by pickle (optional)
missing module named grp - imported by shutil (optional), tarfile (optional), pip._vendor.distlib._backport.tarfile (optional), pip._vendor.distlib._backport.shutil (optional)
missing module named termios - imported by tty (top-level), getpass (optional)
missing module named _posixsubprocess - imported by subprocess (conditional)
missing module named vms_lib - imported by platform (delayed, conditional, optional)
missing module named 'java.lang' - imported by platform (delayed, optional), xml.sax._exceptions (conditional)
missing module named java - imported by platform (delayed)
missing module named _scproxy - imported by urllib.request (conditional)
missing module named _winreg - imported by platform (delayed, optional)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional)
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional)
missing module named readline - imported by cmd (delayed, conditional, optional), code (delayed, conditional, optional), pdb (delayed, optional)
missing module named pypykatz - imported by ntlm (top-level)
missing module named builtin - imported by pip._vendor.distlib._backport.tarfile (conditional)
missing module named posix - imported by os (conditional, optional)
missing module named resource - imported by posix (top-level)
`

help

X

can you explain to me what to change in order to run the script correctly ?

Put the source code back!

There are many more, much worse, scripts out there. Please put the source code back up, you are not helping anyone by leaving it down!

Where's the pie?

Seems like you've made some very good and thorough documentation, but where is the .py, as it seems to be referenced in the docs, yet it appears to have been removed?

Getting compile error.

fatal error: HID.h: No such file or directory
#include "HID.h"

compilation terminated.
exit status 1
Error compiling for board Digispark (Default - 16.5mhz).

helppp

Keyboard.h:25:17: fatal error: HID.h: No such file or directory #include "HID.h"

When I try to upload the sketch, i get this message:

In file included from C:\Users\dubai\Desktop\New folder (2)\New folder\DigiSparkStealer-master\arduino_source\sketch\sketch.ino:1:0:
C:\Users\dubai\AppData\Local\Arduino15\libraries\Keyboard\src/Keyboard.h:25:17: fatal error: HID.h: No such file or directory
#include "HID.h"
^
compilation terminated.

exit status 1

Compilation error: exit status 1

compiling error with digispark board

When i was compiling the code of sketch.ino I was receiving lot issues like

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Digispark (Default - 16.5mhz)"

In file included from C:\Users\sayed\Desktop\Arduino Project Works\DigiSparkStealer-master\arduino_source\sketch\sketch.ino:1:0:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries\Keyboard\src/Keyboard.h:25:17: fatal error: HID.h: No such file or directory

#include "HID.h"

             ^

compilation terminated.

exit status 1

Error compiling for board Digispark (Default - 16.5mhz).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

plz tell me if I am doing something wrong.
waiting for your reply

Win32crypt lib is not installed on victim PC

Error:

Traceback (most recent call last):
  File "main.py", line 5, in <module>
  File "c:\users\venom\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
    exec(bytecode, module.__dict__)
  File "chromium.py", line 6, in <module>
ImportError: DLL load failed while importing win32crypt: Не найден указанный модуль.
[9672] Failed to execute script main

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.