Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freebsd 8.4 support #678

Open
wants to merge 4 commits into
base: freebsd_support
from

Conversation

@patriknisen
Copy link

patriknisen commented Jan 28, 2020

Adds support for FreeBSD 8.4.0 and probably some other older FreeBSD versions. In addition, implements an initial version of a command for listing TCP connections.

patriknisen added 3 commits Jan 27, 2020
This change adds support for at least FreeBSD 8.4.0, but other old
versions might work as well.

Included changes:

- support for pmap structure without pm_cr3 member (before 9.3)
- support for filedesc structure with fd_ofiles member of type
  `struct file **` (before 9.2)
- support for cdev structure with si_name member of type `char *`
  (before 9.1)
Adds an inital version of freebsd_tcpconns command, which allows to list
active TCP connections.

This plugin is based on the following publication:

Bond, Elyse, "Creating Volatility Support for FreeBSD" (2015).
University of New Orleans Theses and Dissertations. 2033.
Also includes a check for missing tcbinfo symbol in tcpconns command.
@iMHLv2

This comment has been minimized.

Copy link
Contributor

iMHLv2 commented Jan 29, 2020

@patriknisen Thanks for your patches. We were hoping to confirm the functionality before merging, but we don't have a profile or 8.4 memory dump handy. Would you be able to share the profile you've been testing with?

Define which FreeBSD versions introduced 2 structures that are not
available in 8.4.
@mturkia

This comment has been minimized.

Copy link
Contributor

mturkia commented Jan 30, 2020

FreeBSD-8.4 profile, memory snapshot from vanilla FreeBSD 8.4 is attached.
FreeBSD 8.4 volatility-Snapshot1.vmem.gz

We also improved the module.c so that it can be directly used in older FreeBSD.

@iMHLv2

This comment has been minimized.

Copy link
Contributor

iMHLv2 commented Jan 30, 2020

Thank you! Nice work on the blog too, I'm just going to paste it here so we have a set of resources for people to reference in one place.

https://www.nixu.com/blog/memory-forensics-against-citrix-adc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.