The COM directory in RustRedOps contains implementations of various Windows Component Object Model (COM) interfaces that can be used for offensive operations. These techniques allow for code execution, file transfers, command execution, and network communication by leveraging legitimate Windows system components.
Available COM-based techniques include:
- IActiveScript: Executes VBScript or JScript code within the current process using the Windows Script engine.
- IBackgroundCopyManager: Utilizes the Background Intelligent Transfer Service (BITS) to transfer files.
- IHxHelpPaneServer: Abuses the Help Pane process to spawn executables via
file:// paths. - IHxInteractiveUser: Triggers process creation through Help interaction (similar to
IHxHelpPaneServer). - IShellDispatch: Executes system commands or programs via the Windows Shell (
ShellExecute). - IShellLink: Manipulates Windows shortcut (
.lnk) files to point to arbitrary executables. - IWinHttpRequest: Performs HTTP/HTTPS requests directly from COM for data exfiltration or remote command retrieval.
- IXMLDOMDocument: Executes XSLT scripts or transforms XML data containing embedded code for command execution.