Skip to content

artif: collect /boot#425

Merged
tclahr merged 5 commits intotclahr:developfrom
halpomeranz:collect-boot-files
Jan 27, 2026
Merged

artif: collect /boot#425
tclahr merged 5 commits intotclahr:developfrom
halpomeranz:collect-boot-files

Conversation

@halpomeranz
Copy link
Contributor

/boot can contain attacker persistence mechanisms (see https://www.elastic.co/security-labs/the-grand-finale-on-linux-persistence). Also, stripped kernels can now be used to generate Volatility 3 profiles with btf2json (https://www.iblue.team/memory-forensics-1/volatility-plugins/generate-custom-profile-using-btf2json), making /boot/vmlinu* very useful when memory is also being collected.

halpomeranz and others added 2 commits January 13, 2026 10:34
/boot can contain attacker persistence mechanisms (see https://www.elastic.co/security-labs/the-grand-finale-on-linux-persistence). Also, stripped kernels can now be used to generate Volatility 3 profiles with btf2json (https://www.iblue.team/memory-forensics-1/volatility-plugins/generate-custom-profile-using-btf2json), making /boot/vmlinu* very useful when memory is also being collected.

Signed-off-by: Hal Pomeranz <hrpomeranz@gmail.com>
@tclahr
Copy link
Owner

tclahr commented Jan 19, 2026

What about collect /boot/vmlinu* via avml.yaml instead? So we would update avml.yaml to run avml and also collect /boot/vmlinu*
Then boot.yaml could looks like this:

version: 1.0
artifacts:
  -
    description: Collect /boot to help build Volatility profiles
    supported_os: [linux]
    collector: file
    path: /boot
    exclude_name_pattern: ["vmlinu*"]

@tclahr
Copy link
Owner

tclahr commented Jan 21, 2026

I pushed some small changes to the artifacts. Please let me know what do you think. Thanks!

@halpomeranz
Copy link
Contributor Author

Your changes look good to me.

I noticed while I was looking that you chose 64G as the default for avml_max_memory. Personally, I would set this higher-- maybe 256G.

@halpomeranz
Copy link
Contributor Author

Oh shoot. We also need the System.map* files in addition to vmlinu*. We need to tweak the artifact to get System.map* too.

Add System.map* to avml.yaml.
@tclahr tclahr merged commit 8c3e24f into tclahr:develop Jan 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants