Difference between revisions of "Operating Systems/Linux/Ubuntu/Ubuntu 16.04 LTS/Services"
(More information) |
|||
| (12 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
==What are Services?== | ==What are Services?== | ||
Services are background programs that are ran in order to make sure the computer functions properly. Services also allow for the automation of critical processes, such as network communication, data storage, system maintenance, bluetooth, and printing. Services are usually launched at startup by the "Systemd" process, which is the first process to run on Linux. Services can also be managed and controlled using Systemd, or init scripts. While services are useful, they are another attack vector same as anything else, so they should be disabled when not required just as you would any other program. | Services are background programs that are ran in order to make sure the computer functions properly. Services also allow for the automation of critical processes, such as network communication, data storage, system maintenance, bluetooth, and printing. Services are usually launched at startup by the "Systemd" process, which is the first process to run on Linux. Services can also be managed and controlled using Systemd, or init scripts. While services are useful, they are another attack vector same as anything else, so they should be disabled when not required just as you would any other program. | ||
| + | |||
| + | ==Why interact with services?== | ||
| + | Services are the building blocks of Linux, and in order to do anything on the operating system, you will need to interact with a service. | ||
==How to Interact with Services== | ==How to Interact with Services== | ||
| Line 20: | Line 23: | ||
== Known "bad" Services == | == Known "bad" Services == | ||
| + | (Unless one of these is specifically allowed in the README. For example webservers use apache2 or nginx) | ||
| + | * pure-ftpd | ||
| + | * Samba | ||
| + | * apache2 | ||
| + | * nginx | ||
| − | * | + | == Known "bad" Applications == |
| + | * wireshark | ||
| + | * ophcrack | ||
| + | * john | ||
| + | * nmap | ||
| + | * hydra | ||
| + | * hashcat | ||
| + | * AisleRiot | ||
| + | * ANY APPLICATION NOT LISTED IN THE README IS PROHIBITED (Including games) | ||
Latest revision as of 16:38, 24 October 2024
What are Services?[edit | edit source]
Services are background programs that are ran in order to make sure the computer functions properly. Services also allow for the automation of critical processes, such as network communication, data storage, system maintenance, bluetooth, and printing. Services are usually launched at startup by the "Systemd" process, which is the first process to run on Linux. Services can also be managed and controlled using Systemd, or init scripts. While services are useful, they are another attack vector same as anything else, so they should be disabled when not required just as you would any other program.
Why interact with services?[edit | edit source]
Services are the building blocks of Linux, and in order to do anything on the operating system, you will need to interact with a service.
How to Interact with Services[edit | edit source]
See what is running, enabling, and disabling any service.
GUI[edit | edit source]
- You're out of luck, not visual based service manager in 16.04
CLI[edit | edit source]
- Open the terminal, run
sudo bash - Run
service --status-allto view a full list of installed services - Start a service with
service <name of service> start - Stop a service with
service <name of service> stop - Install services with
apt-get install <name of service> - Remove services with
apt-get remove <name of service>(you may have to confirm it) - See which services are running with
systemctl --type=service --state=running
Known "bad" Services[edit | edit source]
(Unless one of these is specifically allowed in the README. For example webservers use apache2 or nginx)
- pure-ftpd
- Samba
- apache2
- nginx
Known "bad" Applications[edit | edit source]
- wireshark
- ophcrack
- john
- nmap
- hydra
- hashcat
- AisleRiot
- ANY APPLICATION NOT LISTED IN THE README IS PROHIBITED (Including games)