Analysis

  • max time kernel
    147s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/10/2022, 03:33

General

  • Target
    file.exe
  • Size 267KB
  • Sample221028-d362haede8
  • SHA256 dc3ad407d38440453c61d2c67c6365f4a6ac9d403c28134ec339ef87af494841
  • 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.

  • 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
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:740
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hadooate\
      2⤵
        PID:4884
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yewlqja.exe" C:\Windows\SysWOW64\hadooate\
        2⤵
          PID:2860
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hadooate binPath= "C:\Windows\SysWOW64\hadooate\yewlqja.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4844
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hadooate "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3136
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hadooate
          2⤵
          • Launches sc.exe
          PID:840
        • 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:2004
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 740 -s 1036
          2⤵
          • Program crash
          PID:4116
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 740 -ip 740
        1⤵
          PID:2348
        • C:\Windows\SysWOW64\hadooate\yewlqja.exe
          C:\Windows\SysWOW64\hadooate\yewlqja.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:1680
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe
            2⤵
            • Sets service image path in registry
            • Drops file in System32 directory
            • Suspicious use of SetThreadContext
            • Modifies data under HKEY_USERS
            • Suspicious use of WriteProcessMemory
            PID:2016
            • 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:2568
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 1680 -s 528
            2⤵
            • Program crash
            PID:2312
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1680 -ip 1680
          1⤵
            PID:32

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                yewlqja.exe

                • Path C:\Users\Admin\AppData\Local\Temp\yewlqja.exe
                • Size 11.5MB
                • SHA256 854c2cf041f4d55517529aaa5e23d15ecdc0d73948b4c5554f543e21752a001c
                • MD5 SHA1 SHA512 SSDEEP

                yewlqja.exe

                • Path C:\Windows\SysWOW64\hadooate\yewlqja.exe
                • Size 11.5MB
                • SHA256 854c2cf041f4d55517529aaa5e23d15ecdc0d73948b4c5554f543e21752a001c
                • MD5 SHA1 SHA512 SSDEEP

                memory/740-133-0x0000000002CA0000-0x0000000002CB3000-memory.dmp

                memory/740-134-0x0000000000400000-0x0000000002C30000-memory.dmp

                memory/740-132-0x0000000002E97000-0x0000000002EAC000-memory.dmp

                memory/740-144-0x0000000000400000-0x0000000002C30000-memory.dmp

                memory/740-143-0x0000000002E97000-0x0000000002EAC000-memory.dmp

                memory/1680-151-0x0000000000400000-0x0000000002C30000-memory.dmp

                memory/1680-150-0x0000000002EF1000-0x0000000002F07000-memory.dmp

                memory/1680-145-0x0000000002EF1000-0x0000000002F07000-memory.dmp

                memory/1680-153-0x0000000000400000-0x0000000002C30000-memory.dmp

                memory/2016-155-0x0000000002000000-0x000000000220F000-memory.dmp

                memory/2016-158-0x00000000017A0000-0x00000000017A6000-memory.dmp

                memory/2016-147-0x0000000000120000-0x0000000000135000-memory.dmp

                memory/2016-170-0x00000000023E0000-0x00000000023E7000-memory.dmp

                memory/2016-167-0x0000000006F00000-0x000000000730B000-memory.dmp

                memory/2016-152-0x0000000000120000-0x0000000000135000-memory.dmp

                memory/2016-164-0x00000000023D0000-0x00000000023D5000-memory.dmp

                memory/2016-154-0x0000000000120000-0x0000000000135000-memory.dmp

                memory/2016-161-0x00000000017B0000-0x00000000017C0000-memory.dmp

                memory/2568-174-0x0000000000400000-0x00000000004F1000-memory.dmp

                memory/2568-179-0x0000000000400000-0x00000000004F1000-memory.dmp