{
  "Event": {
    "#attributes": {
      "xmlns": "http://schemas.microsoft.com/win/2004/08/events/event"
    },
    "System": {
      "Provider": {
        "#attributes": {
          "Name": "Microsoft-Windows-Sysmon",
          "Guid": "5770385F-C22A-43E0-BF4C-06F5698FFBD9"
        }
      },
      "EventID": 1,
      "Version": 5,
      "Level": 4,
      "Task": 1,
      "Opcode": 0,
      "Keywords": "0x8000000000000000",
      "TimeCreated": {
        "#attributes": {
          "SystemTime": "2025-12-03T07:42:38.210937Z"
        }
      },
      "EventRecordID": 26765,
      "Correlation": null,
      "Execution": {
        "#attributes": {
          "ProcessID": 3116,
          "ThreadID": 1656
        }
      },
      "Channel": "Microsoft-Windows-Sysmon/Operational",
      "Computer": "swachchhanda",
      "Security": {
        "#attributes": {
          "UserID": "S-1-5-18"
        }
      }
    },
    "EventData": {
      "RuleName": "-",
      "UtcTime": "2025-12-03 07:42:38.149",
      "ProcessGuid": "0197231E-E9EE-692F-B004-000000000900",
      "ProcessId": 9720,
      "Image": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
      "FileVersion": "10.0.26100.1 (WinBuild.160101.0800)",
      "Description": "Windows PowerShell",
      "Product": "Microsoft® Windows® Operating System",
      "Company": "Microsoft Corporation",
      "OriginalFileName": "PowerShell.EXE",
      "CommandLine": "powershell  -Command \"Get-WinEvent -LogName 'Microsoft-Windows-TerminalServices-LocalSessionManager/Operational' | Where-Object {$_.Id -eq 21} | ForEach-Object { $eventXml = [xml]$_.ToXml(); $username = $eventXml.Event.UserData.EventXML.User; $ipAddress = $eventXml.Event.UserData.EventXML.Address; $loginTime = $_.TimeCreated; if ($username -and $ipAddress -and $loginTime) { Write-Output ('User: ' + $username + ' IP: ' + $ipAddress + ' Login Time: ' + $loginTime) }}\"",
      "CurrentDirectory": "C:\\Users\\xodih\\",
      "User": "swachchhanda\\xodih",
      "LogonGuid": "0197231E-BBFB-692F-3C8C-050000000000",
      "LogonId": "0x58c3c",
      "TerminalSessionId": 1,
      "IntegrityLevel": "Medium",
      "Hashes": "MD5=1736263E02468939F808C0528E8DBB7E,SHA256=1F9FFC2227F8DEA8B771D543C464CF8166C22A39420A5322B5892A640C4B34B6,IMPHASH=68A9FF9C8D0D4655E46E1A7A190A41D2",
      "ParentProcessGuid": "0197231E-E967-692F-A904-000000000900",
      "ParentProcessId": 9076,
      "ParentImage": "C:\\Windows\\System32\\cmd.exe",
      "ParentCommandLine": "\"C:\\WINDOWS\\system32\\cmd.exe\"",
      "ParentUser": "swachchhanda\\xodih"
    }
  }
}
