Git Product home page Git Product logo

fileless-malware's Introduction

Fileless-Malware

The first step is to create a shellcode and upload it in a server. Here, the shellcode is created using msfvenom tool with the meterpreter payload. Note that while creating the meterpreter payload, give the LHOST as your C&C server IP. This shellcode is uploaded into the remote server, from which the malware downloads it and executes it directly from memory.

Once the shellcode is uploaded, you can craft the malware (client-side) by building the SourceCode.cpp file into a Windows Executable.

The following steps explains how to obfuscate the malicious executable into an image-like file:

Step 1: Select the executable malware and an icon file (.ico), right click on both, and select “Add to archive”.

Step 2: In the General tab under the Archiving Options, check “Create SFX Archive”.

Step 3: Go to the Advanced tab and click on SFX options.

Step 4: Under the Setup tab, add the names of the image file and the exe file.

Step 5: Go to the Modes tab, under Silent Mode, select “Hide all”.

Step 6: Go to the Text and icon tab, and load the image icon.

Step 7: Go to the Update tab, and under Overwrite mode, select Overwrite all files.

Step 8: Click OK and OK.

Now, once the user click on it, it will run the executable and thus establishing a reverse connection to the C&C server.

Check out the project report for detailed explanations and forensic analysis.

Disclaimer: This repository contains potentially harmful code which is intended ONLY for educational/research purposes. Any malicious/unethical usage of such code is highly discouraged and I'm not responsible for such. Please use it responsibly.

fileless-malware's People

Contributors

athulck 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.