Luna is a byte pattern scanner designed to automate the process of finding memory addresses for HunterPie.
- Static files byte signature scanner
- Process's static memory signature scanner
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.
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./luna search -c <CONFIG> -s static -f <FILE>./luna search -c <CONFIG> -s memory --pid <PID>Building Luna locally is quite simple, here are the available development commands:
make dev/build: Builds the executable into./.binfoldermake dev/install: Builds and installs the executable into yourGOBINfolder, which means it will be globally available as a cli tool
make dev/test: Run testsmake dev/lint: Run golint