LMD's maldet daemon constantly monitors the directories that you specify in the /usr/local/maldetect/monitor_paths file. When it finds in my home directory. Fortunately, this is easier than it sounds, because we
European Institute for Computer Antivirus Research (EICAR) provides a virus signature that you can include in a plaintext file. You can get it at http://2016.eicar.org/86-0-Intended-use.html.
To create the simulated virus file, go to the page that I listed in the preceding link.
Scroll down toward the bottom of the page until you see this line of text within a textbox:
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
Copy that line of text and insert it into a text file that you'll save to your home directory of either VM. (You can name it anything you want, but I'll just name mine testing.txt.) Wait just...