Skip to content
/ luna Public

Byte signature scanner for static and in-memory files

Notifications You must be signed in to change notification settings

haato3o/luna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luna

She can find you some trash... and leaves 🍂

About

Luna is a byte pattern scanner designed to automate the process of finding memory addresses for HunterPie.

Features

  • Static files byte signature scanner
  • Process's static memory signature scanner

Installation

Requirements

You can install Luna by running the command:

go install github.com/haato3o/luna@latest

Tip

Alternatively, you can also install the tool by building it yourself locally. Just make sure to follow the documentation.

Usage

Configuration

The configuration file is where all your signatures will be located, it will usually look like this:

// configuration.yaml
patterns:
  - name: example-relative-signature
    signature: 48 8D 15 ?? ?? ?? ?? 48 8D 74 24 ?? 41 B9
    offset: 3
    type: relative
  - name: example-absolute-signature
    signature: 48 83 EC ?? 83 B9 ?? ?? ?? ?? 0F 75
    targetOffset: 10
    type: absolute

Static files

./luna search -c <CONFIG> -s static -f <FILE>

Process memory

./luna search -c <CONFIG> -s memory --pid <PID>

How to build

Building Luna locally is quite simple, here are the available development commands:

  • make dev/build: Builds the executable into ./.bin folder
  • make dev/install: Builds and installs the executable into your GOBIN folder, which means it will be globally available as a cli tool

Development

  • make dev/test: Run tests
  • make dev/lint: Run golint

About

Byte signature scanner for static and in-memory files

Resources

Stars

Watchers

Forks

Packages

No packages published