# Detect ftp commands in ELK

**URL:** <https://discuss.elastic.co/t/detect-ftp-commands-in-elk/321461>\
**Category:** Beats\
**Tags:** filebeat, packetbeat, auditbeat\
**Created:** [December 17, 2022, 4:57pm UTC](https://discuss.elastic.co/t/detect-ftp-commands-in-elk/321461 "2022-12-17T16:57:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raph3401](https://avatars.discourse-cdn.com/v4/letter/r/bbe5ce/32.png) [@raph3401](https://discuss.elastic.co/u/raph3401)\
**Post date:** [December 17, 2022, 4:57pm UTC](https://discuss.elastic.co/t/detect-ftp-commands-in-elk/321461/1 "2022-12-17T16:57:19Z")

</div>

Hi all, I'm working on a school lab on the following scenario:  
a "hacker" got access to my ubuntu server (22.04), installed vsftpd and downloaded some files.  
I can see the ftp authentication and the traffic on port 21 but I would like to know if it is possible to see what files have been dowloaded.  
my server has packetbeat, auditbeat, filebeat installed.  
My goal is to create a detection rule that will detect this behaviour in the future. I think that monitoring port 21 or process name vsftpd is a little bit too simple as a different port and another application can be used.  
I've spent the last days googling it without success, any help would be much appreciated.  
Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 14, 2023, 6:57pm UTC](https://discuss.elastic.co/t/detect-ftp-commands-in-elk/321461/2 "2023-01-14T18:57:37Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
