Coder Social home page Coder Social logo

opengs / uashield Goto Github PK

View Code? Open in Web Editor NEW
1.1K 35.0 181.0 2.76 MB

Voluntary Ukraine security platform to protect us from Russian forces in the Internet

License: The Unlicense

JavaScript 16.94% TypeScript 50.77% Vue 25.62% Sass 0.49% HTML 0.61% Dockerfile 0.41% Shell 3.43% Smarty 1.03% HCL 0.70%
ukraine ukraine-invasion cybersecurity

uashield's Introduction

Доступна нова версія застосунку | New version of tool is available.

UACyberShield V2 доступна за посиланням https://github.com/opengs/itarmykit . Цей репозиторій буде зархівовано тоді коли буде випущена стабільна версія нового застосунку.

UACyberShield V2 is available under https://github.com/opengs/itarmykit . This repository will be archived when the stable version of the new tool will be released.

UA Cyber SHIELD

CAUTION! We do not support unlawful attacks or malware campaigns that cause technical harm. We provide you with a tool which you can use, but we are not telling or advising you on what to do with it. YOU are responsible of what you choose to do with it !!!! We are just providing a tool JUST LIKE thousand others on Github. If we give you a hammer - YOU are responsible of what you choose to knock with it !

See this README in English

Release

Для кіберзахисників

  1. Програми знаходяться в релізах
  2. Вибираємо найновший реліз і свою платформу
  3. Скачуємо і запускаємо

У користувачів на Linux можливо треба буде додати аргумент --no-sandbox. На Windows має працювати без будь-яких додаткових аргументів

Як це працює

Наш центр волонтерів займається всією тяжкою роботою: моніторингом цілей, підтримкою технічної інфраструктури, координацією атак, передачею даних до програм клієнтів, тощо. Тому на момент атаки всі підготовчі дані є. Вам залишається тільки встановити програму і приєднатися. Цілі змінюються автоматично і підвантажуються з центру координації.

Інтерфейс програми

A working example

Збірка коду

  1. Клонуємо репозиторій: git clone https://github.com/opengs/uashield.git
  2. Встановлюємо залежності: cd uashield && yarn install
  3. Збираємо програму: yarn build:electron
  4. Запускаємо виконавчий файл в ./dist/electron або електрон версію: yarn start:electron

Збірка коду - headless

  1. Збираємо програму: yarn build:headless
  2. Запускаємо yarn start:headless

Headless версія (Docker)

  1. Збірка образу: docker build . -t uashield
  2. Запуск: docker run uashield --workers=500 --withProxy=true - де workers - кількість потоків, і --withProxy=true | false чи ви бажаєте використовувати проксі

Повна довідка про команди: docker run uashield --help

Або за допомогою вже зібраного образу:

docker run ghcr.io/opengs/uashield:master --workers=512 --withProxy=true

Docker-compose версія

  1. Запуск: docker-compose up -d
  2. Відредагуйте значення змінних WORKERS та USEPROXY в файлі docker-compose.yml - де 256 - кількість потоків, і true | false чи ви бажаєте використовувати проксі

Розгортання на Raspberry Pi

balena deploy button

Розгортання за допомогою Ansible

tools/ansible/README.md

Розгортання у Kubernetes

tools/helm/README.md

Розгортання на Play With Docker - безкоштовний інстанс на 4 години

Try in PWD

Пожертвування

Пожертвування будуть використовуватися виключно для цілей програми:

  1. Закупівля проксі серверів для атак
  2. Зрідка закупівля серверів для розміщення IT інфраструктури

Коли ми переможемо в цій війні і настане мирний час, гроші що залишаться будуть передані благодійним організаціям на допомогу жертвам цієї війни.

Рахунки для переказу коштів:

  • BTC: bc1q7e6ew74x56vdpsev5ycqq8ke3tk4yv5452l25g
  • ETH: 0x9472538607eE28F69FE7dAcD6C4cC17B9A20664F
  • USDT (ETH): 0x9472538607eE28F69FE7dAcD6C4cC17B9A20664F ця адреса в мережі ETH

Якшо ви хочете почастувати розробників кавою щоб вони могли прогулювати роботу і не спати ночами:

  • BTC: bc1q7g5s3c89lymc9vtrf0y8tqyx4mg0hefeyr6zsv
  • ETH: 0x75A291AB6795f747177975bac250B47A33ee54Ed
  • USDT (ETH): 0x75A291AB6795f747177975bac250B47A33ee54Ed ця адреса в мережі ETH

В майбутньому ми додамо їх ще більше :)

uashield's People

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

uashield's Issues

Додайте інформацію про проксі

Варто попереджати користувача що без проксі з'єднання більшість українських провайдерів буде блокувати деякі ресурси, тим самим DDOS буде відбуватись на мережу провайдера, а не на ресурс окупанта.

Наразі програма більше заохочує "сильніше" навантажувати ресурси окупанта відключивши проксі з'єднання.

Translate UI

Where do I start?

I can offer German, English, Swedish translations. I don't speak Ukranian though.

Just realized there are other languages. But the default UI is Ukranian and its not obvious to find out how to switch the language.

docker build faild

D:\Projects\learning\uashield>docker build -t uashield .
[+] Building 12.3s (4/4) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> ERROR [internal] load metadata for docker.io/library/node:14-alpine 12.2s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s

[internal] load metadata for docker.io/library/node:14-alpine:
[+] Building 25.0s (9/12)
=> [internal] load build definition from Dockerfile 0.0sk
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
[+] Building 25.8s (9/12)
=> [internal] load build definition from Dockerfile 0.0s
[+] Building 25.9s (9/12)
=> [internal] load build definition from Dockerfile 0.0s
[+] Building 26.1s (9/12)
=> [internal] load build definition from Dockerfile 0.0s
[+] Building 26.4s (9/12)
=> [internal] load build definition from Dockerfile 0.0s
[+] Building 27.5s (9/12)
=> [internal] load build definition from Dockerfile 0.0s
[+] Building 27.8s (9/12)
=> [internal] load build definition from Dockerfile 0.0s
[+] Building 28.2s (9/12)
=> [internal] load build definition from Dockerfile 0.0s
[+] Building 36.2s (9/12)
=> [internal] load build definition from Dockerfile 0.0s
[+] Building 36.3s (9/12)
=> [internal] load build definition from Dockerfile 0.0s
[+] Building 68.2s (9/12)
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> [internal] load metadata for docker.io/library/node:14-alpine 13.1s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s
[+] Building 68.8s (9/12)
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> [internal] load metadata for docker.io/library/node:14-alpine 13.1s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s
[+] Building 71.0s (10/12)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> [internal] load metadata for docker.io/library/node:14-alpine 13.1s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s
=> [1/7] FROM docker.io/library/node:14-alpine@sha256:9a2aa545388a135b496bd55cef2be920b96c4526c99c140170e05a8de3 6.6s
=> => resolve docker.io/library/node:14-alpine@sha256:9a2aa545388a135b496bd55cef2be920b96c4526c99c140170e05a8de3 0.0s
=> => sha256:f0b94cdce0f39cf2853c3ebedbd1696e64f31f6854918e4672ef5f92099dc9e1 2.36MB / 2.36MB 1.1s
=> => sha256:664688b94c1580623bcd4a54c20448eaf12b1da320e8f714fda094ed2faacd85 451B / 451B 0.6s
=> => sha256:9a2aa545388a135b496bd55cef2be920b96c4526c99c140170e05a8de3fce653 1.43kB / 1.43kB 0.0s
=> => sha256:43ec2ba01c2a245e341489956258afd3535a9ebfdf87ade04b84299ca736607f 1.16kB / 1.16kB 0.0s
=> => sha256:755b96824e405a4849d187efc06dfd2d95478d35719f956dff1a01bba4b3096c 6.53kB / 6.53kB 0.0s
=> => sha256:39aa0d19fbe176d43dbe68edc8bb108983b40c55ef6b9f759360b3f5bacf418f 37.13MB / 37.13MB 2.8s
=> => extracting sha256:39aa0d19fbe176d43dbe68edc8bb108983b40c55ef6b9f759360b3f5bacf418f 3.0s
=> => extracting sha256:f0b94cdce0f39cf2853c3ebedbd1696e64f31f6854918e4672ef5f92099dc9e1 0.2s
=> => extracting sha256:664688b94c1580623bcd4a54c20448eaf12b1da320e8f714fda094ed2faacd85 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 1.46MB 0.1s
=> [2/7] RUN mkdir -p /code 0.9s
=> [3/7] WORKDIR /code 0.0s
=> [4/7] COPY package.json yarn.lock /code/ 0.1s
=> ERROR [5/7] RUN yarn install 50.1s


[5/7] RUN yarn install:
#9 0.893 yarn install v1.22.17
#9 1.090 [1/5] Validating package.json...
#9 1.096 [2/5] Resolving packages...
#9 2.011 [3/5] Fetching packages...
#9 26.44 error An unexpected error occurred: "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz: connect ECONNREFUSED 104.16.27.35:443".
#9 26.44 info If you think this is a bug, please open a bug report with the information provided in "/code/yarn-error.log".
#9 26.44 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.


executor failed running [/bin/sh -c yarn install]: exit code: 1

[+] Building 71.4s (10/12)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> [internal] load metadata for docker.io/library/node:14-alpine 30.7s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s
=> [1/7] FROM docker.io/library/node:14-alpine@sha256:9a2aa545388a135b496bd55cef2be920b96c4526c99c140170e05a8de3 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 3.83kB 0.1s
=> CACHED [2/7] RUN mkdir -p /code 0.0s
=> CACHED [3/7] WORKDIR /code 0.0s
=> CACHED [4/7] COPY package.json yarn.lock /code/ 0.0s
=> ERROR [5/7] RUN yarn install 40.5s

[5/7] RUN yarn install:
#10 0.885 yarn install v1.22.17
#10 1.083 [1/5] Validating package.json...
#10 1.090 [2/5] Resolving packages...
#10 2.008 [3/5] Fetching packages...
#10 23.32 error An unexpected error occurred: "https://registry.yarnpkg.com/@types/node/-/node-17.0.21.tgz: connect ECONNREFUSED 104.16.27.35:443".
#10 23.32 info If you think this is a bug, please open a bug report with the information provided in "/code/yarn-error.log".
#10 23.32 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.


executor failed running [/bin/sh -c yarn install]: exit code: 1

Про ваш проект

Хлопці, я розумію вашу мотивацію і поділяю ваші почуття щодо того, що відбувається, але якщо ви хоч трохи розумієте, як працюють телекомунікаційні мережі, то повинні розуміти, що те, чим ви займаєтеся, може вплинути на роботу мереж у самій Україні і через це може хтось постраждати або навіть втратити життя через те, що хтось з кимось не зможе зв'язатися в потрібний момент.

На русском:

Ребят, я понимаю вашу мотивацию и разделяю ваши чувства относительно происходящего, но если вы хоть немного понимаете как работают телекоммуникационные сеть, то должны понимать, что то, чем вы занимаетесь, может повлиять на работу сетей в самой Украине и из-за этого может кто-то пострадать или даже потерять жизнь из-за того, что кто-то с кем-то не сможет связаться в нужный момент.

Дати змогу коннектитись до ботнету без графічного кліента

Я хочу використовувати VPSки задля скоординованих атак, але як я зараз розумію, є тільки електрон кліент для коннекту до ботнету. Я и мої коллеги можемо створити якийсь варіант без UI, на пітоні, але тоді мені треба скоординуватися с кимось хто може розповісти про внутрішню кухню

Колво потоков.

У меня дедик, хочу фигнауть фулл по потокам, сделать более агрессивный дудос. Запустил около 30 экземпляров в 256 потоков, но это всеголишь 50 процентов загрузки проца и около 5 процентов сети. Как мне подкорректировать конфиги и сделать более 256 потоков а также более тяжелые пакеты использовать?

Add guide how to create free VMs

You can add a guide like this (https://dou.ua/forums/topic/36795/) how to create free VMs and use them.
Please note that the guide above proposes an expensive VM, I think Standard B2s (2 vcpus, 4 GiB memory) is enough.

Recommend how many threads to set.

Few other tips:

  1. create VMs in different regions
  2. After Vm is configured and app launched, it make sence to close RDP port on Networking tab of Azure VM portal

Docker version

I have a quite some big channel plus I can use some aws resources.
For this docker image would be ideal

Please add i18n translation (en-us) for the Advanced section

advanced: {
  header: 'Advanced settings',
  description: 'If you are an inexperienced user and do not understand some of the concepts, please do not change the advanced settings. This, in turn, can adversely affect the operation of the program ',
  masDosersCount: {
    name: 'Level of parallelism',
    description: 'Specifies the number of parallel processes. Asynchronous mechanisms (non-streaming) are used, so it does not greatly affect the CPU / RAM. After the change, you have to wait ~ 10 seconds for additional parallel DDOSers to start
  }
}

Build on Linux Mint 20.3 Cinnamon

Не збирається з сирців в Linux Mint 20.3 Cinnamon - при виконанні команди npm install виникає наступна помилка:
[ .................] \ fetchMetadata: sill fetchPackageMetaData error for @types/node@^12.20.21 Unexpected end of JSON input while parsing near '...zUgiVy+PSGAII7ZxndZZ

The MacOs executable fails to start

The MacOs executable fails to start with error below. Was able to start from sources in development mode.

Process:               UA Cyber SHIELD [14099]
Path:                  /private/var/folders/*/UA Cyber SHIELD.app/Contents/MacOS/UA Cyber SHIELD
Identifier:            shield
Version:               0.0.8 (0.0.8)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           UA Cyber SHIELD [14099]
User ID:               501

Date/Time:             2022-03-01 11:02:48.458 +0100
OS Version:            macOS 11.2.3 (20D91)
Report Version:        12
Bridge OS Version:     5.2 (18P4347)
Anonymous UUID:        A46CF414-10FE-8C07-8777-BBD5C85B8D31

Sleep/Wake UUID:       2E576BA7-3FCB-4C80-B582-10A4300C1CA5

Time Awake Since Boot: 24000 seconds
Time Since Wake:       1100 seconds

System Integrity Protection: enabled

Notes:                 Translocated Process

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  dyld: Using shared cache: 52762DF1-0E55-3F8B-9588-8169E6D0EB95
Library not loaded: @rpath/Electron Framework.framework/Electron Framework
  Referenced from: /private/var/folders/*/UA Cyber SHIELD.app/Contents/MacOS/UA Cyber SHIELD
  Reason: no suitable image found.  Did find:
	/private/var/folders/5x/mhkt934x1gb1n0pjxpty77400000gn/T/AppTranslocation/67053E05-792A-4743-A8C8-45FA03AB85AB/d/UA Cyber SHIELD.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
	/private/var/folders/5x/mhkt934x1gb1n0pjxpty77400000gn/T/AppTranslocation/67053E05-792A-4743-A8C8-45FA03AB85AB/d/UA Cyber SHIELD.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1

Binary Images:
       0x106f07000 -        0x106f08fff +shield (0.0.8 - 0.0.8) <4C4C44B3-5555-3144-A1C1-2B8F12954988> /var/folders/*/UA Cyber SHIELD.app/Contents/MacOS/UA Cyber SHIELD
       0x10d885000 -        0x10d920fff  dyld (832.7.3) <0D4EA85F-7E30-338B-9215-314A5A5539B6> /usr/lib/dyld

Model: MacBookPro15,2, BootROM 1554.80.3.0.0 (iBridge: 18.16.14347.0.0,0), 4 processors, Quad-Core Intel Core i7, 2.8 GHz, 16 GB, SMC 
Graphics: kHW_IntelIrisGraphics655Item, Intel Iris Plus Graphics 655, spdisplays_builtin
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, LPDDR3, 2133 MHz, SK Hynix, -
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, LPDDR3, 2133 MHz, SK Hynix, -
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Sep 11 2020 16:57:49 version 9.30.440.2.32.5.61 FWID 01-129bddb
Bluetooth: Version 8.0.3d9, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: Apple T2 Bus
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 47.4
Thunderbolt Bus: MacBook Pro, Apple Inc., 47.4

Нужно сделать [exe]

Привет. Я думаю, что чтобы вывести все это в массы - нужно сделать .exe, dmg и т.п
Которые бы выполняли все эти команды по подьему скрипта.
Есть же на npm модули, с помощью это можно будет скомпилировать
Если кто согласен, - я могу поучаствовать

НУЖНО ВСЕ ВЫВОДИТЬ В МАССЫ --- ЭТО ОЧЕНЬ ВАЖНО.
ЛЮДИ НЕ ЗНАЮТ ЧТО И КАК ИСПОЛЬЗОВАТЬ (ОНИ ДАЖЕ НЕ ЗНАЮ, ЧТО ТАКОЕ КОМАНДНАЯ СТРОКА)

Err_socket_closed

На всі спроби бачу повідомлення типу Err_socket_closed
Screenshot 2022-03-02 at 19 48 46

переклад ру

Цитую білоруса зі штатів в російськомовному колі, що юзає цю прогу.

L**, [3/2/2022 10:12 PM]
я понимаю мотивацию и принципиальность, но если добавите инструкцию русский язык, то больше народу сможет подключится

L**, [3/2/2022 10:13 PM]
но я понимаю почему его там нет

Додайте до логу timestamp щоб бачити час відпрацювання/Add to log timestamp to see time of connection

Для того, щоб можна було зрозуміти коли останнє вдале з'єднання відболуся та чи потрібно змінювати ВПН(Через ВПН з відключеним проксі кількість успішних з'єднань вище при правильному виборі ВПН).скіншот свого лога додаю
It's necessary to see the time of last good connection and if it's time to switch VPN (number of connections with good VPN and proxy off is higher). SS of current log added
image

docker-compose: not found when install via ansible

I run command ansible-playbook -u azureuser deploy.yaml -i hosts

Please note that I changed root to azureuser

TASK [uashield : Stop all containers] *******************************************************************************************************
fatal: [**********]: FAILED! => {"changed": true, "cmd": "docker-compose down", "delta": "0:00:00.002971", "end": "2022-03-04 10:24:01.968900", "msg": "non-zero return code", "rc": 127, "start": "2022-03-04 10:24:01.965929", "stderr": "/bin/sh: 1: docker-compose: not found", "stderr_lines": ["/bin/sh: 1: docker-compose: not found"], "stdout": "", "stdout_lines": []}

Simplify macOS installation

You can greatly simplify the installation process on macOS by signing and notarising the app. It will be launching with no warnings and no need for system settings changes. Grab the certificates on https://developer.apple.com (you need to register and it will cost 100 bucks) or I can sign and notarise builds for you, but it will expose me as the signer.

Native Apple Silicon support

As or right now the build of MacOS supports only Inter processors.
Please make MacOS build as universal binary, so people can use it without Rossetta 2

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.