记录黑客技术中优秀的内容, 传播黑客文化,分享黑客技术精华

权限维持之iis backdoor module

2020-02-20 03:25

IIS-Raid

IS Raid is a native IIS module that abuses the extendibility of IIS to backdoor the web server and carry out custom actions defined by an attacker.

Documentation

When installed, IIS-Raid will process every request and method, check if the X-Password header exists and compare it against the hardcoded value.
In case the value specified by the header doesn’t match the password, the request will continue normally without giving any indications of the backdoor.
If the header value matches the password, it will search for the communication header and extract its content. Additionally, it will base64 decode it, compare it against the predefined commands and process the instructions if any.

Four arguments are implemented on the script:
* –url : The URL that will be used to communicate with the backdoor. [Required]
* –password – The pre-shared password on the backdoor [Required]
* –header – The header to use for communication in case it was changed from the default one.
* –method – Change the method to either GET or POST.

Some of the features that are currently implemented in this version are:
* Interactive Command Execution – Allows the execution of commands and retrieve the output.
* Shellcode Injection – Extend functionality by injecting custom shellcode.
* Web Password Extractor – Extract passwords from Web Forms in clear-text.

Customisation

Before using and compiling the module, you need to change some of the options. To authenticate to the backdoor, the controller uses a pre-shared password with the module. As this is the only mechanism preventing someone else from accessing the backdoor, the default password must be changed.

Apart from the password, other backdoor options can be modified on the Functions.h file:

options

The COM_HEADER definition is the header name used to perform the communication between the backdoor and the controller.
The PASS_FILE definition is the file path where the extracted credentials from the web forms will be saved.
The PASSWORD definition is the password that will be used to authenticate to the backdoor.

More info

For more information refer to https://www.mdsec.co.uk/2020/02/iis-raid-backdooring-iis-using-native-modules/

Demo Video

Screenshot

options

知识来源: https://www.chabug.org/tools/1249.html

阅读:17112 | 评论:0 | 标签:无

想收藏或者和大家分享这篇好文章→复制链接地址

“权限维持之iis backdoor module”共有0条留言

发表评论

姓名:

邮箱:

网址:

验证码:

公告

九层之台,起于累土;黑客之术,始于阅读

推广

工具

标签云

本页关键词