Analysis

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

    arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06-05-2024 08:18

General

  • Target

    6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f.exe

  • Size

    10.3MB

  • MD5

    feffbd9fa3b21798d4c34b42abf86ce0

  • SHA1

    4a1979cb0232a525c4801e4789dc7538abcb82a0

  • SHA256

    6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f

  • SHA512

    51ec270aee48f5f38647c89a5b9a0488f82f4f2841ee8b10db77109e696c0152dc89efa4f63cd266e64908d2bd67843cd024d7e1b97338a767bb08ce7e73dbb0

  • SSDEEP

    12288:j9GPViFkls15KJ4ClhxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxP:CiugC

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 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.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 1 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).

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f.exe
    "C:\Users\Admin\AppData\Local\Temp\6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4308
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ofprfha\
      2⤵
        PID:4180
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ugsxuazn.exe" C:\Windows\SysWOW64\ofprfha\
        2⤵
          PID:3176
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ofprfha binPath= "C:\Windows\SysWOW64\ofprfha\ugsxuazn.exe /d\"C:\Users\Admin\AppData\Local\Temp\6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2200
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ofprfha "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ofprfha
          2⤵
          • Launches sc.exe
          PID:4464
        • 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:5080
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4308 -s 660
          2⤵
          • Program crash
          PID:4432
      • C:\Windows\SysWOW64\ofprfha\ugsxuazn.exe
        C:\Windows\SysWOW64\ofprfha\ugsxuazn.exe /d"C:\Users\Admin\AppData\Local\Temp\6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4172
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:3484
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4172 -s 512
          2⤵
          • Program crash
          PID:2600
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4172 -ip 4172
        1⤵
          PID:1948
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4308 -ip 4308
          1⤵
            PID:1628

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\ugsxuazn.exe

            Filesize

            14.1MB

            MD5

            68882fb305e4643a5d3ca2b586283921

            SHA1

            cb49e354d946d7dbe41444f47b2cc6ea2e651ff0

            SHA256

            1ed0ce3264b7812c3362bc1b511cd0a0c4c97b2d3ca49d2f43befc6ab0023299

            SHA512

            2513e0785a82a73cfc536558bf4505c6303eedabc72dc0434e2fd62e173fffc815c412739a81d75cbc156b29b4edc58f0713c8a488b38e8ddf000c48a854b231

          • memory/3484-37-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-38-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-61-0x0000000000760000-0x0000000000775000-memory.dmp

            Filesize

            84KB

          • memory/3484-57-0x0000000002BD0000-0x0000000002BD7000-memory.dmp

            Filesize

            28KB

          • memory/3484-25-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/3484-10-0x0000000000760000-0x0000000000775000-memory.dmp

            Filesize

            84KB

          • memory/3484-49-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

            Filesize

            20KB

          • memory/3484-26-0x0000000001D10000-0x0000000001D16000-memory.dmp

            Filesize

            24KB

          • memory/3484-29-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-48-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-33-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-19-0x0000000000760000-0x0000000000775000-memory.dmp

            Filesize

            84KB

          • memory/3484-20-0x0000000000760000-0x0000000000775000-memory.dmp

            Filesize

            84KB

          • memory/3484-40-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-23-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/3484-53-0x0000000007540000-0x000000000794B000-memory.dmp

            Filesize

            4.0MB

          • memory/3484-56-0x0000000007540000-0x000000000794B000-memory.dmp

            Filesize

            4.0MB

          • memory/3484-47-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-13-0x0000000000760000-0x0000000000775000-memory.dmp

            Filesize

            84KB

          • memory/3484-32-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-52-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

            Filesize

            20KB

          • memory/3484-46-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-45-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-44-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-43-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-42-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-41-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-39-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-34-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-35-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/3484-36-0x0000000001D20000-0x0000000001D30000-memory.dmp

            Filesize

            64KB

          • memory/4172-15-0x0000000000400000-0x00000000004DA000-memory.dmp

            Filesize

            872KB

          • memory/4172-8-0x0000000000400000-0x00000000004DA000-memory.dmp

            Filesize

            872KB

          • memory/4172-9-0x0000000000400000-0x00000000004DA000-memory.dmp

            Filesize

            872KB

          • memory/4308-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

            Filesize

            1024KB

          • memory/4308-4-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/4308-17-0x0000000000640000-0x0000000000653000-memory.dmp

            Filesize

            76KB

          • memory/4308-18-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/4308-16-0x0000000000400000-0x00000000004DA000-memory.dmp

            Filesize

            872KB

          • memory/4308-2-0x0000000000640000-0x0000000000653000-memory.dmp

            Filesize

            76KB