| File name: | WindowsDefenderATPLocalOnboardingScript.cmd |
| Full analysis: | https://app.any.run/tasks/1f304083-0992-424f-9fab-1fa40c0c9a0d |
| Verdict: | Malicious activity |
| Analysis date: | December 21, 2023, 02:22:49 |
| OS: | Windows 7 Professional Service Pack 1 (build: 7601, 32 bit) |
| Indicators: | |
| MIME: | text/x-msdos-batch |
| File info: | DOS batch file, ASCII text, with very long lines, with CRLF, LF line terminators |
| MD5: | 4175609A64DDD910AA2170302DB56647 |
| SHA1: | 63F8B7DC86E07669D7538F12B55F428835ED0209 |
| SHA256: | D9116F995D9EA521F470D2CB1F00CB2B9BB4BB0C5667A19D05EDF90309959ABE |
| SSDEEP: | 384:UQ7rqhq6uktLekASPSAHJvDZdkaKgHQmAwAHkrfhmOHu:UQ7rUuktLNrvVdkNw8kjhmOO |
PID | CMD | Path | Indicators | Parent process | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 124 | C:\Windows\system32\cmd.exe /c ""C:\Users\admin\AppData\Local\Temp\WindowsDefenderATPLocalOnboardingScript.cmd" " | C:\Windows\System32\cmd.exe | — | explorer.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: MEDIUM Description: Windows Command Processor Exit code: 3221225786 Version: 6.1.7601.17514 (win7sp1_rtm.101119-1850) Modules
| |||||||||||||||
| 392 | "C:\Windows\explorer.exe" | C:\Windows\explorer.exe | — | explorer.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: MEDIUM Description: Windows Explorer Exit code: 1 Version: 6.1.7600.16385 (win7_rtm.090713-1255) Modules
| |||||||||||||||
| 880 | C:\Windows\System32\sc.exe query "SENSE" | C:\Windows\System32\sc.exe | — | cmd.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: HIGH Description: A tool to aid in developing services for WindowsNT Exit code: 1060 Version: 6.1.7600.16385 (win7_rtm.090713-1255) Modules
| |||||||||||||||
| 884 | C:\Windows\System32\find.exe /i "RUNNING" | C:\Windows\System32\find.exe | — | cmd.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: HIGH Description: Find String (grep) Utility Exit code: 1 Version: 6.1.7600.16385 (win7_rtm.090713-1255) Modules
| |||||||||||||||
| 900 | C:\Windows\System32\sc.exe query "SENSE" | C:\Windows\System32\sc.exe | — | cmd.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: HIGH Description: A tool to aid in developing services for WindowsNT Exit code: 1060 Version: 6.1.7600.16385 (win7_rtm.090713-1255) Modules
| |||||||||||||||
| 952 | C:\Windows\System32\timeout.exe 5 | C:\Windows\System32\timeout.exe | — | cmd.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: HIGH Description: timeout - pauses command processing Exit code: 0 Version: 6.1.7600.16385 (win7_rtm.090713-1255) Modules
| |||||||||||||||
| 1904 | C:\Windows\System32\reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows Advanced Threat Protection" /v latency /t REG_SZ /f /d "Demo" | C:\Windows\System32\reg.exe | — | cmd.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: HIGH Description: Registry Console Tool Exit code: 0 Version: 6.1.7600.16385 (win7_rtm.090713-1255) Modules
| |||||||||||||||
| 2240 | C:\Windows\System32\net.exe session | C:\Windows\System32\net.exe | — | cmd.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: HIGH Description: Net Command Exit code: 0 Version: 6.1.7600.16385 (win7_rtm.090713-1255) Modules
| |||||||||||||||
| 2292 | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoProfile -Command "Add-Type ' using System; using System.IO; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; using System.ComponentModel; public static class Elam{ [DllImport(\"Kernel32\", CharSet=CharSet.Auto, SetLastError=true)] public static extern bool InstallELAMCertificateInfo(SafeFileHandle handle); public static void InstallWdBoot(string path) { Console.Out.WriteLine(\"About to call create file on {0}\", path); var stream = File.Open(path, FileMode.Open, FileAccess.Read, FileShare.Read); var handle = stream.SafeFileHandle; Console.Out.WriteLine(\"About to call InstallELAMCertificateInfo on handle {0}\", handle.DangerousGetHandle()); if (!InstallELAMCertificateInfo(handle)) { Console.Out.WriteLine(\"Call failed.\"); throw new Win32Exception(Marshal.GetLastWin32Error()); } Console.Out.WriteLine(\"Call successful.\"); } } '; $driverPath = $env:SystemRoot + '\System32\Drivers\WdBoot.sys'; [Elam]::InstallWdBoot($driverPath) " | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | — | cmd.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: HIGH Description: Windows PowerShell Exit code: 1 Version: 10.0.14409.1005 (rs1_srvoob.161208-1155) Modules
| |||||||||||||||
| 2320 | C:\Windows\System32\reg.exe add HKLM\SYSTEM\CurrentControlSet\Control\WMI\Security /v cb2ff72d-d4e4-585d-33f9-f3a395c40be7 /t REG_BINARY /d 0100048044000000540000000000000014000000020030000200000000001400FF0F120001010000000000051200000000001400E104120001010000000000050B0000000102000000000005200000002002000001020000000000052000000020020000 /f | C:\Windows\System32\reg.exe | — | cmd.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: HIGH Description: Registry Console Tool Exit code: 0 Version: 6.1.7600.16385 (win7_rtm.090713-1255) Modules
| |||||||||||||||
PID | Process | Filename | Type | |
|---|---|---|---|---|
| 2884 | csc.exe | C:\Users\admin\AppData\Local\Temp\gz03qznl\gz03qznl.out | text | |
MD5:A92A5031BA852AAC039D2C71C686E12D | SHA256:C21AF3D8B0B760FCBBC6D659321A549A8070CC147480DA7213AB744E2298EAA3 | |||
| 2884 | csc.exe | C:\Users\admin\AppData\Local\Temp\gz03qznl\gz03qznl.dll | executable | |
MD5:0145965860F59371C45C5635558B8186 | SHA256:3CED9E06C52B72D45A3D77EEB4D8DB03E96CDDD43BB68DE4A1AC89992F6340A2 | |||
| 2884 | csc.exe | C:\Users\admin\AppData\Local\Temp\gz03qznl\CSCF9099B62EB0045A1962F7E370AD557.TMP | binary | |
MD5:7EAAC6B8651547507584729FD4E6E092 | SHA256:1CCBFFF5126D9520A3410D572C7B979E055E45D09B2CF351E04DA03D30EF2E77 | |||
| 3236 | csc.exe | C:\Users\admin\AppData\Local\Temp\ywjto02d\ywjto02d.dll | executable | |
MD5:ABDF5AFB319DD051AEEB8C336F7DE08D | SHA256:3F2E100CDF1B98A749D8C0944F427513A141218CB325EDF13AE88D26182DA7A8 | |||
| 2292 | powershell.exe | C:\Users\admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive | binary | |
MD5:446DD1CF97EABA21CF14D03AEBC79F27 | SHA256:A7DE5177C68A64BD48B36D49E2853799F4EBCFA8E4761F7CC472F333DC5F65CF | |||
| 3144 | cvtres.exe | C:\Users\admin\AppData\Local\Temp\RESC88B.tmp | binary | |
MD5:8C125DFADF5B40BB4BEAF087E688CB1A | SHA256:6AC423A8437FE6F73DF3C8845305D5E74B26C86ED3BD1FA830CE3D3854403DBC | |||
| 2808 | cmd.exe | C:\Windows\temp\senseTmp.txt | text | |
MD5:F8C9A563B84277F71A2DE3D8B0B4EB14 | SHA256:B5AB3E2A41697D57480637D265F2CF478A06761B6BF317EABC58C35774FA6DE9 | |||
| 3236 | csc.exe | C:\Users\admin\AppData\Local\Temp\ywjto02d\ywjto02d.out | text | |
MD5:C87E6562BCA2E23F441297B658E5B249 | SHA256:4BD0E1404BFBDE9A72DB453A9137F67B238A1B05AFA7AD5C7C5B18C3AE70A787 | |||
| 3012 | powershell.exe | C:\Users\admin\AppData\Local\Temp\ywjto02d\ywjto02d.0.cs | text | |
MD5:84A6F651AD0A14AAED34F5F2BF2E13C3 | SHA256:DF011CB6DB54787FCE0311DCC6EC0B0ECCADD07081F60CFC5C15A5F4585E046D | |||
| 3012 | powershell.exe | C:\Users\admin\AppData\Local\Temp\w4nl2gb3.cuc.psm1 | binary | |
MD5:C4CA4238A0B923820DCC509A6F75849B | SHA256:— | |||
PID | Process | IP | Domain | ASN | CN | Reputation |
|---|---|---|---|---|---|---|
4 | System | 192.168.100.255:137 | — | — | — | whitelisted |
4 | System | 192.168.100.255:138 | — | — | — | whitelisted |
1080 | svchost.exe | 224.0.0.252:5355 | — | — | — | unknown |