# fireELF
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/rek7/fireELF/blob/master/LICENSE)
fireELF is a opensource fileless linux malware framework thats crossplatform and allows users to easily create and manage payloads. By default is comes with 'memfd_create' which is a new way to run linux elf executables completely from memory, without having the binary touch the harddrive.
## Screenshots
![Screenshot](img/ss1.png)
![Screenshot](img/ss2.png)
## Features
* Choose and build payloads
* Ability to minify payloads
* Ability to shorten payloads by uploading the payload source to a pastebin, it then creates a very small stager compatible with python <= 2.7 which allows for easy deployment
* Output created payload to file
* Ability to create payload from either a url or a local binary
## Included payload memfd_create
The only included payload 'memfd_create' is based on the research of [Stuart](https://magisterquis.github.io/2018/03/31/in-memory-only-elf-execution.html), this payload creates an anonymous file descriptor in memory it then uses fexecve to execute the binary directly from the file descriptor. This allows for the execution completely in memory which means that if the linux system gets restarted, the payload will be no where to be found.
## Creating a Payload
By default fireELF comes with 'memfd_create' but users can develop their own payloads. By default the payloads are stored in payloads/ and in order to create a valid payload you simply need to include a dictonary named 'desc' with the parameters 'name', 'description', 'archs', and 'python_vers'. An example desc dictonary is below:
```python
desc = {"name" : "test payload", "description" : "new memory injection or fileless elf payload", "archs" : "all", "python_vers" : ">2.5"}
```
In addition to the 'desc' dictonary the entry point the plugin engine i built uses requires a main function which will automatically get passed two parameters, one is a boolean that if its true it means its getting passed a url the second parameter it gets passed is the data. An example of a simple entry point is below:
```python
def main(is_url, url_or_payload):
return
```
If you have a method feel free to commit a payload!
## Installation
Download the dependencies by running:
```
pip3 -U -r dep.txt
```
fireELF is developed in [Python](http://www.python.org/download/) 3.x.x
## Usage
```
usage: main.py [-h] [-s] [-p PAYLOAD_NAME] [-w PAYLOAD_FILENAME]
(-u PAYLOAD_URL | -e EXECUTABLE_PATH)
fireELF, Linux Fileless Malware Generator
optional arguments:
-h, --help show this help message and exit
-s Supress Banner
-p PAYLOAD_NAME Name of Payload to Use
-w PAYLOAD_FILENAME Name of File to Write Payload to (Highly Recommended if
You're not Using the Paste Site Option)
-u PAYLOAD_URL Url of Payload to be Executed
-e EXECUTABLE_PATH Location of Executable
```
热爱嵌入式的小佳同学
- 粉丝: 1w+
- 资源: 2353
最新资源
- python爬虫爬取百度百科页面
- LibreOffice Excel使用指南.pdf
- python爬虫爬取百度百科页面.zip
- Qt实现的包含图片显示功能、自适应缩放、背景图片、画roi工具 不依赖其他库纯Qt实现 在图片上可以画矩形、矩形旋转、圆形、同心圆、多边形、直线、卡尺、锚点、清空 源码: 使用Qt5.6.1-M
- 华为、华三、锐捷交换机命令生成工具
- 百度指数工具包,个人学习整理,仅供参考
- 校园闲置物品租售系统 毕业设计 源码+数据库+论文(JAVA+SpringBoot+Vue.JS).zip
- 基于Bootstrap实现的公司宣传类首页模板
- MATLAB代码:计及碳排放交易及多种需求响应的微网 电厂日前优化调度 关键词:碳排放交易 需求响应 空调负荷 电动汽车 微网 ...
- MATLAB代码:考虑P2G与碳捕集机组的多能微网低碳经济调度 关键词:碳交易 阶梯碳交易 碳捕集 多能微网 低碳调度 仿真平
- X-AnyLabeling标注工具
- 小米手机网站仿写html
- opencascade-dataset-7.7.0.tgz
- ansys联合simpack车体钢轨桥梁车轨桥耦合模型
- stylus-chrome-mv3-2.3.0-55e71c0-id.zip
- opencascade-7.5.0预编译库,使用环境window ,QT,编译器mingw32位,64位
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈