Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-05-2023 20:15

General

  • Target

    file.exe

  • Size

    237KB

  • MD5

    5f22cf2b4084eeb86e75a33e469f8618

  • SHA1

    dcae74f903c5bf5ea85d20ff674ebc747eda60dd

  • SHA256

    650b125ce1f1646d33549681d7a1cfc8846f01a94d96d7cf1654cb1499442828

  • SHA512

    2fde1c85438e3e52cbc95def2e245b131dee2f5b8953d872f12adbbfcba835f467b43b482fe26b61d4d7d36615a7271412b5fc646f5b8c0a3cca709b1581a642

  • SSDEEP

    3072:DBGOKty9CLpLgdVLKNIFMae2nsvmPo+kysBmK:NBDgtLgzLoahnseEysZ

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).

  • 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:2792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sbfjbcgi\
      2⤵
        PID:2180
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hxtidvtb.exe" C:\Windows\SysWOW64\sbfjbcgi\
        2⤵
          PID:1768
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create sbfjbcgi binPath= "C:\Windows\SysWOW64\sbfjbcgi\hxtidvtb.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3376
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description sbfjbcgi "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3908
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start sbfjbcgi
          2⤵
          • Launches sc.exe
          PID:320
        • 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:3272
      • C:\Windows\SysWOW64\sbfjbcgi\hxtidvtb.exe
        C:\Windows\SysWOW64\sbfjbcgi\hxtidvtb.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1652
        • 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:4008

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        442d7067b11062495b2570bb88e6a84b

        SHA1

        41c8824ffc721e9615b76028956f1a169b3eaec5

        SHA256

        b4d5d6d46d95cfd3344a3aea8321898a3772b27f61c275a5eaf13fb0335355d5

        SHA512

        d40ce842178316598682345119b00dabbea3e5f94dbf77a1cec9908525fbe2ab6ae2e36682dfbe731f8eed87f814318e21aa7d5bd3c71e7ebee04f9cb3f49e99

      • C:\Windows\SysWOW64\sbfjbcgi\hxtidvtb.exe

        Filesize

        13.0MB

        MD5

        442d7067b11062495b2570bb88e6a84b

        SHA1

        41c8824ffc721e9615b76028956f1a169b3eaec5

        SHA256

        b4d5d6d46d95cfd3344a3aea8321898a3772b27f61c275a5eaf13fb0335355d5

        SHA512

        d40ce842178316598682345119b00dabbea3e5f94dbf77a1cec9908525fbe2ab6ae2e36682dfbe731f8eed87f814318e21aa7d5bd3c71e7ebee04f9cb3f49e99

      • memory/1652-141-0x0000000000400000-0x00000000006BD000-memory.dmp

        Filesize

        2.7MB

      • memory/2792-134-0x0000000000920000-0x0000000000933000-memory.dmp

        Filesize

        76KB

      • memory/2792-138-0x0000000000400000-0x00000000006BD000-memory.dmp

        Filesize

        2.7MB

      • memory/4008-140-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/4008-144-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/4008-145-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/4008-146-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/4008-148-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB