Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06-05-2023 11:59

General

  • Target

    file.exe

  • Size

    292KB

  • MD5

    4e39579f1251ae570e145e352e7393f7

  • SHA1

    07497b310187f77e2c18364c7a0e31068be822d1

  • SHA256

    53c6ebd75518ed05b22ab762b476f48313b700283358dccb7d55b02f29cfe462

  • SHA512

    29dd728463e77e3988a074a97b36ebba3f0876e684ea96746b3ec0aeaf78e4ee25182b34a51900b6400fd8a22ea9a911bb15ae195bd04419f8303b9412920009

  • SSDEEP

    3072:Xk6e+HiNFjbrieXWP72/BRczZpgAhtBE3k2Bxz+4a2GMW/ft/Dr05xK:7zkjbrFi78BkpgKC3z2YK

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) 1 TTPs
  • 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.

  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 1 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 2 IoCs
  • Suspicious use of WriteProcessMemory 23 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:2980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xgiqqtfq\
      2⤵
        PID:4784
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oinlgjgi.exe" C:\Windows\SysWOW64\xgiqqtfq\
        2⤵
          PID:2032
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xgiqqtfq binPath= "C:\Windows\SysWOW64\xgiqqtfq\oinlgjgi.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3000
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xgiqqtfq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5080
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xgiqqtfq
          2⤵
          • Launches sc.exe
          PID:748
        • 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:4752
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2980 -s 1032
          2⤵
          • Program crash
          PID:348
      • C:\Windows\SysWOW64\xgiqqtfq\oinlgjgi.exe
        C:\Windows\SysWOW64\xgiqqtfq\oinlgjgi.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:640
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:1912
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 640 -s 516
          2⤵
          • Program crash
          PID:1308
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2980 -ip 2980
        1⤵
          PID:2752
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 640 -ip 640
          1⤵
            PID:1832

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            13.4MB

            MD5

            3dcec00ce9735d74a50cd132b75f8c59

            SHA1

            46be533fba3b95c3e7fef4e56ec280a29041de5d

            SHA256

            702d6d3d774062e10bcc5ac976186e9049d5288479fde3b6486469e0e134c3cb

            SHA512

            9418d38bf3fdef2473993e4a92499358aeeb38cf7ae8cc51775813d6f18cbcdb6743f0269082fce462ff74b9c0a18bdf86f930eaea631f77d7002b12dc18ce52

          • C:\Windows\SysWOW64\xgiqqtfq\oinlgjgi.exe

            Filesize

            13.4MB

            MD5

            3dcec00ce9735d74a50cd132b75f8c59

            SHA1

            46be533fba3b95c3e7fef4e56ec280a29041de5d

            SHA256

            702d6d3d774062e10bcc5ac976186e9049d5288479fde3b6486469e0e134c3cb

            SHA512

            9418d38bf3fdef2473993e4a92499358aeeb38cf7ae8cc51775813d6f18cbcdb6743f0269082fce462ff74b9c0a18bdf86f930eaea631f77d7002b12dc18ce52

          • memory/640-144-0x0000000000400000-0x00000000006C7000-memory.dmp

            Filesize

            2.8MB

          • memory/1912-140-0x0000000000370000-0x0000000000385000-memory.dmp

            Filesize

            84KB

          • memory/1912-143-0x0000000000370000-0x0000000000385000-memory.dmp

            Filesize

            84KB

          • memory/1912-145-0x0000000000370000-0x0000000000385000-memory.dmp

            Filesize

            84KB

          • memory/1912-146-0x0000000000370000-0x0000000000385000-memory.dmp

            Filesize

            84KB

          • memory/1912-148-0x0000000000370000-0x0000000000385000-memory.dmp

            Filesize

            84KB

          • memory/2980-135-0x0000000002300000-0x0000000002313000-memory.dmp

            Filesize

            76KB

          • memory/2980-138-0x0000000000400000-0x00000000006C7000-memory.dmp

            Filesize

            2.8MB