# Linux / AVML

Acquire AVML

```
$ wget https://github.com/microsoft/avml/releases/download/v0.2.0/avml
```

Make executable

```
$ chmod +x avml
```

Run AVML

```
$ ./avml
```

Identify kernel profile

```
$ uname -a
Linux syd 4.15.0-106-generic #107-Ubuntu SMP Thu Jun 4 11:27:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
```

```
$ cat /etc/*release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
NAME="Ubuntu" VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic
```

Acquire memory with AVML (1GB memory took \~2 seconds)

```
$ sudo ./avml /path/to/dump/filename.mem
```

Acquire to remote location

```
$ sudo mount -o user=username -t cifs \\\\remotehost\\folder$ /mnt/point
./avml /mnt/point/memdump.mem
```

If you don't have a kernel profile/overlay for your specific kernel/build, [check out this post](/memory-forensics-1/volatility-plugins/build-custom-linux-profile-for-volatility.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.iblue.team/memory-forensics-1/acquisition/linux-avml-acquisition.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
