Benign powershell Download

benign-inventory.ps1

Invokes PowerShell HTTP request cmdletReferences PowerShell HTTP request cmdlet syntax
SHA-256a1965321af08e342edd06bc8d9760be4e1192351ac3556c7bc62c888a29cff1b

Evidence

Invokes PowerShell HTTP request cmdlet lines 1–3
1# Control: asset inventory posts MachineGuid; no crypto
2$guid = (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Cryptography').MachineGuid
3Invoke-WebRequest -Uri "https://inventory.example.com/api/host?id=$guid" -UseBasicParsing

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.