Skip to main content

No project description provided

Project description

Elastic Security Labs Banner Image

Elastic Security Labs - nightMARE

This directory contains the nightMARE (Malware Analysis & Reverse Engineering) library. nightMARE is a central module that will allow for an efficient and logical approach to automating various reverse engineering functions.

The nightMARE library is born from the need to refactor our code base into reusable bricks. We want to concentrate logics and dependencies into a single library in order to speed up tool developement for members of the Elastic Security Labs team.

By open sourcing our library to the community we hope that it'll contribute to our battle against threats.

Please note that this library is still young and under developement. Pull requests are welcome.
Example usage: https://www.elastic.co/security-labs/unpacking-icedid

Malware modules

Module Description
nightmare.malware.blister Implement BLISTER algorithms
nightmare.malware.ghostpulse Implement GHOSTPULSE algorithms
nightmare.malware.deprecated.icedid Implement ICEDID algorithms (deprecated)
nightmare.malware.latrodectus Implement LATRODECTUS algorithms
nightmare.malware.lobshot Implement LOBSHOT algorithms
nightmare.malware.lumma Implement LUMMA algorithms
nightmare.malware.netwire Implement NETWIRE algorithms
nightmare.malware.redlinestealer Implement REDLINESTEALER algorithms
nightmare.malware.remcos Implement REMCOS algorithms
nightmare.malware.smokeloader Implement SMOKELOADER algorithms
nightmare.malware.stealc Implement STEALC algorithms
nightmare.malware.warmcookie Implement WARMCOOKIE algorithms
nightmare.malware.xorddos Implement XORDDOS algorithms

Requirements

  • Python >= 3.10 is required.
  • Rizin v0.8.1 must be installed and available in the system's PATH environment variable.

Install

pip install nightmare-lib

or

git clone https://github.com/elastic/nightMARE
python -m pip install ./nightMARE

Test

Download the corpus from here and place the archive in the tests folder to run the tests. Warning: The archive contains malware; testing should be performed in a virtual machine for safety.

py.test

How to Contribute

Contributors must sign a Contributor License Agreement before contributing code to any Elastic repositories.

License

nightMARE uses the Elastic License version 2.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nightmare_lib-0.16.1.tar.gz (56.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nightmare_lib-0.16.1-py3-none-any.whl (77.4 kB view details)

Uploaded Python 3

File details

Details for the file nightmare_lib-0.16.1.tar.gz.

File metadata

  • Download URL: nightmare_lib-0.16.1.tar.gz
  • Upload date:
  • Size: 56.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for nightmare_lib-0.16.1.tar.gz
Algorithm Hash digest
SHA256 e1ac6719f0cda4f1aa71e6495ec3c2cf77928c0df1a89aa5aa3ab25a5be25a2e
MD5 ea19dbafadf83adf5b3c18d5ee188669
BLAKE2b-256 e0795be9ef2bd313bbd06222572db900a617b6a43740dab180e7bd0ea605e4b0

See more details on using hashes here.

File details

Details for the file nightmare_lib-0.16.1-py3-none-any.whl.

File metadata

  • Download URL: nightmare_lib-0.16.1-py3-none-any.whl
  • Upload date:
  • Size: 77.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for nightmare_lib-0.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4cdb5e50b05297369d19058af448e6109fa3448db5ee9ee349b2844c8ca131b7
MD5 0a1ce2e4709d75abf1e71ad69d40e27e
BLAKE2b-256 66ca05478096811bf35288afb11779b542a7ec3e017cadbfbe8873d7ad3ea1c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page