DarkMatter Software · Intelligence Gathering

MOSES

Infrastructure Correlation & Investigation

MOSES is a local-first investigation platform for turning raw IP addresses and network telemetry into structured infrastructure intelligence. Correlate IPs, ASNs, organizations, cloud-provider ranges, geographic estimates, Holocron intelligence, observations and sourced indicators without surrendering your logs to a remote analysis service.

LinuxPython 3PySide6 GUISQLiteGeoLite2HolocronLocal-first
MOSES branding: parting the sea of infrastructure telemetry
What it does

Part the sea of network telemetry.

MOSES does not treat a single lookup as proof. It combines available evidence and shows the layers separately so an investigator can distinguish network ownership, provider infrastructure and geographic estimates from stronger sourced facts.

IP Correlation

IP → Infrastructure

Start with an address from a log and correlate it against GeoLite, ASN intelligence, Holocron, provider ranges, indicators and local observations.

Infrastructure Search

Organization → ASN

Search Holocron by organization, ASN, network type or location and use the result as a starting point for further investigation.

Evidence

Source Agreement

Compare independent sources instead of hiding them behind a single unexplained confidence number.

Telemetry

Observations

Import IP-bearing logs and preserve observations in MOSES' local SQLite database for repeated analysis.

Providers

AWS Intelligence

Use Amazon's published IP ranges to identify matching prefixes, services, regions and network border groups.

Classification

Part The Sea

Group observed traffic into known providers, known ASNs, known entities and unresolved infrastructure for triage.


New user setup

Assemble MOSES from a clean download.

MOSES 0.3.2 deliberately does not ship third-party intelligence databases. The application can start without them, and capabilities appear as you add the sources you want.

Download and extract MOSES

Download the source archive above and extract it to a permanent working directory.

unzip Moses_0.3.2_SRC.zip
cd Moses_0.3.2

Install the Python environment

The included installer creates the virtual environment and installs MOSES dependencies.

chmod +x install.sh
./install.sh

If you prefer to assemble the environment manually, create a virtual environment and install requirements.txt.

python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt

Add intelligence databases

GeoLite and Holocron are optional but strongly recommended. Their exact locations are shown in the Data Sources section below.

Populate the AWS feed

MOSES can download Amazon's current public IP-range feed itself.

source .venv/bin/activate
python moses.py update-aws

Start the GUI

Use the included launcher or run the GUI with the virtual environment.

./run.sh

Direct launch:

source .venv/bin/activate
python moses_gui.py
First-run behavior: data/moses.db is MOSES' own runtime database. You do not download it. MOSES creates it automatically and uses it for observations, indicators and application state.

Intelligence sources

What goes where.

The release includes README instructions inside the data directories. The table below is the quick assembly map.

SourceExpected locationRequired?Purpose
MOSES runtime DBdata/moses.dbAutomaticCreated by MOSES. Stores observations, indicators and local state.
Holocron ASN DBdata/holocron/asn.dbOptional / recommendedASN, organization name, network type and location intelligence.
GeoLite2 ASNdata/geolite/GeoLite2-ASN.mmdbOptional / recommendedMaps an IP to ASN and ASN organization data.
GeoLite2 Citydata/geolite/GeoLite2-City.mmdbOptionalApproximate city/region/country and accuracy-radius data.
GeoLite2 Countrydata/geolite/GeoLite2-Country.mmdbOptionalCountry-level geographic estimate.
AWS IP rangesdata/feeds/aws-ip-ranges.jsonOptionalAWS prefix, service, region and network-border-group correlation.
Snapshotsdata/snapshots/AutomaticHistorical feed snapshots when retention is enabled.
Holocron

ASN intelligence

Holocron supplies the organization-facing ASN layer used by MOSES. Download/build Holocron separately, then provide its asn.db to MOSES.

data/
└── holocron/
    └── asn.db

You can also use MOSES' import command:

python moses.py holocron-import /path/to/asn.db
GeoLite2

ASN + geographic estimates

Place your MaxMind GeoLite2 databases in data/geolite/. MOSES looks for the standard filenames shown below.

data/
└── geolite/
    ├── GeoLite2-ASN.mmdb
    ├── GeoLite2-City.mmdb
    └── GeoLite2-Country.mmdb

GeoIP is an estimate. A city result is not proof that a physical server is located in that city. Pay attention to the accuracy radius and corroborating evidence.

Database licensing: MOSES does not redistribute Holocron or GeoLite databases in its clean release. Obtain and maintain each external data source according to its own distribution and licensing requirements.

Operation

GUI and CLI workflows.

The GUI is designed for interactive investigation. The CLI is useful for repeatable lookups, automation, diagnostics and quick terminal work.

GUI

Desktop investigation

Launch ./run.sh. MOSES provides dedicated views for Dashboard, Infrastructure Search, IP Correlation, Observations, Part The Sea, Holocron ASN, Indicators, Data Sources and Import/Export.

CLI

Terminal investigation

Activate the virtual environment before using the CLI directly.

source .venv/bin/activate
python moses.py --help

Search an organization

python moses.py search Facebook
python moses.py search Cloudflare
python moses.py search "Content"

Look up an ASN

python moses.py holocron-asn AS32934
python moses.py asn AS14618

Investigate an IP address

python moses.py lookup 52.1.2.3
python moses.py lookup 54.157.57.206

The result can combine whichever sources are currently available: provider-prefix matches, GeoLite ASN and organization, approximate geography, Holocron ASN metadata, known facts, indicators and source agreement.

Check source status

python moses.py status

Update AWS intelligence

python moses.py update-aws

Classify imported observations

python moses.py part-the-sea --verbose
Interpretation rule: ASN ownership, cloud-provider ownership and physical facility location are different questions. MOSES exposes evidence for each layer rather than declaring that an IP is physically inside a particular data center solely because an ASN or GeoIP record matches.

Log analysis

From a log entry to infrastructure context.

A common MOSES workflow starts with an IP found in Wordfence, Apache, Nginx, firewall, application or other telemetry. Import the observations, then correlate the addresses against your available intelligence sources.

Preserve the original log

Work from a copy when practical. Keep the original timestamps and source context available so infrastructure findings can be tied back to the event that produced them.

Import IP-bearing telemetry

MOSES' import workflow extracts supported observations into its local database.

python moses.py import /path/to/logfile.log

Review observations

Use the Observations view or CLI to identify addresses worth investigating. Repeated addresses, unfamiliar networks and clusters can become investigation pivots.

Correlate the IP

Run the address through IP Correlation. Compare GeoLite, Holocron, provider and indicator evidence rather than relying on a single source.

Part The Sea

Classify the imported set to separate known providers and known ASN/entity infrastructure from unresolved addresses that deserve more attention.

Log IP
  ↓
GeoLite ASN / organization
  ↓
Holocron ASN intelligence
  ↓
Provider prefix / service / region
  ↓
Geographic estimate
  ↓
Indicators + previous observations
  ↓
Source agreement
  ↓
Investigator assessment

Indicators

Record facts without contaminating whole networks.

Indicators are sourced pieces of infrastructure knowledge. They are intentionally separate from broad ASN or provider ownership so an exact documented IP does not automatically label every neighboring address.

Exact IP

Useful when a public document, vendor configuration or other source explicitly associates one address with an entity or role.

CIDR / Network

Use only when evidence supports the entire range. Do not promote a single-IP observation into a network-wide claim.

Provenance

Keep the source, confidence and verification information with the indicator so later investigators can inspect why it exists.


Troubleshooting

When a source says “unavailable.”

SymptomCheck
Holocron unavailableConfirm data/holocron/asn.db exists, or import the database with holocron-import. Confirm it is a valid Holocron ASN SQLite database.
No GeoLite ASN/geographyConfirm the MMDB files are inside data/geolite/ using their standard filenames and that geoip2 is installed in the same virtual environment running MOSES.
No AWS provider matchRun python moses.py update-aws and verify data/feeds/aws-ip-ranges.json exists.
GUI dependency errorActivate .venv and run pip install -r requirements.txt. Launch with ./run.sh or the virtual-environment Python.
Fresh installation has no observationsExpected. Import telemetry or logs. MOSES does not ship someone else's investigation history.
GeoIP city seems wrongTreat GeoIP as approximate. Check the accuracy radius and compare the result with ASN, provider, hostname, routing and other available evidence.

Useful diagnostic commands

source .venv/bin/activate

python moses.py status
python moses.py --help
python moses.py search Facebook
python moses.py holocron-asn AS32934
python moses.py lookup 8.8.8.8

Build

Compile the desktop application.

MOSES includes a PyInstaller build script. Build from the project root after installing the application dependencies.

chmod +x build.sh
./build.sh

The clean 0.3.2 distribution is designed so external intelligence databases are supplied separately rather than embedded into a public application package. Keep writable runtime data beside the application in the documented directory structure.


Scope & responsibility

Correlation is evidence, not omniscience.

MOSES is an investigation aid. Network records change, GeoIP databases are approximate, cloud infrastructure is shared and dynamic, and an ASN can span many facilities and regions. A provider or ASN match identifies network context; it does not by itself prove the identity of a human operator, the purpose of a connection, or an exact physical server location.

Use MOSES only with data and systems you are authorized to analyze. Preserve source provenance, distinguish observations from conclusions, and verify consequential attribution with independent evidence.
MOSES

MOSES 0.3.2

Infrastructure Correlation & Investigation. Build the intelligence stack you need, feed it your own observations, and part the sea.