An adversary gains control of a process that is assigned elevated privileges in order to execute arbitrary code with those privileges. Some processes are assigned elevated privileges on an operating system, usually through association with a particular user, group, or role. If an attacker can hijack this process, they will be able to assume its level of privilege in order to execute their own code.
Description
Attack Execution Flow
Step 1
Explore[Find process with elevated priveleges] The adversary probes for processes running with elevated privileges.
On Windows, use the process explorer's security tab to see if a process is running with administror privileges.
On Linux, use the ps command to view running processes and pipe the output to a search for a particular user, or the root user.
[Trova processo con privilegi elevati] L'avversario verifica la presenza di processi in esecuzione con privilegi elevati.
Su Windows, utilizza la scheda sicurezza di Process Explorer per verificare se un processo è in esecuzione con privilegi di amministratore.
Su Linux, utilizza il comando ps per visualizzare i processi in esecuzione e reindirizza l'output a una ricerca per un utente specifico o per l'utente root.
Attack Techniques
-
On Linux, use the ps command to view running processes and pipe the output to a search for a particular user, or the root user.
-
On Windows, use the process explorer's security tab to see if a process is running with administror privileges.IT: Su Linux, utilizza il comando ps per visualizzare i processi in esecuzione e reindirizza l'output a una ricerca per un utente specifico, o per l'utente root.
Step 2
Experiment[Find vulnerability in running process] The adversary looks for a vulnerability in the running process that would allow for arbitrary code execution with the privilege of the running process.
Look for improper input validation
Look for a buffer overflow which may be exploited if an adversary can inject unvalidated data.
Utilize system utilities that support process control that have been inadequately secured
[Trova vulnerabilità nel processo in esecuzione] L'attore malevolo cerca una vulnerabilità nel processo in esecuzione che consenta l'esecuzione di codice arbitrario con i privilegi del processo in esecuzione.
Cerca una validazione impropria dell'input
Cerca un buffer overflow che potrebbe essere sfruttato se un attore malevolo può iniettare dati non validati.
Utilizza utility di sistema che supportano il controllo dei processi e che sono state insufficientemente protette
Attack Techniques
-
Look for a buffer overflow which may be exploited if an adversary can inject unvalidated data.
-
Utilize system utilities that support process control that have been inadequately securedIT: Cerca un buffer overflow che potrebbe essere sfruttato se un avversario riesce a iniettare dati non validati.
-
Look for improper input validationIT: Cerca un buffer overflow che potrebbe essere sfruttato se un avversario riesce a iniettare dati non validati.
Step 3
Exploit[Execute arbitrary code] The adversary exploits the vulnerability that they have found and hijacks the running process.
[Eseguire codice arbitrario] L'avversario sfrutta la vulnerabilità trovata e dirotta il processo in esecuzione.
Consequences
Consequence Information
{'impacts': [], 'impacts_translate': [], 'scopes': [], 'scopes_translate': []}