PowerShell

5 events across 1 channel

Event IDTitleChannel
300Windows PowerShell
400Windows PowerShell
403Windows PowerShell
600Windows PowerShell
800Windows PowerShell

Event ID 300 —

#
Provider
PowerShell
Channel
Windows PowerShell
Level
Warning
Collection Priority
Recommended (Olaf Hartong)

Fields #

NameDescription
Data_0
Data_1
Binary

Example Event #

{
  "system": {
    "provider": "PowerShell",
    "guid": "",
    "event_source_name": "",
    "event_id": 300,
    "version": 0,
    "level": 3,
    "task": 3,
    "opcode": 0,
    "keywords": 36028797018963968,
    "time_created": "2023-10-25T21:34:05.614206+00:00",
    "event_record_id": 24,
    "correlation": {},
    "execution": {
      "process_id": 1796,
      "thread_id": 0
    },
    "channel": "Windows PowerShell",
    "computer": "WinDevEval",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "Data_0": "Could not find the drive 'a:\\'. The drive might not be ready or might not be mapped.",
    "Data_1": "\tProviderName=Microsoft.PowerShell.Core\\FileSystem\r\n\tExceptionClass=DriveNotFoundException\r\n\tErrorCategory=\r\n\tErrorId=\r\n\tErrorMessage=Could not find the drive 'a:\\'. The drive might not be ready or might not be mapped.\r\n\r\n\tSeverity=Warning\r\n\r\n\tSequenceNumber=15\r\n\r\n\tHostName=ConsoleHost\r\n\tHostVersion=5.1.22621.2428\r\n\tHostId=d4db7522-7ab1-46f8-add0-ee6f22c6c812\r\n\tHostApplication=C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -ExecutionPolicy Bypass a:\\FixPublicNetworkType.ps1\r\n\tEngineVersion=5.1.22621.2428\r\n\tRunspaceId=c5b2be04-de37-4a47-bfdd-d75d2d714efd\r\n\tPipelineId=1\r\n\tCommandName=\r\n\tCommandType=\r\n\tScriptName=\r\n\tCommandPath=\r\n\tCommandLine=",
    "Binary": ""
  },
  "message": ""
}

References #

Event ID 400 —

#
Provider
PowerShell
Channel
Windows PowerShell
Level
Informational
Collection Priority
Recommended (ASD, others)

Fields #

NameDescription
Data_0
Data_1
Data_2
Binary

Example Event #

{
  "system": {
    "provider": "PowerShell",
    "guid": "",
    "event_source_name": "",
    "event_id": 400,
    "version": 0,
    "level": 4,
    "task": 4,
    "opcode": 0,
    "keywords": 36028797018963968,
    "time_created": "2023-11-06T01:18:31.405203+00:00",
    "event_record_id": 365,
    "correlation": {},
    "execution": {
      "process_id": 12192,
      "thread_id": 0
    },
    "channel": "Windows PowerShell",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "Data_0": "Available",
    "Data_1": "None",
    "Data_2": "\tNewEngineState=Available\r\n\tPreviousEngineState=None\r\n\r\n\tSequenceNumber=13\r\n\r\n\tHostName=ConsoleHost\r\n\tHostVersion=5.1.22621.2428\r\n\tHostId=4913f17e-97b6-4a6b-87a8-c754ea3b2fc8\r\n\tHostApplication=powershell.exe -NoProfile -Command & {if($PSVersionTable.PSVersion.Major -ge 3){Import-Module 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\Tools\\\\Microsoft.VisualStudio.DevShell.dll'; Send-VsDevShellTelemetry -NewInstanceType Cmd; }}\r\n\tEngineVersion=5.1.22621.2428\r\n\tRunspaceId=fb50de9f-94e8-415e-a531-420630257558\r\n\tPipelineId=\r\n\tCommandName=\r\n\tCommandType=\r\n\tScriptName=\r\n\tCommandPath=\r\n\tCommandLine=",
    "Binary": ""
  },
  "message": ""
}

Detection Rules #

View all rules referencing this event →

Sigma # view in reference

Show 6 more (9 total)

References #

Event ID 403 —

#
Provider
PowerShell
Channel
Windows PowerShell
Level
Informational
Collection Priority
Recommended (Olaf Hartong)

Fields #

NameDescription
Data_0
Data_1
Data_2
Binary

Example Event #

{
  "system": {
    "provider": "PowerShell",
    "guid": "",
    "event_source_name": "",
    "event_id": 403,
    "version": 0,
    "level": 4,
    "task": 4,
    "opcode": 0,
    "keywords": 36028797018963968,
    "time_created": "2023-11-06T01:18:33.203476+00:00",
    "event_record_id": 371,
    "correlation": {},
    "execution": {
      "process_id": 12192,
      "thread_id": 0
    },
    "channel": "Windows PowerShell",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "Data_0": "Stopped",
    "Data_1": "Available",
    "Data_2": "\tNewEngineState=Stopped\r\n\tPreviousEngineState=Available\r\n\r\n\tSequenceNumber=21\r\n\r\n\tHostName=ConsoleHost\r\n\tHostVersion=5.1.22621.2428\r\n\tHostId=4913f17e-97b6-4a6b-87a8-c754ea3b2fc8\r\n\tHostApplication=powershell.exe -NoProfile -Command & {if($PSVersionTable.PSVersion.Major -ge 3){Import-Module 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\Tools\\\\Microsoft.VisualStudio.DevShell.dll'; Send-VsDevShellTelemetry -NewInstanceType Cmd; }}\r\n\tEngineVersion=5.1.22621.2428\r\n\tRunspaceId=fb50de9f-94e8-415e-a531-420630257558\r\n\tPipelineId=\r\n\tCommandName=\r\n\tCommandType=\r\n\tScriptName=\r\n\tCommandPath=\r\n\tCommandLine=",
    "Binary": ""
  },
  "message": ""
}

References #

Event ID 600 —

#
Provider
PowerShell
Channel
Windows PowerShell
Level
Informational

Fields #

NameDescription
Data_0
Data_1
Data_2
Binary

Example Event #

{
  "system": {
    "provider": "PowerShell",
    "guid": "",
    "event_source_name": "",
    "event_id": 600,
    "version": 0,
    "level": 4,
    "task": 6,
    "opcode": 0,
    "keywords": 36028797018963968,
    "time_created": "2023-11-06T01:18:30.049125+00:00",
    "event_record_id": 363,
    "correlation": {},
    "execution": {
      "process_id": 12192,
      "thread_id": 0
    },
    "channel": "Windows PowerShell",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "Data_0": "Variable",
    "Data_1": "Started",
    "Data_2": "\tProviderName=Variable\r\n\tNewProviderState=Started\r\n\r\n\tSequenceNumber=11\r\n\r\n\tHostName=ConsoleHost\r\n\tHostVersion=5.1.22621.2428\r\n\tHostId=4913f17e-97b6-4a6b-87a8-c754ea3b2fc8\r\n\tHostApplication=powershell.exe -NoProfile -Command & {if($PSVersionTable.PSVersion.Major -ge 3){Import-Module 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\Tools\\\\Microsoft.VisualStudio.DevShell.dll'; Send-VsDevShellTelemetry -NewInstanceType Cmd; }}\r\n\tEngineVersion=\r\n\tRunspaceId=\r\n\tPipelineId=\r\n\tCommandName=\r\n\tCommandType=\r\n\tScriptName=\r\n\tCommandPath=\r\n\tCommandLine=",
    "Binary": ""
  },
  "message": ""
}

Detection Rules #

View all rules referencing this event →

Sigma # view in reference

References #

Event ID 800 —

#
Provider
PowerShell
Channel
Windows PowerShell
Level
Informational
Collection Priority
Recommended (Microsoft-WEF, others)

Fields #

NameDescription
Data_0
Data_1
Data_2
Binary

Example Event #

{
  "system": {
    "provider": "PowerShell",
    "guid": "",
    "event_source_name": "",
    "event_id": 800,
    "version": 0,
    "level": 4,
    "task": 8,
    "opcode": 0,
    "keywords": 36028797018963968,
    "time_created": "2023-11-06T01:35:06.006085+00:00",
    "event_record_id": 390,
    "correlation": {},
    "execution": {
      "process_id": 15468,
      "thread_id": 0
    },
    "channel": "Windows PowerShell",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "Data_0": "    Microsoft.PowerShell.Core\\Set-StrictMode -Off\r\n",
    "Data_1": "\tDetailSequence=1\r\n\tDetailTotal=1\r\n\r\n\tSequenceNumber=57\r\n\r\n\tUserId=WINDEV2310EVAL\\User\r\n\tHostName=ConsoleHost\r\n\tHostVersion=5.1.22621.2428\r\n\tHostId=9500ad9e-7709-413f-b91b-8945cbb52940\r\n\tHostApplication=powershell.exe -NoExit -Command &{Import-Module \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\Tools\\Microsoft.VisualStudio.DevShell.dll\"; Enter-VsDevShell d5dcd421 -SkipAutomaticLocation -DevCmdArguments \"-arch=x64 -host_arch=x64\"}\r\n\tEngineVersion=5.1.22621.2428\r\n\tRunspaceId=6fa4bb48-d600-4d4b-b445-e1fa0a41db53\r\n\tPipelineId=23\r\n\tScriptName=C:\\Program Files\\WindowsPowerShell\\Modules\\PSReadLine\\2.0.0\\PSReadLine.psm1\r\n\tCommandLine=    Microsoft.PowerShell.Core\\Set-StrictMode -Off\r\n",
    "Data_2": "CommandInvocation(Set-StrictMode): \"Set-StrictMode\"\r\nParameterBinding(Set-StrictMode): name=\"Off\"; value=\"True\"\r\n",
    "Binary": ""
  },
  "message": ""
}

References #