Overview
A really cool capability of artemis is it contains an embedded JavaScript runtime thats designed specifically for DFIR! Artemis uses Boa a JS engine written in Rust.
Using an embedded JS enginge allows us to call Rust functions from JavaScript!
For example, the artemis function get_registry()
can be used to parse a
provided Registry file on disk. By registering this function with Boa we can
call this function directly from JavaScript! In addition to JavaScript, we have
TypeScript bindings that we can leverage!
To summarize:
- We can create a script using TypeScript and call Rust functions directly
- Compile TypeScript to JavaScript
- Execute JavaScript using artemis
info
The JS runtime in artemis is kind of like the VQL language for Velociraptor or the Dissect forensic framework
All three let you script forensic collections and parsing