Clarification on PowerShell Version Downgrade in ServiceNow MID Server Execution for Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 07:53 PM - edited 11-08-2024 07:55 PM
Hello community!
Currently, at a customer, we were asked if ServiceNow performs a downgrade of PowerShell, simply because the customer's security system detected the following command:
It indicated that this was a security flaw.
Regarding the machines hosting the MID Server, all are listed with PowerShell version 5.1.X in the PowerShell version field of the ecc_agent_list.
My understanding is that the MID Server would not downgrade PowerShell when executing commands and that this is due to the target operating system’s configuration. Is my understanding correct? How can I explain this to them?
Thank you in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 09:10 PM
Hi @Mahur Silva
Yes, Based on System Configuration
Refer this below KB:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0793999
Mark it Helpful and Accept Solution!! If this helps you to understand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2024 01:25 PM
Hi @SK Chand Basha ,
Thank you for sending the link about PowerShell requirements. I appreciate it, but I’m still having trouble understanding it in the context of my post, where the customer found a command executed by the Mid Server Service User with the parameter -Version 4.0, even though the PowerShell version on the Mid Server in the attached image is 5.1.x.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 04:26 AM
it will not downgrade the powershell version. I think you need to get this validated on OS level and find out more in terms of when is this being detected and it could very well be during discovery where powershell is being invoked to fetch some data.