Windows Library Files
Windows library files are virtual containers that can be accessed across networks by users. The files have a library-ms extension and can be executed by double-clicking them.
First we have to create a Webdav share in our system that can be accessed through the library-ms file.
Upon double clicking the library-ms file the share appears as a local directory to the user.
First, wsgidav has to be installed on your local machine using the following command,
Next, create a directory by the path "/home/kali/webdav" and this folder can contain any malicioius file that will be accessed by the victim.
Now the wsgidav service can be started using the following command,
Next the library-ms file has to be created using the following code,
Now any file such as a reverse shell or powercat script can be placed in this location and the user can be convinced to run the file through an email or by employing any social engineering method.
Last updated