Powershell_ise.exe Commandline doesn't appear on Azure Senitnel

Nimantha Deshappriya 21 Reputation points
2022-07-25T09:01:42.73+00:00

why the powershell_ise.exe command lines don't appear on Azure Sentinel Result. Please see the attached 224239-sentinel-community.png

I have run a few commands. However, the don't appear on azure sentinel results. It only says the process was started.

Windows for business Windows Server User experience PowerShell
Microsoft Security Microsoft Sentinel
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. MotoX80 36,291 Reputation points
    2022-07-25T12:08:55.473+00:00

    Powershell_ISE is an interactive (GUI) program. It is typically launched by a desktop user without any command line switches..

    It only says the process was started.

    Are you trying to run the program or just reporting on the fact that someone else ran the program?

    224393-image.png


  2. Rich Matheisen 47,901 Reputation points
    2022-07-25T15:29:14.647+00:00

    Assuming the two lines of code you posted are supposed to be written in PowerShell (which they don't appear to be), your problem is that you're trying to use an exact string match in each element of an array, and there isn't an exact match to be found. Either change your search use "Powershell_ISE.exe" or, if you just want to find every occurrence of the SUBSTRING "powershell", then look at the results of this code:

    $c = "powershell_ISE.exe", "PowerShell.exe"  
      
    $c -contains "powershell"   # won't find 'powershell'  
      
    $c |  
        ForEach-Object{  
            if ($_ -like "powershell"){"$_ ? Found it (string)"} else {" $_ ? Nope. Still not there! (string)"}  
            if ($_ -like "powershell*"){"$_ ? Found it (wildcard!)"} else {"$_ ? Nope. Still not there! (wildcard)"}  
        }  
    
    0 comments No comments

  3. Limitless Technology 39,916 Reputation points
    2022-07-27T07:59:23.45+00:00

    Hi there,

    I guess this is by design.

    Azure Sentinel can collect data on all users, devices, applications, and infrastructure both on-premises and across multiple cloud environments. It can easily connect to security sources out-of-the-box. There are several connectors available for Microsoft solutions that provide real-time integration and sentinel might not capture the PowerShell scripts executed.

    I hope this information helps. If you have any questions please let me know and I will be glad to help you out.

    ------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.