Analysis

  • max time kernel
    157s
  • max time network
    161s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20221111-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/12/2022, 08:13

General

  • Target
    file.exe
  • Size 213KB
  • Sample221217-j4e73agd43
  • SHA256 f9643f41e8848fb28b3f4cf7f6c560f5bb79a24d01f852f0d7d908aee236a6e3
  • 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.

  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • 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.

  • 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:3928
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wpsffmhs\
      2⤵
        PID:8
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aqsfwoz.exe" C:\Windows\SysWOW64\wpsffmhs\
        2⤵
          PID:4288
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wpsffmhs binPath= "C:\Windows\SysWOW64\wpsffmhs\aqsfwoz.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:912
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wpsffmhs "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1684
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wpsffmhs
          2⤵
          • Launches sc.exe
          PID:4532
        • 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:1364
      • C:\Windows\SysWOW64\wpsffmhs\aqsfwoz.exe
        C:\Windows\SysWOW64\wpsffmhs\aqsfwoz.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3184
        • 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:4720
          • 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:1532

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            aqsfwoz.exe

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

            aqsfwoz.exe

            • Path C:\Windows\SysWOW64\wpsffmhs\aqsfwoz.exe
            • Size 10.9MB
            • SHA256 c9aa9309ecc08a316f4884bdee88d3554e86c0777c0069cf1a018ab5d2b36597
            • MD5 SHA1 SHA512 SSDEEP

            memory/1532-173-0x00000000006E0000-0x00000000007D1000-memory.dmp

            memory/1532-178-0x00000000006E0000-0x00000000007D1000-memory.dmp

            memory/3184-150-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/3184-148-0x000000000056D000-0x000000000057E000-memory.dmp

            memory/3928-136-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/3928-135-0x00000000005D0000-0x00000000005E3000-memory.dmp

            memory/3928-144-0x0000000000653000-0x0000000000664000-memory.dmp

            memory/3928-145-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/3928-134-0x0000000000653000-0x0000000000664000-memory.dmp

            memory/4720-147-0x0000000000C20000-0x0000000000C35000-memory.dmp

            memory/4720-154-0x0000000002800000-0x0000000002A0F000-memory.dmp

            memory/4720-157-0x0000000000DF0000-0x0000000000DF6000-memory.dmp

            memory/4720-160-0x0000000000E00000-0x0000000000E10000-memory.dmp

            memory/4720-163-0x0000000000FF0000-0x0000000000FF5000-memory.dmp

            memory/4720-166-0x0000000007800000-0x0000000007C0B000-memory.dmp

            memory/4720-169-0x0000000001FD0000-0x0000000001FD7000-memory.dmp

            memory/4720-153-0x0000000000C20000-0x0000000000C35000-memory.dmp

            memory/4720-152-0x0000000000C20000-0x0000000000C35000-memory.dmp