Multitime - Privilege Escalation
ID: privesc-multitime
Severity: high
Author: daffainfo
Tags: code,linux,multitime,privesc,local
Description
Section titled “Description”multitime is a command-line utility that allows for the timing and execution of commands multiple times. It is often used for benchmarking and performance testing of commands and scripts, providing a convenient way to measure the execution time of a given task.
YAML Source
Section titled “YAML Source”id: privesc-multitime
info: name: Multitime - Privilege Escalation author: daffainfo severity: high description: | multitime is a command-line utility that allows for the timing and execution of commands multiple times. It is often used for benchmarking and performance testing of commands and scripts, providing a convenient way to measure the execution time of a given task. reference: - https://gtfobins.github.io/gtfobins/multitime/ metadata: verified: true max-request: 3 tags: code,linux,multitime,privesc,local
self-contained: truecode: - engine: - sh - bash source: | whoami
- engine: - sh - bash source: | multitime whoami
- engine: - sh - bash source: | sudo multitime 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")' condition: or# digest: 490a00463044022006faf6ef91e20f9656012ca0c37af7261e464ba1cf9074ecb06a882cd73f390502205c404e1c4547ec3f51e7e7fa31c6396d01f132354f675b11062e10de00ef67d5:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "code/privilege-escalation/linux/binary/privesc-multitime.yaml"