Summary
The GTFOBins module is designed for incident responders, Security professionals, including security analysts, network security engineers, and security operations center (SOC) personnel, System administrators and IT professionals responsible for maintaining Unix-based systems, Students or researchers interested in learning more about the security implications of using Unix binaries, and Anyone with an interest in cybersecurity and a desire to gain a deeper understanding of the threats facing Unix-based systems. Throughout this module, students will develop increased knowledge and understanding of the threat landscape related to attacks leveraging legitimate Unix binaries, improved ability to identify indicators of compromise (IoCs) and other suspicious activity on Unix-based systems, hands-on experience with practical lab exercises that reinforce key concepts and skills covered in the module, and increased confidence in responding to security incidents related to attacks that leverage legitimate Unix binaries.
Recommended prior knowledge:
-
Understanding of fundamental security principles, such as confidentiality, integrity, and availability
-
Comfort working with Unix-based operating systems, including knowledge of common commands and file system navigation
Introduction to GTFOBins
The concept of GTFOBins is a list of nix applications that can be used for privilege escalation or bypassing security checks on nix (Unix, Linux, OSX) systems. It contains information about which uses will be considered suspicious during the use of legal *nix applications in this list. This application list and usage of applications is not a list of exploits.
Many of the applications listed on nix systems come by default. This causes attackers to have the ability to utilize these applications in various activities (discovery, connecting to the command center, etc.) without needing an additional applications on a compromised nix system.
GTFOBins has classified these apps into various categories as below. We will provide samples for the applications for each category. Some certain applications may be considered for multiple categories as the command/application is capable of performing activities in multiple categories.
- Shell
- Command
- Reverse Shell
- Bind Shell
- File Upload
- File Download
- Sudo
We will also cover common practices within this context and detail how to detect suspicious use cases. For the detection methods mentioned here, (unless otherwise specified), the audit service of the *nix system to which the detection is desired must be open or the EDR product must record all activities or the commands that are running on the command line must be recorded.
Those who will continue the education must have a through knowledge of Linux 101 so that they can get the best out of this training. We highly recommend that you should complete the "Linux for Blue Team" module first if you think that you are not enough in this topic.