Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ WSMan-WinRM - A Collection Of Proof-Of-Concept Source Code And Scripts For Executing Remote Commands Over WinRM Using The WSMan.Automation COM Object

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š WSMan-WinRM - A Collection Of Proof-Of-Concept Source Code And Scripts For Executing Remote Commands Over WinRM Using The WSMan.Automation COM Object


๐Ÿ’ก Newskategorie: IT Security Nachrichten
๐Ÿ”— Quelle: feedproxy.google.com


A collection of proof-of-concept source code and scripts for executing remote commands over WinRM using the WSMan.Automation COM object.


Background

For background information, please refer to the following blog post: WS-Management COM: Another Approach for WinRM Lateral Movement


Notes
  • SharpWSManWinRM.cs and CppWsManWinRM.cpp compile in Visual Studio 2019. Refer to the code comments for required imports/references/etc.
  • All examples leverage the WMI Win32_Process class and WMI Create method for invocation.

Usage

SharpWSManWinRM.cs
 Usage: SharpWSManWinRM.exe <hostname> <command>
Usage: SharpWSManWinRM.exe <hostname> <command> <domain\user> <password>

Example: SharpWSManWinRM.exe host.domain.local notepad.exe
Example: SharpWSManWinRM.exe host.domain.local "cmd /c notepad.exe" domain\joe.user P@ssw0rd

WSManWinRM.ps1
 Usage: Invoke-WSManWinRM -hostname <hostname> -command <command>
Usage: Invoke-WSManWinRM -hostname <hostname> -command <command> -user <domain\user> -password <password>

Example: import-module .\WSManWinRM.ps1
Invoke-WSManWinRM -hostname MyServer.domain.local -command calc.exe
Example: import-module .\WSManWinRM.ps1
Invoke-WSManWinRM -hostname MyServer.domain.local -command calc.exe -user domain\joe.user -password P@ssw0rd

WSManWinRM.vbs
 Usage: cscript.exe SharpWSManWinRM.vbs <hostname> <command>
Usage: cscript.exe SharpWSManWinRM.vbs <hostname> <command> <domain\user> <password>

Example: cscript.exe SharpWSManWinRM.vbs host.domain.local notepad.exe
Example: cscript.exe SharpWSManWinRM.vbs host.domain.local "cmd /c notepad.exe" domain\joe.user P@ssw0rd

WSManWinRM.js
 Usage: cscript.exe SharpWSManWinRM.js <hostname> <command>
Usage: cscript.exe SharpWSManWinRM.js <hostname> <command> <domain\user> <password>

Example: cscript.exe SharpWSManWinRM.js host.domain.local notepad.exe
Example: cscript.exe SharpWSManWinRM.js host.domain.local "cmd /c notepad.exe" domain\joe.user P@ssw0rd

CppWSManWinRM.cpp
 Usage: CppWSManWinRM.exe <hostname> <command>

Example: CppWSManWinRM.exe host.domain.local notepad.exe

Note: Username/password option does not work yet

Ethics

WSMan-WinRM is designed to help security professionals perform ethical and legal security assessments and penetration tests. Do not use for nefarious purposes.



...



๐Ÿ“Œ Meet OpenCodeInterpreter: A Family of Open-Source Code Systems Designed for Generating, Executing, and Iteratively Refining Code


๐Ÿ“ˆ 35.63 Punkte

๐Ÿ“Œ Installing 7-zip and executing commands on Ubuntu


๐Ÿ“ˆ 33.77 Punkte

๐Ÿ“Œ Cisco Flaws Allow Creating Admin Accounts and Executing Commands as Root


๐Ÿ“ˆ 33.77 Punkte

๐Ÿ“Œ "Ultimate YouTube-DL Scripts Collection" (previously "YouTube-DL Archivist Scripts") now on Version 3.0.0!


๐Ÿ“ˆ 33.18 Punkte

๐Ÿ“Œ Executing Python scripts in Linux command line


๐Ÿ“ˆ 32.09 Punkte

๐Ÿ“Œ Executing scripts from a RAMDISK


๐Ÿ“ˆ 32.09 Punkte

๐Ÿ“Œ Telegram bot that notifies you when your long commands finish executing


๐Ÿ“ˆ 31.98 Punkte

๐Ÿ“Œ Cisco bugs allow creating admin accounts, executing commands as root


๐Ÿ“ˆ 31.98 Punkte

๐Ÿ“Œ OpenBSD Mail Server Bug Allowed Remotely Executing Shell Commands As Root


๐Ÿ“ˆ 31.98 Punkte

๐Ÿ“Œ How to use parallel ssh (PSSH) for executing commands in parallel on a number of Linux/Unix/BSD servers


๐Ÿ“ˆ 31.98 Punkte

๐Ÿ“Œ Microsoft Warns of Email Attacks Executing Code Using an Old Bug


๐Ÿ“ˆ 29.56 Punkte

๐Ÿ“Œ Mozilla bans Firefox extensions for executing remote code


๐Ÿ“ˆ 28.63 Punkte

๐Ÿ“Œ COM-Code-Helper - Two IDAPython Scripts Help You To Reconstruct Microsoft COM (Component Object Model) Code


๐Ÿ“ˆ 28.63 Punkte

๐Ÿ“Œ How can you run terminal commands using scripts in linux ?


๐Ÿ“ˆ 28.11 Punkte

๐Ÿ“Œ CVE-2022-44108 | pdftojson 94204bb Object.cc Object::copy(Object*) stack-based overflow


๐Ÿ“ˆ 27.94 Punkte

๐Ÿ“Œ WHAT IS THE DIFFERENCE BETWEEN PROOF OF WORK AND PROOF OF STAKE?


๐Ÿ“ˆ 27.38 Punkte

๐Ÿ“Œ Task Automation Using Cron Jobs and Scripts in Pop!_OS


๐Ÿ“ˆ 27.16 Punkte

๐Ÿ“Œ [OC] code and comment weight: linux kernel 5.1.14 source code (link to used scripts in comments)


๐Ÿ“ˆ 26.63 Punkte

๐Ÿ“Œ #0daytoday #Remote Control Collection Remote Code Execution Exploit [remote #exploits #0day #Exploit]


๐Ÿ“ˆ 26.58 Punkte

๐Ÿ“Œ Trying to list all Linux Networking commands and scripts. (Got to 53 and counting)


๐Ÿ“ˆ 26.56 Punkte

๐Ÿ“Œ 65 Linux Networking Commands and Scripts and Programs [REDUX]


๐Ÿ“ˆ 26.56 Punkte

๐Ÿ“Œ How To Run Scripts And Commands On Suspend And Resume on Linux


๐Ÿ“ˆ 26.56 Punkte

๐Ÿ“Œ How To Run Scripts And Commands On Suspend And Resume on Linux


๐Ÿ“ˆ 26.56 Punkte

๐Ÿ“Œ Top 13 Reasons Why Your Test Automation Fails | Automation Testing Tutorial | Automation Tester


๐Ÿ“ˆ 26.07 Punkte

๐Ÿ“Œ While running a bash script using a hard symbolic link, how can it get the absolute path of its executing script?


๐Ÿ“ˆ 25.68 Punkte

๐Ÿ“Œ Valence Labs Introduces LOWE: An LLM-Orchestrated Workflow Engine for Executing Complex Drug Discovery Workflows Using Natural Language


๐Ÿ“ˆ 25.68 Punkte

๐Ÿ“Œ Kryptowรคhrungen: Das unterscheidet Proof-of-Work und Proof-of-Stake


๐Ÿ“ˆ 25.59 Punkte

๐Ÿ“Œ Obfuscation_Detection - Collection Of Scripts To Pinpoint Obfuscated Code


๐Ÿ“ˆ 25.52 Punkte











matomo