Surprisingly, the magic bytes is a ELF and not a snapshot.
To get more information about a ELF file, use the command readelf.
It tells us that the file is a coredump file. Normally a core dump is a file that contain the process memory space, to understand at which address, the program stop with an error, such as segmentation fault.
Since the subject says it is a memory dump, let's use volatility to see if we can find some information about the system.
The linux version is Ubuntu 20.04, using volatility3 didn't give me any result. Let's use volatility 2.7, and create a custom Linux profile to analyze this memory dump.
After analyzing the bash history, I did not find anything that can help us to find the flag.
It seems that "forensics" is the username. To get the hostname, how does a user remotely run a command on a system ? username@hostname
We even managed to get a command line by looking at the strings !