Chris Walker · @Exeron
4 followers · 6 posts · Server infosec.exchange

#linux #mitre #t1070

Last updated 2 years ago

Wes Lambert · @weslambert
384 followers · 51 posts · Server infosec.exchange

🦖Day 88 of the @velocidex series

Artifact: Exchange.Linux.System.BashLogout

Link: docs.velociraptor.app/exchange

----

This artifact captures information from about Bash logout files for examination of abnormal activity.

Bash logout files are used to run certain commands upon user logout, such as clearing the shell or terminal state.

----

An adversary could leverage this capability to cover their tracks by clearing logs, deleting files, etc.

Once example of this is running the following command at logout to clear the user's Bash history:

'history -c'
'cat /dev/null > ~/.bash_history'

attack.mitre.org/techniques/T1

----

This artifact also includes a content filter ('ContentFilter') to allow for searching for various content within the file.

Additionally, in-scope Bash logout files can be uploaded to the Velociraptor server by checking the box for the 'UploadFiles' option.

----

That's it for now! Stay tuned to learn about more artifacts! 🦖





.003

#velociraptor #artifactsofautumn #dfir #forensics #infosec #linux #t1070 #threathunting

Last updated 2 years ago