2024-01-22 18:59:57 +05:30
id : privesc-ionice
info :
name : ionice - Privilege Escalation
author : daffainfo
severity : high
description : |
ionice is a command-line utility in Linux that is used to set or get the I/O scheduling class and priority for a program. It allows users to control the I/O priority of a process, which can be useful for managing system resources and improving overall system performance.
reference :
- https://gtfobins.github.io/gtfobins/ionice/
metadata :
verified : true
2024-01-29 11:58:34 +00:00
max-request : 3
2024-01-31 23:11:31 +05:30
tags : code,linux,ionice,privesc,local
2024-01-22 18:59:57 +05:30
self-contained : true
code :
- engine :
- sh
- bash
source : |
whoami
- engine :
- sh
- bash
source : |
ionice whoami
- engine :
- sh
- bash
source : |
sudo ionice whoami
matchers-condition : and
matchers :
- type : word
part : code_1_response
words :
- "root"
negative : true
- type : dsl
dsl :
- 'contains(code_2_response, "root")'
- 'contains(code_3_response, "root")'
2024-01-22 16:20:01 +00:00
condition : or
2024-12-01 13:57:55 +00:00
# digest: 4a0a00473045022100f63099618a33a6755740bd112d953eb59b420e929f0a29058df772aaca63cbb1022020ac0156520f2204525e680385f4b4109824df12aa37ea9060b9b72447b63662:922c64590222798bb761d5b6d8e72950